/*
 Navigation menu setup for Gippsland Grammar (New PHP & content file based site)
 Author: Rod Pettit, Webtrix.com.au
 Modified: 20 Mar 2005
*/

function setMenuOptions( menu ) {
	menu.fontWeight="bold";
	menu.hideOnMouseOut=true;
	menu.childMenuIcon="images/arrows.gif";
	menu.menuBorder=1;
	menu.menuLiteBgColor='#ffffff';
	menu.menuBorderBgColor='#ffffff';
	menu.bgColor='#ffffff';
}

function mmLoadMenus() {
	var fontFamily = "Georgia, 'Times New Roman', Times, serif";
	var fontSize = 12;
	var color = "#000000";		// Black
	var bkColor = "#d6cdcd";	// Light Gray
	var selColor = "#8a3171";	// Purple
	var bkSelColor = "#d6cdcd";	// Gray

	var mw = 205;	 // Menu width
	var mw0 = 230;	 // Menu 0 width
	var mw2 = 160;	 // Menu 2 width
	var mh = 26;	 // Menu height	
	
	var pad = 6;
	var space =0;	
	var hideTimeout = 1000;

	if (window.mm_menu_0) return;
	
	window.mm_menu_0_1 = new Menu("From&nbsp;the&nbsp;Principal",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_0_1.addMenuItem("Welcome","location='index.php?id=97'");
	mm_menu_0_1.addMenuItem("Principal's&nbsp;perspective","location='index.php?id=96'");
	setMenuOptions(mm_menu_0_1);
	
	window.mm_menu_0 = new Menu("root",mw0,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_0.addMenuItem(mm_menu_0_1);
	mm_menu_0.addMenuItem("History&nbsp;of&nbsp;Gippsland&nbsp;Grammar","location='index.php?id=98'");
	mm_menu_0.addMenuItem("Strategic&nbsp;Plan","location='index.php?id=99'");
	mm_menu_0.addMenuItem("Employment&nbsp;Opportunities","location='index.php?id=94'");
	mm_menu_0.addMenuItem("Contact&nbsp;Info","location='index.php?id=119'");
	mm_menu_0.addMenuItem("Sitemap","location='index.php?id=-1'");
	setMenuOptions(mm_menu_0);
	
	window.mm_menu_1 = new Menu("root",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_1.addMenuItem("Chaplain","location='index.php?id=149'");
	mm_menu_1.addMenuItem("Junior&nbsp;School","location='index.php?id=150'");
	mm_menu_1.addMenuItem("Senior&nbsp;School","location='index.php?id=151'");
	setMenuOptions(mm_menu_1);
	
	window.mm_menu_2_1 = new Menu("St&nbsp;Anne's&nbsp;Campus",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_2_1.addMenuItem("Junior&nbsp;School","location='index.php?id=147'");
	mm_menu_2_1.addMenuItem("Early&nbsp;Learning&nbsp;Centre","location='index.php?id=146'");
	mm_menu_2_1.addMenuItem("Library&nbsp;Resource&nbsp;Centre","location='index.php?id=148'");
	setMenuOptions(mm_menu_2_1);
	
	window.mm_menu_2_2 = new Menu("Garnsey&nbsp;Campus",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_2_2.addMenuItem("Senior&nbsp;School","location='index.php?id=144'");
	mm_menu_2_2.addMenuItem("Year&nbsp;9","location='index.php?id=145'");
	mm_menu_2_2.addMenuItem("ISC","location='index.php?id=143'");
	setMenuOptions(mm_menu_2_2);
	
	window.mm_menu_2 = new Menu("root",mw0,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_2.addMenuItem(mm_menu_2_1);
	mm_menu_2.addMenuItem(mm_menu_2_2);
	mm_menu_2.addMenuItem("Bairnsdale&nbsp;Campus","location='index.php?id=161'");
	setMenuOptions(mm_menu_2);
	
	window.mm_menu_3_1 = new Menu("Curriculum&nbsp;Areas",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_3_1.addMenuItem("Arts","location='index.php?id=120'");
	mm_menu_3_1.addMenuItem("English","location='index.php?id=122'");
	mm_menu_3_1.addMenuItem("Humanities&nbsp;&&nbsp;Commerce","location='index.php?id=124'");
	mm_menu_3_1.addMenuItem("Information&nbsp;Technology","location='index.php?id=125'");
	mm_menu_3_1.addMenuItem("Languages","location='index.php?id=127'");
	mm_menu_3_1.addMenuItem("Mathematics","location='index.php?id=128'");
	mm_menu_3_1.addMenuItem("Music","location='index.php?id=129'");
	mm_menu_3_1.addMenuItem("Physical&nbsp;Education","location='index.php?id=130'");
	mm_menu_3_1.addMenuItem("Science","location='index.php?id=131'");
	mm_menu_3_1.addMenuItem("Special&nbsp;Education","location='index.php?id=132'");
	setMenuOptions(mm_menu_3_1);
	
	window.mm_menu_3 = new Menu("root",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_3.addMenuItem(mm_menu_3_1);
	mm_menu_3.addMenuItem("Junior&nbsp;School&nbsp;Curriculum","location='index.php?id=126'");
	mm_menu_3.addMenuItem("Director&nbsp;of&nbsp;Curriculum","location='index.php?id=121'");
	mm_menu_3.addMenuItem("Handbooks","location='index.php?id=123'");
	setMenuOptions(mm_menu_3);
	
	window.mm_menu_4 = new Menu("root",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_4.addMenuItem("Debating","location='index.php?id=100'");
	mm_menu_4.addMenuItem("Drama","location='index.php?id=101'");
	mm_menu_4.addMenuItem("House&nbsp;Events","location='index.php?id=102'");
	mm_menu_4.addMenuItem("Music","location='index.php?id=103'");
	mm_menu_4.addMenuItem("Outdoor&nbsp;Education","location='index.php?id=104'");
	mm_menu_4.addMenuItem("Public&nbsp;Speaking","location='index.php?id=105'");
	mm_menu_4.addMenuItem("Sport","location='index.php?id=106'");
	setMenuOptions(mm_menu_4);
	
	window.mm_menu_5 = new Menu("root",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_5.addMenuItem("Facilities","location='index.php?id=107'");
	mm_menu_5.addMenuItem("Food","location='index.php?id=108'");
	mm_menu_5.addMenuItem("Special&nbsp;Weekend&nbsp;Program","location='index.php?id=109'");
	mm_menu_5.addMenuItem("Tutorial&nbsp;Program","location='index.php?id=110'");
	setMenuOptions(mm_menu_5);
	
	window.mm_menu_6 = new Menu("root",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_6.addMenuItem("Clothing&nbsp;Shop","location='index.php?id=133'");
	mm_menu_6.addMenuItem("Fee&nbsp;Structure","location='index.php?id=134'");
	mm_menu_6.addMenuItem("Frequently&nbsp;asked&nbsp;questions","location='index.php?id=135'");
	mm_menu_6.addMenuItem("How&nbsp;to&nbsp;enrol","location='index.php?id=136'");
	mm_menu_6.addMenuItem("International&nbsp;students","location='index.php?id=137'");
	mm_menu_6.addMenuItem("Request&nbsp;information","location='index.php?id=138'");
	mm_menu_6.addMenuItem("Scholarships","location='index.php?id=139'");
	mm_menu_6.addMenuItem("School&nbsp;tours&nbsp;and&nbsp;Open&nbsp;Days","location='index.php?id=140'");
	mm_menu_6.addMenuItem("Term&nbsp;dates","location='index.php?id=141'");
	setMenuOptions(mm_menu_6);
	
	window.mm_menu_7 = new Menu("root",mw,mh,fontFamily,fontSize,color,selColor,bkColor,bkSelColor,"left","middle",pad,space,hideTimeout,0,0,true,true,true,0,true,true);
	mm_menu_7.addMenuItem("Archives","location='index.php?id=111'");
		mm_menu_7.addMenuItem("Foundation","location='index.php?id=112'");
	mm_menu_7.addMenuItem("Intranet","location='index.php?id=113'");
	mm_menu_7.addMenuItem("Is&nbsp;emu&nbsp;off&nbsp;the&nbsp;menu?","location='index.php?id=177'");
	mm_menu_7.addMenuItem("Newsletter","location='index.php?id=114'");
	mm_menu_7.addMenuItem("Old&nbsp;Scholars","location='index.php?id=115'");
	mm_menu_7.addMenuItem("Parent&nbsp;involvement","location='index.php?id=116'");
	mm_menu_7.addMenuItem("Policies","location='index.php?id=117'");
	mm_menu_7.addMenuItem("Veritas","location='index.php?id=118'");
		setMenuOptions(mm_menu_7);

	mm_menu_0.writeMenus();
} // mmLoadMenus()

