
/***************************************
	USER DEFINED VARIABLES HERE
***************************************/

//Relevant Path names for associated files.
StyleSheetPath = "Stylesheets/Menus.css";
MenuFile = "JS/Arrays.js";


//MenuPrefix
MenuPrefix = "SubMenu";
MenuClass = "SubMenuItem";


/****** prefix the following fields with your menu prefix above ******/

//Menu specific options
SecondsMenuVisible = '1';  //Period of time menu displays after mouse out

//basic mouse over/out colors for menu items
SubMenuFontColor = '#000000'; 
SubMenuFontColorOver = '#000000';
SubMenuBackgroundColor = '#cccccc';
SubMenuBackgroundColorOver = '#E4E4E4';

//border properties for menu panels
SubMenuBorderWidth = '1px';
SubMenuBorderColor = '#666666';
SubMenuBorderStyle = 'solid';

//Padding around each item
SubMenuItemPaddingTop = 6;
SubMenuItemPaddingRight = 6;
SubMenuItemPaddingBottom = 6;
SubMenuItemPaddingLeft = 6;

SubMenuArrowWidth = 10; 
SubMenuArrowHeight = 10;

/********************************************************************/






//browser detection
IsDOM = (document.getElementById) ? true : false;
IsNS4 = (document.layers) ? true : false;
IsIE = (document.all) ? true : false;
IsIE4 = IsIE && !IsDOM;
IsMac = (navigator.appVersion.indexOf("Mac") != -1);
IsIE4M = IsIE4 && IsMac;

IsNN =  (navigator.appName.indexOf("Netscape") != -1) ? true : false;
IsMozilla = ((navigator.userAgent.indexOf("Gecko") > 0) && !(navigator.userAgent.indexOf("Netscape") > 0)) ? true : false;

IsNS6 = (navigator.userAgent.indexOf("Gecko") > 0) ? true : false;

// correct version number (gets the major version number)
IsNS7up = ( parseInt(parseFloat( navigator.userAgent.substring( navigator.userAgent.lastIndexOf('/') + 1 ) ))  >= 7 ) ? true : false;







//LOAD THE MENUS

if (IsDOM){
	//load the stylesheet
	document.write("<link rel=\"stylesheet\" type=\"text\/css\" href=\" " + StyleSheetPath + " \">");

	//load the menus file
	//document.write("<SCRIPT language='javascript' SRC='" + MenuFile + "'> </SCRIPT>");


	//load the main javascript file
	document.write("<SCRIPT language='javascript' SRC='JS/NavigationMenus.js'> </SCRIPT>");
}



