/*** 
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"

/******************************************
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('m2','','&nbsp;Candidates')
	oCMenu.makeMenu('m9','m2','Current Vacancies')

		oCMenu.makeMenu('m40','m9','Scientific')
		oCMenu.makeMenu('m41','m9','Engineering','jobs/category.asp?mode=normal&job_cat=eg')

			oCMenu.makeMenu('m18','m40','General Vacancies','jobs/category.asp?mode=normal&job_cat=gv')
			oCMenu.makeMenu('m19','m40','Biochemistry','jobs/category.asp?mode=normal&job_cat=bi')
			oCMenu.makeMenu('m20','m40','Biological Sciences','jobs/category.asp?mode=normal&job_cat=bs')
			oCMenu.makeMenu('m21','m40','Chemistry','jobs/category.asp?mode=normal&job_cat=ch')
			oCMenu.makeMenu('m22','m40','Clinical','jobs/category.asp?mode=normal&job_cat=cl')
			oCMenu.makeMenu('m23','m40','Environmental','jobs/category.asp?mode=normal&job_cat=en')
			oCMenu.makeMenu('m24','m40','Food Science','jobs/category.asp?mode=normal&job_cat=fs')
			oCMenu.makeMenu('m25','m40','Marketing','jobs/category.asp?mode=normal&job_cat=ma')
			oCMenu.makeMenu('m26','m40','Materials Science','jobs/category.asp?mode=normal&job_cat=ms')
			oCMenu.makeMenu('m27','m40','Microbiology','jobs/category.asp?mode=normal&job_cat=mi')
			oCMenu.makeMenu('m28','m40','Pharma Sciences','jobs/category.asp?mode=normal&job_cat=ps')
			oCMenu.makeMenu('m29','m40','QC / QA','jobs/category.asp?mode=normal&job_cat=qc')
			oCMenu.makeMenu('m30','m40','Reg Affairs','jobs/category.asp?mode=normal&job_cat=ra')
			oCMenu.makeMenu('m31','m40','Sales / Business Dev','jobs/category.asp?mode=normal&job_cat=sb')
			oCMenu.makeMenu('m32','m40','All Vacancies','jobs/category.asp?mode=normal&job_cat=av')
/******************************************
	oCMenu.makeMenu('m10','m2','Register Now','content/content.asp?Content=register_now.asp')
*************************************/
	oCMenu.makeMenu('m11','m2','Time Sheet','timesheet/default.asp?Content=tsdetails.asp')
	oCMenu.makeMenu('m12','m2','Check In Now...','content/content.asp?Content=check_in.htm')
	oCMenu.makeMenu('m13','m2','Our Clients','content/content.asp?Content=our_clients.htm')
oCMenu.makeMenu('m3','','&nbsp;Information')
	oCMenu.makeMenu('m14','m3','How to Find Us','content/content.asp?Content=directions.htm')
	oCMenu.makeMenu('m15','m3','Candidate Services')
		oCMenu.makeMenu('m33','m15','CV Advice','content/content.asp?Content=cv_advice.htm')
		oCMenu.makeMenu('m34','m15','Interview Tips','content/content.asp?Content=interview.htm')
		oCMenu.makeMenu('m35','m15','Getting Paid','content/content.asp?Content=getting_paid.htm')
	oCMenu.makeMenu('m16','m3','Client Services','content/content.asp?Content=client_services.htm')
	oCMenu.makeMenu('m17','m3','General Info')
		oCMenu.makeMenu('m36','m17','Contact Us','content/content.asp?Content=contact_us.htm')
		oCMenu.makeMenu('m37','m17','HS Consultants','content/content.asp?Content=consultants.htm')
		oCMenu.makeMenu('m38','m17','HS & Technology','content/content.asp?Content=technology.htm')
		oCMenu.makeMenu('m39','m17','Equal Opportunities','content/content.asp?Content=equal_opps.htm')
/***** oCMenu.makeMenu('m4','','&nbsp;Search','jobs/search.asp') ****/

oCMenu.construct()	