/*** 
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

//Menu properties   
oCMenu.pxBetween=20
oCMenu.fromTop=175
oCMenu.fromLeft=28

//We also need to "replace" the menu on resize. So:
oCMenu.onresize="oCMenu.fromLeft=28"
oCMenu.rows=0
oCMenu.menuPlacement=0
                                                             
oCMenu.offlineRoot="file:///y:/Inetpub/wwwroot/support_services" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="menu"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=1
oCMenu.barBorderY=1
oCMenu.barBorderClass="clBorderClass"

//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].filter="progid:DXImageTransform.Microsoft.Slide(duration=0.5)" 
oCMenu.level[0].width=135
oCMenu.level[0].height=25
oCMenu.level[0].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[0].offsetY=-100
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=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"
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderClass="clLevel0border"


//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=25
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].arrow="images/menu_arrow.gif"
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=10
oCMenu.level[1].align="right" 
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderClass="clLevel1border"

//SUB LEVEL[2] 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[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=135
oCMenu.level[2].height=25
oCMenu.level[2].offsetX=-(oCMenu.level[1].width-2)/2+20
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderX=1
oCMenu.level[2].borderY=1
oCMenu.level[2].arrow="images/menu_arrow.gif"
oCMenu.level[2].arrowWidth=10
oCMenu.level[2].arrowHeight=10
oCMenu.level[2].align="right" 
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"

//SUB LEVEL[3] 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[3]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[3].width=135
oCMenu.level[3].height=25
oCMenu.level[3].offsetX=(oCMenu.level[2].width-2)/2+20
oCMenu.level[3].offsetY=0
oCMenu.level[3].borderX=1
oCMenu.level[3].borderY=1
oCMenu.level[3].align="right" 
oCMenu.level[3].regClass="clLevel3"
oCMenu.level[3].overClass="clLevel3over"
oCMenu.level[3].borderClass="clLevel3border"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
//MENU ITEMS
oCMenu.makeMenu('m0','','&nbsp;Home','http://www.hudson-shribman.co.uk/Default.asp')
oCMenu.makeMenu('m1','','&nbsp;Clients')
	oCMenu.makeMenu('m5','m1','Our Work Ethic','content/content.asp?Content=ethic.htm')
	oCMenu.makeMenu('m6','m1','Our Business & Markets','content/content.asp?Content=our_business.htm')
	oCMenu.makeMenu('m7','m1','Our Candidates','content/content.asp?Content=our_candidates.htm')
	oCMenu.makeMenu('m8','m1','Contact Us','content/content.asp?Content=contact_us.htm')
	oCMenu.makeMenu('m9','m1','Service Evaluation Form','content/content.asp?Content=evaluation_form.htm')
	oCMenu.makeMenu('m10','m1','Client Services','content/content.asp?Content=client_services.htm')
oCMenu.makeMenu('m2','','&nbsp;Candidates')
	oCMenu.makeMenu('m11','m2','Current Vacancies')
    	oCMenu.makeMenu('m24','m11','Temp / Contract')
		   oCMenu.makeMenu('m28','m24','All Vacancies','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=av')
		   oCMenu.makeMenu('m29','m24','Administration','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=ad')
		   oCMenu.makeMenu('m30','m24','Banking','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=ba')
		   oCMenu.makeMenu('m31','m24','Charity','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=ch')
		   oCMenu.makeMenu('m32','m24','Computing','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=co')
		   oCMenu.makeMenu('m33','m24','Education','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=ed')
		   oCMenu.makeMenu('m34','m24','Financial Services','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=fs')
		   oCMenu.makeMenu('m35','m24','Hospital / Medical','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=hm')
		   oCMenu.makeMenu('m36','m24','Hotels & Catering','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=hc')
		   oCMenu.makeMenu('m37','m24','Property','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=pr')
		   oCMenu.makeMenu('m38','m24','Retail','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=re')
		   oCMenu.makeMenu('m39','m24','Television','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=tv')
 		   oCMenu.makeMenu('m40','m24','Other','jobs/category.asp?mode=normal&job_type=Temporary&job_cat=ot')
    	oCMenu.makeMenu('m25','m11','Permanent')
		   oCMenu.makeMenu('m41','m25','All Vacancies','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=av')
		   oCMenu.makeMenu('m42','m25','Administration','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=ad')
		   oCMenu.makeMenu('m43','m25','Banking','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=ba')
		   oCMenu.makeMenu('m44','m25','Charity','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=ch')
		   oCMenu.makeMenu('m45','m25','Computing','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=co')
		   oCMenu.makeMenu('m46','m25','Education','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=ed')
		   oCMenu.makeMenu('m47','m25','Financial Services','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=fs')
		   oCMenu.makeMenu('m48','m25','Hospital / Medical','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=hm')
		   oCMenu.makeMenu('m49','m25','Hotels & Catering','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=hc')
		   oCMenu.makeMenu('m50','m25','Property','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=pr')
		   oCMenu.makeMenu('m51','m25','Retail','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=re')
		   oCMenu.makeMenu('m52','m25','Television','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=tv')
 		   oCMenu.makeMenu('m53','m25','Other','jobs/category.asp?mode=normal&job_type=Permanent&job_cat=ot')
    	oCMenu.makeMenu('m26','m11','Both')
		   oCMenu.makeMenu('m54','m26','All Vacancies','jobs/category.asp?mode=normal&job_type=Both&job_cat=av')
		   oCMenu.makeMenu('m55','m26','Administration','jobs/category.asp?mode=normal&job_type=Both&job_cat=ad')
		   oCMenu.makeMenu('m56','m26','Banking','jobs/category.asp?mode=normal&job_type=Both&job_cat=ba')
		   oCMenu.makeMenu('m57','m26','Charity','jobs/category.asp?mode=normal&job_type=Both&job_cat=ch')
		   oCMenu.makeMenu('m58','m26','Computing','jobs/category.asp?mode=normal&job_type=Both&job_cat=co')
		   oCMenu.makeMenu('m59','m26','Education','jobs/category.asp?mode=normal&job_type=Both&job_cat=ed')
		   oCMenu.makeMenu('m60','m26','Financial Services','jobs/category.asp?mode=normal&job_type=Both&job_cat=fs')
		   oCMenu.makeMenu('m61','m26','Hospital / Medical','jobs/category.asp?mode=normal&job_type=Both&job_cat=hm')
		   oCMenu.makeMenu('m62','m26','Hotels & Catering','jobs/category.asp?mode=normal&job_type=Both&job_cat=hc')
		   oCMenu.makeMenu('m63','m26','Property','jobs/category.asp?mode=normal&job_type=Both&job_cat=pr')
		   oCMenu.makeMenu('m64','m26','Retail','jobs/category.asp?mode=normal&job_type=Both&job_cat=re')
		   oCMenu.makeMenu('m65','m26','Television','jobs/category.asp?mode=normal&job_type=Both&job_cat=tv')
 		   oCMenu.makeMenu('m66','m26','Other','jobs/category.asp?mode=normal&job_type=Both&job_cat=ot')
/******************************************
	oCMenu.makeMenu('m12','m2','Register Now','content/content.asp?Content=register_now.asp')
*************************************/
	oCMenu.makeMenu('m13','m2','Time Sheet','timesheet/default.asp?Content=tsdetails.asp')
	oCMenu.makeMenu('m14','m2','Check In Now...','content/content.asp?Content=check_in.htm')
	oCMenu.makeMenu('m15','m2','London Salary/Rates Guide','content/content.asp?Content=salary_guide1.asp')
	oCMenu.makeMenu('m16','m2','Frequently Asked Questions','content/content.asp?Content=faq.htm')
	oCMenu.makeMenu('m17','m2','2 Month Placement Check','content/content.asp?Content=Placement_check.htm')
	oCMenu.makeMenu('m18','m2','Our Clients','content/content.asp?Content=our_clients.htm')
		oCMenu.makeMenu('m27','m2','Candidate Services')
			oCMenu.makeMenu('m67','m27','Candidate Services Division','content/content.asp?Content=candidate_services_division.htm')
			oCMenu.makeMenu('m68','m27','CV Advice','content/content.asp?Content=cv_advice.htm')
			oCMenu.makeMenu('m69','m27','Interview Tips','content/content.asp?Content=interview.htm')
			oCMenu.makeMenu('m70','m27','Getting Paid','content/content.asp?Content=getting_paid.htm')
oCMenu.makeMenu('m3','','&nbsp;Information')
	oCMenu.makeMenu('m19','m3','How to Find Us','content/content.asp?Content=directions.htm')
	oCMenu.makeMenu('m20','m3','Contact Us','content/content.asp?Content=contact_us.htm')
	oCMenu.makeMenu('m21','m3','HS Consultants','content/content.asp?Content=consultants.htm')
	oCMenu.makeMenu('m22','m3','HS & Technology','content/content.asp?Content=technology.htm')
	oCMenu.makeMenu('m23','m3','Equal Opportunities','content/content.asp?Content=equal_opps.htm')
/***** oCMenu.makeMenu('m4','','&nbsp;Search','jobs/search.asp') ****/

oCMenu.construct()	