_menuCloseDelay=200            // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=0         // Sub menu top offset
_subOffsetLeft=2           // Sub menu left offset

with(menubarStyle=new mm_style()){
onbgcolor="#002B59";
oncolor="#FFFFFF";
offbgcolor="#002B59";
offcolor="#FFFFFF";
bordercolor="#FF0000";
borderstyle="none";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize="2";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
fontweight="bold";
pagecolor="#black";
pagebgcolor="#FFFFFF";
headercolor="#FFFFFF";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
}
with(menuStyle=new mm_style()){
onbgcolor="#547190";
oncolor="#FFFFFF";
offbgcolor="#002B59";
offcolor="#FFFFFF";
bordercolor="#FFFFFF";
borderstyle="none";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize="2";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
fontweight="bold";
pagecolor="#black";
pagebgcolor="#FFFFFF";
headercolor="#FFFFFF";
headerbgcolor="#ffffff";
subimage="images/menuarrow.gif";
subimagepadding="2";
}
with(submenuStyle=new mm_style()){
onbgcolor="#547190";
oncolor="#FFFFFF";
offbgcolor="#002B59";
offcolor="#FFFFFF";
bordercolor="#FFFF55";
borderstyle="none";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize="2";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
fontweight="bold";
pagecolor="#black";
pagebgcolor="#FFFFFF";
headercolor="#FFFFFF";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
}
with(milonic=new menuname("Information")){
style=menuStyle;
overflow="scroll";
aI("text=Contact Us;showmenu=contact");
aI("text=Frequently Asked Questions (FAQs);url=information/faqs.html;status=Frequently Asked Questions about St Peter's");
aI("text=Links;url=information/links.html;status=Useful Links");
aI("text=Staff Vacancies;url=information/vacancies.html;status=Staff Vacancies at St Peter's");
}

with(milonic=new menuname("Contact")){
style=submenuStyle;
overflow="scroll";
aI("text=Contact Details;url=information/contactdetails.html;status=School Contact Details;");
aI("text=How to Find Us;url=information/howtofind.html;status=Directions on finding the School;");
aI("text=Website Feedback & Suggestions;url=information/feedback.html;status=Please leave Feedback on our Site;");
}

with(milonic=new menuname("Parents")){
style=menuStyle;
overflow="scroll";
aI("text=Letters to Parents;url=parents/letters.html;status=Letters to Parents");
aI("text=Parents Guide to Homework;url=parents/hmwk.html;status=Parents Guide to Homework");
aI("text=School Policies;showmenu=school_policies");
/*aI("text=Glossary of Educational Terms;url=parents/glossary.html;status=Glossary of Commonly Used Educational Terms");*/
aI("text=Calendar;showmenu=calendar");
aI("text=Parents Association;url=parents/pa.html;status=Exam Information");
}

with(milonic=new menuname("Calendar")){
style=submenuStyle;
overflow="scroll";
aI("text=Term Dates;url=parents/termdates.html;status=Term Dates;");
aI("text=Events Calendar;url=parents/eventscalendar.html;status=Events Calendar;");
}

with(milonic=new menuname("School_Policies")){
style=submenuStyle;
overflow="scroll";
aI("text=Uniform Policy;url=parents/uniform.html;status=School Uniform Policy;");
aI("text=Partnership Agreement;url=parents/partnership.html;status=Student - School - Parent Partnership Agreement;");
}

with(milonic=new menuname("Students")){
style=menuStyle;
overflow="scroll";
aI("text=The New Pastoral System;url=students/pastoral.html;status=Details of the New Pastoral System");
aI("text=Exam Information;url=students/examinfo.html;status=Examination Infomation");
aI("text=Out of Hours Learning;url=students/outofhours.html;status=Information about Out of Hours Learning");
aI("text=Student News;url=students/studentnews.html;status=Information about Students");
}

with(milonic=new menuname("Subjects")){
style=menuStyle;
overflow="scroll";
aI("text=Subjects A-L;showmenu=subjects_AtoL");
aI("text=Subjects M-Z;showmenu=subjects_MtoZ");
}

with(milonic=new menuname("subjects_AtoL")){
style=submenuStyle;
overflow="scroll";
aI("text=Art and Design;url=subjects/art.html;status=Information about Art and Design;");
aI("text=Business Studies;url=subjects/BTEC Business.html;status=Information about Business Studies;");
aI("text=Child Development;url=subjects/childdev.html;status=Information about Child Development;");
aI("text=Citizenship;url=subjects/citizenship.html;status=Information about Citizenship;");
/*aI("text=Drama;url=subjects/drama.html;status=Information about Drama;");*/
aI("text=English;url=subjects/english.html;status=Information about English;");
aI("text=Geography;url=subjects/geography.html;status=Information about Geography;");
aI("text=History;url=subjects/history.html;status=Information about History;");
aI("text=Information Communication Technology (ICT);url=subjects/ict.html;status=Information about ICT;");
aI("text=Leisure and Tourism;url=subjects/landt.html;status=Information about Leisure and Tourism;");
}

with(milonic=new menuname("subjects_MtoZ")){
style=submenuStyle;
overflow="scroll";
aI("text=Mathematics;url=subjects/mathematics.html;status=Information about Mathematics;");
aI("text=Media Studies;url=subjects/BTEC Media.html;status=Information about Media Studies;");
aI("text=Modern Foreign Languages;url=subjects/mfl.html;status=Information about Modern Foreign Languages;");
aI("text=Motor Vehicles;url=subjects/Motor Vehicles.html;status=Information about Motor Vehicles;");
/*aI("text=Music;url=subjects/music.html;status=Information about Music;");*/
aI("text=Physical Education (PE);url=subjects/pe.html;status=Information about Physical Education;");
aI("text=Religious Education (RE);url=subjects/re.html;status=Information about Religious Education;");
aI("text=Science;url=subjects/science.html;status=Information about Science;");
aI("text=Technology;url=subjects/technology.html;status=Information about Technology;");
}

with(milonic=new menuname("Facilities")){
style=menuStyle;
overflow="scroll";
aI("text=All Weather Pitch;url=facilities/awp.html;status=All Weather Pitch Hire Details;");
aI("text=Sports Facilities;url=facilities/sports.html;status=Function and Sports Halls Hire Details;");
aI("text=Classrooms and Halls;url=facilities/rooms.html;status=Classroom Hire Details;");
aI("text=Facilities Booking Form;url=facilities/booking.html;status=Facilties Booking Form;");
}

with(milonic=new menuname("Sixth Form")){
style=menuStyle;
overflow="scroll";
aI("text=About the Sixth Form;url=sixthform/about.html;status=About St Peter's Sixth Form;");
aI("text=AS & A2 Level Courses A-L;showmenu=ASA2_AtoL");
aI("text=AS & A2 Level Courses M-Z;showmenu=ASA2_MtoZ");
aI("text=AVCE Courses;showmenu=AVCE");
/*aI("text=Cisco Networking Academy;showmenu=Cisco");*/
}

with(milonic=new menuname("ASA2_AtoL")){
style=submenuStyle;
overflow="scroll";
aI("text=Art and Design;url=sixthform/ASA2_artdesign.html;status=Information about Art and Design;");
aI("text=Biology;url=sixthform/ASA2_biology.html;status=Information about Biology;");
/*aI("text=Business Studies;url=sixthform/ASA2_businessstudies.html;status=Information about Business Studies;");*/
aI("text=Chemistry;url=sixthform/ASA2_chemistry.html;status=Information about Chemistry;");
/*aI("text=Drama;url=sixthform/ASA2_drama.html;status=Information about Drama;");*/
aI("text=English;url=sixthform/ASA2_english.html;status=Information about English;");
aI("text=Geography;url=sixthform/ASA2_geography.html;status=Information about Geography;");
aI("text=History;url=sixthform/ASA2_history.html;status=Information about History;");
/*aI("text=Information Communication Technology (ICT);url=sixthform/ASA2_ict.html;status=Information about ICT;");*/
aI("text=Law;url=sixthform/ASA2_law.html;status=Information about Law;");
}

with(milonic=new menuname("ASA2_MtoZ")){
style=submenuStyle;
overflow="scroll";
aI("text=Mathematics;url=sixthform/ASA2_mathematics.html;status=Information about Mathematics;");
aI("text=Modern Foreign Languages;url=sixthform/ASA2_mfl.html;status=Information about Modern Foreign Languages;");
aI("text=Physical Education (PE);url=sixthform/ASA2_pe.html;status=Information about Physical Education;");
aI("text=Physics;url=sixthform/ASA2_physics.html;status=Information about Physics;");
aI("text=Product Design;url=sixthform/ASA2_productdesign.html;status=Information about Product Design;");
aI("text=Psychology;url=sixthform/ASA2_psychology.html;status=Information about Psychology;");
aI("text=Religious Education (RE);url=sixthform/ASA2_re.html;status=Information about Religious Education;");
/*aI("text=Textiles;url=sixthform/ASA2_textiles.html;status=Information about Textiles;");*/
}

with(milonic=new menuname("AVCE")){
style=submenuStyle;
overflow="scroll";
aI("text=Travel & Tourism;url=sixthform/AVCE_travtour.html;status=Information about Travel & Tourism;");
}

/*with(milonic=new menuname("Cisco")){
style=submenuStyle;
overflow="scroll";
aI("text=About the Academy;url=sixthform/ciscoacademy.html;status=About the Cisco Academy;");
aI("text=CCNA Course Details;url=sixthform/ccna.html;status=Information about the CCNA Course;");
aI("text=Cisco Academy Website;url=http://cisco.netacad.net/;status=Official site of the Cisco Networking Academy Program;target=_blank");
}*/
drawMenus();