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 =-101;	
         } 
		  else if (is_chrome == true) 
        { 
			if(pageWidth==1280)		
			
				var posLeft =-91;	
			else
            	var posLeft =-91;	
         } 
		  else if (safari)
        {     
        	 var posLeft =-91;	
        } 
		  else if (opera)
        {     
			
        	 var posLeft =-91;	
        } 
		
		 else if (moz)
        {     
        	 var posLeft =-100;	
        } 
		
	var posTop =141;
	var menuType = "horizontal";
	var subMenuType = "vertical";
	var xPos = 0;
	var yPos = 0;
	var MainBg = "#112a66";
	var ManeBgHover = "#fea618";
	var fontFamily = "Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular";
	var fontSize = 10;
	var fontWeight = "bold";
	var fontWeightHover = "bold";
	var fontColor = "#ffffff";
	var fontColorHover = "#000000";
	var borderSize = 0;
	var borderColor = "#67779d";
	var paddingTopLeft = 4;
	var rollOverArrows = "rollover:images/tri.gif:images/tri.gif";
	var UnfoldsOnClick = false;
	var MenuSlide = 27;
	
	menus[0] = new menu(46, menuType, posLeft, posTop, 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", "", 102, "left", "rollover:images/home-off.gif:images/home-on.gif", 0);	
	menus[0].addItem("our-mission.html", "", 123, "left", "rollover:images/about-us-off.gif:images/about-us-on.gif", 1);	
	menus[0].addItem("services.html", "", 110, "left", "rollover:images/services-off.gif:images/services-on.gif", 0);
	menus[0].addItem("hips.html", "", 141, "left", "rollover:images/patient-info-off.gif:images/patient-info-on.gif", 2);	
	menus[0].addItem("general.html", "", 161, "left", "rollover:images/appointments-off.gif:images/appointments-on.gif", 4);	
	menus[0].addItem("faq.html", "", 104, "left", "rollover:images/faq-off.gif:images/faq-on.gif", 0);
	menus[0].addItem("media.html", "", 100, "left", "rollover:images/media-off.gif:images/media-on.gif", 0);
	menus[0].addItem("contact-us.html", "", 139, "left", "rollover:images/contact-us-off.gif:images/contact-us-on.gif", 9);
	menus[0].floatMenu(800, 600, 0, 0);

	menus[1] = new menu(160, 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("our-mission.html", "", 20, "left", ":: Our Mission", 0);
	menus[1].addItem("our-physicians.html", "", 20, "left", ":: Our Team", 7);
	//menus[1].addItem("staff.html", "", 20, "left", ":: Staff", 0);
	menus[1].addItem("contact-us.html", "", 20, "left", ":: Practice Locations", 0);
	menus[1].addItem("contact-us.html", "", 20, "left", ":: Contact Us", 0);


	menus[2] = new menu(280, 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("hips.html", "", 20, "left", ":: Conditions/Procedures", 3);
	menus[2].addItem("physical-therapy.html", "", 20, "left", ":: Physical Therapy", 10);
//	menus[2].addItem("osteoporosis.html", "", 20, "left", ":: Osteoporosis", 0);
	menus[2].addItem("arthritis.html", "", 20, "left", ":: Arthritis", 0);
	menus[2].addItem("arthroscopic-surgery.html", "", 20, "left", ":: Arthroscopic Surgery", 0);
	menus[2].addItem("joint-replacement.html", "", 20, "left", ":: Total Joint Replacement", 0);
	menus[2].addItem("fractures-trauma.html", "", 20, "left", ":: Trauma/Fractures", 0);
	menus[2].addItem("monday-morning-sports-clinic.html", "", 20, "left", ":: Monday Morning Sports Clinic", 0);
	menus[2].addItem("sports-injuries.html", "", 20, "left", ":: Sports Injuries", 0);
	menus[2].addItem("patient-information.html", "", 20, "left", ":: Pre-op & Post-op Instructions", 0);
//	menus[2].addItem("patient-testimonials.html", "", 20, "left", ":: Patient Testimonials", 0);
//	menus[2].addItem("surgery-procedure.html", "", 20, "left", ":: Preparing for Surgery/Procedure", 0);
	menus[2].addItem("multimedia.html", "", 20, "left", ":: Multimedia Patient Education", 0);
	menus[2].addItem("links.html", "", 20, "left", ":: Useful Links", 0);
	
	menus[3] = 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[3].addItem("hips.html", "", 20, "left", ":: Hips", 0);
	menus[3].addItem("knees.html", "", 20, "left", ":: Knees", 0);
	menus[3].addItem("shoulders.html", "", 20, "left", ":: Shoulder", 0);
	menus[3].addItem("elbow.html", "", 20, "left", ":: Elbow", 0);
	menus[3].addItem("hand-wrist.html", "", 20, "left", ":: Hand &amp; Wrist", 0);
	menus[3].addItem("foot-ankle.html", "", 20, "left", ":: Foot &amp; Ankle", 0);

	menus[4] = new menu(210, 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("general.html", "", 20, "left", ":: General Appointment", 0);
	menus[4].addItem("online.html", "", 20, "left", ":: Online Appointment", 0);
	menus[4].addItem("physician-schedule.html", "", 20, "left", ":: Physician Schedule", 8);
	menus[4].addItem("patient-forms.html", "", 20, "left", ":: Patient Forms", 5);
	menus[4].addItem("participating-insurances.html", "", 20, "left", ":: Participating Insurances", 0);
	menus[4].addItem("insurance.html", "", 20, "left", ":: Insurance", 0);
	menus[4].addItem("financial-policy.html", "", 20, "left", ":: Financial Policy", 0);
//	menus[4].addItem("patient-information.html", "", 20, "left", ":: Surgery", 6);
	
	menus[5] = new menu(250, 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("patient-forms.html", "", 20, "left", ":: Appointment Paperwork", 0);
	menus[5].addItem("request-forms.html", "", 20, "left", ":: Request for Forms Completion", 0);
	menus[5].addItem("medical-records.html", "", 20, "left", ":: Request for Medical Records", 0);
	
	menus[6] = new menu(180, 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("patient-information.html", "", 20, "left", ":: Patient Information", 0);
	menus[6].addItem("financial-policy.html", "", 20, "left", ":: Financial Policy", 0);
//	menus[6].addItem("education.html", "", 20, "left", ":: Education", 0);

	menus[7] = new menu(180, 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("our-physicians.html", "", 20, "left", ":: Our Physicians", 0);
	menus[7].addItem("physician-assistants.html", "", 20, "left", ":: Physician Assistants", 0);
	menus[7].addItem("office-staff.html", "", 20, "left", ":: Office Staff", 0);
	menus[7].addItem("physical-therapists.html", "", 20, "left", ":: Physical Therapists", 0);
	menus[7].addItem("athletic-trainers.html", "", 20, "left", ":: Athletic Trainers", 0);

	menus[8] = new menu(210, 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[8].addItem("east-point-facility.html", "", 20, "left", ":: East Point Facility", 0);
	menus[8].addItem("dixie-building.html", "", 20, "left", ":: The Dixie Building", 0);	
	
	//menus[8].addItem("southend-medical-center.html", "", 20, "left", ":: Southend Medical Center", 0);
		
	menus[9] = new menu(190, 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[9].addItem("contact-us.html", "", 20, "left", ":: Locations & Directions", 0);
	menus[9].addItem("phone-numbers.html", "", 20, "left", ":: Phone Numbers", 0);
	
	menus[10] = new menu(290, 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[10].addItem("surgery-protocols-physical-therapy.html", "", 20, "left", ":: Physical Therapy Surgery Protocols", 0);

}

