/*
 * ThemeTop by Ian Reyes and Heng Yuan
 */
var cmThemeTopBaseDir = 'images/ThemeTop/' ;

var cmThemeTop =
{
	prefix:	'ThemeTop',
  	// 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: '<img alt="" src="images/icon2_4x6.gif">&nbsp;&nbsp;',
  	// HTML code to the right of the folder item
  	mainFolderRight: '<img src="'+cmThemeTopBaseDir+'arrowdown.gif">',
	// HTML code to the left of the regular item
	mainItemLeft: '<img alt="" src="images/icon2_4x6.gif">&nbsp;&nbsp;',
	// 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: '<img src="'+cmThemeTopBaseDir+'arrow.gif" align="middle">',
	// HTML code to the left of the regular item
	itemLeft: '&nbsp;<img alt="" src="images/icon2_4x6.gif">',
	// HTML code to the right of the regular item
	itemRight: '&nbsp;',
	// cell spacing for main menu
	mainSpacing: 1,
	// cell spacing for sub menus
	subSpacing: 0,
	// auto dispear time for submenus in milli-seconds
	delay: 200

	// rest use default settings
};

// for sub menu horizontal split
var cmThemeTopHSplit = [_cmNoClick, '<td colspan="3" class="ThemeTopMenuSplit"><div class="ThemeTopMenuSplit"></div></td>'];
// for vertical main menu horizontal split
var cmThemeTopMainHSplit = [_cmNoClick, '<td colspan="3" class="ThemeTopMenuSplit"><div class="ThemeTopMenuSplit"></div></td>'];
// for horizontal main menu vertical split
var cmThemeTopMainVSplit = [_cmNoClick, '|'];
