fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=0;
_menuOpenDelay=0;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#cccccc";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
if (screen.width >= 800 && screen.width < 1024)
fontsize="60%";
if (screen.width >= 1024 && screen.width < 1280)
fontsize="75%";
if (screen.width >= 1280 && screen.width < 1500)
fontsize="80%";
if (screen.width >= 1500 && screen.width < 3000)
fontsize="90%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#772244";
oncolor="#ffffff";
outfilter="fade(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#DFE7DD', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#DAB6B6";
pagecolor="black";
separatorcolor="#cccccc";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
}

with(geog=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=1;
left=30;
orientation="horizontal";
style=menuStyle;
top=10;
aI("status=Home;text=Home;url=http://www.abdn.ac.uk/geography/;");
aI("showmenu=Geography;text=Geography at Aberdeen;url=http://www.abdn.ac.uk/geography/geog_at_abdn.php");
aI("showmenu=Staff;text=Staff;url=http://www.abdn.ac.uk/geography/staff/");
aI("showmenu=Research;text=Research;url=http://www.abdn.ac.uk/geography/research/");
aI("showmenu=Undergraduate Programmes;text=Undergraduate Programmes;url=http://www.abdn.ac.uk/geography/ugrad_menu/");
aI("showmenu=Postgraduate Programmes;text=Postgraduate Programmes;url=http://www.abdn.ac.uk/geography/pg_menu/");
aI("showmenu=Documentation;text=Documentation;url=http://www.abdn.ac.uk/geography/documentation/index.php");
}

with(geog=new menuname("Geography")){
overflow="scroll";
style=menuStyle;
aI("text=Geography at Aberdeen;url=http://www.abdn.ac.uk/geography/geog_at_abdn.php;");
aI("text=Accessible Aberdeen;url=http://www.abdn.ac.uk/geography/accessible_abdn.php;");
aI("text=Contacts;url=http://www.abdn.ac.uk/geography/contacts.php;");
}

with(geog=new menuname("Staff")){
style=menuStyle;
aI("text=Academic Staff;url=http://www.abdn.ac.uk/geography/staff/staff.php;");
aI("text=Research Staff;url=http://www.abdn.ac.uk/geography/staff/staff_research.php;");
aI("text=Emeritus and Honorary staff;url=http://www.abdn.ac.uk/geography/staff/staff_honorary.php;");
aI("text=Research Students;url=http://www.abdn.ac.uk/geography/staff/staff_phd.php;");
aI("text=Technical Staff;url=http://www.abdn.ac.uk/geography/staff/staff_technical.php;");
aI("text=Administrative staff;url=http://www.abdn.ac.uk/geography/staff/staff_admin.php;");
}

with(milonic=new menuname("Research")){
style=menuStyle;
aI("status=Departmental Research themes and clusters;text=Departmental Research themes and clusters;url=http://www.abdn.ac.uk/geography/research/;");
aI("status=Development and Policy;text=Human Geography;url=http://www.abdn.ac.uk/geography/research/dp/");
aI("status=Environmental Processes and Change;text=Environmental Processes and Change;url=http://www.abdn.ac.uk/geography/research/epc/;");
}

with(milonic=new menuname("Undergraduate Programmes")){
style=menuStyle;
aI("status=Undergraduate Information;text=Undergraduate Degree Programmes;url=http://www.abdn.ac.uk/geography/ugrad_menu/;");
aI("showmenu=Undergraduate Courses;status=Undergraduate Courses;text=Undergraduate Courses;");
aI("status=Geography Society;text=Geography Society;url=http://www.abdn.ac.uk/~src277/;");
}

with(milonic=new menuname("Undergraduate Courses")){
style=menuStyle;
aI("text=First and Second Year;url=http://www.abdn.ac.uk/geography/ugrad_menu/ugrad_courses.php;");
aI("text=Third Year;url=http://www.abdn.ac.uk/geography/ugrad_menu/ugrad_courses_hon.php?course=gg3%;");
aI("text=Fourth Year;url=http://www.abdn.ac.uk/geography/ugrad_menu/ugrad_courses_hon.php?course=gg4%;");
}

with(geog=new menuname("Postgraduate Programmes")){
style=menuStyle;
aI("status=Undergraduate Information;text=Postgraduate Opportunities;url=http://www.abdn.ac.uk/geography/pg_menu/;");
}

with(milonic=new menuname("Documentation")){
style=menuStyle;
aI("text=Undergraduate Student Handbook;url=http://www.abdn.ac.uk/geography/documentation/Handbook_10-11.pdf;");
aI("text=Geography Level 3 Information;url=http://www.abdn.ac.uk/geography/documentation/Geog_Info_L3_10-11.pdf;");
aI("text=Geography Level 4 Information;url=http://www.abdn.ac.uk/geography/documentation/Geog_Info_L4_10-11.pdf;");
aI("text=Rural Surveying & Spatial Planning Undergraduate Level 3 Information;url=http://www.abdn.ac.uk/geography/documentation/RSSP_Info_L3_10-11.pdf;");
aI("text=Rural Surveying & Spatial Planning Undergraduate Level 4 Information;url=http://www.abdn.ac.uk/geography/documentation/RSSP_Info_L4_10-11.pdf;");
aI("text=MCRM, Planning & Surveying Dissertation Handbook;url=http://www.abdn.ac.uk/geography/documentation/2006-7 Undergrad Dissertation course booklet.pdf;");
aI("text=PhD Handbook;url=http://www.abdn.ac.uk/geography/documentation/2010-11_pgr_handbook.pdf;");
aI("text=Geography Fieldwork Reference Handbook;url=http://www.abdn.ac.uk/geosciences/resources/documents/safety/guidance_notes_for_fieldwork_safety.pdf;");
aI("text=St Mary's Health and Safety Handbook;url=http://www.abdn.ac.uk/geosciences/resources/documents/safety/hs_stmarys.pdf;");
aI("text=Report a bug;url=http://www.abdn.ac.uk/geography/maintenance/bug;");
}
drawMenus();


