//Menu object creation

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   

oCMenu.pxBetween=7 // was 30

oCMenu.fromLeft=0  //was 20

oCMenu.fromTop=175

oCMenu.rows=1 

oCMenu.menuPlacement="center"

oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/projects/coolmenus/examples/" 

oCMenu.onlineRoot="" //was / 

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=170

oCMenu.barBorderX=0

oCMenu.barBorderY=0

oCMenu.barBorderClass=""

oCMenu.level[0]=new cm_makeLevel() //Add this for each new level

oCMenu.level[0].width=100 //105

oCMenu.level[0].height=16 

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=22

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=-(oCMenu.level[0].width-2)/2+20

oCMenu.level[1].offsetY=0

oCMenu.level[1].borderClass="clLevel1border"



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=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"



oCMenu.makeMenu('top6','','Home','http://www.tatwong.com/index.php')

oCMenu.makeMenu('sub1','top6','Photos','http://www.tatwong.com/gallery/')

oCMenu.makeMenu('top0','','Master Wong','http://www.tatwong.com/wong.php')

oCMenu.makeMenu('top1','','Kung Fu','')

oCMenu.makeMenu('sub2','top1','Philosophy','http://www.tatwong.com/kungfu.php')

oCMenu.makeMenu('sub3','top1','Kids Program','http://www.tatwong.com/kids.php')

oCMenu.makeMenu('sub4','top1','Adult Program','http://www.tatwong.com/adults.php')

oCMenu.makeMenu('sub5','top1','Instructors','http://www.tatwong.com/instructors.php')

oCMenu.makeMenu('sub6','top1','History','http://www.tatwong.com/history.php')

oCMenu.makeMenu('sub7','top1','Registration','http://www.tatwong.com/signup.php')

oCMenu.makeMenu('top2','','Kickboxing','')

oCMenu.makeMenu('sub8','top2','Training','http://www.tatwong.com/kickboxing.php')

//oCMenu.makeMenu('sub9','top2','Master Gao','http://www.tatwong.com/gao.php')

oCMenu.makeMenu('sub10','top2','Registration','http://www.tatwong.com/signup.php')

oCMenu.makeMenu('top3','','Lion Dancing','')

oCMenu.makeMenu('sub11','top3','Lion Team','http://www.tatwong.com/lion.php')

oCMenu.makeMenu('sub12','top3','Booking','http://www.tatwong.com/booking.php')

oCMenu.makeMenu('sub13','top3','Clients','http://www.tatwong.com/clients.php')

oCMenu.makeMenu('sub14','top3','Registration','http://www.tatwong.com/orderLion.php')

//oCMenu.makeMenu('top4','','Distance Learning','')

//oCMenu.makeMenu('sub15','top4','Description','http://www.tatwong.com/distance.php')

//oCMenu.makeMenu('sub16','top4','Videos','http://www.tatwong.com/description.php')

//oCMenu.makeMenu('sub17','top4','FAQs','http://www.tatwong.com/faqd.php')

//oCMenu.makeMenu('sub18','top4','Order Form','http://www.tatwong.com/distance.pdf')

oCMenu.makeMenu('top5','','Get Started','')

oCMenu.makeMenu('sub19','top5','Registration','http://www.tatwong.com/signup.php')

oCMenu.makeMenu('sub20','top5','FAQ','http://www.tatwong.com/faq.php')

oCMenu.makeMenu('sub21','top5','Contact Us','http://www.tatwong.com/contact.php')

oCMenu.makeMenu('top7','','Affiliates','http://www.tatwong.com/Affiliations.php')

oCMenu.makeMenu('top8','','Archive','http://www.tatwong.com/Archive.php')

//Leave this line - it constructs the menu

oCMenu.construct()		