var pageWidth=0;
function getScrollXY() {
  pageWidth=document.body.clientWidth || innerWidth;
}
function init()
{
	  var moz = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined');
	  var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
      var ie = (typeof window.ActiveXObject != 'undefined');
	 
		 if (ie) 
        { 
            var posLeft =-86;	
         } 
		  else if (is_chrome == true) 
        { 
			if(pageWidth==1280)		
			
				var posLeft =-76;	
			else
            	var posLeft =-76;	
         } 
		  else if (safari)
        {     
        	 var posLeft =-76;	
        } 
		  else if (opera)
        {     
			
        	 var posLeft =-76;	
        } 
		
		 else if (moz)
        {     
        	 var posLeft =-86;	
        } 
		
	
	var menuType = "vertical";
	var subMenuType = "vertical";
	var xPos = 0;
	var yPos = 0;
	var MainBg = "#14253d";
	var ManeBgHover = "#d6d600";
	var fontFamily = "Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular";
	var fontSize = 10;
	var fontWeight = "bold";
	var fontWeightHover = "bold";
	var fontColor = "#ffffff";
	var fontColorHover = "#1d2c47";
	var borderSize = 0;
	var borderColor = "#2d4c77";
	var paddingTopLeft = 4;
	var rollOverArrows = "rollover:images/tri.gif:images/tri.gif";
	var UnfoldsOnClick = false;
	var MenuSlide = 27;
	
	menus[0] = new menu(225, menuType, posLeft, posTop+10, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, borderSize, borderColor, 0, rollOverArrows, UnfoldsOnClick, true, true, true, MenuSlide, true, 0, 0, "black");
	menus[0].addItem("index.html", "", 43, "left", "rollover:images/home-off.jpg:images/home-on.jpg", 0);	
	menus[0].addItem("who-we-are.html", "", 43, "left", "rollover:images/about-us-off.jpg:images/about-us-on.jpg", 5);	
	menus[0].addItem("services.html", "", 43, "left", "rollover:images/services-off.jpg:images/services-on.jpg", 6);		
	menus[0].addItem("medical-dental-recruitment.html", "", 43, "left", "rollover:images/employers-off.jpg:images/employers-on.jpg", 2);
	menus[0].addItem("human-resources.html", "", 43, "left", "rollover:images/human-resources-off.jpg:images/human-resources-on.jpg", 0);
	menus[0].addItem("medical-jobs.html", "", 43, "left", "rollover:images/jobseekers-off.jpg:images/jobseekers-on.jpg", 3);
	menus[0].addItem("short-courses.html", "", 43, "left", "rollover:images/short-courses-off.jpg:images/short-courses-on.jpg", 0);
	menus[0].addItem("why-choose-indigo.html", "", 43, "left", "rollover:images/qualifications-off.jpg:images/qualifications-on.jpg", 4);
	menus[0].addItem("workplace-assessment-centre.html", "", 55, "left", "rollover:images/workplace-assessment-centre-off.jpg:images/workplace-assessment-centre-on.jpg", 0);
	menus[0].addItem("marketing-communications.html", "", 43, "left", "rollover:images/resources-products-off.jpg:images/resources-products-on.jpg", 7);
	menus[0].addItem("faq.html", "", 43, "left", "rollover:images/faq-off.jpg:images/faq-on.jpg", 0);
	menus[0].addItem("contact-us.html", "", 43, "left", "rollover:images/contact-us-off.jpg:images/contact-us-on.jpg", 0);
	menus[0].floatMenu(800, 600, 0, 0);

	menus[1] = new menu(140, subMenuType, posLeft, posTop, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black");
	menus[1].addItem("colchester-hospital.html", "", 20, "left", ":: Our Staff", 0);
	menus[1].addItem("contact-us.html", "", 20, "left", ":: Our Contact", 0);
	
	menus[2] = new menu(270, subMenuType, posLeft, posTop, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black");
	//menus[2].addItem("dental-training.html", "", 20, "left", ":: Medical/Dental Training", 0);
	menus[2].addItem("services-training.html", "", 20, "left", ":: Medical/Dental Training", 0);
	menus[2].addItem("training-workplace.html", "", 20, "left", ":: Training/Workplace Traineeships", 0);
	menus[2].addItem("employers-recruitment.html", "", 20, "left", ":: Recruitment", 0);	
	menus[2].addItem("indigo-infusion.html", "", 20, "left", ":: Indigo Infusion", 0);
	menus[2].addItem("practice-management.html", "", 20, "left", ":: Practice Management", 0);
	menus[2].addItem("infection-control.html", "", 20, "left", ":: Infection Control", 0);
	menus[2].addItem("marketing-public-relations.html", "", 20, "left", ":: Marketing &amp; Public Relations", 0);


	
	menus[3] = new menu(200, subMenuType, posLeft, posTop, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black");
	menus[3].addItem("medical-jobs.html", "", 20, "left", "::	Medical Positions", 0);
	menus[3].addItem("dental-jobs.html", "", 20, "left", ":: Dental Positions", 0);
	menus[3].addItem("allied-health-jobs.html", "", 20, "left", ":: Allied Health Positions", 0);


	menus[4] = new menu(320, subMenuType, posLeft, posTop, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black");
	menus[4].addItem("why-choose-indigo.html", "", 30, "left", ":: Why choose Indigo Medical &amp; Dental<br/> &nbsp;&nbsp;&nbsp;&nbsp;Training?", 0);
	menus[4].addItem("course.html", "", 20, "left", ":: Medical/Dental Training", 0);
	menus[4].addItem("job-medical-reception-training.html", "", 20, "left", ":: Medical Reception Training", 0);
	menus[4].addItem("job-dental-training.html", "", 20, "left", ":: Dental Assistant Training", 0);
	menus[4].addItem("certificate-business-assisting.html", "", 20, "left", ":: Certificate II in Business", 0);
	menus[4].addItem("certificate-business-administration-medical.html", "", 20, "left", ":: Certificate III in Business (Medical)", 0);
	menus[4].addItem("certificate-business-dental.html", "", 30, "left", ":: Certificate III in Business<br/> &nbsp;&nbsp;&nbsp;&nbsp;(Dental Reception)", 0);
	menus[4].addItem("certificate-business-administration-iv.html", "", 20, "left", ":: Certificate IV in Business Administration", 0);
	menus[4].addItem("certificate-health-administration.html", "", 20, "left", ":: Certificate IV in Health Administration", 0);
	menus[4].addItem("certificate-human-resources.html", "", 20, "left", ":: Certificate IV in Human Resources", 0);
	menus[4].addItem("certificate-business-sales.html", "", 20, "left", ":: Certificate IV in Business Sales", 0);
	menus[4].addItem("certificate-business-frontline.html", "", 20, "left", ":: Certificate IV in Frontline Management", 0);
	menus[4].addItem("certificate-training-assessment.html", "", 20, "left", ":: Certificate IV in Training TAA", 0);
	menus[4].addItem("certificate-dental-assisting.html", "", 20, "left", ":: Certificate III in Dental Assisting", 0);
	menus[4].addItem("job-dental-assisting-training-iv.html", "", 30, "left", ":: Certificate IV in Dental Assisting<br/> &nbsp;&nbsp;&nbsp;&nbsp;(Radiography)", 0);	
	menus[4].addItem("job-dental-assisting-oral-health.html", "", 30, "left", ":: Certificate IV in Dental Assisting<br/> &nbsp;&nbsp;&nbsp;&nbsp;(Oral Health) ", 0);	
	menus[4].addItem("practice-management-training.html", "", 20, "left", ":: Diploma of Practice Management", 0);
	menus[4].addItem("diploma-management.html", "", 20, "left", ":: Diploma of Management", 0);
	menus[4].addItem("first-aid.html", "", 20, "left", ":: First Aid", 0);


	
	menus[5] = new menu(140, subMenuType, posLeft, posTop, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black");
	menus[5].addItem("who-we-are.html", "", 20, "left", ":: Who We Are", 0);
	menus[5].addItem("about-us.html", "", 20, "left", ":: Our People", 0);
	menus[5].addItem("testimonials.html", "", 20, "left", ":: Testimonials", 0);


	menus[6] = new menu(270, subMenuType, posLeft, posTop, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black");
	menus[6].addItem("services-recruitment.html", "", 20, "left", ":: Recruitment", 0);
	menus[6].addItem("services-training.html", "", 20, "left", ":: Training", 0);
	menus[6].addItem("services-consulting.html", "", 20, "left", ":: Practice Management Consulting", 0);
	menus[6].addItem("marketing-public-relations.html", "", 20, "left", ":: Marketing &amp; Public Relations", 0);
	menus[6].addItem("indigo-infusion.html", "", 20, "left", ":: Indigo Infusion", 0);
	
	
	menus[7] = new menu(240, subMenuType, posLeft, posTop, xPos, yPos, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black");
	menus[7].addItem("marketing-communications.html", "", 20, "left", ":: Marketing/Communications", 0);
	menus[7].addItem("recruitment.html", "", 20, "left", ":: Recruitment", 0);
}

