/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=8;				// Number of first level items
	var LowBgColor='white';					// Background color when mouse is not over
	// var LowSubBgColor='C9DAEF';			// Background color when mouse is not over on subs
	var LowSubBgColor='#C9DAEF';			// Background color when mouse is not over on subs
	var HighBgColor='black';				// Background color when mouse is over
	//var HighSubBgColor='9FBBE0';			// Background color when mouse is over on subs
	var HighSubBgColor='#9FBBE0';			// Background color when mouse is over on subs
	var FontLowColor='black';				// Font color when mouse is not over
	var FontSubLowColor='003399';			// Font color subs when mouse is not over
	var FontHighColor='white';				// Font color when mouse is over
	var FontSubHighColor='003399';			// Font color subs when mouse is over
	var BorderColor='003399';				// Border color
	var BorderSubColor='9FBBE0';			// Border color for subs
	var BorderWidth=0;						// Border width
	var BorderBtwnElmnts=1;					// Border between elements 1 or 0
	var FontFamily="verdana,arial"			// Font family menu items
	var FontSize=7;							// Font size menu items
	var FontBold=1;							// Bold menu items 1 or 0
	var FontItalic=0;						// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='center';				// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';			// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.1;					// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=0;						// Menu offset x coordinate
	var StartLeft=-2;						// Menu offset y coordinate
	var VerCorrect=0;						// Multiple frames y correction
	var HorCorrect=0;						// Multiple frames x correction
	var LeftPaddng=3;						// Left padding
	var TopPaddng=2;						// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=100;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='navigationbar';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['http://www.eng.nus.edu.sg/civil/_images/ce_navi/arrow.gif',4,8,'http://www.eng.nus.edu.sg/civil/_images/spacer.gif',5,5,'http://www.eng.nus.edu.sg/civil/_images/spacer.gif',5,5];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

//Home
Menu1=new Array("rollover:_images/ce_navi/navi_home_off.gif:_images/ce_navi/navi_home_on.gif","http://www.eng.nus.edu.sg/civil/index.html","",0,19,51);

// About Us
Menu2=new Array("rollover:_images/ce_navi/navi_aboutus_off.gif:_images/ce_navi/navi_aboutus_on.gif","#","",3,19,62);
	Menu2_1=new Array("Department Mission","http://www.eng.nus.edu.sg/civil/aboutus/mission.html","",0,19,120);
	Menu2_2=new Array("Department Overview","http://www.eng.nus.edu.sg/civil/aboutus/overview.html","",0,19,120);
	//Menu2_3=new Array("Groups","#","",4,19,120);
	  //Menu2_3_1=new Array("Composites & Protective Engineering","http://www.eng.nus.edu.sg/civil/aboutus/groups/CPE/CPEgroup.html","",0,19,198);
	  //Menu2_3_2=new Array("Environmental Engineering","http://www.eng.nus.edu.sg/civil/aboutus/groups/EvE/EvEgroup.html","",0,19,198);
	  //Menu2_3_2=new Array("Geotechnical Engineering","http://www.eng.nus.edu.sg/civil/aboutus/groups/GE/GEgroup.html","",0,19,198);
	  //Menu2_3_3=new Array("Infrastructure Systems & Management","http://www.eng.nus.edu.sg/civil/aboutus/groups/ISM/ISMgroup.html","",0,19,198);
	  //Menu2_3_4=new Array("Structural & Offshore Engineering","http://www.eng.nus.edu.sg/civil/aboutus/groups/SOE/SOEgroup.html","",0,19,198);
	//Menu2_3=new Array("Programmes","#","",1,19,120);
	  //Menu2_3_1=new Array("Geotechnical Engineering Programme","javascript:window.open('http://www.eng.nus.edu.sg/civil/geotech/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,198);
	Menu2_3=new Array("Achievements","#","",2,19,120);
	  //Menu2_4_1=new Array("Awards","#","",0,19,58);
	  Menu2_3_1=new Array("Awards","http://www.eng.nus.edu.sg/civil/aboutus/awards.html","",0,19,58);
	  Menu2_3_2=new Array("Books","http://www.eng.nus.edu.sg/civil/aboutus/Books.html","",0,19,58);

// People
Menu3=new Array("rollover:_images/ce_navi/navi_people_off.gif:_images/ce_navi/navi_people_on.gif","#","",7,19,51);
    Menu3_1=new Array("Department Management Committee","http://www.eng.nus.edu.sg/civil/people/DMC.html","",0,19,200);
	Menu3_2=new Array("Department Consultative Committee","http://www.eng.nus.edu.sg/civil/people/DCC.html","",0,19,200);
    Menu3_3=new Array("Faculty Staff","http://www.jtdp.eng.nus.edu.sg/civil/people/AcadStaffChart.aspx","",0,19,230);
//    Menu3_3=new Array("Faculty Staff","http://www.eng.nus.edu.sg/civil/people/AcadStaffChart.html","",0,19,230);
//	Menu3_3=new Array("Faculty Staff","#","",6,19,170);
//	  Menu3_3_1=new Array("Faculty Staff Chart","http://www.eng.nus.edu.sg/civil/people/AcadStaffChart.html","",0,19,230);
//	  Menu3_3_2=new Array("Composites & Protective Engineering Group","http://www.eng.nus.edu.sg/civil/people/CPEstaff.html","",0,19,230);
//	  Menu3_3_3=new Array("Environmental Engineering Group","http://www.eng.nus.edu.sg/civil/people/EvEstaff.html","",0,19,230);
//	  Menu3_3_4=new Array("Geotechnical Engineering Group","http://www.eng.nus.edu.sg/civil/people/GEstaff.html","",0,19,230);
//	  Menu3_3_5=new Array("Infrastructure Systems & Management Group","http://www.eng.nus.edu.sg/civil/people/ISMstaff.html","",0,19,230);
//	  Menu3_3_6=new Array("Structural & Offshore Engineering Group","http://www.eng.nus.edu.sg/civil/people/SOEstaff.html","",0,19,230);
//	Menu3_4=new Array("Chair Professors","#","",2,19,90); 
//	  Menu3_4_1=new Array("Keppel Professor","","",0,19,150); 
//	  Menu3_4_2=new Array("LLoyd's Register Professor","","",0,19,150); 
	Menu3_4=new Array("Fellows & Adjunct Staff","http://www.eng.nus.edu.sg/civil/people/FellowAndAdjunctStaff.html","",0,19,170); 
//	Menu3_6=new Array("Instructor(s)","http://www.eng.nus.edu.sg/civil/people/Instructor.html","",0,19,170);
	Menu3_5=new Array("Research Staff","http://www.eng.nus.edu.sg/civil/people/ResearchStaff.html","",0,19,170);
//	Menu3_5=new Array("Research Staff","#","",3,19,170);
//      Menu3_5_1=new Array("Research Fellows","http://www.eng.nus.edu.sg/civil/people/ResearchStaff-RF.html","",0,19,120);
//      Menu3_5_2=new Array("Research Engineers","http://www.eng.nus.edu.sg/civil/people/ResearchStaff-RE.html","",0,19,120);
//      Menu3_5_3=new Array("Professional Officers","http://www.eng.nus.edu.sg/civil/people/ResearchStaff-PO.html","",0,19,120);
//	Menu3_6=new Array("Visiting Staff","#","",0,19,170);
	Menu3_6=new Array("Administrative Staff","http://www.eng.nus.edu.sg/civil/people/AdminStaff.html","",0,19,170);
	Menu3_7=new Array("Technical Staff","http://www.eng.nus.edu.sg/civil/people/LabStaffChart.html","",0,19,170);
	
// Academic Programmes
Menu4=new Array("rollover:_images/ce_navi/navi_acad_programmes_off.gif:_images/ce_navi/navi_acad_programmes_on.gif","#","",5,19,146);
    Menu4_1=new Array("Degrees & Diplomas Offered","http://www.eng.nus.edu.sg/civil/programmes/DegreeDiploma.html","",0,19,150);
    Menu4_2=new Array("Undergraduate Programmes","http://www.eng.nus.edu.sg/civil/programmes/BEng.html","",0,19,150);
    Menu4_3=new Array("Graduate Programmes","http://www.eng.nus.edu.sg/civil/programmes/PostGraduate.html","",0,19,150);
    Menu4_4=new Array("Academic Calendar",
                "javascript:window.open('http://www.nus.edu.sg/registrar/calendar.html', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
				"",0,19,150);
    Menu4_5=new Array("Time-Tables","http://www.eng.nus.edu.sg/civil/programmes/TimeTable.html","",0,19,150);
//	Menu4_5=new Array("Virtual Classroom","#","",0,19,150);

// Research
Menu5=new Array("rollover:_images/ce_navi/navi_research_off.gif:_images/ce_navi/navi_research_on.gif","#","",4,19,61);
	Menu5_1=new Array("Major Research Areas","http://www.eng.nus.edu.sg/civil/research/ResearchAreas.html","",0,19,150);
    Menu5_2=new Array("Centres","#","",6,19,150);
      Menu5_2_1=new Array("Centre for Advanced Materials and Structures (CAMS)",
				"http://www.eng.nus.edu.sg/civil/research/CAMS/CAMS-home.html",
				"",0,19,290);
//      Menu5_2_2=new Array("Centre for Hazards Research (CHR)",
//				"http://www.eng.nus.edu.sg/civil/CHR/",
//				"",0,19,290);
      Menu5_2_2=new Array("Centre for Hazards Research (CHR)",
				"http://www.eng.nus.edu.sg/civil/CHR", "",
				"",0,19,290);
      Menu5_2_3=new Array("Centre for Offshore Research & Engineering (CORE)",
				"javascript:window.open('http://www.eng.nus.edu.sg/core/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
				"",0,19,290);
//      Menu5_2_3=new Array("Centre for Protective Technology (CPT)",
//				"javascript:window.open('http://www.cpt1.nus.edu.sg/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
//				"",0,19,290);
      Menu5_2_4=new Array("Centre for Soft Ground Engineering (CSGE)",
				"javascript:window.open('http://www.eng.nus.edu.sg/civil/csge/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
				"",0,19,290);
      Menu5_2_5=new Array("Centre for Transportation Research (CTR)",
				"javascript:window.open('http://www.eng.nus.edu.sg/civil/C_CTR/index.html', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
				"",0,19,290);
      Menu5_2_6=new Array("Safety Studies Initiative (SSI)",
				"javascript:window.open('http://www.eng.nus.edu.sg/civil/ssi/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
				"",0,19,290);
//      Menu5_2_5=new Array("Centre for Water Research (CWR)",
//				"javascript:window.open('http://www.eng.nus.edu.sg/civil/C_CWR/index.html', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
//				"",0,19,290);
//      Menu5_2_6=new Array("Water & Biotreatment Group (WBG)",
//				"javascript:window.open('http://www.eng.nus.edu.sg/civil/C_WBG/index.htm', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')",
//				"",0,19,290);
	Menu5_3=new Array("Laboratories","#","",6,19,150);
//	Menu5_3=new Array("Laboratories","#","",6,19,150);
//	Menu5_3=new Array("Laboratories","#","",9,19,150);
	  Menu5_3_1=new Array("Structural Engineering Laboratory","http://www.eng.nus.edu.sg/civil/research/Labs/SEL-home.html","",0,19,288);
	  Menu5_3_2=new Array("Hydraulic Engineering Laboratory","http://www.eng.nus.edu.sg/civil/research/Hydrodynamics_Lab.html","",0,19,288);
	  Menu5_3_3=new Array("Geotechnical Engineering Laboratory","http://www.eng.nus.edu.sg/civil/research/GeotechEngLab.html","",0,19,288);
//	  Menu5_3_3=new Array("Geotechnical Engineering Laboratory","javascript:window.open('http://www.eng.nus.edu.sg/civil/geotech/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,288);
//	  Menu5_3_4=new Array("Intelligent Transportation & Vehicle Systems Laboratory","http://www.eng.nus.edu.sg/civil/research/ITVSLab.html","",0,19,288);
	  Menu5_3_4=new Array("Highway Engineering Laboratory","http://www.eng.nus.edu.sg/civil/research/HighwayEngLab.html","",0,19,288);
	  Menu5_3_5=new Array("Intelligent Transportation & Vehicle Systems Laboratory","javascript:window.open('http://www.eng.nus.edu.sg/civil/research/ITVS/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,288);
	  Menu5_3_6=new Array("CE Safety Website (For NUS Staff and Students)","javascript:window.open('http://ce-sdb2006/SafetyWeb/index.htm', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,288);
//	  Menu5_3_6=new Array("Environmental Engineering Laboratory","http://www.eng.nus.edu.sg/civil/research/EnvEngLab.html","",0,19,288);
//	  Menu5_3_5=new Array("Traffic Engineering Laboratory","#","",0,19,288);
//	  Menu5_3_6=new Array("Highway Engineering Laboratory","#","",0,19,288);
//	  Menu5_3_7=new Array("Intelligent Transportation & Vehicle Systems Laboratory","#","",0,19,288);
//	  Menu5_3_8=new Array("Environmental Engineering Laboratory","http://www.eng.nus.edu.sg/civil/research/EnvEngLab.html","",0,19,288);
//	  Menu5_3_9=new Array("EIT Laboratory","#","",0,19,288);
	Menu5_4=new Array("Patents & Spin-Offs","#","",2,19,150);
	  Menu5_4_1=new Array("Patents","http://www.eng.nus.edu.sg/civil/research/Patent.html","",0,19,68);
	  Menu5_4_2=new Array("Spin-Offs","http://www.eng.nus.edu.sg/civil/research/SpinOff.html","",0,19,68);
//	Menu5_5=new Array("Collaborators","#","",0,19,150);
	
// CE Updates
Menu6=new Array("rollover:_images/ce_navi/navi_ce_updates_off.gif:_images/ce_navi/navi_ce_updates_on.gif","#","",5,19,79);
	Menu6_1=new Array("Events","#","",3,19,100);
		Menu6_1_1=new Array("Seminars","http://www.eng.nus.edu.sg/civil/updates/Seminar.html","",0,19,138);
		Menu6_1_2=new Array("Conferences","http://www.eng.nus.edu.sg/civil/updates/Conference.html","",0,19,138);
		Menu6_1_3=new Array("Short Courses / Workshops","http://www.eng.nus.edu.sg/civil/updates/ShortCourseWorkshop.html","",0,19,138);
    Menu6_2=new Array("News","#","",2,19,100);
		Menu6_2_1=new Array("Newsflash","http://www.eng.nus.edu.sg/civil/updates/NewsFlash.html","",0,19,88);
//		Menu6_2_2=new Array("Special Features","#","",0,19,88);
		Menu6_2_2=new Array("CE Newsletter","http://www.eng.nus.edu.sg/civil/updates/CENewsletter.html","",0,19,88);
//	Menu6_3=new Array("Announcement","#","",2,19,100);
//		Menu6_3_1=new Array("Scholarships","http://www.eng.nus.edu.sg/civil/updates/Scholarship.html","",0,19,68);	    
//		Menu6_3_2=new Array("Vacancies","http://www.eng.nus.edu.sg/civil/updates/Vacancy.html","",0,19,68);
	Menu6_3=new Array("Scholarships","#","",2,19,100);	    
		Menu6_3_1=new Array("Research","http://www.eng.nus.edu.sg/civil/updates/Scholarship.html","",0,19,150);	    
		Menu6_3_2=new Array("Scholarships Financial Aids","javascript:window.open('http://www.nus.edu.sg/oam/scholarship/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,150);
	Menu6_4=new Array("Recruitment","http://www.eng.nus.edu.sg/civil/updates/Vacancy.html","",0,19,100);
	Menu6_5=new Array("Jobs for Student","#","",2,19,100);
	    Menu6_5_1=new Array("Job Listing","http://www.eng.nus.edu.sg/civil/updates/JobListing.html","",0,19,110);
	    Menu6_5_2=new Array("Useful Career Links","javascript:window.open('http://www.nus.edu.sg/osa/career/index.html', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,110);

// CE Alumni
Menu7=new Array("rollover:_images/ce_navi/navi_alumni_off.gif:_images/ce_navi/navi_alumni_on.gif","#","",4,19,61);
	//Menu7_1=new Array("Grand CE Reunion Dinner","http://www.eng.nus.edu.sg/civil/alumni/GrandCEntennialReunion.html","",0,19,138);
	Menu7_1=new Array("News on Alumni","http://www.eng.nus.edu.sg/civil/alumni/News.html","",0,19,138);
	Menu7_2=new Array("Alumni Listing","http://www.jtdp.eng.nus.edu.sg/civil/alumni/alumniListing.aspx","",0,19,138);
//	Menu7_2=new Array("Alumni Listing","http://www.eng.nus.edu.sg/civil/alumni/Listings.html","",0,19,138);
	//Menu7_3=new Array("Commencement Photos","http://info.eng.nus.edu.sg/civil/Photobook.aspx","",0,19,138);
	Menu7_3=new Array("Commencement Photos","http://www.jtdp.eng.nus.edu.sg/civil/Photobook.aspx","",0,19,138);
	Menu7_4=new Array("Useful Links","http://www.eng.nus.edu.sg/civil/alumni/Links.html","",0,19,138);

// CE Intranet
//Menu8=new Array("rollover:_images/ce_navi/navi_ce_intranet_off.gif:_images/ce_navi/navi_ce_intranet_on.gif","javascript:window.open('http://www.civil.nus.edu.sg/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,79);
Menu8=new Array("rollover:_images/ce_navi/navi_ce_intranet_off.gif:_images/ce_navi/navi_ce_intranet_on.gif","#","",2,19,79);
	Menu8_1=new Array("CE Intranet","javascript:window.open('http://www.civil.nus.edu.sg/', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,79);
	Menu8_2=new Array("CE Forums","javascript:window.open('http://www.civil.nus.edu.sg/forum/category-view.asp', 'newWin', 'menubar=no, toolbar=no, location=no, scrollbars=yes, status=no, width=805, resizable=yes')","",0,19,79);

// Contact Us 
//Menu9=new Array("rollover:_images/ce_navi/navi_contact_us_off.gif:_images/ce_navi/navi_contact_us_on.gif","#","",0,19,73);
// Total length should add to 730 px.