<!--

var num_of_cats = 13; // This is the number of categories, including the first, blank, category.
var open_in_newwindow=0; //Set 1 to open links in new window, 0 for no.
var option_array = new Array(num_of_cats);

option_array[0] = new Array("--Select Categories-"); // This is the first (blank) category. Don't mess with it.

option_array[1] = new Array("-- Select One --",
"Knee Replacement",
"BHR",
"Hip Replacement",
"Arthroscopy",
"Knee ACL surgery",
"Shoulder Replacement");

option_array[2] = new Array("-- Select One --",
"Coronary Angioplasty",
"Pacemaker",
"CABG",
"Heart VRS");

option_array[3] = new Array("-- Select One --",
"Minimally IMSS",
"Disc nucleoplasty",
"Artificial DR",
"Spinal fusion");

option_array[4] = new Array("-- Select One --",
"Dental Implants",
"Crowns",
"Veneers",
"Bridges",
"Teeth whitening",
"Dental fillings",
"Dentures");

option_array[5] = new Array("--Select One--",
"Breast Augmentation",
"Breast reduction",
"Breast Lift",
"Tummy tuck",
"Liposuction",
"Nose reshaping",
"Blepharoplasty",
"Ear correction",
"Gynecomastia",
"Hair restoration ",
"Scarring care");

option_array[6] = new Array("--Select One--",
"Kidney stones",
"Prostate surgery",
"Reversal Of TL",
"Reversal of vasectomy");

option_array[7] = new Array("--Select One--",
"In Vitro Fertilization",
"ICSI",
"Laser Assisted Hatching");

option_array[8] = new Array("--Select One--",
"Proton Therapy",
"Surgery",
"Chemotherapy");

option_array[9] = new Array("--Select One--",
"Varicose veins surgery",
"Gall bladder removal",
"Hernia repair",
"Endoscopy&Colonoscopy",
"Thyroid surgery",
"Hysterectomy",
"Abortion");

option_array[10] = new Array("--Select One--",
"R&D",
"Sinusitis and Migraine",
"Beauty care",
"ROSAS",
"Weight loss",
"Arthritis",
"Asthma and allergies");

option_array[11] = new Array("--Select One--",
"IEHCU Plus",
" -Cancer markers",
" -Full body MRI scan");

option_array[12] = new Array("--Select One--",
"PET scan",
"MRI scan",
"64 slice CT scan");

var url_array = new Array(num_of_cats);
url_array[0] = new Array("#");
url_array[1] = new Array("1-1.html",
                         "1-1.html",
                         "1-2.html",
						 "1-3.html",
						 "1-4.html",
						 "1-5.html",
                         "1-6.html");

url_array[2] = new Array("#",
                         "2-1.html",
                         "2-2.html",
						 "2-3.html",
                         "2-4.html");

url_array[3] = new Array("#",
                         "3-1.html",
                         "3-2.html",
						 "3-3.html",
                         "3-4.html");

url_array[4] = new Array("#",
                         "4-1.html",
                         "4-2.html",
						 "4-3.html",
						 "4-4.html",
						 "4-5.html",
						 "4-6.html",
                         "4-7.html");

url_array[5] = new Array("#",
                         "5-1.html",
                         "5-2.html",
						 "5-3.html",
						 "5-4.html",
						 "5-5.html",
						 "5-6.html",
						 "5-7.html",
						 "5-8.html",
						 "5-9.html",
						 "5-10.html",
						 "5-11.html",
                         "5-12.html");

url_array[6] = new Array("#",
                         "#",
                         "#",
						 "#",
                         "#");

url_array[7] = new Array("#",
                         "#",
                         "#",
                         "#");

url_array[8] = new Array("#",
                         "#",
                         "#",
                         "#");

url_array[9] = new Array("#",
                         "9-1.html",
                         "9-2.html",
						 "9-3.html",
						 "9-4.html",
						 "9-5.html",
						 "9-6.html",
                         "9-7.html");

url_array[10] = new Array("#",
                         "#",
                         "#",
						 "#",
						 "#",
						 "#",
						 "#",
                         "#");

url_array[11] = new Array("#",
                         "#",
                         "#",
                         "#");

url_array[12] = new Array("#",
                         "#",
                         "#",
                         "#");

function switch_select() {
  for (loop = window.document.form_1.select_2.options.length-1; loop > 0; loop--) {
    window.document.form_1.select_2.options[loop] = null;
  }
  
  for (loop = 0; loop < option_array[window.document.form_1.select_1.selectedIndex].length; loop++)   {
    window.document.form_1.select_2.options[loop] = new Option(option_array[window.document.form_1.select_1.selectedIndex][loop]);
  }
  window.document.form_1.select_2.selectedIndex = 0;
}
  
function switch_text(){
  
}

function box() {
  if (window.document.form_1.select_2.selectedIndex == 0)   {
    alert("Where do you think you're going?");
  } else {
    if (open_in_newwindow==1)
    window.open(url_array[window.document.form_1.select_1.selectedIndex][window.document.form_1.select_2.selectedIndex],"_blank");
    else
    window.location=url_array[window.document.form_1.select_1.selectedIndex][window.document.form_1.select_2.selectedIndex]
  }
}

function set_orig() {
  window.document.form_1.select_1.selectedIndex = 0;
  window.document.form_1.select_2.selectedIndex = 0;
}

window.onload=set_orig

// -->
