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 =-92;	
			else
            	var posLeft =-91;	
         } 
		  else if (safari)
        {     
        	 var posLeft =-91;	
        } 
		  else if (opera)
        {     
			
        	 var posLeft =-91;	
        } 
		
		 else if (moz)
        {     
        	 var posLeft =-100;	
        } 
		
	var posTop =135;
	var menuType = "horizontal";
	var subMenuType = "vertical";
	var xPos = 0;
	var yPos = 0;
	var MainBg = "#0370d6";
	var ManeBgHover = "#d40404";
	var fontFamily = "Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular";
	var fontSize = 10;
	var fontWeight = "bold";
	var fontWeightHover = "bold";
	var fontColor = "#ffffff";
	var fontColorHover = "#ffffff";
	var borderSize = 0;
	var borderColor = "#4193e0";
	var paddingTopLeft = 4;
	var rollOverArrows = "rollover:images/tri.gif:images/tri.gif";
	var UnfoldsOnClick = false;
	var MenuSlide = 27;
	
	menus[0] = new menu(38, 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", "", 71, "left", "rollover:images/home-off.gif:images/home-on.gif", 0);	
	menus[0].addItem("tony-jabbour.html", "", 101, "left", "rollover:images/my-practice-off.gif:images/my-practice-on.gif", 1);	
	menus[0].addItem("knees.html", "", 100, "left", "rollover:images/patient-info-off.gif:images/patient-info-on.gif", 2);		
	menus[0].addItem("services.html", "", 78, "left", "rollover:images/services-off.gif:images/services-on.gif", 0);
	menus[0].addItem("articles.html", "", 91, "left", "rollover:images/education-off.gif:images/education-on.gif", 3);
	menus[0].addItem("faq.html", "", 62, "left", "rollover:images/faq-off.gif:images/faq-on.gif", 0);
	menus[0].addItem("contact-us.html", "", 122, "left", "rollover:images/contact-us-off.gif:images/contact-us-on.gif", 0);
	menus[0].floatMenu(800, 600, 0, 0);

	menus[1] = 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[1].addItem("tony-jabbour.html", "", 20, "left", ":: Antoine I Jabbour, MD", 0);
	menus[1].addItem("my-approach.html", "", 20, "left", ":: My Approach", 0);
	menus[1].addItem("tulsa-bone-joint.html", "", 20, "left", ":: Tulsa Bone & Joint Associates", 0);
	menus[1].addItem("team-physicians.html", "", 20, "left", ":: Team Physicians", 0);
	menus[1].addItem("staff.html", "", 20, "left", ":: Staff", 0);
	menus[1].addItem("contact-us.html", "", 20, "left", ":: Practice Location", 0);
	
	menus[2] = new menu(350, subMenuType, posLeft, posTop, xPos, yPos=0, MainBg, ManeBgHover, fontFamily, fontSize, fontWeight, fontWeightHover, fontColor, fontColorHover, 1, borderColor, paddingTopLeft, rollOverArrows, UnfoldsOnClick, true, false, true, MenuSlide, true, 0, 0, "black" );
	menus[2].addItem("knees.html", "", 20, "left", ":: Conditions &amp; Procedures  ", 4);
	menus[2].addItem("arthroscopic-surgery.html", "", 20, "left", ":: Arthroscopic Surgery", 0);
 	menus[2].addItem("sports-medicine.html", "", 20, "left", ":: Sports Medicine", 0);
 	menus[2].addItem("prp-therapy.html", "", 20, "left", ":: Platelet Rich Plasma Therapy", 0);	
 	menus[2].addItem("elbow-arthroscopy-loose-body-removal.html", "", 20, "left", ":: Elbow Arthroscopy and Loose Body Removal", 0);	
	menus[2].addItem("surgery-procedure.html", "", 20, "left", ":: Preparing for Surgery/Procedure", 0);
	menus[2].addItem("patient-forms.html", "", 20, "left", ":: Patient Forms", 0);
	menus[2].addItem("patient-testimonial.html", "", 20, "left", ":: Patient Testimonial", 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(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[3].addItem("jabbour-in-news.html", "", 20, "left", ":: Dr Jabbour in the news", 0);
	menus[3].addItem("articles.html", "", 20, "left", ":: Articles", 0);
	menus[3].addItem("videos.html", "", 20, "left", ":: Videos", 0);
	menus[3].addItem("images.html", "", 20, "left", ":: Images", 0);
	menus[3].addItem("presentations.html", "", 20, "left", ":: Presentations/ Lectures", 0);
	
	menus[4] = new menu(150, 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("knees.html", "", 20, "left", ":: Knees", 0);	
	menus[4].addItem("shoulders.html", "", 20, "left", ":: Shoulders", 0);
	
	menus[5] = new menu(150, 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("presentations/platelet-rich-plasma-ultrasound.pps", "_blank", 20, "left", ":: PRP Lecture", 0);	
	menus[5].addItem("pdf/prp-handout.pdf", "_blank", 20, "left", ":: PRP Handout", 0);		
	

	
}

