
var cmThemeDefaultBase = 'jsmenu/ThemeDefault/';

// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
	if (myThemeDefaultBase)
	{
		cmThemeDefaultBase = myThemeDefaultBase;
	}
}
catch (e)
{
}

var cmThemeDefault =
{
	prefix:	'ThemeDefault',
  	// 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: '&nbsp;',
  	// HTML code to the right of the folder item
  	mainFolderRight: '&nbsp;&nbsp;<img alt="" src="' + cmThemeDefaultBase + 'arrow.gif" align="absmiddle">&nbsp;',
	// HTML code to the left of the regular item
	mainItemLeft: '&nbsp;',
	// HTML code to the right of the regular item
	mainItemRight: '&nbsp;&nbsp;',

	// sub menu display attributes
	// HTML code to the left of the folder item
	folderLeft: '',
	// HTML code to the right of the folder item
	folderRight: '',
	// HTML code to the left of the regular item
	itemLeft: '',
	// HTML code to the right of the regular item
	itemRight: '',
	// cell spacing for main menu
	mainSpacing: 0,
	// cell spacing for sub menus
	subSpacing: 0,
	// auto dispear time for submenus in milli-seconds
	delay: 100,

	subMenuHeader: '<div class="ThemeDefaultSubMenuShadow"></div><div class="ThemeDefaultSubMenuBorder">',
	subMenuFooter: '</div>',

	// adjust sub menu positions
	offsetSubAdjust:	[-4, -3]
	// rest use default settins
};

// horizontal split, used only in sub menus
var cmThemeDefaultHSplit = [_cmNoClick, '<td colspan="3" class="ThemeDefaultMenuSplit"><div class="ThemeDefaultMenuSplit"></div></td>'];
// horizontal split, used only in main menu
var cmThemeDefaultMainHSplit = [_cmNoClick, '<td colspan="3" class="ThemeDefaultMenuSplit"><div class="ThemeDefaultMenuSplit"></div></td>'];
// vertical split, used only in main menu
var cmThemeDefaultMainVSplit = [_cmNoClick, '<div class="ThemeDefaultMenuVSplit">|</div>'];

/* IE can't do negative margin on tables */
/*@cc_on
	cmThemeDefault.subMenuHeader = '<div class="ThemeDefaultSubMenuShadow" style="background-color: #7f7f7f;filter: alpha(opacity=50);"></div><div class="ThemeDefaultSubMenuBorder">';
@*/

