/***********************************************************************************
*	(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 NoOffFirstLineMenus=7;			// Number of first level items
	var NoOffFirstLineMenus=9;			// 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 HighBgColor='black';			// Background color when mouse is over
	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=.0;				// horizontal overlap child/ parent
	var ChildOverlap=.1;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
//	var StartTop=81;				// Menu offset x coordinate
	var StartTop=86;				// Menu offset x coordinate	

// need to reduce this number if add more menu item on the 1st level
// this is to centralise the menu item
//	var StartLeft=-118;				// Menu offset y coordinate
//	var StartLeft=-40;				// Menu offset y coordinate	
//	var StartLeft=-26;				// Menu offset y coordinate	
//	var StartLeft=-48;				// Menu offset y coordinate			
//	var StartLeft=-63;				// Menu offset y coordinate
//	var StartLeft=-20;				// Menu offset y coordinate		
	var StartLeft=-8;				// 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='';				// 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=['image/arrow.gif',4,8,'image/spacer.gif',5,5,'image/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:image/menu_house_img.gif:image/menu_house_img.gif","index.shtml","",0,18,12);
//Menu1=new Array("rollover:image/navi_home_off.GIF:image/navi_home_on.GIF","index.shtml","",0,18,55);
Menu1=new Array("rollover:image/menu_home_off.gif:image/menu_home_on.gif","index.shtml","",0,19,24);

//Menu2= About Us Array("rollover:image/nus_home-off.gif:image/nus_home-on.gif","http://www.nus.edu.sg/","",0,18,67);
//Menu2=new Array("rollover:image/about_us-off.gif:image/about_us-on.gif","#","",10,19,62);
Menu2=new Array("rollover:image/menu_about_us_off.gif:image/menu_about_us_on.gif","#","",7,19,62);
	Menu2_1=new Array("Welcome Message","welcome_msg.shtml","",0,19,160);
    Menu2_2=new Array("Vision & Mission","NGS_vision_mission.shtml","",0,19,160);
	//Menu2_3=new Array("Mission","NGS_mission.shtml","",0,19,160);
	Menu2_3=new Array("NGS at a Glance","NGS_at_glance.shtml","",0,19,160);
	Menu2_4=new Array("International Advisory Panel","IAP.shtml","",0,19,160);
	Menu2_5=new Array("Management Board Members","board_members.shtml","",0,19,160);
    //Menu2_6=new Array("Meet Our People","our_people.shtml","",0,19,160);
	Menu2_6=new Array("Getting to NGS","location_map.shtml","",0,19,160);
	Menu2_7=new Array("Contact us","contact_us.shtml","",0,19,160);
	//Menu2_10=new Array("For NGS staff","https://share.nus.edu.sg/ngs/default.aspx","",0,19,160);
	
// Menu3 = Scholarships
//Menu3=new Array("rollover:image/scholarships-off.gif:image/scholarships-on.gif","#","",2,18,81);
Menu3=new Array("rollover:image/menu_scholarships_off.gif:image/menu_scholarships_on.gif","#","",3,19,81);
	Menu3_1=new Array("For Graduates","#","",5,19,130);
		Menu3_1_1=new Array("Why do a PhD","phd.shtml","",0,19,285);
		Menu3_1_2=new Array("NGS Scholarship","#","",2,19,285);
			Menu3_1_2_1=new Array("NGS Scholarship","NGSS.shtml","",0,19,200);
			Menu3_1_2_2=new Array("NGSS 2+2 Programme","ngss_2plus2.shtml","",0,19,200);		
		// Menu3_1_3=new Array("NGS-Graduate Programme in BioEngineering (GPBE)","GPBE.shtml","",0,19,285);
		Menu3_1_3=new Array("A*Star Graduate Scholarship (Singaporeans Only)","awards.shtml","",0,19,285);
		Menu3_1_4=new Array("Singapore International Graduate Award (SINGA)","http://www.singa.a-star.edu.sg/","",0,19,285);		
		//Menu3_1_5=new Array("NGSS-Hybrid","hybrid.shtml","",0,19,100);		
		Menu3_1_5=new Array("FAQ","#","",2,19,100);
			Menu3_1_5_1=new Array("NGS Scholarship","faq_ngss.shtml","",0,19,150);			
			//Menu3_1_5_2=new Array("NGS-GPBE","http://gpbe.nus.edu.sg/adm_faq1.htm","",0,19,150);			
			Menu3_1_5_2=new Array("A*Star Graduate Scholarship","faq_ags.shtml","",0,19,150);
			
    Menu3_2=new Array("For Undergraduates","#","",1,19,130);
		Menu3_2_1=new Array("A*Star Pre-Graduate Scholarship (PGS)","PGSawards.shtml","",0,19,240);
		//Menu3_2_2=new Array("A*Star Pre-Graduate Award-Chemical Sciences","PGACSawards.shtml","",0,19,240);
		//Menu3_2_3=new Array("FAQ","#","",2,19,90);
			//Menu3_2_3_1=new Array("A*Star Pre-Graduate Award (PGA)","faq_pga.shtml","",0,19,240);	
			//Menu3_2_3_2=new Array("A*Star Pre-Graduate Award-Chemical Sciences","faq_pgacs.shtml","",0,19,240);
			
	Menu3_3=new Array("For Applicants","#","",4,19,130);
		Menu3_3_1=new Array("GRE","http://www.gre.org","",0,19,130);
		Menu3_3_2=new Array("TOEFL","http://www.ets.org/portal/site/ets/menuitem.435c0b5cc7bd0ae7015d9510c3921509/?vgnextoid=69c0197a484f4010VgnVCM10000022f95190RCRD","",0,19,130);
		Menu3_3_3=new Array("Immigration Matters","http://www.nus.edu.sg/registrar/event/studentpass.html","",0,19,130);		
	    Menu3_3_4=new Array("Testimonials","student_speak.shtml","",0,19,130);

// Menu4 = Research - Supervisors
//Menu4=new Array("rollover:image/navi_menuResearch-off.gif:image/navi_menuResearch-on.gif","#","",5,18,74);
Menu4=new Array("rollover:image/menu_research_off.gif:image/menu_research_on.gif","#","",6,19,74);
//Menu5=new Array("rollover:image/press-off.gif:image/press-on.gif","publications_and_press.shtml","",0,18,37);
    Menu4_1=new Array("Research Areas","research_areas.shtml","",0,19,180);
	Menu4_2=new Array("Supervisors - NUS","ngs_supervisors.shtml","",0,19,180);
	Menu4_3=new Array("Supervisors - Duke-NUS","ngs_supervisors_dukeGMS.shtml","",0,19,180);
    Menu4_4=new Array("Supervisors - Research Institutes","ri_supervisors.shtml","",0,19,180);
   // Menu4_5=new Array("Supervisors - Other Institutes","other_org_supervisors.shtml","",0,19,180);
	Menu4_5=new Array("Research Projects","research_projects_available.shtml","",0,19,180);
	Menu4_6=new Array("Researcher of the Month","#","",6,19,180);
		Menu4_6_1=new Array("July 2007","Bongso_Ariff.shtml","",0,19,100);	
		Menu4_6_2=new Array("Aug 2007","tang_bor_luen.shtml","",0,19,100);	
		Menu4_6_3=new Array("Sep 2007","mike_kemeny.shtml","",0,19,100);
		Menu4_6_4=new Array("Oct 2007","lim_Sai_Kiang_project.shtml","",0,19,100);
		Menu4_6_5=new Array("Nov 2007","Markus_Wenk_Nov2007.shtml","",0,19,100);
		Menu4_6_6=new Array("Dec 2007","Li_Baowen.shtml","",0,19,100);
		

// Menu5 = Achievements
//Menu5=new Array("rollover:image/navi_achievement-off.GIF:image/navi_achievement-on.GIF","#","",3,19,91);
Menu5=new Array("rollover:image/menu_achievements_off.gif:image/menu_achievements_on.gif","#","",4,19,95);
	Menu5_1=new Array("Supervisors","staff.shtml","",0,19,150);
    Menu5_2=new Array("Students","student_ach.shtml","",0,19,150);
	Menu5_3=new Array("Student Publications","students_publications.shtml","",0,19,150);
	Menu5_4=new Array("Press Coverage & Releases","publications_and_press.shtml","",0,19,150);

// Menu6 = Students' Resources
// - Current AGS students
//Menu4=new Array("rollover:image/information-off.gif:image/information-on.gif","#","",4,18,79);

Menu6=new Array("rollover:image/menu_student_resources_off.gif:image/menu_student_resources_on.gif","#","",7,19,130);

// - Current NGSS students
    Menu6_1=new Array("For NGS Scholars","#","",8,19,230);

		Menu6_1_1=new Array("Thesis Advisory Committee (TAC)","tac_ngss.shtml","",0,19,180);		
		Menu6_1_2=new Array("PhD Qualifying Examination","phd_qualify_exam_ngss.shtml","",0,19,180);
		Menu6_1_3=new Array("PhD Thesis Examination","PhD_Thesis_Exam_ngss.shtml","",0,19,180);
		Menu6_1_4=new Array("Coursework Matters","#","",3,19,180);
			Menu6_1_4_1=new Array("Coursework Requirements","course_reqd.shtml","",0,19,240);
			Menu6_1_4_2=new Array("Academic Criteria","acad_criteria.shtml","",0,19,240);
//			Menu6_1_4_3=new Array("NGS Approved Modules","summary_of_courses.shtml","",0,19,240);
			Menu6_1_4_3=new Array("Online Module Registration","https://aces01.nus.edu.sg/NgsOmr/LoginNgs.jsp","",0,19,240);		
		
		Menu6_1_5=new Array("Leave Matters","leave_ngss.shtml","",0,19,180);
		Menu6_1_6=new Array("Guidelines for Conference Claims (restricted access)",
				"https://share.nus.edu.sg/ngs/students/Eduallow/Forms/AllItems.aspx","",0,29,180);
		Menu6_1_7=new Array("Forms","forms-ngss.shtml","",0,19,180);
		Menu6_1_8=new Array("FAQ","#","",6,19,180);
		   Menu6_1_8_1=new Array("Coursework/Modules/Undergrad Teaching","faq_coursewk.shtml","",0,19,240);
		   Menu6_1_8_2=new Array("Educational Allowance (restricted access)","https://share.nus.edu.sg/ngs/students/Eduallow/Forms/AllItems.aspx","",0,19,240);
		   Menu6_1_8_3=new Array("Laboratory Work","faq_lab.shtml","",0,19,240);		
		   Menu6_1_8_4=new Array("Seminar Series","faq_seminar.shtml","",0,19,240);
		   Menu6_1_8_5=new Array("Supervisors","faq_supervisor_ngss.shtml","",0,19,240);			
		   Menu6_1_8_6=new Array("HR","faq_hr.shtml","",0,19,240);	
		
// - GPBE students
//	Menu6_2=new Array("For GPBE Students","#","",6,19,230);	
//		Menu6_2_1=new Array("Coursework Matters","http://www.nus.edu.sg/ngs/gpbe/cu_generalInfo.htm","",0,19,180);
//		Menu6_2_2=new Array("PhD Qualifying Examination","http://www.nus.edu.sg/ngs/gpbe/cu_phdQE.htm","",0,19,180);
//		Menu6_2_3=new Array("Thesis Examination","http://www.nus.edu.sg/registrar/graduate/thesisexam.htm","",0,19,180);
//		Menu6_2_4=new Array("Leave Matters","leave_ngss.shtml","",0,19,180);
//		Menu6_2_5=new Array("Forms","http://gpbe.nus.edu.sg/student_downloadForms.htm","",0,19,180);
//		Menu6_2_6=new Array("FAQ","http://gpbe.nus.edu.sg/adm_faq1.htm","",0,19,180);

	Menu6_2=new Array("For A*Star Graduate Academy Scholars","#","",7,19,230);

		Menu6_2_1=new Array("Thesis Advisory Committee (TAC)","tac_ags.shtml","",0,19,180);		
		Menu6_2_2=new Array("PhD Qualifying Examination","phd_qualify_exam_ags.shtml","",0,19,180);
		Menu6_2_3=new Array("PhD Thesis Examination","PhD_Thesis_Exam.shtml","",0,19,180);
		Menu6_2_4=new Array("Coursework Matters","#","",3,19,180);
			Menu6_2_4_1=new Array("Coursework Requirements","course_reqd.shtml","",0,19,240);
			Menu6_2_4_2=new Array("Academic Criteria","acad_criteria.shtml","",0,19,240);
//			Menu6_3_4_3=new Array("NGS Approved Modules","summary_of_courses.shtml","",0,19,240);
			Menu6_2_4_3=new Array("Online Module Registration","https://aces01.nus.edu.sg/NgsOmr/LoginNgs.jsp","",0,19,240);
			
		Menu6_2_5=new Array("Leave Matters","leave_ags.shtml","",0,19,180);
		Menu6_2_6=new Array("Forms","forms-ags.shtml","",0,19,180);
		Menu6_2_7=new Array("FAQ","#","",6,19,180);		
		   Menu6_2_7_1=new Array("Coursework/Modules/Undergrad Teaching","faq_coursewk.shtml","",0,19,230);
		   Menu6_2_7_2=new Array("HR","faq_hr.shtml","",0,19,230);	
		   Menu6_2_7_3=new Array("Laboratory Work","faq_lab.shtml","",0,19,230);	
		   Menu6_2_7_4=new Array("Seminar Series","faq_seminar.shtml","",0,19,240);		   
		   Menu6_2_7_5=new Array("Supervisors","faq_supervisor_ags.shtml","",0,19,230);			
		   Menu6_2_7_6=new Array("Thesis Exam Process","faq_thesis_ags.shtml","",0,19,230);	
		   
	Menu6_3=new Array("NGS Online Student Forum","https://share.nus.edu.sg/ngs/students/Lists/Chatroom/AllItems.aspx","",0,19,230);
	
	Menu6_4=new Array("NGS Scholars' Alliance","#","",4,19,230);
	 	   Menu6_4_1=new Array("Social Welfare Committee","Social_Welfare.pdf","",0,19,200);
//		   Menu6_5_2=new Array("Scholar Development Committee","Peer_Mentorship_Subcomm.pdf","",0,19,200);	
           Menu6_4_2=new Array("Scholar Development Committee","Scholar_Development.pdf","",0,19,200);	
		   Menu6_4_3=new Array("Communications Committee","SA_Communications.pdf","",0,19,200);
		   Menu6_4_4=new Array("Scholars' Alliance Blog","http://blog.nus.edu.sg/ngsalliance/","",0,19,200);   
//		   Menu6_5_4=new Array("Graduate Seminar Subcommittee","Student_Conference_Subcomm.pdf","",0,19,200);
		   //Menu6_5_4=new Array("Alumni Subcommittee","Alumnus_Subcomm.pdf","",0,19,200);	
	
//    Menu6_5=new Array("GPBE Graduate Student Committee (GSC)",                           "http://www.nus.edu.sg/ngs/gpbe/student_gsc.htm","",0,19,230);
	
    Menu6_5=new Array("Student Card Matters",                        "http://www.nus.edu.sg/registrar/adminpolicy/studentcard.html","",0,19,230);
	
// - Accomodation in Singapore
    Menu6_6=new Array("Accommodation","#","",6,19,230);
		Menu6_6_1=new Array("NUS Residential Services","http://www.nus.edu.sg/osa/housing/acc/index.html","",0,19,180);		
		Menu6_6_2=new Array("Singapore Expats","http://www.singaporeexpats.com/","",0,19,180);					
		Menu6_6_3=new Array("Expats Housing","http://www.expatsingapore.com/","",0,19,180);		
		Menu6_6_4=new Array("Property Matching","http://www.propertymatch.sg/","",0,19,180);	
		Menu6_6_5=new Array("Value Stay","http://www.valuestay.com.sg/","",0,19,180);			
		Menu6_6_6=new Array("Classified Ads","http://www.classads.com.sg/","",0,19,180);	

	Menu6_7=new Array("Information","#","",7,19,230);
		Menu6_7_1=new Array("NGS Student Guide","NGS_Student_Guide.pdf","",0,19,240);
		Menu6_7_2=new Array("NUS Academic Calendar","http://www.nus.edu.sg/registrar/calendar.html","",0,19,240);
		Menu6_7_3=new Array("NUS Bulletin Online","http://www.nus.edu.sg/nusbulletin/","",0,19,240);
		//Menu6_8_3=new Array("Graduate Medical Insurance Scheme (GMIS)","https://team.nus.edu.sg/registrar/info/info/Notes_on_Group_Medical_Insurance_Scheme.pdf","",0,19,240);	
		//Menu6_7_4=new Array("Penalty Guidelines","https://stuweb.nus.edu.sg/registrar/info/PenaltyGuidelines.pdf","",0,19,240);
	
		Menu6_7_4=new Array("Social Visit Pass for Spouse","social_visit_pass.shtml","",0,19,240);	
		
// Menu for Student Insurance Schemes
		Menu6_7_5=new Array("Graduate Medical Insurance Scheme(GMIS)","#","",2,19,240);	
			Menu6_7_5_1=new Array("NUS Insurance Schemes","http://www.nus.edu.sg/uhc/clinic/insurance/introduction.html","",0,19,200);		
			Menu6_7_5_2=new Array("Login to Online Claims","http://www.mycg.com.sg/nusstudent/","",0,19,200);	
				
// Menu for English courses at CELC
		Menu6_7_6=new Array("Links to English Resources","#","",3,19,240);	
			Menu6_7_6_1=new Array("Graduate English Course","http://www.nus.edu.sg/celc/det/gecNotice.html","",0,19,200);	
			//Menu6_7_6_2=new Array("Self-Access English Learning Facility","http://courses.nus.edu.sg/courseware/ITSELF/","",0,19,200);			
			Menu6_7_6_2=new Array("Courses offered by CELC ","http://www.nus.edu.sg/celc/courses/index.htm","",0,19,200);
			Menu6_7_6_3=new Array("English Resources Links","http://nus.edu.sg/prose/resources.htm","",0,19,200);

			
		Menu6_7_7=new Array("Links to NUS Resources","#","",6,19,240);		
			Menu6_7_7_1=new Array("Office of Student Affairs","http://www.nus.edu.sg/osa/","",0,19,200);
			Menu6_7_7_2=new Array("Student Service Centre","http://www.nus.edu.sg/ssc/","",0,19,200);			
			Menu6_7_7_3=new Array("International Student Services","http://www.nus.edu.sg/osa/international/index.html","",0,19,200);
			Menu6_7_7_4=new Array("Computer Facilities & IT Resources","http://www.nus.edu.sg/comcen","",0,19,200);
			Menu6_7_7_5=new Array("Library Facilities","http://libpweb.nus.edu.sg/web/appmanager/lib/desk","",0,19,200);
			Menu6_7_7_6=new Array("Sports & Recreation Facilities","http://www.nus.edu.sg/osa/sports","",0,19,200);
		
					
		
// Menu7 = Supervisor
Menu7=new Array("rollover:image/menu_supervisors_off.gif:image/menu_supervisors_on.gif","#","",1,19,95);
	Menu7_1=new Array("NGS Membership Application Form","forms-supervisors.shtml","",0,17,160);
	
// Menu8 = Calendar of Events
//Menu8=new Array("rollover:image/navi_Calendar_of_events_off.gif:image/navi_Calendar_of_events_on.gif","https://aces01.nus.edu.sg/CoE/jsp/coeEvents.jsp?fac=3C","",0,18,130);
Menu8=new Array("rollover:image/menu_calendar_events_off.gif:image/menu_calendar_events_on.gif","calendar_of_events.shtml","",0,18,115);

Menu9=new Array("rollover:image/menu_alumni_off.gif:image/menu_alumni_on.gif","http://blog.nus.edu.sg/ngsalumni","",0,19,50);

//Menu8=new Array("rollover:image/menu_calendar_events_off.gif:image/menu_calendar_events_on.gif","#","",0,18,115);
//Menu8_1=new Array("Networking Session","calendar_of_events_networking_Jan08.shtml","",0,19,115);

// Menu8 = Our Students
//Menu8=new Array("rollover:image/navi_students-off.gif:image/navi_students-on.gif","#","",3, 18,89);
//Menu8=new Array("rollover:image/menu_our_students_off.gif:image/menu_our_students_on.gif","#","",3, 18,89);

// Total length should add to 730 px.
