/***********************************************************************************
*	(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=6;				// 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 ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=84;						// Menu offset x coordinate
	var StartLeft=0;						// 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=['_images/navi/arrow.gif',4,8,'_images/spacer.gif',5,5,'_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/navi/navi-home_off.gif:_images/navi/navi-home_on.gif","https://wws.nus.edu.sg/staff/ohr/","",0,19,51);

// About Us
Menu2=new Array("rollover:_images/navi/navi-aboutus-off.gif:_images/navi/navi-aboutus-on.gif","","",3,19,62);

	Menu2_1=new Array("Staff Directory","https://wws.nus.edu.sg/staff/ohr/about/staff.html","",0,19,100);
	Menu2_2=new Array("Contact Us","http://www.nus.edu.sg/ohr/about/contactus.html","",0,19,75);
	Menu2_3=new Array("Useful Links","http://www.nus.edu.sg/ohr/about/usefullinks.html","",0,19,75);
	
// Staff Handbook
Menu3=new Array("rollover:_images/navi/navi-staffbk-off.gif:_images/navi/navi-staffbk-on.gif","https://wws.nus.edu.sg/staff/ohr/staffhandbk/index.html","",7, 19,99);
	Menu3_1=new Array("Staff Conduct & Responsibilities","","",13, 19,180);
		Menu3_1_1=new Array("Acceptance of Gifts","javascript:OpenWin('https://wws.nus.edu.sg/staff/ofn/staff/Gifts/index.htm')","",0, 19,190);
		Menu3_1_2=new Array("Code of Conduct","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/codeofconduct.html","",0, 19,180);
		Menu3_1_3=new Array("Conflict of Interest","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/conflictofinterest.html","",0, 19,180);
		Menu3_1_4=new Array("Consultation Work And Non-Executive Directorship","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/consultationwk_nonexedirectorship.html","",0, 30,180);
		Menu3_1_5=new Array("Dress Code","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/dresscode.html","",0, 19,180);
		Menu3_1_6=new Array("Guidelines On Public Communication","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/guidelinespubliccom.html","",0,19,180);
		Menu3_1_7=new Array("Industry-Sponsored Travel","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/industrysponsortravel.html","",0, 19,180);
		Menu3_1_8=new Array("IT Resources - IT Security And Acceptable Use Policies","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/ITresources.html","",0, 30,180);
		Menu3_1_9=new Array("NUS Data Use Policy","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/NUSdatausepolicy.html","",0, 19,180);
		Menu3_1_10=new Array("Enterprise, Industrial Collaboration & Technology Transfer","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/NUS-Enterprise.html","",0, 30,180);
		Menu3_1_11=new Array("Publication Policy And Disclaimer Requirement","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/publicationpolicy.html","",0, 30,180);
		Menu3_1_12=new Array("Smoking on Campus","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/smoking.html","",0, 19,180);
		Menu3_1_13=new Array("Unauthorised Absence","https://wws.nus.edu.sg/staff/ohr/staffhandbk/staffconduct/unauthorisedabsence.html","",0, 19,180);
		
	Menu3_2=new Array("Employment Terms","","",10, 19,99);
		Menu3_2_1=new Array("Appointment Schemes","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/appointment-academic.html","",0, 19,160);
		Menu3_2_2=new Array("Chairs And Emeritus Professorship","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/professor.html","",0, 30,160);
		Menu3_2_3=new Array("Reappointment, Promotion & Tenure","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/reappointment.html","",0, 30,99);
		Menu3_2_4=new Array("Review Committees For Appointment, Re-Appointment &/or Promotion For Academic Staff","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/reviewcommittee.html","",0, 52,99);
		Menu3_2_5=new Array("Revocation of Tenure","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/revocation.html","",0, 19,99);
		Menu3_2_6=new Array("Overtime","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/overtime.html","",0, 19,99);
		Menu3_2_7=new Array("Part-Time Employment For Existing Full-Time Staff","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/parttime.html","",0, 30,99);
		Menu3_2_8=new Array("Payment upon Death","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/paymentupondeath.html","",0, 19,99);
		Menu3_2_9=new Array("Staff Card","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/staffcard.html","",0, 19,99);
		Menu3_2_10=new Array("Working Hours","https://wws.nus.edu.sg/staff/ohr/staffhandbk/employmentterms/workinghours.html","",0, 19,99);
		
	Menu3_3=new Array("Compensation","","",4, 19,99);
		Menu3_3_1=new Array("Overview","https://wws.nus.edu.sg/staff/ohr/staffhandbk/compensation/index.html","",0, 19,140);
		Menu3_3_2=new Array("Academic","https://wws.nus.edu.sg/staff/ohr/staffhandbk/compensation/academic.html","",0, 19,140);
		Menu3_3_3=new Array("Executive & Professional","https://wws.nus.edu.sg/staff/ohr/staffhandbk/compensation/exec_prof.html","",0, 19,99);
		Menu3_3_4=new Array("Non-Academic","https://wws.nus.edu.sg/staff/ohr/staffhandbk/compensation/nonacademic.html","",0, 19,99);
		
	Menu3_4=new Array("Benefits","","",10, 19,99);
		Menu3_4_1=new Array("Awards","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/awards-longservice.html","", 0, 19,180);
		Menu3_4_2=new Array("Benefits for Foreign Academic Staff","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/benefits_fas.html","",0, 30,99);
		Menu3_4_3=new Array("HealthChoice","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/healthchoice.html","",0, 19,99);
		Menu3_4_4=new Array("Leave Matters","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/leavematters.html","",0, 19,99);
		Menu3_4_5=new Array("Medical","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/medical-2007MBS.html","",0, 19,99);
		Menu3_4_6=new Array("Overseas Medical Benefit Scheme","javascript:OpenWin('https://wws.nus.edu.sg/staff/ohr/_files/staffhandbk/benefits/OMBS.pdf')","",0, 19,99)
		Menu3_4_7=new Array("Parking on Campus","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/parking_campus.html","",0, 19,99);
		Menu3_4_8=new Array("Staff Discounts & Perks","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/sdp-banking.html","",0, 19,99);
		Menu3_4_9=new Array("Staff Insurance","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/staffinsurance.html","",0, 19,99);
		Menu3_4_10=new Array("Other Staff Welfare Provisions","https://wws.nus.edu.sg/staff/ohr/staffhandbk/benefits/otherstaffwelfare-shuttlebus.html","",0, 19,99);
		
	Menu3_5=new Array("Performance Management","","",3, 19,99);
		Menu3_5_1=new Array("Academic","https://wws.nus.edu.sg/staff/ohr/staffhandbk/performancemanagement/academic.html","",0, 19,140);
		Menu3_5_2=new Array("Executive & Professional","https://wws.nus.edu.sg/staff/ohr/staffhandbk/performancemanagement/exec_prof.html","",0, 19,99);
		Menu3_5_3=new Array("Non-Academic","https://wws.nus.edu.sg/staff/ohr/staffhandbk/performancemanagement/nonacademic.html","",0, 19,99);
		
	Menu3_6=new Array("Learning & Development","","",3, 19,99);
		Menu3_6_1=new Array("External Courses and Professional Development","https://wws.nus.edu.sg/staff/ohr/staffhandbk/learningdevelopment/extcourses_prodev.html","",0, 30,240);
		//Menu3_6_2=new Array("Learning Portal Courses","/staffhandbk/learningdevelopment/learningportalcourses.html","",0, 19,99);
		Menu3_6_2=new Array("In-house Training Programs","https://wws.nus.edu.sg/staff/ohr/staffhandbk/learningdevelopment/inhousetrainingprograms.html","",0, 19,240);
		Menu3_6_3=new Array("NUS-Overseas Graduate Scholarship (OGS) & NUS-Overseas Postdoctoral Fellowship (OPF)","http://www.nus.edu.sg/ohr/staffhandbk/learningdevelopment/ogs_opf.html","",0, 30,99);
		
	Menu3_7=new Array("Other HR Policies","","",4, 19,99);
		Menu3_7_1=new Array("Business Travel","javascript:OpenWin('https://wws.nus.edu.sg/staff/ofn/staff/travel/AirTravel/air%20travel%20procedures.htm')","",0, 19,180);
		Menu3_7_2=new Array("Handphone, Corporate Mobile Device & Home Internet Access","https://wws.nus.edu.sg/staff/ohr/staffhandbk/other_hr_policies/handphoneetc.html","",0, 30,180);
		Menu3_7_3=new Array("Membership Fees for Social and Recreational Clubs","https://wws.nus.edu.sg/staff/ohr/staffhandbk/other_hr_policies/learningmembershipfees.html","",0, 30,180);
		Menu3_7_4=new Array("Internal Job Opportunities","https://wws.nus.edu.sg/staff/ohr/staffhandbk/other_hr_policies/internaljobopportunity.html","",0, 19,180);
	
// HR Resources
Menu4=new Array("rollover:_images/navi/navi-hrresources-off.gif:_images/navi/navi-hrresources-on.gif","","",3,19,88);
   
//	Menu4_1=new Array("HR Procedure Manuals","","",2,19,130);
//		Menu4_1_1=new Array("Academic","https://wws.nus.edu.sg/staff/ohr/hrresources/hrpm-acad.html","",0,19,150);
//		Menu4_1_2=new Array("Executive & Professional / Non-Academic","https://wws.nus.edu.sg/staff/ohr/hrresources/hrpm-exec.html","",0,30,130);
	Menu4_1=new Array("HR Circulars","javascript:OpenWin('https://staffweb.nus.edu.sg/circulars/OHR%20Circulars/Forms/AllItems.htm')","",0,19,100);
	Menu4_2=new Array("Forms Repository","javascript:OpenWin('https://staffweb.nus.edu.sg/forms/')","",0,19,88);
	Menu4_3=new Array("Resume Repository","https://wws.nus.edu.sg/staff/ohr/hrresources/resume_repository.html","",0,19,88);
	
// Careers
Menu5=new Array("rollover:_images/navi/navi-careers-off.gif:_images/navi/navi-careers-on.gif","javascript:OpenWin('http://www.nus.edu.sg/careers/index.html')","",3,19,96);
	Menu5_1=new Array("Potential Staff","javascript:OpenWin('http://www.nus.edu.sg/careers/potentialhires/index.html')","",0,19,88);
	Menu5_2=new Array("New Staff","javascript:OpenWin('http://www.nus.edu.sg/careers/newhires/index.html')","",0,19,88);
	Menu5_3=new Array("Recruiters","javascript:OpenWin('https://wws.nus.edu.sg/staff/ohr/careers/recruiters/index.html')","",0,19,88);


//This is for width of Right side of the menu
Menu6=new Array("rollover:_images/navi/navi_right.gif:_images/navi/navi_right.gif","","",0,19,334);
// Total length should add to 730 px.


function OpenWin(url){
NewWin=window.open(url,'NWin');
window['NewWin'].focus();
}