//Load specific CSS based on global variable
//loadCSS();

//Core CSS
document.write('<style type="text/css">.imclear{clear:left;height:0px;visibility:hidden;font-size:1px;line-height:0px;}.imcm ul,.imcm li,.imcm div,.imcm span{text-align:left;vertical-align:top;cursor:hand;cursor:pointer;padding:0px;margin:0;list-style:none;}.imcm ul{zoom:1}.imsc{position:relative;}.imsubc{position:absolute;visibility:hidden;background-image:url(//images.fedex.com/images/ascend/shared/spacer.gif)}.imcm li{list-style:none;font-size:1px;float:left;}.imcm ul ul li{width:100%;float:none !important;}.imcm a{display:block;zoom:1;position:relative;}.imcm ul .imsc,.imcm ul .imsubc {z-index:1;}.imcm ul ul .imsc,.imcm ul ul .imsubc{z-index:2;}.imcm ul ul ul .imsc,.imcm ul ul .imsubc{z-index:3;}.imde ul li:hover .imsubc{visibility:visible;}.imde ul ul li:hover  .imsubc{visibility:visible;}.imde ul ul ul li:hover  .imsubc{visibility:visible;}.imde li:hover ul  .imsubc{visibility:hidden;}.imde li:hover ul ul .imsubc{visibility:hidden;}.imde li:hover ul ul ul  .imsubc{visibility:hidden;}.imea{position:relative;height:0px;float:right;text-align:right;}.imea div{position:relative;font-size:1px;line-height:0px;}</style>');

// Highlight Function
function highLight(btn) {
	try {
		color = whichColorHighLight;
	}
	catch (err) {
		color = "660099";
	}
	try {
		if (whichButtonHighLight == btn) {
			strHighLightCode = 'style="COLOR: \#ffffff; BACKGROUND-COLOR: \#'+ color +'; BORDER-COLOR: \#'+ color +'"';
			return strHighLightCode;
		}
	}
	catch (err) {
	}
}

// Insert the Mouseover LockFunction
function lockFunc() {
	strLockFunc = 'onmouseover="switch_img(this.childNodes[1],1)" onmouseout="switch_img(this.childNodes[1],0)"';
	return strLockFunc;
}

// Insert the Lock Image
function lockDisp() {
	strLockDisp = '<IMG style="RIGHT: 5px; POSITION: absolute; TOP: 4px" height=8 src="//images.fedex.com/images/ascend/rollovers/icon_lock_off.gif" width=7>';
	return strLockDisp;
}

// Load specific CSS based on whichCSS variable
// If no variable, default to purple
function loadCSS() {
	try {
		document.write('<link id="ssimenus0" rel="stylesheet" href="/templates/components/javascript/us/rollover/css_'+ whichCSS +'.css" type="text/css">');
	}
	catch (err) {
		document.write('<link id="ssimenus0" rel="stylesheet" href="/templates/components/javascript/us/rollover/css_purple.css" type="text/css">');
	}
}

// OpenCube function to Switch between lock on/off
function switch_img(el,bool) {

	(bool) ? el.src="//images.fedex.com/images/ascend/rollovers/icon_lock_on.gif": el.src="//images.fedex.com/images/ascend/rollovers/icon_lock_off.gif";

}

// copy of above function for the arrow
function switch_arrow(e2,bool) {

	(bool) ? e2.src="//images.fedex.com/images/ascend/shared/headers/nav_arrow_down.gif": e2.src="//images.fedex.com/images/ascend/shared/headers/nav_arrow.gif";

}

// copy of above function for the arrow
function switch_arrow_white(e2,bool) {

	(bool) ? e2.src="//images.fedex.com/images/ascend/shared/headers/nav_arrow_down_white.gif": e2.src="//images.fedex.com/images/ascend/shared/headers/nav_arrow_white.gif";

}

// copy of above function for the arrow
function switch_arrow_purple(e2,bool) {

	(bool) ? e2.src="//images.fedex.com/images/ascend/shared/headers/nav_arrow_down_purple.gif": e2.src="//images.fedex.com/images/ascend/shared/headers/nav_arrow_purple.gif";

}

function imenus_data0(){
	this.unlock = "wkvmcnh"
	this.menu_showhide_delay = 0
	this.show_subs_onclick = false
	this.hide_focus_box = false
	this.box_animation_styles = ""

   /*---------------------------------------------
   IE Transition Effects
   ---------------------------------------------*/
	this.subs_ie_transition_show = ""
}

