/*** 
This is the menu creation code - place it right after your body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 1

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=72 
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="images/blank.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="350"
oCMenu.barHeight="15" 
oCMenu.barClass="clBar"
oCMenu.barX=100
oCMenu.barY=50
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=350
oCMenu.level[0].height=15 
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"


//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+20
oCMenu.level[1].height=25
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=-(oCMenu.level[0].width-2)/2+75
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


/******************************************
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','','','','','350','15','images/blank.gif')
  
oCMenu.makeMenu('top1','','Home','index.html','','72','15','','','','','','','','','','')
  oCMenu.makeMenu('sub0011','top1','Home page','index.html', '','120')
	
oCMenu.makeMenu('top2','','About','about.html','','84','15','','','','','','','','','','')
	oCMenu.makeMenu('sub021','top2','What We Do','about.html','','120')
	oCMenu.makeMenu('sub022','top2','Who We Are','about_who.html','','120')
	oCMenu.makeMenu('sub023','top2','Testimonials','about_testimonials.html','','120')
	
oCMenu.makeMenu('top3','','Portfolio','portfolio.html','','101','15','','','','','','','','','','')
	oCMenu.makeMenu('sub031','top3','Overview','portfolio.html','','200')
	oCMenu.makeMenu('sub032','top3','Hamptons Inspiration','project-S2.html','','200')
	oCMenu.makeMenu('sub033','top3','Modern Simplicity','project-S3.html','','200')
	oCMenu.makeMenu('sub034','top3','Family Retreat','project-S.html','','200')
	oCMenu.makeMenu('sub035','top3','Private Escape','project-N.html','','200')
	oCMenu.makeMenu('sub036','top3','Makeover Westfield','project-W.html','','200')
	oCMenu.makeMenu('sub037','top3','Mountainside Frontyard','project-M.html','','200')
	oCMenu.makeMenu('sub038','top3','Before & After','project-BA.html','','200')

oCMenu.makeMenu('top4','','Services','services.html','','101','15','','','','','','','','','','')
	oCMenu.makeMenu('sub041','top4','Overview','services.html','','120')

oCMenu.makeMenu('top5','','Contact','contact.html','','75','15','','','','','','','','','','')
	oCMenu.makeMenu('sub051','top5','Contact Us','contact.html','','120')

//Leave this line - it constructs the menu
oCMenu.construct()		



