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=2;
_subOffsetLeft=-2;




with(menuStyle1=new mm_style()){
//onbgcolor="#4F8EB6";
//oncolor="#ffffff";
//offbgcolor="#006699";
//offcolor="#ffffff";
bordercolor="#003366";
offborder="006699";
onborder="0px solid #647d8f"; /*needs to be 0 so dashed red line doesn't appear*/
borderstyle="solid";
borderwidth=0;
menuheight="20";
itemheight="20";
itemwidth=18;
margin="0";
align="left";
separatorcolor="#4F8EB6";
separatorsize="0";
padding=2;
menualign="center";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
fontsize=12;
fontstyle="normal";
fontweight="normal";
fontfamily="Arial, Verdana, SanSerif";
//overimage="searchmagsm4.gif";
pagecolor="#44448a";
pagebgcolor="#44448a";
headercolor="#000099";
headerbgcolor="#ffffff";
subimage="rarrowbox1.gif";
onsubimage="rarrowbox3.gif"
subimagepadding="2";
outfilter="randomdissolve(duration=0.3)";
//onclass="HSE-searchbox2";
//offclass="HSE-searchbox3";
}




with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
menuheight="15";
style=menuStyle1;
position="relative";
aI("text=<form action=search.php method=get style=margin:0px class=inline><input name=cat type=hidden value=1><input name=lang type=hidden value=en><input name=conf type=hidden value=0><input name=submit type=hidden><nowrap=nowrap><input name=terms type=text value=Search title='Enter word(s) or search a phrase in quotes' maxlength=50 style=font-size:8pt class=HSE-searchbox1 onFocus=javascript:(value='',this.style.paddingLeft=2,this.style.backgroundImage='none',this.style.backgroundColor='#fafed2') onBlur=javascript:(this.style.backgroundColor='#ffffff')></form>;type=form;"); 
//aI("url=/search/search.php;target=_top;image=searchmagsm1.gif;overimage=searchmagsm2.gif;title=Advanced Search;");
//removed size=18 property 
//value with Advanced Search arrow: value=Search&#160&#160&#160Advanced&#8594

}

//this works fully: onFocus=value=''; also works: onFocus=this.style.backgroundImage='none'  style=padding-left:18px onBlur=javascript:this.style.paddingLeft=18

//aI("text=<form name=hse_form1 action=/cgi-bin/hse/search.cgi method=get style=margin:0px class=inline><input name=cat type=hidden value=1><input name=lang type=hidden value=en><input name=conf type=hidden value=0><input name=submit type=hidden><nowrap=nowrap><input name=terms type=text value=Search title='Enter word(s) or search a phrase in quotes' maxlength=50 style=font-size:8pt class=HSE-searchbox2 onFocus=(value='')(this.style.paddingLeft=0) onclick=javascript:this.style.backgroundImage='none';></form>;type=form;"); 

drawMenus();


