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=0;


//light iime: #f2ffd3; light yellow: #ccdfea

with(horizStyle=new mm_style()){
//bordercolor="transparent";
bordercolor="#6666b3";
borderstyle="solid";
//borderwidth=0; FOR NO BOX
borderwidth=1; 
fontfamily="arial, verdana, helvetica";
//fontsize="72%";
fontstyle="normal";
//headerbgcolor="#AFD1B5";
headerborder=1;
//headercolor="#000000";
//offbgcolor="transparent"; FOR NO BOX
offbgcolor="#eeeef7"; 
//offbgcolor is the background color of the menu
//offbgcolor="#CFE2D1";
//offcolor="#000000";
offcolor="transparent";
onbgcolor="transparent";
//onbgcolor="#f2ffd3"; for lime green background "on"
onborder="0px solid #6666b3";
oncolor="transparent";
onsubimage="downboxedtestr.gif";
//overbgimage="backon_beige.gif"; makes a background image, also skyback.gif for blue
padding=2;
//pagebgcolor="#CFE2D1"; makes green visited link
pagebgcolor="transparent";
//pagecolor="#000000";
pagecolor="transparent";
//use pagecolor to change font color of active/visited links
//pageimage="on_downboxed.gif"; [doesn't seem to be needed]
overimage="redarrows1.gif";
pagesubimage="downboxedtestr.gif";
separatoralign="right";
separatorcolor="transparent";
//separatorcolor="#ff0000";
separatorwidth="85%";
//separatorsize=1;
//separatorheight=10;
subimage="downboxedtestg.gif";
//clickcolor="#ff0000";

}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
//left=10;
margin=0;
orientation="horizontal";
position="relative";
style=horizStyle;
//top=10;

aI("text=<form method=get action=http://www.dentalethics.org/_search/search.php style=margin:0px><input type=text name=zoom_query size=20 title='Enter word(s) or search a phrase in quotes' maxlength=50 class=searchmenu onFocus=javascript:(value='',this.style.paddingLeft=2,this.style.backgroundImage='none',this.style.backgroundColor='#fafed2') onBlur=javascript:(this.style.backgroundColor='#ffffff')> <input type=submit value=Search style=font-size:.8em;width:50px></span></form>;type=form;"); 
}

//BACKUP: aI("text=<form method=get action=http://www.dentalethics.org/search/search.php style=margin:0px><input type=text name=zoom_query size=20 title='Enter word(s) or search a phrase in quotes' maxlength=50 style=font-size:10pt class=searchmenu onFocus=javascript:(value='',this.style.paddingLeft=2,this.style.backgroundImage='none',this.style.backgroundColor='#fafed2') onBlur=javascript:(this.style.backgroundColor='#ffffff')> <span class=button><input type=submit value=Search></span></form>;type=form;"); 

//style=font-size:10pt class=searchmenu DELETE font-size in this sequence above
//Put after class=HSE etc. onFocus=javascript:(value='',this.style.paddingLeft=2,this.style.backgroundImage='none',this.style.backgroundColor='#fafed2') onBlur=javascript:(this.style.backgroundColor='#ffffff')

drawMenus();




