
// directory of where all the images are
var cmThemeElementalTopBase = 'jscook_top/ThemeElementalTop/';

// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
	if (myThemeElementalTopBase)
	{
		cmThemeElementalTopBase = myThemeElementalTopBase;
	}
}
catch (e)
{
}

var cmThemeElementalTop =
{
  	// 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: '<font face="Verdana, Arial, Helvetica, sans-serif" color="#ba0002"><strong>&gt;</strong></font>&nbsp;',
  	// HTML code to the right of the folder item
  	mainFolderRight: '<img alt="" src="' + cmThemeElementalTopBase + 'spacer.gif" width="8" height="45">',
	// HTML code to the left of the regular item
	mainItemLeft: '<font face="Verdana, Arial, Helvetica, sans-serif" color="#ba0002"><strong>&gt;</strong></font>&nbsp;',
	// HTML code to the right of the regular item
	mainItemRight: '<img alt="" src="' + cmThemeElementalTopBase + 'spacer.gif" width="8" height="45">',

	// sub menu display attributes

	// 0, HTML code to the left of the folder item
	folderLeft: '<img alt="" src="' + cmThemeElementalTopBase + 'spacer.gif">',
	// 1, HTML code to the right of the folder item
	folderRight: '<img alt="" src="' + cmThemeElementalTopBase + 'arrow.gif">',
	// 2, HTML code to the left of the regular item
	itemLeft: '<img alt="" src="' + cmThemeElementalTopBase + 'spacer.gif">',
	// 3, HTML code to the right of the regular item
	itemRight: '<img alt="" src="' + cmThemeElementalTopBase + '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 cmThemeElementalTopHSplit = [_cmNoClick, '<td class="ThemeElementalTopMenuItemLeft"></td><td colspan="2"><div class="ThemeElementalTopMenuSplit"></div></td>'];
var cmThemeElementalTopMainHSplit = [_cmNoClick, '<td class="ThemeElementalTopMainItemLeft"></td><td colspan="2"><div class="ThemeElementalTopMenuSplit"></div></td>'];
var cmThemeElementalTopMainVSplit = [_cmNoClick, '|'];
