/***********************************************************************************
*	(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 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 fsubs 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=.2;			// vertical overlap child/ parent
	var StartTop=81;						// Menu offset x coordinate-original 84
	var StartLeft=-9;						// 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=['resources/arrow.gif',4,8,'resources/spacer.gif',5,5,'resources/spacer.gif',5,5];	// Arrow source, width and height

//var path = "http://iptel.nus.edu.sg/test/"
var path = ""

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:resources/nav_home_off.gif:resources/nav_home_on.gif","default.asp","",0,19,51);


// About
Menu2=new Array("rollover:resources/nav_about_off.gif:resources/nav_about_on.gif",path + "iptel_about.asp","",0,19,60);
		

//IPTel Service
Menu3=new Array("rollover:resources/nav_serv_off.gif:resources/nav_serv_on.gif","","",5,19,105);
    Menu3_1=new Array("Price Plan",path + "iptel_price_plan.asp","",0,19,110);
    Menu3_2=new Array("IPTel Features",path + "iptel_feature.asp","",0,19,110); 
    Menu3_3=new Array("Feature Comparison",path + "iptel_comparison.asp","",0,19,110);
    Menu3_4=new Array("IP Phones",path +"iptel_model.asp","",0,19,110);
    Menu3_5=new Array("Downloads",path +"iptel_download.asp","",0,19,110);

// Information
Menu4=new Array("rollover:resources/nav_usage_off.gif:resources/nav_usage_on.gif","","",7,19,80)
Menu4_1=new Array("User Guides",path + "iptel_userguide.asp","",0,19,110);
Menu4_2=new Array("How to Connect",path + "iptel_connect_page.asp","",0,19,110);
Menu4_3=new Array("NUS Staff Directory","javascript:window.open('http://www.nus.edu.sg/search/index.html','NUSDir','location=yes,toolbar=yes,status=yes,menubar=yes,scrollbars=yes')","",0,19,110);	   
Menu4_4=new Array("IDD Calls",path + "iptel_idd.asp","",0,19,110);	
Menu4_5=new Array("IDD Rates","iptel_idd_country.asp","",0,19,110);
Menu4_6=new Array("IDD Charge Code","javascript:window.open('https://IPTAPP.nus.edu.sg/servlet/com.nexlabs.iptel.nus.ListChargeCodes?type=html','IDDChargeCode','location=no,toolbar=no,status=no,menubar=no,scrollbars=yes,width=450,height=250')","",0,19,110);
Menu4_7=new Array("Singtel Services",path + "iptel_singtel.asp","",0,19,110);

//This is for the FAQ menu
Menu5=new Array("rollover:resources/nav_faq_off.gif:resources/nav_faq_on.gif",path + "iptel_faq_top10.asp","",0,19,80);

// E-Services
Menu6=new Array("rollover:resources/nav_eservice_off.gif:resources/nav_eservice_on.gif","","",7,19,80);
	    Menu6_1=new Array("IPTel Options Setting",path + "iptel_options_setting.asp","",0,19,130);
	    Menu6_2=new Array("IPTel Web Dialer",path + "iptel_web_dialer.asp","",0,19,130);
	    Menu6_3=new Array("IPTel PIN Change",path + "iptel_pin_change.asp","",0,19,130);	
	    Menu6_4=new Array("Forgot your IPTel PIN?",path + "iptel_pin_retrieval.asp","",0,19,130);
	    Menu6_5=new Array("SMS Inbox","javascript:window.open('https://iptapp.nus.edu.sg/servlet/com.nexlabs.iptel.sms.ShowInbox','SMSInbox','location=no,toolbar=no,status=no,menubar=no,scrollbars=yes,width=800,height=600')","",0,19,130);
            Menu6_6=new Array("Extension Feature Query","javascript:window.open('http://iptel.nus.edu.sg/iptel_extension_query.asp','ExtnDet','location=no,toolbar=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=800,height=400')","",0,19,130);
	    Menu6_7=new Array("<a href=http://boss.nus.edu.sg style='text-decoration:none; color=#003399'>Access BOSS</a>","","",0,19,130);


// Apply Now
Menu7=new Array("rollover:resources/nav_apply_off.gif:resources/nav_apply_on.gif", path + "iptel_apply_now.asp","",0,19,80);

// Contact Us
Menu8=new Array("rollover:resources/nav_contact_off.gif:resources/nav_contact_on.gif",path + "iptel_contact.asp","",0,19,80);


//This is for width of Right side of the menu
Menu9=new Array("rollover:resources/navi_right.gif:resources/navi_right.gif","","",0,19,138);


// Total length should add to 900 px.
