// JavaScript Document
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=90 
oCMenu.fromTop=70   
oCMenu.rows=1 
oCMenu.menuPlacement=new Array(90,145,215,310,400,550)
                                                             
oCMenu.offlineRoot="file:///C|/Inetpub/drclaytonchan.com/" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//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 spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=160
oCMenu.level[0].height=25 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
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-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=0//-oCMenu.level[0].width*.4
oCMenu.level[1].offsetY=0//15
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=oCMenu.level[0].width
oCMenu.level[2].height=20
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"

/********************************************************************************
Construct your menus below
********************************************************************************/
//MAIN 0

//Main items:
// makeMenu(MAIN_NUM,'TEXT','LINK','FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
oCMenu.makeMenu('topA','','Home','index.html','')
	

//MAIN 0

//Main items:
// makeMenu(MAIN_NUM,'TEXT','LINK','FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
oCMenu.makeMenu('top0','','Office','')
	//Sub items:
	// makeMenu(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL,'FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
	oCMenu.makeMenu('sub00','top0','Staff','','')
	oCMenu.makeMenu('sub01','top0','Office','','')
	oCMenu.makeMenu('sub02','top0','Philosophy & Mission Statement','office/philosophyandmission/philandmission.html','')
	oCMenu.makeMenu('sub03','top0','Comprehensive Dentistry','','')
		//SubSub items:
		// makeMenu(MAIN_NUM,SUB_NUM,SUBSUB_NUM,'TEXT','LINK',TOTAL,'FRAME_TARGET')
		oCMenu.makeMenu('sub001','sub00','Doctor','office/staff/doctor.html','')
		//oCMenu.makeMenu('sub002','sub00','Front Office','http://www.drclaytonchan.com/office/staff/front.html','')
		//oCMenu.makeMenu('sub003','sub00','Assistant','http://www.drclaytonchan.com/office/staff/assistant.html','')
		//oCMenu.makeMenu('sub004','sub00','Hygenist','http://www.drclaytonchan.com/office/staff/hygenist.html','')
		
		oCMenu.makeMenu('sub011','sub01','First Visit','office/office/firstvisit.html','')
		oCMenu.makeMenu('sub012','sub01','Office Hours & Location','office/office/hourslocation.html','')
		oCMenu.makeMenu('sub013','sub01','Private Consultation','office/office/privconsultation.html','')
		oCMenu.makeMenu('sub014','sub01','Emergencies','office/office/emergencies.html','')
		oCMenu.makeMenu('sub015','sub01','Understanding Cost','office/office/cost.html','')
		oCMenu.makeMenu('sub016','sub01','Insurance','office/office/insurance.html','')
		
		oCMenu.makeMenu('sub031','sub03','A Progressive Approach','office/comprehensivedentistry/progapproach.html','')

//MAIN 1		
oCMenu.makeMenu('top1','','Treatment','','')
	oCMenu.makeMenu('sub11','top1','TMJ/Myofacial Pain','','')
	oCMenu.makeMenu('sub12','top1','Neuromuscular Dentistry','','')
	oCMenu.makeMenu('sub13','top1','Functional Orthodontics','','')
	oCMenu.makeMenu('sub14','top1','Aesthetic Dentistry','','')
		
		oCMenu.makeMenu('sub111','sub11','What is TMJ?','treatment/tmj/whatisit.html','')
		oCMenu.makeMenu('sub112','sub11','How to treat it','treatment/tmj/howtotreatit.html','')
		oCMenu.makeMenu('sub113','sub11','The Controversy','treatment/tmj/thecontroversy.html','')
		oCMenu.makeMenu('sub114','sub11','Pain Sufferers','treatment/tmj/painsufferers.html','')
		oCMenu.makeMenu('sub115','sub11','Key to TMJ success ','treatment/tmj/tmjsuccess.html','')
		oCMenu.makeMenu('sub116','sub11','Treatment Protocol','treatment/tmj/protocol.html','')
		oCMenu.makeMenu('sub117','sub11','Treatment Rationale','treatment/tmj/tmjsuccess.html','')

		oCMenu.makeMenu('sub121','sub12','What is it?','treatment/neuro/whatisit.html','')		
		oCMenu.makeMenu('sub122','sub12','Case Studies','treatment/neuro/casestudies.html','')
		oCMenu.makeMenu('sub123','sub12','Toothaches & Treatment','treatment/neuro/toothachestreatmentoptions.html','')
		oCMenu.makeMenu('sub124','sub12','The Great Debate','treatment/neuro/greatdebate.html','')

		oCMenu.makeMenu('sub131','sub13','What is it?','treatment/ortho/whatisit.html','')
		oCMenu.makeMenu('sub132','sub13','Young Patients','treatment/ortho/children.html','')
		oCMenu.makeMenu('sub133','sub13','Protocol','treatment/ortho/protocol.html','')
		oCMenu.makeMenu('sub134','sub13','Extracting wisdom teeth','treatment/ortho/extractions.html','')
		oCMenu.makeMenu('sub135','sub13','Case Studies','treatment/ortho/casestudies.html','')
		oCMenu.makeMenu('sub136','sub13','Testimony','treatment/ortho/testimony.html','')

		oCMenu.makeMenu('sub141','sub14','Case Studies','treatment/aesth/casestudies.html','')
		oCMenu.makeMenu('sub142','sub14','Quick Clips 1','treatment/aesth/quickclips.html','')
		oCMenu.makeMenu('sub143','sub14','Quick Clips 2','treatment/aesth/quickclips1.html','')
		oCMenu.makeMenu('sub144','sub14','Complex Cases','treatment/neuro/casestudies.html','')

//MAIN 2		
oCMenu.makeMenu('top2','','Diagnostics','','')
	oCMenu.makeMenu('sub21','top2','Diagnostic Instrumentation','','')
	oCMenu.makeMenu('sub22','top2','Objective Documentation','','')
	oCMenu.makeMenu('sub23','top2','Medical/Legal','diagnostics/medlegal.html','')

		oCMenu.makeMenu('sub211','sub21','Computerized Instrumentation','diagnostics/diag/computer.html','')
		oCMenu.makeMenu('sub212','sub21','Other Diagnostic Aids','diagnostics/diag/other.html','')

		oCMenu.makeMenu('sub221','sub22','The Need for it','diagnostics/objective/need.html','')
		oCMenu.makeMenu('sub222','sub22','Confirming Evidence','diagnostics/objective/evidence.html','')	
		oCMenu.makeMenu('sub223','sub22','Supportive Literature','diagnostics/objective/lit.html','')


//MAIN 3		
oCMenu.makeMenu('top3','','Doctors Perspective','','')
	oCMenu.makeMenu('sub31','top3','A Personal Perspective','drperspec/personal.html','')
	oCMenu.makeMenu('sub32','top3','Editorials','','')
	oCMenu.makeMenu('sub33','top3','Occlusion Theories','drperspec/theories.html','')
	oCMenu.makeMenu('sub34','top3','Doctors Only','drperspec/dronly.html','')
	oCMenu.makeMenu('sub35','top3','Letters','','')
	oCMenu.makeMenu('sub36','top3','Bibliography','drperspec/biblio.html','')

		oCMenu.makeMenu('sub321','sub32','Topics of Interest','drperspec/editorials/editorials.html','')
		oCMenu.makeMenu('sub322','sub32','Considerations','drperspec/editorials/considerations.html','')
		oCMenu.makeMenu('sub351','sub35','The Great Debate','treatment/neuro/greatdebate.html','')

		oCMenu.makeMenu('sub361','sub36','To NJ State Board of Dentistry','drperspec/editorials/letter.html','')


//MAIN 4		
oCMenu.makeMenu('top4','','Mentoring Program','','')
	oCMenu.makeMenu('sub41','top4','Overview','mentoring/overview.html','')
	oCMenu.makeMenu('sub42','top4','Programs','mentoring/programs.html','')
	oCMenu.makeMenu('sub43','top4','Lecture Schedule','mentoring/lecture.html','')	


/********************************************************************************
End menu construction
********************************************************************************/
		
		
//When all the menus are written out we initiates the menu
oCMenu.construct()