//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=15
oCMenu.fromLeft=20 
oCMenu.fromTop=260   
oCMenu.rows=0 
oCMenu.menuPlacement="0"
                                                             
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="menu"
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 specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=130
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=1
oCMenu.level[0].offsetY=5
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"

//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)" 


//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=18
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=2
oCMenu.level[1].borderY=2
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=180
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) 
*************************************/
oCMenu.makeMenu('top0','','Home Page','content/school.htm','ContentFrame')

oCMenu.makeMenu('top01','','Our People >')
	oCMenu.makeMenu('sub01','top01','Who are We? >')	
		oCMenu.makeMenu('sub02','sub01','Senior Management Team','content/people/smt2008.htm','ContentFrame')
		oCMenu.makeMenu('sub03','sub01','House Deans','content/people/deanshouse2008.htm','ContentFrame')
		oCMenu.makeMenu('sub04','sub01','House Structure','content/people/houses2008.htm','ContentFrame')
		oCMenu.makeMenu('sub05','sub01','House Points','content/people/housenews.htm','ContentFrame')
		oCMenu.makeMenu('sub06','sub01','Year Deans','content/people/deansyear2008.htm','ContentFrame')
		
	oCMenu.makeMenu('sub07','top01','Contact the College >')
		oCMenu.makeMenu('sub08','sub07','Office','mailto:office@manawatucollege.school.nz','ContentFrame',110,0)
		oCMenu.makeMenu('sub09','sub07','Principal','mailto:principal@manawatucollege.school.nz','ContentFrame',110,0)		
		oCMenu.makeMenu('sub10','sub07','The Webmaster','mailto:webmaster@manawatucollege.school.nz','ContentFrame',110,0)

oCMenu.makeMenu('top03','','Our Place','content/map/map.htm','ContentFrame',100,0)

oCMenu.makeMenu('top04','','Courses >')
	
	oCMenu.makeMenu('sub15','top04','MAC >','','ContentFrame',140,0)
		oCMenu.makeMenu('sub016','sub15','About MAC','content/courses/mac/mac.htm','ContentFrame',110,0)
		
	oCMenu.makeMenu('sub017','top04','NCEA >','','ContentFrame',140,0)
		oCMenu.makeMenu('sub019','sub017','Subjects','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub021','sub019','Languages','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub022','sub019','Mathematics','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub023','sub019','Science','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub024','sub019','Technology','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub025','sub019','Social Sciences','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub026','sub019','Arts','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub027','sub019','Health','content/courses/ncea/subjects.htm','ContentFrame',90,0)
			oCMenu.makeMenu('sub028','sub019','Vocational','content/courses/ncea/subjects.htm','ContentFrame',90,0)

		oCMenu.makeMenu('sub029','sub017','NCEA website','http://www.nzqa.govt.nz/ncea/index.html','ContentFrame',90,0)
		
		
oCMenu.makeMenu('top05','','Newsletter >','','ContentFrame',100,0)
	oCMenu.makeMenu('sub30','top05','April','content/aprmana.pdf','ContentFrame',100,0)
	oCMenu.makeMenu('sub31','top05','May','content/maymana.pdf','ContentFrame',100,0)
	oCMenu.makeMenu('sub32','top05','June','content/junmana.pdf','ContentFrame',100,0)
	oCMenu.makeMenu('sub33','top05','July','content/julmana.pdf','ContentFrame',100,0)
	oCMenu.makeMenu('sub34','top05','August','content/augmana.pdf','ContentFrame',100,0)
	oCMenu.makeMenu('sub35','top05','September','content/sepmana.pdf','ContentFrame',100,0)
	oCMenu.makeMenu('sub36','top05','December','content/decmana.pdf','ContentFrame',100,0)


oCMenu.makeMenu('top50','','College Login >','','ContentFrame',120,0)
		oCMenu.makeMenu('sub098','top50','My KnowledgeNET','http://manawatu.knowledge.net.nz','ContentFrame',125,0)
		oCMenu.makeMenu('sub099','top50','My eMail','http://www.manawatucollege.school.nz/mymail','ContentFrame',125,0)


//Leave this line - it constructs the menu
oCMenu.construct()	









