oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=!bw.moz?(cmpage.x2 - 920)/2:(cmpage.x2 - 955)/2
oCMenu.fromTop=127
oCMenu.rows=0 
oCMenu.menuPlacement="left"
oCMenu.onresize="oCMenu.fromLeft=!bw.moz?(cmpage.x2 - 920)/2:(cmpage.x2 - 955)/2"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="http://www.capetalk.co.za/pages/" 
oCMenu.resizeCheck=1 
oCMenu.wait=300  
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"
oCMenu.barY="menu"
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=153
oCMenu.level[0].height=21
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="right"

//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=170
oCMenu.level[1].height=21
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
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"
oCMenu.level[1].align="top" 

/******************************************
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('news','','News','http://www.ewn.co.za/default.aspx','','','','images/menu_01.gif','images/menu_01-over.gif')
	oCMenu.makeMenu('sub11','news','Eyewitness News','http://www.ewn.co.za/default.aspx')
	oCMenu.makeMenu('sub13','news','Business','http://www.ewn.co.za/Business.aspx')
	oCMenu.makeMenu('sub14','news','Sport','http://www.ewn.co.za/Default.aspx?CatId=2')

oCMenu.makeMenu('onair','','On Air','onair/heardonair/heardonair.asp','','','','images/menu_02.gif','images/menu_02-over.gif')
	oCMenu.makeMenu('sub21','onair','Heard on Air','onair/heardonair/heardonair.asp')
	oCMenu.makeMenu('sub22','onair','Presenter Profiles','allprofiles.asp')
	oCMenu.makeMenu('sub23','onair','Lineup','onair/lineup.asp')
	//oCMenu.makeMenu('sub24','onair','Order Copies','onair/ordercopies.asp')//
	oCMenu.makeMenu('sub25','onair','Tune In','onair/tunein/tunein.asp')

oCMenu.makeMenu('567view','','567','photoalbum/gallery.asp','','','','images/menu_03.gif','images/menu_03-over.gif')
	oCMenu.makeMenu('sub31','567view','Gallery','https://picasaweb.google.com/103320267361794195594/')
	//oCMenu.makeMenu('sub32','567view','Seen at 567','photoalbum/seen/gallery.asp')//
	
oCMenu.makeMenu('whatson','','Whatson','events/whatson/whatson.asp','','','','images/menu_07.gif','images/menu_07-over.gif')

oCMenu.makeMenu('702inview','','702 In View','competitions/winners.asp','','','','images/menu_04.gif','images/menu_04-over.gif')
	oCMenu.makeMenu('sub51','702inview','What you can win','competitions/competitions.asp')
	oCMenu.makeMenu('sub52','702inview','Winners','competitions/winners.asp')


oCMenu.makeMenu('competitions','','Competitions','','','','','images/menu_06.gif','images/menu_06-over.gif')
	//oCMenu.makeMenu('sub61','competitions','Classifieds','classifieds/login.asp')//
	oCMenu.makeMenu('sub62','competitions','Press Centre','presscentre/press.asp')
	oCMenu.makeMenu('sub63','competitions','Podcasting','podcast/podcasts.asp')
	
oCMenu.makeMenu('contact','','Contact','onair/contactus/contactus.asp','','','','images/menu_05.gif','images/menu_05-over.gif')
	
//Leave this line
oCMenu.construct()			
