function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6||this.ie7
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() //Making browsercheck object

var mDebugging=2

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="header" 

oCMenu.useclick=0 

oCMenu.useNS4links=1  

oCMenu.NS4padding=2 

oCMenu.checkselect=0

oCMenu.offlineUrl="/pages/navig07.js" 
oCMenu.onlineUrl="/pages/navig07.js" 

oCMenu.pagecheck=0 
oCMenu.checkscroll=0 
oCMenu.resizecheck=0 
oCMenu.wait=600

//Background bar properties
oCMenu.usebar=1 
oCMenu.barcolor="" 
oCMenu.barwidth="" 
oCMenu.barheight=""
oCMenu.barx="0"
oCMenu.bary="0"
oCMenu.barinheritborder=1 

//Placement properties
oCMenu.rows=1 
oCMenu.fromleft=0
oCMenu.fromtop=0
oCMenu.pxbetween=0


oCMenu.menuplacement="top"

//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPECIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array() 
oCMenu.level[0].width="" 
oCMenu.level[0].height="20"
oCMenu.level[0].bgcoloroff=""
oCMenu.level[0].bgcoloron="transparent"
oCMenu.level[0].style="padding:0px; font-family:verdana,helvetica; font-size:11px; font-weight:normal"
oCMenu.level[0].textcolor="transparent" 
oCMenu.level[0].hovercolor="transparent"
oCMenu.level[0].border=0 
oCMenu.level[0].bordercolor="#000000"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=-1
oCMenu.level[0].NS4font="verdana,arial,helvetica"
oCMenu.level[0].NS4fontSize="1"

oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.6,wipeStyle=5)"

oCMenu.level[0].align="bottom" 

//SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new Array() 
oCMenu.level[1].width=oCMenu.level[0].width-2
oCMenu.level[1].height=25
oCMenu.level[1].bgcoloroff="#ffffff"
oCMenu.level[1].bgcoloron="#669900"
oCMenu.level[1].style="padding:2px; font-family:verdana,arial,helvetica; font-size:12px; font-weight:normal; color:#669900"
oCMenu.level[1].hovercolor="#ffffff"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=-8
oCMenu.level[1].offsetY=+3
oCMenu.level[1].border=1  
oCMenu.level[1].bordercolor="#003366"

/*Variables for each menu item: (** means that they have to be specified!)
name:
parent:
text: 
link:
target:
width: 
height:
img1: off image
img2: onmouseover if using images.
bgcoloroff: 
bgcoloron: 
textcolor:
hovercolor: 
onclick: 
onmouseover: 
onmouseout: 
*/

oCMenu.makeMenu('top0','','Left','','',20,25,'/nav/GBSNAVIG_01.gif','/nav/GBSNAVIG_01.gif')

oCMenu.makeMenu('top1','','Contact Us','/pages/contactus.html','main',118,25,'/nav/GBSNAVIG_02.gif','/nav/GBSNAVIGROLLS_02.gif')

oCMenu.makeMenu('top2','','Event Info','','main',122,25,'/nav/GBSNAVIG_03.gif','/nav/GBSNAVIGROLLS_03.gif')
oCMenu.makeMenu('sub20','top2','Course Maps','','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub201','sub20','Gate 1','/pages/leg1.html','main',160,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub202','sub20','Gate 2','/pages/leg2.html','main',160,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub203','sub20','Gate 3','/pages/leg3.html','main',160,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub204','sub20','Gate 4','/pages/leg4.html','main',160,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub205','sub20','Gate 5','/pages/leg5.html','main',160,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub206','sub20','Entire Course','/pages/course.html','main',160,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub21','top2','Course Information','/pages/courseinfo.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub22','top2','Race Information','/pages/raceinfo.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub23','top2','Race Briefing Notes','/pages/briefnotes.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub24','top2','Race Rules','/pages/racerules.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub25','top2','Prizes','/pages/prizes.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')

oCMenu.makeMenu('top3','','How to Enter','/pages/entry.html','main',137,25,'/nav/GBSNAVIG_04.gif','/nav/GBSNAVIGROLLS_04.gif')

oCMenu.makeMenu('top4','','Results','','main',101,25,'/nav/GBSNAVIG09_05.gif','/nav/GBSNAVIG09ROLLS_05.gif')
oCMenu.makeMenu('sub40','top4','Race Results','/pages/results.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub41','top4','Photos','/pages/photos.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')

oCMenu.makeMenu('top5','','Links','','main',85,25,'/nav/GBSNAVIG09_06.gif','/nav/GBSNAVIG09ROLLS_06.gif')
oCMenu.makeMenu('sub50','top5','Sponsors','/pages/sponsors.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')
oCMenu.makeMenu('sub51','top5','Associated Links','/pages/links.html','main',180,20,'','','#ffffff','#669900','#669900','#ffffff')

oCMenu.makeMenu('top6','','Busselton','/pages/busselton.html','main',114,25,'/nav/GBSNAVIG09_07.gif','/nav/GBSNAVIG09ROLLS_07.gif')

oCMenu.makeMenu('top7','','Home','/pages/welcome.html','main',72,25,'/nav/GBSNAVIG09_08.gif','/nav/GBSNAVIG09ROLLS_08.gif')

oCMenu.makeStyle(); oCMenu.construct()