//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 1

//Menu properties   
oCMenu.pxBetween=1
oCMenu.fromLeft=4 
oCMenu.fromTop=130   
oCMenu.rows=0
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=600 
oCMenu.fillImg="images/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth=
oCMenu.barHeight= 
oCMenu.barClass=
oCMenu.barX=0 
oCMenu.barY=
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=123
oCMenu.level[0].height=24 
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=125
oCMenu.level[0].offsetY=-23
oCMenu.level[0].rows=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-2
oCMenu.level[1].height=20 
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+30
oCMenu.level[1].offsetY=0
oCMenu.level[1].arrow="images/tri.gif"
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=11
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify 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=110
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=20
oCMenu.level[2].offsetY=20
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','index.html','','','','images/mpmchome0.gif','images/mpmchome.gif')
	
oCMenu.makeMenu('top1','','Our Approach','app.html','','','','images/app1.gif','images/app.gif')
	oCMenu.makeMenu('sub11','top1','Research','http://www.pain-mpmc.com/res.html')
	oCMenu.makeMenu('sub12','top1','Referrals','http://www.pain-mpmc.com/ref.html')
	
		
oCMenu.makeMenu('top2','','Procedures','http://www.pain-mpmc.com/proc.html','','','','images/proc1.gif','images/proc.gif')
	oCMenu.makeMenu('sub21','top2','Treatment','http://www.pain-mpmc.com/treat.htm','','135')
	oCMenu.makeMenu('sub22','top2','Referrals','http://www.pain-mpmc.com/ref.html','','135')
    	
oCMenu.makeMenu('top3','','Referrals','http://www.pain-mpmc.com/ref.html','','','','images/referral1.gif','images/referral.gif')

oCMenu.makeMenu('top4','','Patient Information','http://www.pain-mpmc.com/patient.html','','','','images/patient1.gif','images/patient.gif')
		oCMenu.makeMenu('sub41','top4','Patient Information Form','http://www.pain-mpmc.com/info.pdf','','165')
		oCMenu.makeMenu('sub42','top4','Patient Interval Questionnaire','http://www.pain-mpmc.com/ques.pdf','','165')
		oCMenu.makeMenu('sub43','top4','Pain Questions & Answers','http://www.pain-mpmc.com/faq.htm','','165')
		oCMenu.makeMenu('sub44','top4','Patient Rights','http://www.pain-mpmc.com/rights.pdf','','165')
		oCMenu.makeMenu('sub45','top4','Patient Responsibilities','http://www.pain-mpmc.com/resp.pdf','','165')
		oCMenu.makeMenu('sub46','top4','Satisfaction Surveys','http://www.pain-mpmc.com/surveys.htm','','165')
		       oCMenu.makeMenu('sub461','sub46','Patient Satisfaction Survey','http://www.pain-mpmc.com/survey.htm','','195')
		       oCMenu.makeMenu('sub462','sub46','Patient Satisfaction Survey Facility','http://www.pain-mpmc.com/surveyf.htm','','195')
		oCMenu.makeMenu('sub47','top4','Insurance Information','http://www.pain-mpmc.com/ins.htm','','165')
		oCMenu.makeMenu('sub48','top4','Notice of Financial Interest Disclosure','http://www.pain-mpmc.com/fin.pdf','','165')
		oCMenu.makeMenu('sub49','top4','Treatment Contract','http://www.pain-mpmc.com/contract.pdf','','165')

oCMenu.makeMenu('top5','','About Us','http://www.pain-mpmc.com/about.html','','','','images/about1.gif','images/about.gif')
	oCMenu.makeMenu('sub51','top5','Medical Director','http://www.pain-mpmc.com/md.htm','','165')
	oCMenu.makeMenu('sub52','top5','Referrals','http://www.pain-mpmc.com/ref.html','','165')
	oCMenu.makeMenu('sub53','top5','Affiliated Clinics','http://www.pain-mpmc.com/affiliates.html','','165')


oCMenu.makeMenu('top6','','Location','http://www.pain-mpmc.com/loc.html','','','','images/loc1.gif','images/loc.gif')

oCMenu.makeMenu('top7','','Contact Us','http://www.pain-mpmc.com/info.html','','','','images/info1.gif','images/info.gif')
	oCMenu.makeMenu('sub71','top7','Information Request','http://www.pain-mpmc.com/info.htm','','135')
	oCMenu.makeMenu('sub72','top7','Satisfaction Surveys','http://www.pain-mpmc.com/surveys.htm','','135')
	     oCMenu.makeMenu('sub721','sub72','Patient Satisfaction Survey','http://www.pain-mpmc.com/survey.htm','','195')
		 oCMenu.makeMenu('sub722','sub72','Patient Satisfaction Survey Facility','http://www.pain-mpmc.com/surveyf.htm','','195')
    oCMenu.makeMenu('sub73','top7','Referrals','http://www.pain-mpmc.com/ref.html','','135')

oCMenu.makeMenu('top8','','Useful Links','http://www.pain-mpmc.com/employment.html','','','','images/employ1.gif','images/employ.gif')
	
oCMenu.makeMenu('top9','','Useful Links','http://www.pain-mpmc.com/links.html','','','','images/links1.gif','images/links.gif')



//Leave this line - it constructs the menu
oCMenu.construct()	
