
/* -=-=-=-=-=-=-[DO NOT EDIT THIS FIRST SECTION]-=-=-=-=-=-=-=- */

/* -=-=-=-=-=-=-[Determine browser name, version & O/S]-=-=-=-=-=-=-=- */
var BV = parseFloat(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);
var BN = navigator.appName;
var nua = navigator.userAgent;
var IsMac=(nua.indexOf('Mac')!=-1);
var IE=(BN.indexOf('Explorer')!=-1);


/* -=-=-=-=-=-=-[EDIT BELOW HERE]-=-=-=-=-=-=-=- */

var siteContainerID = "header";									// ID of outermost element of site

/* -=-=-=-=-=-=-[Drop Menu Configuration]-=-=-=-=-=-=-=- */

var baseClass = 'base';  											  // default class of topMenuOption (tmo)
var overClass = 'over';  											  // hovered class of topMenuOption (tmo)
var lastBaseClass = 'baseLast';  											  // default class of topMenuOption (tmo)
var lastOverClass = 'overLast';  											  // hovered class of topMenuOption (tmo)
var lastMenuItem = "tmo_6";
var menuHideDelay=1000;												  // time after mouseOut that drop menu remains visible
var timerID=null;															  // initialize timerID

var tmoContainer = "headRollMenu";						  // ID of element containing top menu options
var tmoIDprefix = "tmo_";											  // prefix for top menu option IDs

var dropContainer = "mainMenu";					    		  // ID of element containing drop menus
var dropIDprefix = "dropMenu_";								  // prefix for drop menu IDs
var dropMenuClass = "dropMenu";  							  // class of drop menus

var offset = "-"; 														  // Options: + or -
var dropMenuHorizontalOffset = 1;  						  // number of pixels to the right of the top menu item where drop menu appears
var dropMenuVerticalOffset = (IE) ? 28 : 28;    // Y location of drop relative to top of menu button (IE : Non-IE)



/* -=-=-=-=-=-=-[DO NOT EDIT BELOW HERE]-=-=-=-=-=-=-=- */

function getDropInfo(){
	// "var" intentionally not used so vars become global
	drops = getElementsByClassName(MM_findObj(dropContainer), "div", dropMenuClass);  // Create array of all drops

	// Can't get width while drop is set to display: none so having to do some jiggery-pokery-CSSiness
	drops[0].style.visibility="hidden";
	drops[0].style.display="block";
	dropMenuWidth = drops[0].offsetWidth;  // Get width of first, and therefore all drops + padding compensation set above
	drops[0].style.display="none";
	drops[0].style.visibility="visible";

	maxDropPos = MM_findObj(siteContainerID).offsetWidth - dropMenuWidth - 1;  // Furthest left that a drop menu should appear to avoid spilling over right edge of site
}




















