fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
buildAfterLoad=true;




with(MainMenuStyle=new mm_style()){
fontfamily="Arial, Helvetica, sans-serif";
fontsize="9pt";
fontstyle="normal";
fontweight="bold";
offbgcolor="white";
offcolor="#666666";
onbgcolor="white";
oncolor="#770032";
pagecolor="#770032";
padding="0px 0px 8px 0px";
}

with(MainSub1MenuStyle=new mm_style()){
bordercolor="#E8E4DD";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Verdana, Tahoma";
fontsize="1pt";
fontstyle="normal";
offbgcolor="#E8E4DD";
offcolor="#E8E4DD";
onbgcolor="#E8E4DD";
oncolor="#E8E4DD";
padding="0px 0px 8px 0px";
}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
style=MainMenuStyle;
position="relative";
aI("text=HOME;url=/index.html;");
aI("showmenu=MMDrRector;text=ABOUT DR. RECTOR;url=/English/Company/About_JamesRector.html;");
aI("showmenu=MMHipResurfacing;text=HIP RESURFACING;url=/English/Medical/Hip_Resurface_for_You.html;");
aI("showmenu=MMPatientEducation;text=PATIENT EDUCATION;url=/English/Miscellaneous/Patient_Education.html;");
aI("showmenu=MMTestimonials;text=TESTIMONIALS;url=/English/Company/Patient_Testimonials.html;");
aI("text=REQUIRED FORMS;url=/English/Miscellaneous/Required_Forms.html;");
aI("showmenu=MMContact;text=CONTACT US;url=/English/Miscellaneous/Contact_Us.html;");
aI("text=SCHEDULE APPOINTMENT;url=/global-cgi-bin/cgiwrap/hiphost/start.cgi/HTMLOS_Pages/Request_Appointment.html?SourceCode=MainMenu;");
}

// We are playing a game with the submenus. They are not supposed to be seen by visitors.
// The reason we have the submenus is so the Main Menu text remains highlighted when a visitor is on a corresponding subpage.

with(milonic=new menuname("MMDrRector")){
style=MainSub1MenuStyle;
left="-100";
top=500;
aI("text=Message;url=/English/Medical/Resurfacing_Arthroplasty.html;");
aI("text=Testimonials;url=/English/Company/Patient_Testimonials.html;");
}

with(milonic=new menuname("MMHipResurfacing")){
style=MainSub1MenuStyle;
left="-100";
top=500;
aI("text=Take the Next Step;url=/English/Medical/Take_Nextstep.html;");
aI("text=Diseases of the Hip;url=/English/Medical/Diseases_of_the_Hip.html;");
aI("text=Non-Surgical Alternatives;url=/English/Medical/NonSurgical_Alternatives.html;");
aI("text=The Procedure;url=/English/Medical/Procedure.html;");
aI("text=The Implant;url=/English/Medical/Implant.html;");
aI("text=Pre-Op and Surgery Day;url=/English/Medical/PreOp_SurgeryDay.html;");
aI("text=Rehabilitation After Surgery;url=/English/Medical/Rehabilitation_After_Surgery.html;");
aI("text=Rehabilitation Exercises;url=/English/Medical/Rehabilitation_Exercises.html;");
aI("text=Precautions After Surgery;url=/English/Medical/Precautions_After_Surgery.html;");
aI("text=Preventing Complications;url=/English/Medical/Preventing_Complications.html;");
}

with(milonic=new menuname("MMPatientEducation")){
style=MainSub1MenuStyle;
left="-100";
top=500;
aI("text=BHR History;url=/English/BHR_History/history.html;");
aI("text=BHR;url=/English/Medical/Birmingham_Hip_Resurfacing.html;");
aI("text=FAQs;url=/English/Medical/FAQs.html;");
}

with(milonic=new menuname("MMTestimonials")){
style=MainSub1MenuStyle;
left="-100";
top=500;
aI("text=Message;url=/English/Medical/Resurfacing_Arthroplasty.html;");
}


with(milonic=new menuname("MMContact")){
style=MainSub1MenuStyle;
left="-100";
top=500;
aI("text=Map;url=/English/Miscellaneous/Map_Directions.html;");
aI("text=Insurance;url=/English/Miscellaneous/Insurance_Info.html;");
}


drawMenus();