
// directory of where all the images are
var cmThemeUSERDEFBase = './JScookMenu/ThemeUSERDEF/';

// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
	if (myThemeUSERDEFBase)
	{
		cmThemeUSERDEFBase = myThemeUSERDEFBase;
	}
}
catch (e)
{
}

var cmThemeUSERDEF =
{
  	// main menu display attributes
  	//
  	// Note.  When the menu bar is horizontal,
  	// mainFolderLeft and mainFolderRight are
  	// put in <span></span>.  When the menu
  	// bar is vertical, they would be put in
  	// a separate TD cell.

  	// HTML code to the left of the folder item
  	mainFolderLeft: '',
  	// HTML code to the right of the folder item
  	mainFolderRight: '',
	// HTML code to the left of the regular item
	mainItemLeft: '',
	// HTML code to the right of the regular item
	mainItemRight: '',

	// sub menu display attributes

	// 0, HTML code to the left of the folder item
	folderLeft: '<img alt="" src="' + cmThemeUSERDEFBase + 'spacer.gif">',
	// 1, HTML code to the right of the folder item
	folderRight: '<img alt="" src="' + cmThemeUSERDEFBase + 'arrow.gif">',
	// 2, HTML code to the left of the regular item
	itemLeft: '<img alt="" src="' + cmThemeUSERDEFBase + 'spacer.gif">',
	// 3, HTML code to the right of the regular item
	itemRight: '<img alt="" src="' + cmThemeUSERDEFBase + 'blank.gif">',
	// 4, cell spacing for main menu
	mainSpacing: 0,
	// 5, cell spacing for sub menus
	subSpacing: 0,
	// 6, auto dispear time for submenus in milli-seconds
	delay: 500
};

// for horizontal menu split
var cmThemeUSERDEFHSplit = [_cmNoClick, '<td class="ThemeUSERDEFMenuItemLeft"></td><td colspan="2"><div class="ThemeUSERDEFMenuSplit"></div></td>'];
var cmThemeUSERDEFMainHSplit = [_cmNoClick, '<td class="ThemeUSERDEFMainItemLeft"></td><td colspan="2"><div class="ThemeUSERDEFMenuSplit"></div></td>'];
var cmThemeUSERDEFMainVSplit = [_cmNoClick, '|'];

// horizontal split, used only in sub menus
//var cmThemeUSERDEFHSplit = [_cmNoClick, '<td colspan="3" style="height: 3px; overflow: hidden"><div class="ThemeUSERDEFMenuSplit"></div></td>'];
// horizontal split, used only in main menu
//var cmThemeUSERDEFMainHSplit = [_cmNoClick, '<td colspan="3"><div class="ThemeUSERDEFMenuSplit"></div></td>'];
// vertical split, used only in main menu
//var cmThemeUSERDEFMainVSplit = [_cmNoClick, '<div class="ThemeUSERDEFMenuVSplit"></div>'];

