
//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=8
oCMenu.fromLeft=10
oCMenu.fromTop=10 
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="768"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=10 
oCMenu.barY=10
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=146
oCMenu.level[0].height=20 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
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=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=oCMenu.level[0].width-4
oCMenu.level[1].width=oCMenu.level[0].width
oCMenu.level[1].height=18
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
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=2
//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=146
oCMenu.level[2].height=18
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','','Financing','index.cfm?section=financing','')
	oCMenu.makeMenu('sub00','top0','Quik Loans','index.cfm?section=financing&ID=mainQuickloans')
	oCMenu.makeMenu('sub01','top0','100% Land Loan','index.cfm?section=financing&ID=landloanplus')
	oCMenu.makeMenu('sub02','top0','100% Plus Land Loan','index.cfm?section=financing&ID=PluslandQuickLoans')
	/*	oCMenu.makeMenu('sub02','top0','NHC Primary Homes Program','index.cfm?section=financing&ID=primaryhomes') */
	oCMenu.makeMenu('sub03','top0','Investment Builder','index.cfm?section=financing&ID=sharebuilder')
	oCMenu.makeMenu('sub04','top0','100% Plus Mortgage','index.cfm?section=financing&ID=mortgageplus')
	oCMenu.makeMenu('sub05','top0','Pre-Approved Mortgage','index.cfm?section=financing&ID=preapproved')
	oCMenu.makeMenu('sub06','top0','Land Loans','index.cfm?section=financing&ID=landloans')
	oCMenu.makeMenu('sub07','top0','Residential Mortgage','index.cfm?section=financing&ID=mortgages')
	oCMenu.makeMenu('sub08','top0','First Home 100% Mortgage','index.cfm?section=financing&ID=firstmortgage')
	oCMenu.makeMenu('sub09','top0','Vehicles','index.cfm?section=financing&ID=vehicles')
	oCMenu.makeMenu('sub10','top0','Equipment','index.cfm?section=financing&ID=equipment')
	oCMenu.makeMenu('sub11','top0','Home Equity','index.cfm?section=financing&ID=homeequity')
	oCMenu.makeMenu('sub12','top0','Premium Finance','index.cfm?section=financing&ID=insurancepremium')
	oCMenu.makeMenu('sub13','top0','Online Applications','index.cfm?section=financing&ID=quotes')	
	oCMenu.makeMenu('sub14','top0','Loan Calculator','frame.cfm?ID=calc')		
				
oCMenu.makeMenu('top2','','Insurance','index.cfm?section=insurance')
	oCMenu.makeMenu('sub20','top2','Home Owners Comprehensive','index.cfm?section=insurance&ID=homeowners')
	oCMenu.makeMenu('sub21','top2','Fire Residential','index.cfm?section=insurance&ID=fireresidential')
	oCMenu.makeMenu('sub22','top2','Commercial Fire & Perils','index.cfm?section=insurance&ID=commfire')
	oCMenu.makeMenu('sub23','top2','Vehicles','index.cfm?section=insurance&ID=vehicles')
	oCMenu.makeMenu('sub24','top2','Life','index.cfm?section=insurance&ID=life')		
	oCMenu.makeMenu('sub25','top2','Mortgage Indemnity','index.cfm?section=insurance&ID=indemnity')
	oCMenu.makeMenu('sub26','top2','Online Quotes','index.cfm?section=insurance&ID=quotes')
	
oCMenu.makeMenu('top3','','Investment','index.cfm?section=investments')
	oCMenu.makeMenu('sub30','top3','Deposits','index.cfm?section=investments&ID=deposits')
	oCMenu.makeMenu('sub31','top3','Stock Broking Services','index.cfm?section=investments&ID=stockbroking')
	oCMenu.makeMenu('sub32','top3','Annuities','index.cfm?section=investments&ID=annuities')

oCMenu.makeMenu('top4','','Real Estate','index.cfm?section=realestate')
	oCMenu.makeMenu('sub41','top4','Property for Sale','frame.cfm?ID=property')
	oCMenu.makeMenu('sub42','top4','Property for Rent','frame.cfm?ID=rent')

oCMenu.makeMenu('top5','','Helpful Tips','index.cfm?section=helpfultips')
	oCMenu.makeMenu('sub51','top5','Getting a Mortgage','index.cfm?section=helpfultips&ID=mortgages')
	oCMenu.makeMenu('sub52','top5','Mortgage Indemnity Insurance','index.cfm?section=helpfultips&ID=htindemnityinsurance')
	oCMenu.makeMenu('sub53','top5','Driving Safety','index.cfm?section=helpfultips&ID=drivingsafety')
	oCMenu.makeMenu('sub54','top5','Choosing a Builder','index.cfm?section=helpfultips&ID=choosingbuilder')
	oCMenu.makeMenu('sub55','top5','Renting versus Buying','index.cfm?section=helpfultips&ID=rentvsbuy')
	oCMenu.makeMenu('sub56','top5','Purchasing Land','index.cfm?section=helpfultips&ID=purchaseland')
	oCMenu.makeMenu('sub57','top5','Selling Your Home','index.cfm?section=helpfultips&ID=sellinghome')
	oCMenu.makeMenu('sub58','top5','Renovators Checklist','index.cfm?section=helpfultips&ID=renovator')
	oCMenu.makeMenu('sub59','top5','Energy Conservation','index.cfm?section=helpfultips&ID=energy')
	oCMenu.makeMenu('sub60','top5','Project Calculators','frame.cfm?ID=projectcalc')


//Leave this line - it constructs the menu
oCMenu.construct()	
