/************************************************************************************	(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	          *		***********************************************************************************/	//Ben: here determines the number of buttons	var NoOffFirstLineMenus=5;			// Number of first level items	//Ben: for transparency in submenu levels, see BodyFrame.html	//Ben: configure submenu level of translucency	//var LowSubMenuOpacity=25;	//var HighSubMenuOpacity=100;	var LowBgColor='#000033';			// Background color when mouse is not over	var LowSubBgColor='transparent';			// Background color when mouse is not over on subs	var HighBgColor='blue';			// Background color when mouse is over	//Ben: background Hilite colour when rollover submenu	var HighSubBgColor='transparent';			// Background color when mouse is over on subs	var FontLowColor='#6373B5';			// Font color when mouse is not over	var FontSubLowColor='#333333';			// Font color subs when mouse is not over	var FontHighColor='white';			// Font color when mouse is over	var FontSubHighColor='white';			// Font color subs when mouse is over	var BorderColor='#083194';			// Border color	var BorderSubColor='black';			// Border color for subs	//Ben: no border, else when backgroundColour is transparent, see a transparent gap	var BorderWidth=0;				// Border width	var BorderBtwnElmnts=0;			// Border between elements 1 or 0	var FontFamily="arial,comic sans ms,technical"	// 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='center';			// Item text position 'left', 'center' or 'right'	//Ben: aligns menu according to width of browser	var MenuCentered='left';			// 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=.1;			// vertical overlap child/ parent	//Ben: sets the top-level menu to be a distance from the topleft corner of the frame/window	var StartTop=0;				// Menu offset y coordinate	var StartLeft=58;				// Menu offset x coordinate (160 is the size of the logo image)	var VerCorrect=0;				// Multiple frames y correction	var HorCorrect=0;				// Multiple frames x correction	//Ben: controls the top and left padding of the submenu boxes (Keep 0)	var LeftPaddng=0;				// Left padding	var TopPaddng=0;				// Top padding	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL	//NOTE: important to set this value to determine if frames are column-based or row-based	var MenuFramesVertical=0;			// Frames in cols(1) or rows(0)	//Ben: delay before menu collapses/menu hilite disappears	var DissapearDelay=200;			// delay before menu folds in	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame	var FirstLineFrame='menuFrame';			// Frame where first level appears	var SecLineFrame='mainFrame';			// Frame where sub levels appear	var DocTargetFrame='mainFrame';			// 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=0;//0 - hide arrows; 1 - show arrows	var KeepHilite=1;				// Keep selected path highligthed	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// 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"//Ben: any params left out would be default-ed, essential ones are "Text to show" and "Link"/*Instruction on defining buttons:if u want 3 buttons, 1st & 3rd button a 1-level button, 2nd button a 2-level button with 2 sub-links>> look for the following line at the top of this file	var NoOffFirstLineMenus=3;			// Number of first level items>> define the followingMenu1=new Array(<text of 1st button>, <hyperlink of 2nd button, can be javascript>, <optional picture.jpg>, <which level, i.e. 0 or 1>, <height of each button>, <width of each button>);>> therefore Menu1 should look something like:Menu1=new Array("My 1st button", "button1.html", "", 0, 30, 120);>> next, define for the 2-level buttonMenu2=new Array("My 2nd button", "blank.htm", 2);//the 2 here defines 2 sub-link>> define the 2 sub-links for "My 2nd button"Menu2_1=new Array("sublink 1", "sublink1.html");Menu2_2=new Array("sublink 2", "sublink2.html");>> since width and height are already specified, no need to respecify for the subsequent buttons>> just need to define the text and hyperlink value, rest can leave out, for 1-level buttonMenu3=new Array("My 3rd button", "button3.html");*///Ben: to use image instead of text, and with rollover/rollout caps//e.g: Menu0=new Array("rollover:<image1>:<image2>", ...)//when images are used, cannot have text before them//CONFIG:function GetWindowAttributes(){	//configure window width & height	var winWidth = 790;	var winHeight = 450;	return 'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,left=0,top=0,screenX=0,screenY=0,width='+winWidth+',height='+winHeight;}Menu1=new Array("rollover:../ButHomeB.gif:../ButHomeR.gif","../Home/MainBody.html","",0,47,94);//height=47, width=94, sets the same values for the rest of the buttonsMenu2=new Array("rollover:../ButProfileB.gif:../ButProfileR.gif","javascript: ","",7);//NumSubLinks=9, 9 sublinks beneathMenu2_1=new Array("History","../Corporate/History.html","",0,15,100);//height=20, single line of textMenu2_2=new Array("Management","../Corporate/BOD.html");Menu2_3=new Array("Annoucement","javascript: window.open('http://info.sgx.com/webcorannc.nsf/New+Announcement+Last+3+Months+by+Company+Name?Openview&RestrictToCategory=SSUPERBOWL%20HOLDINGS%20LIMITED', '', GetWindowAttributes());");Menu2_4=new Array("Annual Report","../Corporate/AnnualReport.html");Menu2_5=new Array("Feedback","../Corporate/contact.php");Menu2_6=new Array("Career Opportunities","../Corporate/Career.html","",0,15);//height=15, double line of textMenu2_7=new Array("Contact Us","../Corporate/ContactUs.html","",0,15);//height=20, single line of textMenu3=new Array("rollover:../ButBowlingB.gif:../ButBowlingR.gif","javascript: ","",5);//NumSubLinks=5, 5 sublinks beneathMenu3_1=new Array("Outlets and Rates","../Bowling/Outlets.html","",0,15,100);//height=20, single line of textMenu3_2=new Array("Membership","../Bowling/members.html");Menu3_3=new Array("Bowling Tips","../Bowling/Tips.html","");//height=30, double line of textMenu3_4=new Array("Coaching","../Bowling/coaching.html");Menu3_5=new Array("Leagues & Promotions","../Bowling/fridaybowl.html","");//height=30, double line of textMenu4=new Array("rollover:../ButSnookerB.gif:../ButSnookerR.gif","javascript: ","",2);//NumSubLinks=2, 2 sublinks beneathMenu4_1=new Array("Outlets & Rates","../pool/PoolOulets.html","",0,15,100);//height=20, single line of textMenu4_2=new Array("Membership","../pool/Pmembers.html");Menu5=new Array("rollover:../ButFunworldB.gif:../ButFunworldR.gif","javascript: ","",1);//NumSubLinks=1, 1 sublinks beneathMenu5_1=new Array("Outlets & Rates","../Funworlds/FunOutlets.html","",0,15,100);//height=15, single line of text//Ben: the last Entry here must match 'NoOffFirstLineMenus' value (see top of this file)