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;

/////////////////////////////////////////////////////////////////////////////
// TOP MENU BAR
/////////////////////////////////////////////////////////////////////////////

with(TopMenuStyle=new mm_style()){
align="center";
styleid=2;
fontfamily="Verdana";
fontsize="10px";
fontstyle="normal";
fontweight="normal";
offbgcolor="#709B6E";
offcolor="#F1FAF5";
onbgcolor="#C4E8CE";
oncolor="Black";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
padding=3;
separatorcolor="black";
separatorsize=1;
}

with(milonic=new menuname("Top Menu")){
style=TopMenuStyle;
alwaysvisible=1;
keepalive=1;
left=10;
overflow="scroll";
top=142;
itemwidth=120;
orientation="horizontal";
aI("text=Home;url=http://www.electronicsrecycling.com/cdr/;");
aI("showmenu=Reports;text=Reports;");
aI("showmenu=Downloads;text=Downloads;");
aI("text=Archives;url=http://www.electronicsrecycling.com/cdr/Archives.aspx;");
aI("text=Contact Us;url=http://www.electronicsrecycling.com/cdr/ContactUs.aspx;");
aI("showmenu=SiteSearch;text=Search;");

}

with(milonic=new menuname("Reports")){
overflow="scroll";
style=TopMenuStyle;
aI("text=State Mandated Program Reports;url=http://www.electronicsrecycling.org/bdms;")
aI("text=Cell Phone Program Reports;url=http://www.electronicsrecycling.com/cdr/CellPhoneReports/reports.aspx;")
aI("text=Other Program Reports;url=http://www.electronicsrecycling.com/cdr/reports/reports.aspx;")
}

with(milonic=new menuname("Downloads")){
overflow="scroll";
style=TopMenuStyle;
aI("text=Data Elements;url=http://www.electronicsrecycling.com/cdr/Documents/DataElements.pdf;target='new'")
aI("text=Data Collection Forms;url=http://www.electronicsrecycling.com/cdr/Documents/DataCollectionFormsv6.pdf;target='new'")
}

with(milonic=new menuname("ContactUs")){
style=TopMenuStyle;
}

with(milonic=new menuname("SiteSearch")){
style=TopMenuStyle;
aI("text=Search for a person;url=http://www.electronicsrecycling.com/cdr/SiteSearch.aspx?type=contact;");
aI("text=Search for a company;url=http://www.electronicsrecycling.com/cdr/SiteSearch.aspx?type=company;");
aI("text=Search for a program;url=http://www.electronicsrecycling.com/cdr/SiteSearch.aspx?type=program;");}
////////////////////////////////////////////////////////////////////////////////////////////
//  SIDE MENU (Programs)
////////////////////////////////////////////////////////////////////////////////////////////
with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#709B6E";
offcolor="#F1FAF5";
onbgcolor="#C4E8CE";
oncolor="Black";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="White";
pagecolor="black";
separatorcolor="000000";
separatorsize=1;
subimage="http://www.electronicsrecycling.com/cdr/images/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
overflow="scroll";
style=menuStyle;
top=260;
aI("text=Programs;offbgcolor=#C4E8CE;align=center;fontweight=bold;offcolor=Black");
aI("showmenu=MandatedPrograms;text=State Mandated Programs;");
aI("showmenu=OtherPrograms;text=Other Collection Programs;");
aI("showmenu=CellPhone;text=Cell Phone Programs;");
aI("showmenu=RecyclerData;text=Recycler Data;");
}

with(milonic=new menuname("MandatedPrograms")){
overflow="scroll";
style=menuStyle;
aI("text=Maine;url=http://www.electronicsrecycling.com/cdr/statemandated.aspx?state=ME;")
aI("text=California;url=http://www.electronicsrecycling.com/cdr/statemandated.aspx?state=CA;")
}

with(milonic=new menuname("OtherPrograms")){
style=menuStyle;
aI("text=Add a Program;url=http://www.electronicsrecycling.com/cdr/sponsor.aspx?action=add&type=program;");
aI("text=Add Data to an Existing Program;url=http://www.electronicsrecycling.com/cdr/Programs.aspx?action=adddata;");
aI("text=Run a Report;url=http://www.electronicsrecycling.com/cdr/Reports/Reports.aspx;");
aI("text=Search for a Program;url=http://www.electronicsrecycling.com/cdr/SiteSearch.aspx?type=program;");
}

with(milonic=new menuname("CellPhone")){
style=menuStyle;
aI("text=Add a Cell Phone Program;url=http://www.electronicsrecycling.com/cdr/sponsor.aspx?action=add&type=cellphone;");
aI("text=Add Data to an existing Cell Phone Program;url=http://www.electronicsrecycling.com/cdr/CellPhonePrograms.aspx?action=adddata;");
aI("text=Run a Report;url=http://www.electronicsrecycling.com/cdr/CellPhoneReports/Reports.aspx;");
aI("text=Search for a Cell Phone Program;url=http://www.electronicsrecycling.com/cdr/CPSiteSearch.aspx;");
}

with(milonic=new menuname("RecyclerData")){
style=menuStyle;
aI("text=Add a Recycler;url=http://www.electronicsrecycling.com/cdr/Company.aspx?action=add&type=recycler;");
aI("text=Add Data to an existing Recycler;url=http://www.electronicsrecycling.com/cdr/RecyclerOnly.aspx?action=add&type=recycleronly;");
aI("text=Run a Report;url=http://www.electronicsrecycling.com/cdr/Reports/Reports.aspx;");
aI("text=Search for a Recycler;url=http://www.electronicsrecycling.com/cdr/SiteSearch.aspx?type=company;");
}


with(milonic=new menuname("MandatedPrograms")){
overflow="scroll";
style=menuStyle;
aI("text=Maine;url=http://www.electronicsrecycling.com/cdr/StateMandated.aspx?state=ME;")
aI("text=California;url=http://www.electronicsrecycling.com/cdr/StateMandated.aspx?state=CA;")
}

drawMenus();

