/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com - Version 4.0_beta
This script can be used freely as long as all copyright messages are intact.
******************************************************************************/
/*** 
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 = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=325
oCMenu.fromTop=227   
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg=""
oCMenu.zIndex=0



//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=120
oCMenu.level[0].height=20 
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=-19
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=120
oCMenu.level[1].height=17
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="left" 
oCMenu.level[1].offsetX=30
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','','Welcome','index.php','','105')
	
oCMenu.makeMenu('top1','','Dance With Me','whoweare.php','','120')
	oCMenu.makeMenu('sub10','top1','Who is Dance With Me','whoweare.php')
	oCMenu.makeMenu('sub11','top1','Affiliations','whoweare.php#affiliates')
	oCMenu.makeMenu('sub12','top1','Disclaimer','whoweare.php#disclaimer')
	
oCMenu.makeMenu('top2','','Styles & Prices','dancestyles.php','','140')
	oCMenu.makeMenu('sub20','top2','Dance Prices','danceprices.php')
	oCMenu.makeMenu('sub21','top2','Latin American','dancestyles.php#latin')
	oCMenu.makeMenu('sub22','top2','Ballroom','dancestyles.php#ballroom')
	oCMenu.makeMenu('sub23','top2','Speciality','dancestyles.php#speciality')
	oCMenu.makeMenu('sub24','top2','Freestyle','dancestyles.php#freestyle')
	oCMenu.makeMenu('sub25','top2','Hip Hop','dancestyles.php#hiphop')
	oCMenu.makeMenu('sub26','top2','Line Dancing','dancestyles.php#linedance')
//	oCMenu.makeMenu('sub27','top2','Solo Latino','dancestyles.php#sololatino')
//	oCMenu.makeMenu('sub28','top2','Formation Teams','dancestyles.php#formation')
	oCMenu.makeMenu('sub29','top2','Belly Dancing','dancestyles.php#bellydancing')

//oCMenu.makeMenu('top3','','Dance Prices','prices.php','','95')
//	oCMenu.makeMenu('sub31','top3','Latin American','prices.php#latin')
//	oCMenu.makeMenu('sub32','top3','Ballroom','prices.php#ballroom')
//	oCMenu.makeMenu('sub33','top3','Speciality','prices.php#speciality')
//	oCMenu.makeMenu('sub34','top3','Freestyle','prices.php#freestyle')
//	oCMenu.makeMenu('sub35','top3','Hip Hop','prices.php#hiphop')
//	oCMenu.makeMenu('sub36','top3','Line Dancing','prices.php#linedance')
//	oCMenu.makeMenu('sub38','top3','Solo Latino','prices.php#sololatino')
//	oCMenu.makeMenu('sub39','top3','Formation Teams','prices.php#formation')

oCMenu.makeMenu('top5','','Events','functions.php','','110')

oCMenu.makeMenu('top4','','Instructors','danceinstructors.php','','120')

//oCMenu.makeMenu('top6','','Gallery','gallery.php','','60')

oCMenu.makeMenu('top7','','Contacts','contacts.php','','65')

//Leave this line - it constructs the menu
oCMenu.construct()
