//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties
oCMenu.pxBetween=1
oCMenu.fromLeft=181
oCMenu.fromTop=37
oCMenu.rows=1
oCMenu.menuPlacement="center"
                                                             
//Uncomment next two if script breaks
//oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/"
//oCMenu.onlineRoot="../scripts/coolmenus/"
oCMenu.resizeCheck=1
oCMenu.wait=250
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="menu"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX="menu"
//The script breaks if I change oCMenu.barY to equal "menu"
oCMenu.barY=36
oCMenu.barBorderX=1
oCMenu.barBorderY=1
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=110
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=2
//oCMenu.level[0].cliptim=2
//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+40
oCMenu.level[1].height=18
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[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=2
oCMenu.level[1].cliptim=2
//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=150
oCMenu.level[2].height=18
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"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/
//This makes Home Button
oCMenu.makeMenu('top000','','Home','http://www.orthoii.com/index.asp','',31,15)

//This makes Products Button and Sub Menu
oCMenu.makeMenu('top001','','Products','http://www.orthoii.com/products/','',47,15)
	oCMenu.makeMenu('sub010','top001','ViewPoint Practice Management','http://www.orthoii.com/products/Viewpoint/')
	//oCMenu.makeMenu('sub011','top001','VP Glance','http://www.orthoii.com/products/index.asp#VP_Glance')
	//oCMenu.makeMenu('sub012','top001','HR Manager','http://www.orthoii.com/products/index.asp#HR_Manager')
	oCMenu.makeMenu('sub013','top001','Integrations','http://www.orthoii.com/products/integrations/')
	oCMenu.makeMenu('sub014','top001','VP WebAccess','http://www.orthoii.com/products/VPWebAccess/index.asp')
	oCMenu.makeMenu('sub015','top001','Graduate Program','http://www.orthoii.com/graduate/')
	oCMenu.makeMenu('sub016','top001','Equipment','http://www.orthoii.com/products/Equipment/index.asp')

//This makes Demos Button and Sub Menu
oCMenu.makeMenu('top2','','Demos','http://www.orthoii.com/freeDemoInfo/','',37,15)
	//oCMenu.makeMenu('sub21','top2','ViewPoint Demo','http://www.orthoii.com/Demos/index.html','_blank')

//This makes Support Button and Sub Menu
oCMenu.makeMenu('top003','','Support','http://www.orthoii.com/Support/','',42,15)
	//oCMenu.makeMenu('sub031','top003','Windows XP SP2','http://www.orthoii.com/KB/KW/Ortho2-ViewPoint/Other/KB-000767.asp','_blank')
	oCMenu.makeMenu('sub031','top003','VP Remote Viewer','http://www.orthoii.com/vpremote.exe')
	oCMenu.makeMenu('sub032','top003','Knowledge Base','http://www.orthoii.com/Support/Google/index.asp','_blank')
	oCMenu.makeMenu('sub033','top003','ViewPoint FAQ','http://www.orthoii.com/Support/FAQ_ViewPoint.asp')
	oCMenu.makeMenu('sub034','top003','VP WebAccess FAQ','http://www.orthoii.com/Support/FAQ_VPWebAccess.asp')
	//oCMenu.makeMenu('sub035','top003','OneTouch FAQ','http://www.orthoii.com/Support/FAQ_OneTouch.asp')
	//oCMenu.makeMenu('sub35','top3','Knowledge Base','http://www.orthoii.com/KB/KW/')
	oCMenu.makeMenu('sub035','top003','White Papers','http://www.orthoii.com/Support/whitepapers/')
	oCMenu.makeMenu('sub036','top003','Visual Help','http://www.orthoii.com/Support/VisualHelp/')
	oCMenu.makeMenu('sub037','top003','Fax Support','http://www.orthoii.com/Support/faxSupport.asp')
	oCMenu.makeMenu('sub038','top003','WebEx','http://ortho2.webex.com','_blank')
	oCMenu.makeMenu('sub039','top003','ViewPoint Online Support','http://www.orthoii.com/aboutUs/contact/reqVPSupport.asp')
	oCMenu.makeMenu('sub040','top003','OneTouch Online Support','http://www.orthoii.com/aboutUs/contact/reqOTSupport.asp')
	oCMenu.makeMenu('sub041','top003','Report Repository','http://www.orthoii.com/Support/ReportRepository/')
	oCMenu.makeMenu('sub042','top003','Find Your IP Address','http://www.orthoii.com/ip.php','_blank')

//This makes Members Button and Sub Menu
oCMenu.makeMenu('top4','','Members','http://www.orthoii.com/Members/index.asp','',50,15)
	//oCMenu.makeMenu('sub41','top4','Login','http://www.orthoii.com/Members/')
	oCMenu.makeMenu('sub41','top4','SmartCeph','http://www.orthoii.com/Members/smartCeph/index.asp')
	oCMenu.makeMenu('sub42','top4','Users Forum','http://www.orthoii.com/Members/phpBB2/')
	oCMenu.makeMenu('sub43','top4','Change Member Password','http://www.orthoii.com/members/changepass.asp')
	oCMenu.makeMenu('sub44','top4','Suggest an Enhancement','http://beta.orthoii.com/BETTI.asp', '_blank')
	oCMenu.makeMenu('sub45','top4','Report a Bug','http://beta.orthoii.com/BETTI.asp', '_blank')
	oCMenu.makeMenu('sub46','top4','Seminar Series Registration','http://www.orthoii.com/Members/seminar/register2010.asp')
	oCMenu.makeMenu('sub47','top4','Free Webinars','http://www.orthoii.com/Members/webinars/')
	oCMenu.makeMenu('sub48','top4','UGM Registration','http://www.orthoii.com/meetings/ugm/index.asp')
	oCMenu.makeMenu('sub49','top4','Customer Referral','http://www.orthoii.com/Members/referral/referral.asp')
	oCMenu.makeMenu('sub50','top4','Newsletters','http://www.orthoii.com/Members/newsletter/index.asp')
	oCMenu.makeMenu('sub51','top4','Meet the Staff','http://www.orthoii.com/Members/staff/index.asp')
	oCMenu.makeMenu('sub52','top4','Ortho2 Event Photos','http://www.orthoii.com/Members/eventPhotos/index.asp')
	oCMenu.makeMenu('sub53','top4','Request a Printed Manual','http://www.orthoii.com/Members/forms/manualRequest.asp')
	oCMenu.makeMenu('sub54','top4','SmartCeph Custom Analysis Request Form','http://www.orthoii.com/Members/smartCeph/SC-CustomAnalysis.asp', '', 150, 25)

//This makes News Button and Sub Menu
oCMenu.makeMenu('top5','','News','http://www.orthoii.com/news/','',32,15)
	//oCMenu.makeMenu('sub51','top5','ViewPoint 3.0 Coming Soon!','http://www.orthoii.com/news/index.asp#VP3ComingSoon')

//This makes Meetings Button and Sub Menu
oCMenu.makeMenu('top6','','Meetings','http://www.orthoii.com/meetings/','',49,15)
	oCMenu.makeMenu('sub61','top6','Users Group Meeting','http://www.orthoii.com/Meetings/ugm/')
		//oCMenu.level[1]=new cm_makeLevel('sub61-1','top6','UGM Subs','http://www.orthoii.com/aboutUs/contact/index.asp')
	oCMenu.makeMenu('sub62','top6','Seminar Series','http://www.orthoii.com/Meetings/seminar_series/')
	oCMenu.makeMenu('sub64','top6','Orthodontic Meetings','http://www.orthoii.com/Meetings/orthoMeetings.asp')

//This makes Partners Button and Sub Menu
oCMenu.makeMenu('top7','','Partners','http://www.orthoii.com/partners/','',46,15)
	oCMenu.makeMenu('sub71','top7','Related Links','http://www.orthoii.com/partners/relatedLinks.asp')
	oCMenu.makeMenu('sub72','top7','Consultants Corner','http://www.orthoii.com/partners/consCorner/')
	oCMenu.makeMenu('sub73','top7','Dr. Bob', 'http://www.drbobsweb.com/', '_blank')

//This makes About Us Button and Sub Menu
oCMenu.makeMenu('top8','','About Us','http://www.orthoii.com/aboutUs/','',48,15)
	oCMenu.makeMenu('sub81','top8','Company History','http://www.orthoii.com/aboutUs/compHistory.asp')
	oCMenu.makeMenu('sub82','top8','Contact Us','http://www.orthoii.com/aboutUs/contact/index.asp')
	
//This makes Dr Bob Button and Sub Menu
oCMenu.makeMenu('top9','','Staff','https://www.orthoii.com/staff/','_blank',25,15)
	//oCMenu.makeMenu('sub91','top9','Company History','http://www.orthoii.com/aboutUs/compHistory.asp')

//Leave this line - it constructs the menu
oCMenu.construct()