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(menuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontfamily="Trebuchet MS, System, Terminal, Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="Bold";
//image="../images/20.jpg";
align ="center";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#96B0C7";
offcolor="#000000";
onbgcolor="#FF7F50";
oncolor="#000000"
onsubimage="../templates/black_7x7.gif";
outfilter="randomdissolve(duration=0.0)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#efe8eb";
separatorsize=1;
//subimage="../templates/black_7x7.gif";
//subimagepadding=1;
}


with(ScrollingSampStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=2;
fontfamily="Trebuchet MS, System, Terminal, Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#96B0C7";
offcolor="#000000";
onbgcolor="#FF7F50";
oncolor="#000000"
outfilter="randomdissolve(duration=0.0)";
overfilter="Fade(duration=0.2);Alpha(opacity=98);Shadow(color=#777777', Direction=135, Strength=3)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#000000";
separatorsize=0;
subimage="../templates/black_7x7.gif";
subimagepadding=1;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemwidth="14%";
menuwidth="100%";
orientation="horizontal";
style=menuStyle;
position='relative'


aI("showmenu=Home;text=City Home;url=../;");
aI("showmenu=Online Catalog;text=Online Catalog;target='_blank1';url=http://66.96.65.250/ipac20/ipac.jsp?profile=ptl");
aI("showmenu=Interlibrary Loan;text=Interlibrary Loan;;url=../Library/ILL.asp;");
aI("showmenu=Resources;text=Resources;");
aI("showmenu=About;text=About;");
aI("showmenu=Support Groups;text=Support Groups;");
aI("showmenu=Children;text=Children;");
aI("showmenu=Teens;text=Teens;");
}

with(milonic=new menuname("Resources")){
overflow="scroll";
style=ScrollingSampStyle;
aI("text=Community Read;url=../Library/communityread.asp")
aI("text=Downloadable Audiobooks;url=http://nwwanytime.lib.overdrive.com/E7572D11-BDC3-4C9B-99D3-4F1B775437EF/10/436/en/Default.htm")
aI("text=Help in Hard Times;url=../Library/HelpinHardTimes.asp")
aI("text=Hard Times Workshops;url=../library/PDF/Series_2_Workshop_Dates_Flyer.pdf")
aI("text=Healthy Eating;url=http://www.healthyeatinglibrary.org/")
aI("text=Online Databases;url=../Library/OnlineDatabases.asp")
aI("text=Magazines;url=../Library/periodicals.asp")
aI("text=Podcasts;url=../Library/Podcast.asp")
aI("text=Reference Desk;url=../Library/ReferenceDesk.asp")
}

with(milonic=new menuname("About")){
overflow="scroll";
style=ScrollingSampStyle;
aI("text=How to Find Us;url=../Library/Basics.asp#Located_at_the_corner_of_Lawrence_&_Harrison_streets")
aI("text=Library Hours;url=../Library/Basics.asp#Library_hours");
aI("text=Getting a Library Card;url=../Library/Basics.asp#Getting_a_Library_Card");
aI("text=Checking Out Materials;url=../Library/Basics.asp#Checking_out_library_materials");
aI("text=Placing and Picking Up Holds;url=../Library/Basics.asp#Placing_&_picking_up_holds");
aI("text=Fines & Fees;url=../Library/Basics.asp#Fines_&_fees");
}

with(milonic=new menuname("Support Groups")){
overflow="scroll";
style=ScrollingSampStyle;
aI("text=Friends;url=../Library/Friends.asp")
aI("text=Foundation;url=../Library/foundation.asp")
aI("text=Library Staff;url=../Library/People.asp#Library_Staff");
aI("text=Volunteers;url=../Library/volunteers.asp")
aI("text=Advisory Board;url=../Library/AdvisoryBoard.asp")
}

with(milonic=new menuname("Children")){
style=ScrollingSampStyle;
aI("text=Kids Zone;url=../Library/Children.asp");
aI("text=Homework Help;url=../Library/KidsHomeWorkHelp.asp");
aI("text=Parenting;url=../Library/Parentings.asp");
aI("text=Book Lists;url=../Library/Booklists.asp");
aI("text=Children's Programs;url=../Library/KidsLibraryPrograms.asp");
aI("text=Book Awards;url=../Library/BookAwards.asp");
aI("text=Internet Rules for Kids;url=../Library/KidsOnlineSafety.asp");
}

with(milonic=new menuname("Teens")){
style=ScrollingSampStyle;
aI("text=Teen Homepage;url=../Library/TeenHomepage.asp");
aI("text=Homework Help;url=../Library/TeensHomeWork.asp");
aI("text=Good Read;url=../Library/TeenGoodRead.asp");
aI("text=I'd like to know more about...;url=../Library/TeenMoreAbout.asp");
aI("text=Teen Programs;url=../Library/teenprogrampage.asp");
}

with(milonic=new menuname("Catalog")){
style=ScrollingSampStyle;
aI("text=Online Catalog;target='_blank1';url=http://66.96.65.250/ipac20/ipac.jsp?profile=ptl");
}

drawMenus();

