fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=0;
_subOffsetTop=-2;
_subOffsetLeft=-2;


horizontalMenuDelay = false;
noSubImageSpacing = true;


with(loginStyle=new mm_style()){
styleid=1;
bordercolor="#4D8BBE";
borderstyle="solid";
borderwidth=3;
fontfamily="Arial, Verdana, Geneva, Helvetica, sans-serif";
fontsize="12px";
fontstyle="normal";
imagepadding=0;
offbgcolor="transparent";
offcolor="#555555";
onbgcolor="#4D8BBE"; //bg color on hover
oncolor="#4E8BBE";
overfilter="Fade(duration=0.1);Alpha(opacity=100);";
//padding=6;
padding=2;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=0;
//separatorwidth="85%";
valign="middle";
menubgcolor="#4D8BBE"; //bg color of the menu
nowrap = true;
}


with(horizStyle=new mm_style()){
//openonclick=true;
//closeonclick=true;
keepalive=1;
fontfamily="Arial, Verdana, Geneva, Helvetica, sans-serif";
fontsize="12px";
fontstyle="normal";
padding=0;
separatoralign="right";
}

with(milonic=new menuname("Login Menu")){
alwaysvisible=1;
margin=0;
orientation="horizontal";
style=horizStyle;
position="relative";
aI("image=../_images/login.gif;showmenu=login;");
}
//<span id=subMenuItem></span>
with(milonic=new menuname("login")){
margin=0;
divides=2;
style=loginStyle;
top="offset=-2";
menuwidth = 270;
menuheight = 35;
aI("text=<font style=\"color:white\">Username</font>;type=form;");
aI("text=<input type=text name=loginName size=13 class=loginBox tabIndex=1 onfocus=this.value='' autocomplete=off>;type=form;");//left
//aI("text=<input type=text name=loginName size=13 value=username class=loginBox onfocus=this.value=''> <input type=password name=password size=13 value=password class=loginBox onfocus=this.value=''><input type=image src=_images/go.png>;type=form;");//left
aI("text=<font style=\"color:white\">Password</font>;type=form;");
//aI("text=<input type=password name=password size=13 class=loginBox onfocus=this.value='' autocomplete=off><input type=image src=\"../																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																					_images/go.png\">;type=form;");//left
aI("text=<input type=password name=password size=13 class=loginBox tabIndex=2 onkeypress=\"doKey(event)\" onfocus=this.value='' autocomplete=off><a href=#><img src=\"../																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																					_images/go.png\" border=0 tabIndex=3 onclick=\"popupCr()\"></a>;type=form;");//left
aI("text=&nbsp;;;");
aI("text=<a href=\"<%=portal%>/login.jsp?funct=changepass\" tabIndex=4 target='_self' ><img src=\"../_images/changePassword.gif\" border=\"0\"></a>;url=https://www.knightglobal.com/login.jsp?funct=changepass\;");//left
}

drawMenus();

