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

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromTop=210  
oCMenu.fromLeft=0 
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot=""
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=105
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=0
oCMenu.level[0].offsetY=20
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="center"

//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=160
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].offsetX=100
oCMenu.level[1].offsetY=0
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=90
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=100
oCMenu.level[2].offsetY=-8
oCMenu.level[2].regClass="clLevel1"
oCMenu.level[2].overClass="clLevel1over"
oCMenu.level[2].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('top5','','Boats','')
		oCMenu.makeMenu('sub07','top5','Black Manta - Thailand','http://www.blackmanta.liveaboarddiving.net/')
	    oCMenu.makeMenu('sub06','top5','Mermaid II - Thailand','http://www.liveaboarddiving.net/Mermaid2_Similan_islands.html')
	    oCMenu.makeMenu('sub08','top5','Pawara - Thailand','http://www.pawara.liveaboarddiving.net')
		oCMenu.makeMenu('sub05','top5','Mermaid I - Burma','http://www.liveaboarddiving.net/Mermaid1_burma.html')

	

oCMenu.makeMenu('top0','','Destinations','')
oCMenu.makeMenu('sub21','top0','Hin Daeng','http://www.liveaboarddiving.net/Mermaid2_Hin_daeng.html')
oCMenu.makeMenu('sub20','top0','Similan islands','http://www.similanislandsliveaboard.com')
oCMenu.makeMenu('sub22','top0','Burma','http://www.divinginburma.com')
oCMenu.makeMenu('sub23','top0','Indonesia','http://www.indonesia.liveaboarddiving.net/')
oCMenu.makeMenu('sub24','top0','Maldives','http://www.divingthemaldives.com')
oCMenu.makeMenu('sub25','top0','India - Andaman islands','http://www.andamanislands.liveaboarddiving.net')

	

	oCMenu.makeMenu('top8','','Schedules','')
     oCMenu.makeMenu('sub31','top8','All Thailand schedules','http://www.liveaboarddiving.net/Thailand_schedules.html')
    oCMenu.makeMenu('sub32','top8','Mermaid2','http://www.liveaboarddiving.net/Mermaid2_schedule.html#2009-10')
	oCMenu.makeMenu('sub33','top8','Black Manta','http://www.blackmanta.liveaboarddiving.net#schedule')
	oCMenu.makeMenu('sub34','top8','Pawara','http://www.pawara.liveaboarddiving.net#schedule')
	oCMenu.makeMenu('sub35','top8','Mermaid1','http://www.liveaboarddiving.net/Mermaid1_Burma_schedule.html')
     	

	oCMenu.makeMenu('top2','',' Prices','')
	oCMenu.makeMenu('sub62','top2','Black Manta','http://www.blackmanta.liveaboarddiving.net#prices')
    oCMenu.makeMenu('sub61','top2','Mermaid2','http://www.liveaboarddiving.net/Mermaid_prices.html#similans')
	oCMenu.makeMenu('sub63','top2','Pawara','http://www.pawara.liveaboarddiving.net#prices')
    oCMenu.makeMenu('sub64','top2','Mermaid1','http://www.liveaboarddiving.net/Mermaid_prices.html#burma')
	oCMenu.makeMenu('sub65','top2','Special offers','http://www.liveaboarddiving.net/deals.html#Thailand')


oCMenu.makeMenu('top3','','Info packs','')
oCMenu.makeMenu('sub102','top3','Black Manta Thailand','http://www.liveaboarddiving.net/info_packs/Black_Manta-2009-10.pdf')
oCMenu.makeMenu('sub109','top3','Mermaid2 Thailand','http://www.liveaboarddiving.net/info_packs/MMII-Thailand-2009-2010.pdf')
oCMenu.makeMenu('sub115','top3','Pawara Thailand','http://www.liveaboarddiving.net/info_packs/Pawara-2009-2010.pdf')


     oCMenu.makeMenu('top1','','Inquiries','')
     oCMenu.makeMenu('sub82','top1','Black Manta inquiries','http://www.liveaboarddiving.net/inquiries6.html')
	 oCMenu.makeMenu('sub81','top1','Mermaid inquiries','http://www.liveaboarddiving.net/inquiries2.html')
     oCMenu.makeMenu('sub83','top1','Pawara inquiries','http://www.liveaboarddiving.net/inquiriesPW.html')

oCMenu.makeMenu('top7','',' Contact','')
	oCMenu.makeMenu('sub91','top7','info@liveaboarddiving.net','mailto:info@liveaboarddiving.net')
	oCMenu.makeMenu('sub92','top7','Contact details','http://www.liveaboarddiving.net/contactdetails.html')
	oCMenu.makeMenu('sub93','top7','About us','http://www.liveaboarddiving.net/about_us.html')
	oCMenu.makeMenu('sub94','top7','Receive the latest offers email','http://www.liveaboarddiving.net/offers.html')
	oCMenu.makeMenu('sub95','top7','Subscribe to my Rss feed','http://www.liveaboarddiving.net/Rss/subscribe.html')
	oCMenu.makeMenu('sub96','top7','Add to My Yahoo','http://www.liveaboarddiving.net/Rss/subscribe.html')
	oCMenu.makeMenu('sub97','top7','Add to igoogle','http://www.liveaboarddiving.net/Rss/subscribe.html')
	oCMenu.makeMenu('sub98','top7','Reciprocal linking','http://www.liveaboarddiving.net/links.html')





//Leave this line - it constructs the menu
oCMenu.construct()	