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="#6666b3";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, verdana, helvetica";
//fontsize="72%";
fontstyle="normal";
//headerbgcolor="#AFD1B5";
headerborder=1;
//headercolor="#000000";
offbgcolor="#eeeef7";
//offbgcolor is the background color of the menu
//offbgcolor="#CFE2D1";
//offcolor="#000000";
offcolor="#44448a";
onbgcolor="#fafed2";
//onbgcolor="#f2ffd3"; for lime green background "on"
onborder="1px solid #6666b3";
oncolor="#333369";
onsubimage="downboxedtestr.gif";
//overbgimage="backon_beige.gif"; makes a background image, also skyback.gif for blue
padding=3;
//pagebgcolor="#CFE2D1"; makes green visited link
pagebgcolor="#eeeef7";
//pagecolor="#000000";
pagecolor="#44448a";
//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="#6666b3";
//separatorcolor="#ff0000";
separatorwidth="85%";
//separatorsize=1;
//separatorheight=10;
subimage="downboxedtestg.gif";
//clickcolor="#ff0000";

}

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#6666b3";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, verdana, helvetica";
//fontsize="72%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
//image="15_blank.gif";
imagepadding=3;
//imagepadding=1;
//menubgimage="backoff_green.gif";
offbgcolor="transparent";
//offcolor="#000000";
offcolor="#44448a";
//onbgcolor="f2ffd3"; lime green
onbgcolor="#fafed2"; 
onborder="1px solid #6666b3";
//oncolor="#000000";
oncolor="#333369";
//*onsubimage="rarrowredtest.gif";
//onsubimage="on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
//overbgimage="backon_beige.gif";
//overfilter below causes weak font display
//overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#cccccc', Direction=135, Strength=3)";
padding=3;
//pagebgcolor="#CFE2D1";
//pagebgcolor="#e1e1e1"; light gray
pagebgcolor="#fafed2";
//pagecolor="#000000";
pagecolor="#333369";
//use pagecolor to change font color of active/visited links
//pageimage="db_red.gif";
pageimage="db_red.gif";
//*pagesubimage="rarrowredtest.gif";
separatoralign="right";
separatorcolor="#6666b3";
separatorpadding=1;
separatorwidth="85%";
//*subimage="rarrowgraytest.gif";
//subimage="black_13x13_greyboxed.gif";
menubgcolor="#eeeef7";
clickcolor="#333369";

}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
//left=10;
margin=2;
orientation="horizontal";
position="relative";
style=horizStyle;
//top=10;
//aI("image=acd.gif;text=ACD Home;url=/;imageposition=left;");
aI("text=Home;url=http://www.dentalethics.org/index.htm;image=purplearrows1.gif;");
aI("text=PEAD;url=/pead/index-pead.htm;");
aI("text=Resources;url=/index.htm#resources;");
aI("text=Terms;url=/termsofuse.htm;");
aI("text=Support;url=/support.htm;");
//aI("text=CODE;url=/index.shtml;");
//aI("text=ACD;url=http://www.acd.org;");
aI("text=Print Text;url=javascript:clickfunction=printContent('print_div1');");
//aI("text=<form method=get action=_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:8pt class=HSE-searchbox11> <input type=submit value=Search class=button></form>;type=form;"); 
}

//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')

with(milonic=new menuname("Blocks")){
margin=3;
style=vertStyle;
top="offset=2";
aI("text=PEAD Home;url=/index-pead.htm;");
aI("text=Register;url=https://www.dentalethics.org/pead/registration-pead.htm;"); 
//Does the value="Register" need to be added?
aI("text=Block A;url=/pead/block-A.htm;");
aI("text=Block B;url=/pead/block-B.htm;");
aI("text=Block C;url=/pead/block-C.htm;");
aI("text=Block D;url=/pead/block-D.htm;");
aI("text=Block E;url=/pead/block-E.htm;");
aI("text=C.E. Credit;url=/pead/ceinstructions.htm;");
}

drawMenus();




