
//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=10
oCMenu.fromLeft=20 
oCMenu.fromTop=0   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/" 
oCMenu.onlineRoot="../scripts/coolmenus/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
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=120
oCMenu.level[0].height=18 
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].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=150
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','','Home','http://www.cvilleindustries.com/Default.asp','')
	
oCMenu.makeMenu('top1','','Products','')
	oCMenu.makeMenu('sub10','top1','Steeples','','',135,0)
	    oCMenu.makeMenu('sub010','sub10','Steeples','http://www.cvilleindustries.com/steeple/index.html','',140,0)
	    oCMenu.makeMenu('sub011','sub10','S Series','http://www.cvilleindustries.com/Series_S.htm','',140,0)
	    oCMenu.makeMenu('sub012','sub10','M Series','http://www.cvilleindustries.com/M_Series.htm','',140,0)
	    oCMenu.makeMenu('sub013','sub10','C Series','http://www.cvilleindustries.com/Series-C.htm','',140,0)
	    oCMenu.makeMenu('sub014','sub10','PDF Steeple Brochure','http://www.cvilleindustries.com/Steeples-Cupolas.pdf','',140,0)
	oCMenu.makeMenu('sub11','top1','Cupolas','','',135,0)
            oCMenu.makeMenu('sub015','sub11','Cupolas','http://www.cvilleindustries.com/cupola/index.html','',140,0)
            oCMenu.makeMenu('sub016','sub11','Series 300','http://www.cvilleindustries.com/Cupola%20Series%20CU-300.htm','',140,0)
            oCMenu.makeMenu('sub017','sub11','Series 400','http://www.cvilleindustries.com/Cupola%20Series%20CU-400.htm','',140,0)
            oCMenu.makeMenu('sub018','sub11','Series 4127','http://www.cvilleindustries.com/Cupola%20Series%20CU-4127.htm','',140,0)
            oCMenu.makeMenu('sub019','sub11','Series 500','http://www.cvilleindustries.com/Cupola%20Series%20CU-500.htm','',140,0)
            oCMenu.makeMenu('sub020','sub11','PDF Cupola Brochure','http://www.cvilleindustries.com/Steeples-Cupolas.pdf','',140,0)
    oCMenu.makeMenu('sub12','top1','Cupolas-Residential','http://www.cvilleindustries.com/Residential%20Cupolas.htm','',135,0)
	oCMenu.makeMenu('sub13','top1','Balustrades','','',135,0)
			oCMenu.makeMenu('sub021','sub13','Balustrade','http://www.cvilleindustries.com/balustrade/index.html','',140,0)
			oCMenu.makeMenu('sub022','sub13','PDF Brochure','http://www.cvilleindustries.com/Balustrade-Railing.pdf','',140,0)
    oCMenu.makeMenu('sub14','top1','Baptistries','http://www.cvilleindustries.com/baptistry/index.html','',135,0)
	oCMenu.makeMenu('sub15','top1','Bell Shells','http://www.cvilleindustries.com/bell_shell_price.htm','',135,0)
    oCMenu.makeMenu('sub16','top1','Church Signs','http://www.cvilleindustries.com/church-signs/index.html','',135,0)
    oCMenu.makeMenu('sub17','top1','Carillon/Chimes/Bells','http://www.cvilleindustries.com/carillon/index.html','',135,0)
    oCMenu.makeMenu('sub18','top1','Columns','','',135,0)
            oCMenu.makeMenu('sub023','sub18','Columns','http://www.cvilleindustries.com/Columns.htm','',140,0)
            oCMenu.makeMenu('sub024','sub18','Aluminum Columns','http://www.cvilleindustries.com/Aluminum-Columns.htm','',140,0)
            oCMenu.makeMenu('sub025','sub18','Fiberglass Columns','http://www.cvilleindustries.com/Fiberglass-Columns.htm','',140,0)
            oCMenu.makeMenu('sub026','sub18','Stock Wood Columns','http://www.cvilleindustries.com/Stock-Wood-Columns.htm','',140,0)
            oCMenu.makeMenu('sub027','sub18','Architectural Wood Columns','http://www.cvilleindustries.com/Architectural.htm','',140,0)
        oCMenu.makeMenu('sub19','top1','Clocks','','',135,0)
        	oCMenu.makeMenu('sub028','sub19','Clocks','http://www.cvilleindustries.com/street-clock/index.html','',140,0)
        	oCMenu.makeMenu('sub029','sub19','PDF Brochure','http://www.cvilleindustries.com/Clocks.pdf','',140,0)
        oCMenu.makeMenu('sub20','top1','Cornices','','',135,0)
        	oCMenu.makeMenu('sub030','sub20','Cornices','http://www.cvilleindustries.com/cornices/index.html','',140,0)
        	oCMenu.makeMenu('sub031','sub20','PDF Brochure','http://www.cvilleindustries.com/Cornices.pdf','',140,0)
        oCMenu.makeMenu('sub21','top1','Crosses','http://www.cvilleindustries.com/church-crosses/index.html','',135,0)
        oCMenu.makeMenu('sub22','top1','Domes','http://www.cvilleindustries.com/Domes.htm','',135,0)
        oCMenu.makeMenu('sub23','top1','Dormers','http://www.cvilleindustries.com/dormers/index.html','',135,0)
        oCMenu.makeMenu('sub24','top1','Finials','http://www.cvilleindustries.com/finials/index.html','',135,0)
        oCMenu.makeMenu('sub25','top1','Gold Leaf','http://www.cvilleindustries.com/gold-leaf/index.html','',135,0)
        oCMenu.makeMenu('sub26','top1','Louvers','http://www.cvilleindustries.com/louvers/index.html','',135,0)
        oCMenu.makeMenu('sub27','top1','Railings','','',135,0)
        	oCMenu.makeMenu('sub032','sub27','Railings','http://www.cvilleindustries.com/railing/index.html','',140,0)
        	oCMenu.makeMenu('sub033','sub27','PDF Brochure','http://www.cvilleindustries.com/Balustrade-Railing.pdf','',140,0)
        oCMenu.makeMenu('sub28','top1','Towers','http://www.cvilleindustries.com/Towering%20Towers.htm','',135,0)
        oCMenu.makeMenu('sub29','top1','Weathervanes','http://www.cvilleindustries.com/weathervane/index.html','',135,0)   
        oCMenu.makeMenu('sub30','top1','Urns','http://www.cvilleindustries.com/Urns.htm','',135,0)

oCMenu.makeMenu('top2','','CAD/Specs','')
	oCMenu.makeMenu('sub40','top2','Balusters','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#balusters')
	oCMenu.makeMenu('sub41','top2','Cornice','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#cornice')
	oCMenu.makeMenu('sub42','top2','Cupolas','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#cupolas')
	oCMenu.makeMenu('sub43','top2','Dormers','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#Dormers')
    	oCMenu.makeMenu('sub44','top2','Finials','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#finials')
    	oCMenu.makeMenu('sub45','top2','Railing','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#Railing')
        oCMenu.makeMenu('sub46','top2','Steeples','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#S%20Series')
    	oCMenu.makeMenu('sub47','top2','Urns','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#Urns')
    	oCMenu.makeMenu('sub48','top2','Weathervanes','http://www.cvilleindustries.com/CAD%20Download%20Page.htm#Weathervanes')
    
oCMenu.makeMenu('top3','','Gallery','')
	oCMenu.makeMenu('sub60','top3','Recent Projects','http://www.cvilleindustries.com/Featured%20Projects.htm')
	oCMenu.makeMenu('sub61','top3','Gallery Pg. 1','http://www.cvilleindustries.com/Photo_gallery.htm')
	oCMenu.makeMenu('sub62','top3','Gallery Pg. 2','http://www.cvilleindustries.com/Photo_gallery_page_2.htm')
	oCMenu.makeMenu('sub63','top3','Gallery Pg. 3','http://www.cvilleindustries.com/Photo_gallery_page_3.htm')
	oCMenu.makeMenu('sub64','top3','Gallery Pg. 4','http://www.cvilleindustries.com/Photo_gallery_page_4.htm')
        
oCMenu.makeMenu('top4','','FAQ','')
	oCMenu.makeMenu('sub70','top4','Features','http://www.cvilleindustries.com/Features.htm','',140,0)
	oCMenu.makeMenu('sub71','top4','Planning Your Steeple','http://www.cvilleindustries.com/Planning.htm','',140,0)
	oCMenu.makeMenu('sub72','top4','Color Chart','http://www.cvilleindustries.com/Color%20Chart.htm','',140,0)
	oCMenu.makeMenu('sub73','top4','Gold Leaf','http://www.cvilleindustries.com/gold-leaf/index.html','',140,0)
	oCMenu.makeMenu('sub74','top4','Testimonials','http://www.cvilleindustries.com/testimonials.htm','',140,0)
	oCMenu.makeMenu('sub75','top4','History of Steeples','http://www.cvilleindustries.com/History of Church Steeples.pdf','',140,0)
	
oCMenu.makeMenu('top5','','Profile','http://www.cvilleindustries.com/history.htm')
	
oCMenu.makeMenu('top6','','Contact Us','')
	oCMenu.makeMenu('sub80','top6','Sales Inquiries','http://www.cvilleindustries.com/Contact%20Us.htm#Sales_Inquiries','',135,0)
	oCMenu.makeMenu('sub81','top6','Drafting','http://www.cvilleindustries.com/Contact%20Us.htm#Drafting_Department','',135,0)
	oCMenu.makeMenu('sub82','top6','Engineering','http://www.cvilleindustries.com/Contact%20Us.htm#Engineering','',135,0)
	oCMenu.makeMenu('sub83','top6','Production/Delivery','http://www.cvilleindustries.com/Contact%20Us.htm#Production_and_Delivery','',135,0)
	oCMenu.makeMenu('sub84','top6','Estimates/Quotes','http://www.cvilleindustries.com/Estimates.htm','',135,0)
	oCMenu.makeMenu('sub85','top6','Free Design Service','http://www.cvilleindustries.com/FREE_Service.htm','',135,0)
	oCMenu.makeMenu('sub86','top6','Directions/Map','http://www.cvilleindustries.com/Contact%20Us.htm#Delivery','',135,0)
	oCMenu.makeMenu('sub87','top6','Mailing Address','http://www.cvilleindustries.com/Contact%20Us.htm#Mailing_Address','',135,0)
	oCMenu.makeMenu('sub88','top6','Accounts Payable','http://www.cvilleindustries.com/Contact%20Us.htm#Accounts','',135,0)
    oCMenu.makeMenu('sub89','top6','Accounts Receiveable','http://www.cvilleindustries.com/Contact%20Us.htm#Accounts','',135,0)
    oCMenu.makeMenu('sub90','top6','Controller','http://www.cvilleindustries.com/Contact%20Us.htm#Controller','',135,0)
    oCMenu.makeMenu('sub91','top6','Human Relations','http://www.cvilleindustries.com/Contact%20Us.htm#Controller','',135,0)
//Leave this line - it constructs the menu
oCMenu.construct()	

