
// directory of where all the images are
var cmThemeTRE1Base = '/includes/menu/ThemeTRE1/';

// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
	if (myThemeTRE1Base)
	{
		cmThemeTRE1Base = myThemeTRE1Base;
	}
}
catch (e)
{
}

var cmThemeTRE1 =
{
  	// 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: '<img alt="" src="' + cmThemeTRE1Base + 'blank.gif">',
	// HTML code to the right of the folder item
	folderRight: '<img alt="" src="' + cmThemeTRE1Base + 'arrow.gif">',
	// HTML code to the left of the regular item
	itemLeft: '<img alt="" src="' + cmThemeTRE1Base + 'blank.gif">',
	// HTML code to the right of the regular item
	itemRight: '<img alt="" src="' + cmThemeTRE1Base + 'blank.gif">',
	// cell spacing for main menu
	mainSpacing: 0,
	// cell spacing for sub menus
	subSpacing: 0,
	// auto dispear time for submenus in milli-seconds
	delay: 200
};

// for sub menu horizontal split
var cmThemeTRE1HSplit = [_cmNoClick, '<td colspan="3" style="height: 5px; overflow: hidden"><div class="ThemeTRE1MenuSplit"></div></td>'];
// for vertical main menu horizontal split
var cmThemeTRE1MainHSplit = [_cmNoClick, '<td colspan="3" style="height: 5px; overflow: hidden"><div class="ThemeTRE1MenuSplit"></div></td>'];
// for horizontal main menu vertical split
var cmThemeTRE1MainVSplit = [_cmNoClick, '|'];

var cmThemeTRE1HSpace = [_cmSpace, '<td colspan="3" style="height: 5px; overflow: hidden"><div class="ThemeTRE1MenuSpace">&nbsp;</div></td>'];
// for vertical main menu horizontal split
var cmThemeTRE1MainHSpace = [_cmSpace, '<td colspan="3" style="height: 5px; overflow: hidden"><div class="ThemeTRE1MenuSpace">&nbsp;</div></td>'];
// for horizontal main menu vertical split
var cmThemeTRE1MainVSpace = [_cmSpace, '|'];