<!--
// This Javascript code Copyright © 2003 StarSign Systems
// All Rights Reserved

// You may NOT adapt this code for your Web pages!

agent = navigator.userAgent;
browserVer = 0;
newBrowser = 0;

// Netscape 4+;  IE 4+ (Browsers that handle layers, cascading style sheets)
if (parseInt(navigator.appVersion) >= 4) { newBrowser = 1 }
// Check if Netscape browser
NetscapeBrowser = (navigator.appName == "Netscape");

if (parseInt(navigator.appVersion) >= 3) { browserVer = 1 } // Netscape 3+; IE 4+
ver5up = (parseInt(navigator.appVersion) >= 5); // True if Mozilla version 5+
ver4up = (parseInt(navigator.appVersion) >= 4); // True if Mozilla version 4+
ie5 = (agent.indexOf("MSIE 5") != -1);          // True if IE5
ie4 = (agent.indexOf("MSIE 4") != -1);          // True if IE4
ns4 = ((navigator.appName == "Netscape") && (agent.charAt(8) == 4));  // True if Netscape 4
ns6 = ((navigator.appName == "Netscape") && (agent.charAt(8) == 5));  // True if Netscape 6
opera = (agent.indexOf("Opera") != -1);          // True if Opera

if (browserVer == 1) {

   YesNo = new Array(3);

  for (var i=1; i<=3; i++) {
      YesNo[i] = 0;
  }

   nav1_off = new Image();
   nav1_off.src = "/images/nav_about_off.jpg";
   nav1_on = new Image();
   nav1_on.src = "/images/nav_about_on.jpg";

   nav2_off = new Image();
   nav2_off.src = "/images/nav_booktape_off.jpg";
   nav2_on = new Image();
   nav2_on.src = "/images/nav_booktape_on.jpg";

   nav3_off = new Image();
   nav3_off.src = "/images/nav_courses_off.jpg";
   nav3_on = new Image();
   nav3_on.src = "/images/nav_courses_on.jpg";

   nav4_off = new Image();
   nav4_off.src = "/images/nav_recipes_off.jpg";
   nav4_on = new Image();
   nav4_on.src = "/images/nav_recipes_on.jpg";

   nav5_off = new Image();
   nav5_off.src = "/images/nav_fitness_off.jpg";
   nav5_on = new Image();
   nav5_on.src = "/images/nav_fitness_on.jpg";

   nav6_off = new Image();
   nav6_off.src = "/images/nav_health_off.jpg";
   nav6_on = new Image();
   nav6_on.src = "/images/nav_health_on.jpg";

   nav7_off = new Image();
   nav7_off.src = "/images/nav_shop_off.jpg";
   nav7_on = new Image();
   nav7_on.src = "/images/nav_shop_on.jpg";

}

function changeImage(imgDocID,imgObjName) {
   if (browserVer == 1) { document.images[imgDocID].src = eval(imgObjName + ".src") }
}

// -->
