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

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=20
//oCMenu.fromLeft=screen.width - 1
oCMenu.fromLeft=0
oCMenu.fromTop=75
oCMenu.rows=1 
oCMenu.menuPlacement=new Array('14','75','200','350','490','625')
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=500 
oCMenu.zIndex=1000

//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=150
oCMenu.level[0].height=17
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=-1
oCMenu.level[0].offsetY=4
oCMenu.level[0].rows=0
oCMenu.level[0].arrowWidth=10
oCMenu.level[0].arrowHeight=4
oCMenu.level[0].align="bottom"

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level
oCMenu.level[1].height=17
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].borderClass="clLevel1border"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=0
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.0)" 

/******************************************
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','index.htm')
	
oCMenu.makeMenu('top1','','Building & Design','http://www.logcabinliving.com/buildinganddesign.htm')
        oCMenu.makeMenu('sub00','top1','Log Home Buyers Guide','http://www.logcabinliving.com/buildinganddesign.htm')
	oCMenu.makeMenu('sub01','top1','Floor Plans','http://www.logcabinliving.com/floorplans.htm')
	oCMenu.makeMenu('sub02','top1','Log Home Photos','http://www.logcabinliving.com/photoalbum.htm')
	oCMenu.makeMenu('sub03','top1','Model Homes','http://www.logcabinliving.com/loghomemodels.htm')
	oCMenu.makeMenu('sub04','top1','Interior Design','http://www.logcabinliving.com/interiordesign.htm')

oCMenu.makeMenu('top2','','Maintenance & Repair','http://www.logcabinliving.com/maintenanceandrestoration.htm')
        oCMenu.makeMenu('sub07','top2','Maintenance Info Center','http://www.logcabinliving.com/maintenanceandrestoration.htm')
	oCMenu.makeMenu('sub08','top2','Free Repair Estimates','http://www.logcabinliving.com/loghomeestimate.htm')
	oCMenu.makeMenu('sub09','top2','Maintenance Products','http://www.logcabinliving.com/shop/supplies.htm')

oCMenu.makeMenu('top3','','Log Home Resources','http://www.logcabinliving.com')
	oCMenu.makeMenu('sub11','top3','Log Home Forum','http://www.logcabinliving.com/forum')
        oCMenu.makeMenu('sub12','top3','Log Home Articles','http://www.logcabinliving.com/articles.htm')
	oCMenu.makeMenu('sub13','top3','Shows & Seminars','http://www.logcabinliving.com/loghomeevents.htm')
	oCMenu.makeMenu('sub14','top3','Free Information','http://www.logcabinliving.com/freeinformation.htm')
        oCMenu.makeMenu('sub15','top3','Monthly Newsletter','http://www.logcabinliving.com/freeinformation.htm')
	oCMenu.makeMenu('sub16','top3','Log Home Directory','http://www.logcabinliving.com/directory')
        oCMenu.makeMenu('sub17','top3','Related Links','http://www.logcabinliving.com/links.htm')

oCMenu.makeMenu('top4','','Log Home Directory','http://www.logcabinliving.com/directory')
	oCMenu.makeMenu('sub18','top4','Manufacturers','http://www.logcabinliving.com/directory/manufacturers.htm')
        oCMenu.makeMenu('sub19','top4','Dealers & Representatives','http://www.logcabinliving.com/directory/dealers-reps/index.htm')
	oCMenu.makeMenu('sub20','top4','Log Home Builders','http://www.logcabinliving.com/directory/builders-hand-timber/index.htm')
	oCMenu.makeMenu('sub21','top4','Architects & Designers','http://www.logcabinliving.com/directory/architects-engineers-designers.htm')
	oCMenu.makeMenu('sub22','top4','Insurance','http://www.logcabinliving.com/directory/insurance.htm')
	oCMenu.makeMenu('sub23','top4','Financial Services','http://www.logcabinliving.com/directory/financialservices.htm')
	oCMenu.makeMenu('sub24','top4','Building Schools','http://www.logcabinliving.com/directory/buildingschools.htm')
	oCMenu.makeMenu('sub25','top4','Add Listing','http://www.logcabinliving.com/addsite.htm')
           

oCMenu.makeMenu('top5','','Shop Online','http://www.logcabinliving.com/shop/')
        oCMenu.makeMenu('sub26','top5','Shop Index','http://www.logcabinliving.com/shop')
	oCMenu.makeMenu('sub27','top5','Log Home Magazines','http://www.logcabinliving.com/magazinerack.htm')
	oCMenu.makeMenu('sub28','top5','Log Home Books','http://www.logcabinliving.com/bookstore.htm')
	oCMenu.makeMenu('sub29','top5','Log Home Furniture','http://www.logcabinliving.com/shop/furniture.htm')
	oCMenu.makeMenu('sub30','top5','Building & Repair Supplies','http://www.logcabinliving.com/shop/supplies.htm')

//Leave this line - it constructs the menu
oCMenu.construct()