/*** 
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','UK Vacancies','jobs/category.asp?division=accountancy&mode=normal&job_cat=av')
	oCMenu.makeMenu('m12','m2','Overseas Vacancies','jobs/category.asp?division=os_accountancy&mode=normal&job_cat=av')
	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=Accountancy_placement_check.htm')
	oCMenu.makeMenu('m18','m2','Our Clients','content/content.asp?Content=our_clients.htm')
	oCMenu.makeMenu('m19','m2','Candidate Services')
		oCMenu.makeMenu('m25','m19','Candidate Services Division','content/content.asp?Content=candidate_services_division.htm')
		oCMenu.makeMenu('m26','m19','CV Advice','content/content.asp?Content=cv_advice.htm')
		oCMenu.makeMenu('m27','m19','Interview Tips','content/content.asp?Content=interview.htm')
		oCMenu.makeMenu('m28','m19','Getting Paid','content/content.asp?Content=getting_paid.htm')
oCMenu.makeMenu('m3','','&nbsp;Information')
	oCMenu.makeMenu('m20','m3','How to Find Us','content/content.asp?Content=directions.htm')
	oCMenu.makeMenu('m21','m3','Contact Us','content/content.asp?Content=contact_us.htm')
	oCMenu.makeMenu('m22','m3','HS Consultants','content/content.asp?Content=consultants.htm')
	oCMenu.makeMenu('m23','m3','HS & Technology','content/content.asp?Content=technology.htm')
	oCMenu.makeMenu('m24','m3','Equal Opportunities','content/content.asp?Content=equal_opps.htm')
/***** oCMenu.makeMenu('m4','','&nbsp;Search','jobs/search.asp') ****/

oCMenu.construct()	
