

//Menu object creation

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname



oCMenu.frames=0



//Menu properties   

oCMenu.pxBetween=10	

oCMenu.fromLeft=10 

oCMenu.fromTop=92   

oCMenu.rows=1 

oCMenu.menuPlacement="left"

                                                             

oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/" 

oCMenu.onlineRoot="/" 

oCMenu.resizeCheck=1 

oCMenu.wait=1000 

oCMenu.fillImg="cm_fill.gif"

oCMenu.zIndex=0



//Background bar properties

oCMenu.useBar=0

oCMenu.barWidth="100%"

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 specified in level 0

oCMenu.level[0]=new cm_makeLevel() //Add this for each new level

oCMenu.level[0].width=75

oCMenu.level[0].height=19 

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=0

oCMenu.level[0].offsetY=0

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=0

//special animation filters (IE5.5+ only, controllable for each level)

oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.1)" 



//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=oCMenu.level[0].width+80

oCMenu.level[1].height=22

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=0

oCMenu.level[1].offsetY=0

oCMenu.level[1].borderClass="clLevel1border"

//dynamic effect

oCMenu.level[1].clippx=2

oCMenu.level[1].cliptim=0

//special animation filters

oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 





//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify 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=150

oCMenu.level[2].height=22

oCMenu.level[2].offsetX=0

oCMenu.level[2].offsetY=0

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','',' Home','http://www.dotauthority.com/home.htm','','37','','','','','','center')



oCMenu.makeMenu('top1','','Services','http://www.dotauthority.com/services.htm','','56')

	oCMenu.makeMenu('sub10','top1','All Services','http://www.dotauthority.com/services.htm')

	oCMenu.makeMenu('sub11','top1','Motor Carrier Services','http://www.dotauthority.com/mc.htm')

	oCMenu.makeMenu('sub12','top1','Freight Broker Services','http://www.dotauthority.com/broker.htm')

	oCMenu.makeMenu('sub13','top1','Mover Services','http://www.dotauthority.com/services.htm')

	oCMenu.makeMenu('sub14','top1','Tax Services','http://www.dotauthority.com/tax.htm')



	

oCMenu.makeMenu('top2','','Training','http://www.dotauthority.com/training.htm','','53')

	oCMenu.makeMenu('sub21','top2','Training Home','http://www.dotauthority.com/training.htm')

	oCMenu.makeMenu('sub22','top2','Safety Training','http://www.dotauthority.com/safety.htm')



oCMenu.makeMenu('top3','','Insurance','http://www.dotauthority.com/insuranceleads.htm','','62')

	oCMenu.makeMenu('sub31','top3','Free Insurance Quote','http://www.dotauthority.com/insurance_quote.htm')

	oCMenu.makeMenu('sub32','top3','Quick Quotes Home','http://www.dotauthority.com/insuranceleads.htm')

	oCMenu.makeMenu('sub33','top3','Quick Quotes Login','http://www.dotauthority.com/insurance')

	oCMenu.makeMenu('sub34','top3','Quick Quotes Demo','http://www.dotauthority.com/insurance_demo')

	oCMenu.makeMenu('sub35','top3','Join Quick Quotes','http://www.dotauthority.com/cgi-bin/miva?Merchant2/merchant.mv+Screen=PROD&Store_Code=DA&Product_Code=Quick_Quotes')





	

oCMenu.makeMenu('top4','','Trucks','http://www.dotauthority.com/referral.htm','','44')

	oCMenu.makeMenu('sub41','top4','Find a Truck or Part','http://www.dotauthority.com/referral.htm')

	oCMenu.makeMenu('sub42','top4','Quick Trucks Home','http://www.dotauthority.com/cgi-bin/miva?Merchant2/merchant.mv+Screen=PROD&Store_Code=DA&Product_Code=Quick_Trucks')

	oCMenu.makeMenu('sub43','top4','Quick Trucks Login','http://www.dotauthority.com/quicktrucks')

	oCMenu.makeMenu('sub45','top4','Join Quick Trucks','http://www.dotauthority.com/cgi-bin/miva?Merchant2/merchant.mv+Screen=PROD&Store_Code=DA&Product_Code=Quick_Trucks')





oCMenu.makeMenu('top5','','Factoring','http://www.factorauthority.com','','60')	



oCMenu.makeMenu('top6','','Load Board','http://www.dotauthority.com/loadboards.htm','','72')

	oCMenu.makeMenu('sub59','top6','Transcore','http://www.truckersedge.net/dotauthority')

	oCMenu.makeMenu('sub73','top6','123Loadboard.com','http://www.123loadboard.com/?id=DOTAuthority')

	oCMenu.makeMenu('sub44','top6','Internet Truckstop','http://www.truckstop.com/CMenuLoads.html')





oCMenu.makeMenu('top7','','Links','http://www.dotauthority.com/links.htm','','36')

	oCMenu.makeMenu('sub46','top7','Our Partners','http://www.dotauthority.com/links.htm')

	oCMenu.makeMenu('sub47','top7','Insurance Links','http://www.dotauthority.com/insurance.htm')

	oCMenu.makeMenu('sub48','top7','Find a Load','http://www.dotauthority.com/loads.htm')

	oCMenu.makeMenu('sub49','top7','Schools/Training','http://www.dotauthority.com/schools.htm')

	oCMenu.makeMenu('sub50','top7','Truck Shows','http://www.dotauthority.com/truckshows.htm')

	oCMenu.makeMenu('sub51','top7','Truck Parts','http://www.dotauthority.com/parts.htm')

	oCMenu.makeMenu('sub52','top7','Truck Stops','http://www.dotauthority.com/truckstops.htm')

	oCMenu.makeMenu('sub53','top7','Financial Advisors','http://www.dotauthority.com/financial.htm')



oCMenu.makeMenu('top8','','Company','http://www.dotauthority.com/about.htm','','59')

	oCMenu.makeMenu('sub55','top8','About Us','http://www.dotauthority.com/about.htm')

	oCMenu.makeMenu('sub56','top8','Contact Us','http://www.dotauthority.com/contact.htm')

	oCMenu.makeMenu('sub57','top8','Job Opportunities','http://www.dotauthority.com/careers.htm')

	oCMenu.makeMenu('sub58','top8','Advertise With Us','http://www.dotauthority.com/advertise.htm')



oCMenu.makeMenu('top9','','Information','http://www.dotauthority.com/information.htm','','68')

	oCMenu.makeMenu('sub70','top9','Contact Us','http://www.dotauthority.com/contact.htm','','180')

	oCMenu.makeMenu('sub60','top9','FAQs','http://www.dotauthority.com/faqs.htm','','180')

	oCMenu.makeMenu('sub61','top9','Check Your Authority Status','http://www.dotauthority.com/status.htm','','180')

	oCMenu.makeMenu('sub62','top9','Free Brochure','http://www.dotauthority.com/inforequest.htm','','180')

	oCMenu.makeMenu('sub63','top9','Freight Broker Training Info','http://www.dotauthority.com/broker_training.htm','','180')

	oCMenu.makeMenu('sub64','top9','Free Insurance Quote','http://www.dotauthority.com/insurance_quote.htm','','180')

	oCMenu.makeMenu('sub65','top9','Free Bond Quote','http://www.dotauthority.com/bond.htm','','180')

	oCMenu.makeMenu('sub67','top9','Safety Seminar Info','http://www.dotauthority.com/safety_audit.htm','','180')

	oCMenu.makeMenu('sub68','top9','Trucking Success Info','http://www.dotauthority.com/success.htm','','180')

	oCMenu.makeMenu('sub69','top9','Join Highway Watch','http://www.dotauthority.com/highway.htm','','180')



oCMenu.makeMenu('top10','','Store','http://www.dotauthority.com/cgi-bin/miva?Merchant2/merchant.mv+Screen=SFNT&Store_Code=DA','','36')



oCMenu.makeMenu('top11','','More','http://www.dotauthority.com/services.htm','','36')	



//Leave this line - it constructs the menu

oCMenu.construct()	

