fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=-2;



with(AllSitesNav=new mm_style()){
onbgcolor="#F2F2F2";
oncolor="#000000";
offbgcolor="#000000";
offcolor="#ffffff";
bordercolor="#01734B";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="6";
separatorpadding="0";
padding=2;
fontsize="7pt";
fontstyle="normal";
fontfamily="Arial, Helvetica";
pagecolor="#FFFFFF";
pagebgcolor="transparent";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/stellent/groups/public/documents/image/pm_allsitesmenuicon.gif";
subimagepadding="0";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
}


with(AllSitesSub=new mm_style()){
onbgcolor="#ffffff";
oncolor="#000000";
offbgcolor="#000000";
offcolor="#ffffff";
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="2";
separatorpadding="0";
padding=4;
fontsize="7pt";
fontstyle="normal";
fontfamily="Arial, Helvetica";
pagecolor="#000000";
pagebgcolor="ffffff";
headercolor="#000000";
headerbgcolor="#2B4D7F";
overfilter="Shadow(color='#777777', Direction=135, Strength=5)";
align='left'
}


with(LTmenuStyle=new mm_style()){
onbgcolor="#668CB6";
oncolor="#FFFFFF";
offbgcolor="transparent";
offcolor="white";
//bordercolor="#01734B";
//borderstyle="solid";
borderwidth=0;
separatorcolor="transparent";
separatorsize="1";
separatorpadding="0";
padding="4px 4px 4px 8px";
fontsize="9pt";
fontweight="bold";
fontstyle="normal";
fontfamily="Arial, Garamond, New York, Times New Roman, MS Serif, Serif";
pagecolor="#ffffff";
pagebgcolor="#2E4D72";
headercolor="#ffffff";
headerbgcolor="#668CB6";
//onborder="1px solid #2A384C";
offborder="1px solid #2A384C";
//pagebgimage="/stellent/groups/public/documents/web_asset/ecmd007634.gif";
//overbgimage="/stellent/groups/public/documents/web_asset/ecmd0007642.gif";
bgimage="/stellent/groups/public/documents/web_asset/ecmd0007637.gif";
subimage="/stellent/groups/public/documents/web_content/ecmd0010403.gif";
subimagepadding="2";
overfilter="Alpha(opacity=90);Shadow(color='#7B827B', Direction=135, Strength=4)";

}


with(LTSubmenuStyle=new mm_style()){
onbgcolor="#668CB6";
oncolor="#ffffff";
offbgcolor="transparent";
offcolor="#ffffff";
bordercolor="#642E1E";
borderstyle="solid";
borderwidth=1;
padding="4px 4px 4px 8px";
separatorcolor="transparent";
separatorsize="0";
separatorpadding=0;
padding=4;
fontsize="9pt";
fontweight="bold";
fontstyle="normal";
fontfamily="Arial, Garamond, New York, Times New Roman, MS Serif, Serif";
pagecolor="#9BB9E0";
pagebgcolor="#668CB6";
headercolor="#000000";
headerbgcolor="#668CB6";
menubgcolor="#668CB6";
//onborder="1px solid #2A384C";
//offborder="1px solid #2A384C";
//pagebgimage="/stellent/groups/public/documents/web_asset/ecmd0007642.gif";
//overbgimage="/stellent/groups/public/documents/web_asset/ecmd0007642.gif";
bgimage="/stellent/groups/public/documents/web_asset/ecmd0007639.gif";
overfilter="Alpha(opacity=95);Shadow(color='#642E1E', Direction=135, Strength=3)";
}


with(TOPmenuStyle=new mm_style()){
onbgcolor="transparent";
oncolor="#FFFFFF";
offbgcolor="transparent";
offcolor="#000000";
bordercolor="#01734B";
borderstyle="solid";
borderwidth=0;
separatorcolor="#000000";
separatorsize="1";
separatorpadding="3";
//separatorimage="/stellent/groups/public/documents/web_asset/ecmd0004708.gif";
separatorheight="16";
padding=5;
fontsize="8pt";
fontweight="bold";
fontstyle="normal";
fontfamily="Garamond, New York, Times New Roman, MS Serif, Serif";
pagecolor="#000000";
pagebgcolor="transparent";
headercolor="#000000";
headerbgcolor="#ffffff";
//pagebgimage="/stellent/groups/public/documents/web_asset/ecmd0004709.gif";
//overbgimage="/stellent/groups/public/documents/web_asset/ecmd0004709.gif";
//bgimage="/stellent/groups/public/documents/web_asset/ecmd0004709.gif";
//subimage="/stellent/groups/public/documents/image/pmcattle_rightmenuicon.gif";
//subimagepadding="2";
//overfilter="Shadow(color='#000000', Direction=135, Strength=2)";
//outfilter="randomdissolve(duration=0.3)";
}


with(TOPSubmenuStyle=new mm_style()){
onbgcolor="#D8DCC1";
oncolor="#000000";
offbgcolor="FBF6F0";
offcolor="#000000";
bordercolor="#EDDDCE";
borderstyle="solid";
borderwidth=1;
separatorcolor="#FFFFFF";
separatorsize="1";
separatorpadding=0;
padding=3;
fontsize="8pt";
fontweight="bold";
fontstyle="normal";
fontfamily="Arial, Helvetica";
pagecolor="#000000";
pagebgcolor="#7DBEE6";
headercolor="#000000";
headerbgcolor="#8A8EB3";
menubgcolor="#FFFFFF";
onborder="1px solid #BEE3EC";
offborder="1px solid #BEE3EC";
//pagebgimage="images/lft_nav_bg.gif";
//overbgimage="images/lft_nav_bg.gif";
bgimage="/stellent/groups/public/documents/image/pmcattle_lnav_off.gif";
subimage="/stellent/groups/public/documents/image/pmcattle_rightmenuicon.gif";
subimagepadding="2"
overfilter="Alpha(opacity=100);Shadow(color='#333333', Direction=135, Strength=3)";
}

drawMenus();

function showhide(what, not)
{
	if (what.style.display=="none")
	{
		what.style.display='inline';
		not.style.display='none';
		
	}
	else
	{
		what.style.display='none'
		not.style.display='inline';
	}
}

function buildAVLink(inURL,inWinName)
{
	var strURL = window.location.href;
	var strFeatures = "width=580,height=560,toolbar=yes,scrollbars=yes,resizable=no,menubar=yes";	
	
	if (strURL.toLowerCase().indexOf("ahdap412") > -1)
        {
			inURL = inURL;
        }
    else if (strURL.toLowerCase().indexOf("556stage") > -1)
		{
		if (inURL.toLowerCase().indexOf(".aspx") > -1)
			{
				inURL = strURL.substring(0,36) + inURL;
			}
		else
			{
				inURL = strURL.substring(0,36) + inURL.substring(22) + ".aspx";
			}
        }
    else
        {
        if (inURL.toLowerCase().indexOf(".aspx") > -1)
			{
				inURL = strURL.substring(0,22) + inURL;
			}
		else
			{
				inURL = strURL.substring(0,22) + inURL.substring(22) + ".aspx";
			}
        }
        

	window.open(inURL,inWinName,strFeatures);
}


