var cmTopBase = 'menu/';

// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
	if (myTopBase)
	{
		cmTopBase = myTopBase;
	}
}
catch (e)
{
}

var cmTop =
{
	prefix:	'Top',
  	// 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
	// HTML code to the left of the folder item
	folderLeft: '',
	// HTML code to the right of the folder item
	folderRight: '&raquo;&nbsp;',
	// HTML code to the left of the regular item
	itemLeft: '',//&nbsp;&#8250;
	// 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="TopSubMenuShadow" ></div><div class="TopSubMenuBorder">',
	subMenuFooter: '</div>',

	// adjust sub-sub menu positions
	offsetSubAdjust:	[0, -1]
	// rest use default settins
};

// horizontal split, used only in sub menus
var cmTopHSplit = [_cmNoClick, '<td colspan="3" class="TopMenuSplit"><div class="TopMenuSplit"></div></td>'];
// horizontal split, used only in main menu
var cmTopMainHSplit = [_cmNoClick, '<td colspan="3" class="TopMenuSplit"><div class="TopMenuSplit"></div></td>'];
// vertical split, used only in main menu
var cmTopMainVSplit = [_cmNoClick, '<div class="TopMenuVSplit"></div>'];

/* IE can't do negative margin on tables */
/*@cc_on
	cmTop.subMenuHeader = '<div class="TopSubMenuShadow" style="background-color: #7f7f7f;filter: alpha(opacity=50);"></div><div class="TopSubMenuBorder">';
@*/
