
//Contents for menu 1
var menu1=new Array()

menu1[0]='<a href="http://www.azwesthampton.com/About_Us.php">About Us</a>'
menu1[1]='<a href="http://www.azwesthampton.com/Contact_Us.php">Contact Us</a>'
menu1[2]='<a href="http://www.azwesthampton.com/Locations.php">Location</a>'
menu1[3]='<a href="http://www.azwesthampton.com/meet_dr_hampton.php">Meet Dr. Hampton</a>'
menu1[4]='<a href="http://www.azwesthampton.com/Testimonials.php">Testimonials</a>'
menu1[5]='<a href="http://www.azwesthampton.com/Naturopathic_Medicine.php">Naturopathic Medicine</a>'
menu1[6]='<a href="http://www.azwesthampton.com/Recommended_Reading.php">Recommended Reading</a>'
menu1[7]='<a href="http://www.azwesthampton.com/meet_dr_whitsell.php">Meet Dr. Whitsell</a>'

//Contents for menu 2, and so on
var menu2=new Array()

menu2[0]='<a href="http://www.azwesthampton.com/Acupuncture.php">Acupuncture</a>'
menu2[1]='<a href="http://www.azwesthampton.com/AMP_ATP.php">AMP / ATP</a>'
menu2[2]='<a href="http://www.azwesthampton.com/Artemisinin.php">Artemisinin</a>'
menu2[3]='<a href="http://www.azwesthampton.com/Bindweed.php">Bindweed</a>'
menu2[4]='<a href="http://www.azwesthampton.com/Botanical_Medicine.php">Botanical Medicine</a>'
menu2[5]='<a href="http://www.azwesthampton.com/Cesium_Chloride.php">Cesium Chloride</a>'
menu2[6]='<a href="http://www.azwesthampton.com/Clinical_Nutrition.php">Clinical Nutrition</a>'
menu2[7]='<a href="http://www.azwesthampton.com/Constitutional_Hydrotherapy.php">Constitutional Hydrotherapy</a>'
menu2[8]='<a href="http://www.azwesthampton.com/Cranial_Sacral_Therapy.php">Cranial Sacral Therapy</a>'
menu2[9]='<a href="http://www.azwesthampton.com/Detoxification.php">Detoxification</a>'
menu2[10]='<a href="http://www.azwesthampton.com/Germaniam.php">Germaniam</a>'
menu2[11]='<a href="http://www.azwesthampton.com/CORvalen.php">CORvalen</a>'
menu2[12]='<a href="http://www.azwesthampton.com/Homeopathy.php">Homeopathy</a>'
menu2[13]='<a href="http://www.azwesthampton.com/Intravenous_Therapy.php">Intravenous Therapy</a>'
menu2[14]='<a href="http://www.azwesthampton.com/Isopathic_Remedies.php">Isopathic Remedies</a>'
menu2[15]='<a href="http://www.azwesthampton.com/Mistletoe.php">Mistletoe</a>'
menu2[16]='<a href="http://www.azwesthampton.com/Naturopathic_Manipulative_Technique.php">Naturopathic Manipulative Technique</a>'
menu2[17]='<a href="http://www.azwesthampton.com/Neural_Therapy.php">Neural Therapy</a>'
menu2[18]='<a href="http://www.azwesthampton.com/Reiki.php">Reiki</a>'
menu2[19]='<a href="http://www.azwesthampton.com/DMSO.php">DMSO</a>'
menu2[20]='<a href="http://www.azwesthampton.com/Chelation_Therapy.php">Chelation Therapy</a>'
menu2[21]='<a href="http://www.azwesthampton.com/Glutathione.php">Glutathione</a>'
menu2[22]='<a href="http://www.azwesthampton.com/Phosphatidylcholine.php">Phosphatidylcholine</a>'
menu2[23]='<a href="http://www.azwesthampton.com/Vitamins.php">Vitamins</a>'
menu2[24]='<a href="http://www.azwesthampton.com/Vitamin_C.php">Vitamin C</a>'
menu2[25]='<a href="http://www.azwesthampton.com/Auto_Sanquis_Therapy.php">Auto Sanquis Therapy</a>'
menu2[26]='<a href="http://www.azwesthampton.com/Metabolic_Therapy.php">Metabolic Therapy</a>'
menu2[27]='<a href="http://www.azwesthampton.com/Immunotherapy.php">Immunotherapy</a>'
menu2[28]='<a href="http://www.azwesthampton.com/pH_Therapy.php">pH Therapy</a>'

//Contents for menu 2, and so on
var menu3=new Array()

menu3[0]='<a href="http://www.azwesthampton.com/ADDADHD.php">ADD / ADHD</a>'
menu3[1]='<a href="http://www.azwesthampton.com/Allergies.php">Allergies</a>'
menu3[2]='<a href="http://www.azwesthampton.com/Anxiety_Depression_Panic_Disorder.php">Anxiety Depression Panic Disorder</a>'
menu3[3]='<a href="http://www.azwesthampton.com/Arthritis.php">Arthritis</a>'
menu3[4]='<a href="http://www.azwesthampton.com/AutoImmune_Diseases.php">AutoImmune Diseases</a>'
menu3[5]='<a href="http://www.azwesthampton.com/Back_Pain.php">Back Pain</a>'
menu3[6]='<a href="http://www.azwesthampton.com/Cancer.php">Cancer</a>'
menu3[7]='<a href="http://www.azwesthampton.com/Cardiovascular_Disease.php">Cardiovascular Disease</a>'
menu3[8]='<a href="http://www.azwesthampton.com/Chemical_Sensitivities.php">Chemical Sensitivities</a>'
menu3[9]='<a href="http://www.azwesthampton.com/Chronic_Fatigue_Syndrome.php">Chronic Fatigue Syndrome</a>'
menu3[10]='<a href="http://www.azwesthampton.com/Diabetes.php">Diabetes</a>'
menu3[11]='<a href="http://www.azwesthampton.com/Environmental_Illness.php">Environmental Illness</a>'
menu3[12]='<a href="http://www.azwesthampton.com/Fibromyalgia.php">Fibromyalgia</a>'
menu3[13]='<a href="http://www.azwesthampton.com/GastroIntestinal_Disorders.php">GastroIntestinal Disorders</a>'
menu3[14]='<a href="http://www.azwesthampton.com/HeadachesMigraines.php">Headaches / Migraines</a>'
menu3[15]='<a href="http://www.azwesthampton.com/Hepatitis.php">Hepatitis</a>'
menu3[16]='<a href="http://www.azwesthampton.com/Hormone_Imbalances.php">Hormone Imbalances</a>'
menu3[17]='<a href="http://www.azwesthampton.com/OsteoporosisOsteopenia.php">Osteoporosis / Osteopenia</a>'
menu3[18]='<a href="http://www.azwesthampton.com/Obesity.php">Obesity</a>'
menu3[19]='<a href="http://www.azwesthampton.com/PMSMenpause.php">PMS / Menopause</a>'
menu3[20]='<a href="http://www.azwesthampton.com/Repsiratory_Conditions.php">Repsiratory Conditions</a>'
menu3[21]='<a href="http://www.azwesthampton.com/High_Blood_Pressure.php">High Blood Pressure</a>'
menu3[22]='<a href="http://www.azwesthampton.com/Insomnia.php">Insomnia</a>'
menu3[23]='<a href="http://www.azwesthampton.com/Natural_Medicine_for_Women.php">Natural Medicine for Women</a>'
menu3[24]='<a href="http://www.azwesthampton.com/Natural_Medicine_for_Children.php">Natural Medicine for Children</a>'
menu3[25]='<a href="http://www.azwesthampton.com/Thyroid_Conditions.php">Thyroid Conditions</a>'
menu3[26]='<a href="http://www.azwesthampton.com/Skin_Conditions.php">Skin Conditions</a>'

//Contents for menu 2, and so on
var menu4=new Array()

menu4[0]='<a href="http://www.azwesthampton.com/ALCAT.php">ALCAT</a>'
menu4[1]='<a href="http://www.azwesthampton.com/AMAS.php">AMAS</a>'
menu4[2]='<a href="http://www.azwesthampton.com/Amino_Acid_Analysis.php">Amino Acid Analysis</a>'
menu4[3]='<a href="http://www.azwesthampton.com/Allergy_Testing.php">Allergy Testing</a>'
menu4[4]='<a href="http://www.azwesthampton.com/Chemistry_Panel.php">Chemistry Panel</a>'
menu4[5]='<a href="http://www.azwesthampton.com/Complete_Blood_Count.php">Complete Blood Count</a>'
menu4[6]='<a href="http://www.azwesthampton.com/Detoxification_Status.php">Detoxification Status</a>'
menu4[7]='<a href="http://www.azwesthampton.com/ElectroDermal_Screening.php">Electro-Dermal Screening</a>'
menu4[8]='<a href="http://www.azwesthampton.com/Essential_Fatty_Accid.php">Essential Fatty Accid</a>'
menu4[9]='<a href="http://www.azwesthampton.com/Food_Additives_Colors_Preservatives.php">Food Additives Colors Preservatives</a>'
menu4[10]='<a href="http://www.azwesthampton.com/Food_Sensitivities.php">Food Sensitivities</a>'
menu4[11]='<a href="http://www.azwesthampton.com/Functional_Acuity_Contrast_Test.php">Functional Acuity Contrast Test</a>'
menu4[12]='<a href="http://www.azwesthampton.com/Health_Doctors_Panel.php">Health Doctors Panel</a>'
menu4[13]='<a href="http://www.azwesthampton.com/Heavy_Metal_Analysis.php">Heavy Metal Analysis</a>'
menu4[14]='<a href="http://www.azwesthampton.com/Hormone_Panels.php">Hormone Panels</a>'
menu4[15]='<a href="http://www.azwesthampton.com/Immune_System_Status.php">Immune System Status</a>'
menu4[16]='<a href="http://www.azwesthampton.com/Liver_Function_Test.php">Liver Function Test</a>'
menu4[17]='<a href="http://www.azwesthampton.com/Mold_Sensitivities.php">Mold Sensitivities</a>'
menu4[18]='<a href="http://www.azwesthampton.com/Muscle_Testing.php">Muscle Testing</a>'
menu4[19]='<a href="http://www.azwesthampton.com/Metabolic_Profile.php">Metabolic Profile</a>'
menu4[20]='<a href="http://www.azwesthampton.com/Thyroid_Assessment.php">Thyroid Assessment</a>'
menu4[21]='<a href="http://www.azwesthampton.com/Tumor_Markers.php">Tumor Markers</a>'
menu4[22]='<a href="http://www.azwesthampton.com/Vitamin_Mineral_Analysis.php">Vitamin Mineral Analysis</a>'
menu4[23]='<a href="http://www.azwesthampton.com/Comprehensive_Digestive_Stool_Analysis.php">Comprehensive Digestive Stool Analysis</a>'
menu4[24]='<a href="http://www.azwesthampton.com/Lyme_Profiles.php">Lyme Profiles</a>'
menu4[25]='<a href="http://www.azwesthampton.com/Autism_Profile.php">Autism Profile</a>'


var menuwidth='200px' //default menu width
var menubgcolor='#386771'  //menu bgcolor
var disappeardelay=2500  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

