/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0 
oCMenu.fromTop=0   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot=""
//http://www.motorracinginternational.uk.com/2008%20proposal" 
oCMenu.resizeCheck=0 
oCMenu.wait=2000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="790"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=155
oCMenu.level[0].height=20
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=-1
oCMenu.level[0].offsetY=-1
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"

//dynamic effect (controllable for each level)
//oCMenu.level[0].clippx=2
//oCMenu.level[0].cliptim=2
//special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

//Other special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"

//EXAMPLE 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 cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=155
//oCMenu.level[0].width-2
oCMenu.level[1].height=20
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-10
//-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=-1
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=155
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=-10
oCMenu.level[2].offsetY=-1
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;General information')
  oCMenu.makeMenu('sub0000','top0','&nbsp;Home Page','http://www.motorracinginternational.uk.com/index.html')
  //oCMenu.makeMenu('sub0001','top0','&nbsp;Allan McNish','http://www.motorracinginternational.uk.com/allan mcnish.html')
  oCMenu.makeMenu('sub0002','top0','&nbsp;About MRI','http://www.motorracinginternational.uk.com/about mri.html')
  oCMenu.makeMenu('sub0003','top0','&nbsp;Your Financial Security','http://www.motorracinginternational.uk.com/general information.html')
  oCMenu.makeMenu('sub0004','top0','&nbsp;Travel Insurance','http://www.motorracinginternational.uk.com/general information.html')
  oCMenu.makeMenu('sub0005','top0','&nbsp;Your Contract','http://www.motorracinginternational.uk.com/your contract.html')
  oCMenu.makeMenu('sub0006','top0','&nbsp;All you need to know','http://www.motorracinginternational.uk.com/all you need to know.html')
  oCMenu.makeMenu('sub0007','top0','&nbsp;Race Tickets','http://www.motorracinginternational.uk.com/race tickets.htm')
  oCMenu.makeMenu('sub0008','top0','&nbsp;PDF Booking Form','http://www.motorracinginternational.uk.com/Booking Form.pdf')
	
oCMenu.makeMenu('top1','','&nbsp;Formula One')
	oCMenu.makeMenu('sub3000','top1','&nbsp;Bahrain Grand Prix')
		oCMenu.makeMenu('sub3100','sub3000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/bahrain gp.html')		
		oCMenu.makeMenu('sub3200','sub3000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/bahrain photo galleries.html')		
		oCMenu.makeMenu('sub3300','sub3000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/bahrain comments.html')	
		
	oCMenu.makeMenu('sub1000','top1','&nbsp;Australian Grand Prix')
		oCMenu.makeMenu('sub1100','sub1000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/australian gp.html')		
		oCMenu.makeMenu('sub1200','sub1000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/australian photo galleries.html')
		oCMenu.makeMenu('sub1300','sub1000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/australian comments.html')	
			
	oCMenu.makeMenu('sub2000','top1','&nbsp;Malaysian Grand Prix')
		//oCMenu.makeMenu('sub2100','sub2000','&nbsp;2010 Tours Coming Soon')
		oCMenu.makeMenu('sub2100','sub2000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/malaysian gp.html')		
		oCMenu.makeMenu('sub2200','sub2000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/malaysian photo galleries.html')		
		oCMenu.makeMenu('sub2300','sub2000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/malaysian comments.html')	

	oCMenu.makeMenu('sub17000','top1','&nbsp;Chinese Grand Prix')
		//oCMenu.makeMenu('sub17100','sub17000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub17100','sub17000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/chinese gp.html')		
		oCMenu.makeMenu('sub17200','sub17000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/chinese photo galleries.html')		
		oCMenu.makeMenu('sub17300','sub17000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/chinese comments.html')	
		
	oCMenu.makeMenu('sub4000','top1','&nbsp;Spanish Grand Prix')
		//oCMenu.makeMenu('sub4100','sub4000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub4100','sub4000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/spanish gp.html')		
		oCMenu.makeMenu('sub4200','sub4000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/spanish photo galleries.html')		
		oCMenu.makeMenu('sub4300','sub4000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/spanish comments.html')	
	
	oCMenu.makeMenu('sub6000','top1','&nbsp;Monaco Grand Prix')
		//oCMenu.makeMenu('sub6100','sub6000','&nbsp;2010 Tours Coming Soon')
		oCMenu.makeMenu('sub6100','sub6000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/monaco gp.html')		
		oCMenu.makeMenu('sub6200','sub6000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/monaco photo galleries.html')		
		oCMenu.makeMenu('sub6300','sub6000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/monaco comments.html')	
			
	oCMenu.makeMenu('sub5000','top1','&nbsp;Turkish Grand Prix')
		//oCMenu.makeMenu('sub5100','sub5000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub5100','sub5000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/turkey gp.html')		
		oCMenu.makeMenu('sub5200','sub5000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/turkey photo galleries.html')		
		oCMenu.makeMenu('sub5300','sub5000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/turkey comments.html')	
	
	oCMenu.makeMenu('sub19000','top1','&nbsp;Canadian Grand Prix')
		//oCMenu.makeMenu('sub19100','sub19000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub19100','sub19000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/canadian gp.html')		
		oCMenu.makeMenu('sub19200','sub19000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/canadian photo galleries.html')		
		oCMenu.makeMenu('sub19300','sub19000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/canadian comments.html')	
	
	oCMenu.makeMenu('sub12000','top1','&nbsp;European Grand Prix')
		//oCMenu.makeMenu('sub12100','sub12000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub12100','sub12000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/european gp.html')		
		oCMenu.makeMenu('sub12200','sub12000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/european photo galleries.html')
		oCMenu.makeMenu('sub12300','sub12000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/european comments.html')
		
	oCMenu.makeMenu('sub9000','top1','&nbsp;British Grand Prix')
		//oCMenu.makeMenu('sub9100','sub9000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub9100','sub9000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/british gp.html')		
		oCMenu.makeMenu('sub9200','sub9000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/british photo galleries.html')		
		oCMenu.makeMenu('sub9300','sub9000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/british comments.html')	
		
	oCMenu.makeMenu('sub10000','top1','&nbsp;German Grand Prix')
		//oCMenu.makeMenu('sub10100','sub10000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub10100','sub10000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/german gp.html')		
		oCMenu.makeMenu('sub10200','sub10000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/german photo galleries.html')	
		oCMenu.makeMenu('sub10300','sub10000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/german comments.html')
		
	oCMenu.makeMenu('sub11000','top1','&nbsp;Hungarian Grand Prix')
		//oCMenu.makeMenu('sub11100','sub11000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub11100','sub11000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/hungarian gp.html')		
		oCMenu.makeMenu('sub11200','sub11000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/hungarian photo galleries.html')		
		oCMenu.makeMenu('sub11300','sub11000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/hungarian comments.html')	
		
	oCMenu.makeMenu('sub13000','top1','&nbsp;Belgian Grand Prix')
		//oCMenu.makeMenu('sub13100','sub13000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub13100','sub13000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/belgian gp.html')		
		oCMenu.makeMenu('sub13200','sub13000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/belgian photo galleries.html')	
		oCMenu.makeMenu('sub13300','sub13000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/belgian comments.html')	
		
	oCMenu.makeMenu('sub14000','top1','&nbsp;Italian Grand Prix')
		//oCMenu.makeMenu('sub14100','sub14000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub14100','sub14000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/italian gp.html')		
		oCMenu.makeMenu('sub14200','sub14000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/italian photo galleries.html')		
		oCMenu.makeMenu('sub14300','sub14000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/italian comments.html')	
		
	oCMenu.makeMenu('sub15000','top1','&nbsp;Singapore Grand Prix')
		//oCMenu.makeMenu('sub15100','sub15000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub15100','sub15000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/singapore gp.html')		
		oCMenu.makeMenu('sub15200','sub15000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/singapore photo galleries.html')	
		oCMenu.makeMenu('sub15300','sub15000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/singapore comments.html')	
	
	oCMenu.makeMenu('sub16000','top1','&nbsp;Japanese Grand Prix')
		//oCMenu.makeMenu('sub16100','sub16000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub16100','sub16000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/japanese gp.html')		
		oCMenu.makeMenu('sub16200','sub16000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/japanese photo galleries.html')		
		oCMenu.makeMenu('sub16300','sub16000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/japanese comments.html')	
	
	oCMenu.makeMenu('sub20000','top1','&nbsp;Korean Grand Prix')
		//oCMenu.makeMenu('sub20100','sub20000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub20100','sub20000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/korean gp.html')		
		//oCMenu.makeMenu('sub20200','sub20000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/korean photo galleries.html')		
		//oCMenu.makeMenu('sub20300','sub20000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/korean comments.html')	

	oCMenu.makeMenu('sub18000','top1','&nbsp;Brazilian Grand Prix')
		//oCMenu.makeMenu('sub18100','sub18000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub18100','sub18000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/brazilian gp.html')		
		oCMenu.makeMenu('sub18200','sub18000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/brazilian photo galleries.html')		
		oCMenu.makeMenu('sub18300','sub18000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/brazilian comments.html')	
			
	oCMenu.makeMenu('sub7000','top1','&nbsp;Abu Dhabi Grand Prix')
		//oCMenu.makeMenu('sub7100','sub7000','&nbsp;Coming Soon')
		oCMenu.makeMenu('sub7100','sub7000','&nbsp;2010 Tours & Tickets','http://www.motorracinginternational.uk.com/abu dhabi gp.html')		
		oCMenu.makeMenu('sub7200','sub7000','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/abu dhabi photo galleries.htm')		
		oCMenu.makeMenu('sub7300','sub7000','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/abu dhabi comments.html')	
		
				
oCMenu.makeMenu('top2','','&nbsp;Le Mans 24 Hours')
	//oCMenu.makeMenu('sub231','top2','&nbsp;Coming Soon')
	oCMenu.makeMenu('sub221','top2','&nbsp;General Information','http://www.motorracinginternational.uk.com/le mans information.html')
	oCMenu.makeMenu('sub222','top2','&nbsp;2010 Tours','http://www.motorracinginternational.uk.com/le mans tours1.html')
	oCMenu.makeMenu('sub223','top2','&nbsp;2010 Self Drive Tours','http://www.motorracinginternational.uk.com/le mans self drive.html')	
	oCMenu.makeMenu('sub224','top2','&nbsp;2010 Race Tickets','http://www.motorracinginternational.uk.com/le mans tickets.html')	
	//oCMenu.makeMenu('sub225','top2','&nbsp;2009 Hospitality','http://www.motorracinginternational.uk.com/le mans information.html#lmhospitality')	
	//oCMenu.makeMenu('sub226','top2','&nbsp;2009 VIP Club du Mans','http://www.motorracinginternational.uk.com/le mans information.html#lmvip')	
	oCMenu.makeMenu('sub227','top2','&nbsp;Arnage Excursion','http://www.motorracinginternational.uk.com/le mans information.html')	
	oCMenu.makeMenu('sub228','top2','&nbsp;Photo Galleries','http://www.motorracinginternational.uk.com/lemans photo galleries.html')
	//oCMenu.makeMenu('sub229','top2','&nbsp;Race Reports','')
	oCMenu.makeMenu('sub230','top2','&nbsp;Clients Comments','http://www.motorracinginternational.uk.com/lemans comments.htm')
	
	
oCMenu.makeMenu('top3','','&nbsp;F1 Race Results')
	oCMenu.makeMenu('sub36','top3','&nbsp;2009 F1 Race Results','http://www.motorracinginternational.uk.com/2009 race results.html')
	oCMenu.makeMenu('sub35','top3','&nbsp;2008 F1 Race Results','http://www.motorracinginternational.uk.com/2008 race results.html')
	oCMenu.makeMenu('sub34','top3','&nbsp;2007 F1 Race Results','http://www.motorracinginternational.uk.com/2007 race results.htm')
	oCMenu.makeMenu('sub33','top3','&nbsp;2006 F1 Race Results','http://www.motorracinginternational.uk.com/2006 race results.htm')
	oCMenu.makeMenu('sub32','top3','&nbsp;2005 F1 Race Results','http://www.motorracinginternational.uk.com/2005 race results.htm')
	oCMenu.makeMenu('sub31','top3','&nbsp;2004 F1 Race Results','http://www.motorracinginternational.uk.com/2004 race results.htm')
	oCMenu.makeMenu('sub30','top3','&nbsp;2003 F1 Race Results','http://www.motorracinginternational.uk.com/2003 race results.htm')
	

oCMenu.makeMenu('top5','','&nbsp;2010 Brochure Request','http://www.motorracinginternational.uk.com/brochure.html')

//Leave this line - it constructs the menu
oCMenu.construct()