
// directory of where all the images are
var cmThemeTWSBase = '';

// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
	if (myThemeTWSBase)
	{
		cmThemeTWSBase = myThemeTWSBase;
	}
}
catch (e)
{
}

var cmThemeTWS =
{
	prefix:	'ThemeTWS',
  	// 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: '&bull;&nbsp;',
  	// HTML code to the right of the folder item
  	mainFolderRight: '&nbsp;',
	// HTML code to the left of the regular item
	mainItemLeft: '&bull;&nbsp;',
	// HTML code to the right of the regular item
	mainItemRight: '&nbsp;',

	// sub menu display attributes

	// HTML code to the left of the folder item
	folderLeft: ''/*'<img alt="1" src="' + cmThemeTWSBase + '/spacer.gif">'*/, //tam 2006.10.24
	// HTML code to the right of the folder item
	folderRight: ''/*'<img alt="2" src="' + cmThemeTWSBase + '/arrow.gif">'*/, //tam 2006.10.24
	// HTML code to the left of the regular item
	itemLeft: ''/*'<img alt="3" src="' + cmThemeTWSBase + '/spacer.gif">'*/, //tam 2006.10.24
	// HTML code to the right of the regular item
	itemRight: ''/*'<img alt="4" src="' + cmThemeTWSBase + '/blank.gif">'*/, //tam 2006.10.24
	// cell spacing for main menu
	mainSpacing: 0,
	// cell spacing for sub menus
	subSpacing: 0,

	subMenuHeader: '<div class="ThemeTWSSubMenuShadow"></div>',

	offsetHMainAdjust:	[-1, 0],
	offsetSubAdjust:	[-1, -1]

	// rest use default settings
};

// for horizontal menu split
var cmThemeTWSHSplit = [_cmNoClick, '<td class="ThemeTWSMenuItemLeft">Test1</td><td colspan="2" class="ThemeTWSMenuSplit"><div class="ThemeTWSMenuSplit">hello</div></td>'];
var cmThemeTWSMainHSplit = [_cmNoClick, '<td class="ThemeTWSMainItemLeft">Test2</td><td colspan="2" class="ThemeTWSMenuSplit"><div class="ThemeTWSMenuSplit">hello2</div></td>'];
var cmThemeTWSMainVSplit = [_cmNoClick, '|'];

/* IE can't do negative margin on tables */
/*@cc_on
	cmThemeTWS.subMenuHeader = '<div class="ThemeTWSSubMenuShadow" style="background-color: #cccccc; filter: alpha(opacity=35);"></div>';
@*/

