/*** 
This is the menu creation code - place it right after you 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 = 1

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0 
oCMenu.fromTop=158   
oCMenu.rows=2 
oCMenu.menuPlacement="center"
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=70
oCMenu.level[0].height=18 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=3
oCMenu.level[0].borderY=3
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=5
oCMenu.level[0].arrowHeight=5
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=130
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="right" 
oCMenu.level[1].offsetX=-5
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=16
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('top01','','Home','index.htm','',70)
oCMenu.makeMenu('top02','','Apprenticeships','apprenticeships.htm','','110','','','','','')
	oCMenu.makeMenu('sub021','top02','Application Form','application-form.htm','','','')
	oCMenu.makeMenu('sub022','top02','Business & Administration','business.htm','','','')
	oCMenu.makeMenu('sub023','top02','Carpentry','carpentry.htm','','','')	
	oCMenu.makeMenu('sub024','top02','Children&#8217;s Care, Learning & Development','children-care.htm','','','30')
	oCMenu.makeMenu('sub025','top02','Electro-Technical Services','electro-technical.htm','','','30')
	oCMenu.makeMenu('sub026','top02','Heating & Ventilation Installation','heating.htm','','','30')
	oCMenu.makeMenu('sub027','top02','How to apply for an Apprenticeship','howtoapply.htm','','','30')
	oCMenu.makeMenu('top03','','Employers','employers.htm','','80','','','','','')
	oCMenu.makeMenu('sub031','top03','What are the benefits for my business?','employers.htm#benefits','','','30')
	oCMenu.makeMenu('sub032','top03','What is involved?','employers.htm#involved')
	oCMenu.makeMenu('sub033','top03','Health & Safety','employers.htm#healthsafety','','','')
	oCMenu.makeMenu('sub034','top03','Equal Opportunities','employers.htm#equal','','','')
	oCMenu.makeMenu('sub035','top03','What will it cost? ','employers.htm#cost','','','')
	oCMenu.makeMenu('sub036','top03','What to do next?','employers.htm#next','','','')
	oCMenu.makeMenu('sub037','top03','FAQs','employers.htm#faqs','','','')	
oCMenu.makeMenu('top04','','Information, Advice & Guidance','info-advice-guidance.htm','',190,'','','','','')
	oCMenu.makeMenu('sub041','top04','How can I find a job?','info-advice-guidance.htm#job','','','')
	oCMenu.makeMenu('sub042','top04','CV Guidance','info-advice-guidance.htm#cv')
	oCMenu.makeMenu('sub043','top04','Interview Techniques','info-advice-guidance.htm#interview','','','')
	oCMenu.makeMenu('sub044','top04','Job Club','info-advice-guidance.htm#jobclub','','','')
	oCMenu.makeMenu('sub045','top04','EMAs','info-advice-guidance.htm#ema','','','')
	oCMenu.makeMenu('sub046','top04','Train to Gain','info-advice-guidance.htm#train','','','')
oCMenu.makeMenu('top05','','Current Vacancies','vacancies.php','',120)	
oCMenu.makeMenu('top06','','About Us','aboutus.htm','',70)
	oCMenu.makeMenu('sub061','top06','Mission Statement','aboutus.htm#mission','','','')
	oCMenu.makeMenu('sub062','top06','Equality & Diversity Policy','aboutus.htm#diversity')
	oCMenu.makeMenu('sub063','top06','Equality Improvement','aboutus.htm#improvement','','','')
	oCMenu.makeMenu('sub064','top06','Investors in People','aboutus.htm#investors','','','')
	oCMenu.makeMenu('sub065','top06','Matrix','aboutus.htm#matrix','','','')
	oCMenu.makeMenu('sub066','top06','Achievement Rates','aboutus.htm#achievement','','','')
	oCMenu.makeMenu('sub067','top06','Training Trust Personnel','aboutus.htm#personnel','','','')	
oCMenu.makeMenu('top07','','Contact Us','contactus.htm','',75)
//Leave this line - it constructs the menu
oCMenu.construct()