
//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=92   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             

oCMenu.resizeCheck=1 
oCMenu.wait=750 
oCMenu.fillImg="image-files/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="0" 
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=140
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=5
oCMenu.level[0].cliptim=5
//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-0
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"
oCMenu.level[1].arrow=0
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=12


//dynamic effect
oCMenu.level[1].clippx=9
oCMenu.level[1].cliptim=9
//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=140
oCMenu.level[2].height=18
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel1"
oCMenu.level[2].overClass="clLevel1over"
oCMenu.level[2].borderClass="clLevel1border"
oCMenu.level[2].arrowWidth=10
oCMenu.level[2].arrowHeight=12
oCMenu.level[2].arrow="../image-files/bullet1.gif"

/******************************************
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://nancyshohetwest.com/index.php','')
	
oCMenu.makeMenu('top1','','about nancy','http://nancyshohetwest.com/nancys-bio.php')
	oCMenu.makeMenu('sub10','top1','nancys bio','http://nancyshohetwest.com/nancys-bio.php')
	oCMenu.makeMenu('sub11','top1','stay in touch','http://nancyshohetwest.com/stay-in-touch.php')
	
oCMenu.makeMenu('top2','','streak running','')
	oCMenu.makeMenu('sub21','top2','nancys articles','http://nancyshohetwest.com/streak-running.php')
		oCMenu.makeMenu('sub211','sub21','When To Say When','http://nancyshohetwest.com/when-to-say-when.php','',140,0)
		oCMenu.makeMenu('sub212','sub21','Mother-Son Experiment','http://nancyshohetwest.com/mother-son-experiment.php','',140,0)
		oCMenu.makeMenu('sub213','sub21','His Heart Says Go','http://nancyshohetwest.com/heart-says-go.php','',140,0)
		oCMenu.makeMenu('sub214','sub21','Running Club','http://nancyshohetwest.com/running-club.php','',140,0)
		oCMenu.makeMenu('sub215','sub21','10,870 Days','http://nancyshohetwest.com/consecutive-streak.php','',140,0)
	oCMenu.makeMenu('sub22','top2','other authors','http://nancyshohetwest.com/streak-running-articles.php')
	oCMenu.makeMenu('sub23','top2','helpful running links','http://nancyshohetwest.com/helpful-running-links.php')

oCMenu.makeMenu('top3','','essays','')
	oCMenu.makeMenu('sub31','top3','about work','http://nancyshohetwest.com/essays-about-work.php')
		oCMenu.makeMenu('sub311','sub31','Happy Worker','http://nancyshohetwest.com/happy-worker.php','',140,0)
		oCMenu.makeMenu('sub312','sub31','Conference Calls','http://nancyshohetwest.com/conference-calls.php','',140,0)
		oCMenu.makeMenu('sub313','sub31','Office Birthdays','http://nancyshohetwest.com/office-birthdays.php','',140,0)
		oCMenu.makeMenu('sub314','sub31','What To Wear','http://nancyshohetwest.com/what-to-wear-to-work.php','',140,0)
		oCMenu.makeMenu('sub315','sub31','Playboy','http://nancyshohetwest.com/playboy.php','',140,0)
		oCMenu.makeMenu('sub316','sub31','Monogamy Benefits','http://nancyshohetwest.com/monogamy-benefits.php','',140,0)
		oCMenu.makeMenu('sub317','sub31','Corporate Swag','http://nancyshohetwest.com/corporate-swag.php','',140,0)
		oCMenu.makeMenu('sub318','sub31','Shared Office','http://nancyshohetwest.com/shared-office.php','',140,0)
		
	oCMenu.makeMenu('sub32','top3','about home','http://nancyshohetwest.com/essays-about-home.php')
		oCMenu.makeMenu('sub321','sub32','Mouths Of Babes','http://nancyshohetwest.com/mouths-of-babes.php','',140,0)
		oCMenu.makeMenu('sub322','sub32','Music Lessons','http://nancyshohetwest.com/music-lessons.php','',140,0)
		oCMenu.makeMenu('sub323','sub32','Gladiator','http://nancyshohetwest.com/gladiator.php','',140,0)
		oCMenu.makeMenu('sub324','sub32','Morality Play','http://nancyshohetwest.com/morality-play.php','',140,0)
		oCMenu.makeMenu('sub325','sub32','School Vacation','http://nancyshohetwest.com/school-vacation.php','',140,0)
		
		
oCMenu.makeMenu('top4','','feature stories','')
	oCMenu.makeMenu('sub41','top4','people','http://nancyshohetwest.com/features-about-people.php')
	oCMenu.makeMenu('sub42','top4','issues','http://nancyshohetwest.com/features-about-issues.php')
	oCMenu.makeMenu('sub43','top4','entrepreneurship','http://nancyshohetwest.com/features-about-entrepreneurs.php')
	oCMenu.makeMenu('sub44','top4','travel & food','http://nancyshohetwest.com/food-and-travel.php')

oCMenu.makeMenu('top5','','social media','')
	oCMenu.makeMenu('sub51','top5','nancys blog','http://nancyshohetwest.com/lifes-a-streak-run.php')
	oCMenu.makeMenu('sub52','top5','blog archives','http://nancyshohetwest.com/running-blog.php')
	oCMenu.makeMenu('sub53','top5','twitter','http://nancyshohetwest.com/nancy-west-on-twitter.php')
	

//Leave this line - it constructs the menu
oCMenu.construct()	
