//This test only activates script on Netscape 3.0 and above or MSIE 3.01 and above.

var num = parseFloat(navigator.appVersion);

if (navigator.appName == "Netscape" && num >= 3){

        var browserVer = 1;   //test for browserVer == 1 in all dependent functions

} else {

        if (navigator.appName == "Microsoft Internet Explorer" && num >= 3.01){

            var browserVer = 1;

            } else {

  var browserVer = 2;

           }

}

// preload universal images:

if (browserVer == 1) {

home_off = new Image (107,107);

home_off.src = "images/all/btn_home.gif";

home_on = new Image (107,107);

home_on.src = "images/all/btn_home_on.gif";

history_off = new Image (107,106);

history_off.src = "images/all/btn_history.gif";

history_on = new Image (107,106);

history_on.src = "images/all/btn_history_on.gif";

philosophy_off = new Image (107,106);

philosophy_off.src = "images/all/btn_philosophy.gif";

philosophy_on = new Image (107,106);

philosophy_on.src = "images/all/btn_philosophy_on.gif";

preschool_off = new Image (107,123);

preschool_off.src = "images/all/btn_preschool.gif";

preschool_on = new Image (107,123);

preschool_on.src = "images/all/btn_preschool_on.gif";

elementary_off = new Image (107,106);

elementary_off.src = "images/all/btn_elementary.gif";

elementary_on = new Image (107,106);

elementary_on.src = "images/all/btn_elementary_on.gif";

application_off = new Image (107,100);

application_off.src = "images/all/btn_application.gif";

application_on = new Image (107,100);

application_on.src = "images/all/btn_application_on.gif";

newsletter_off = new Image (107,100);

newsletter_off.src = "images/all/btn_newsletter.gif";

newsletter_on = new Image (107,100);

newsletter_on.src = "images/all/btn_newsletter_on.gif";

calendar_off = new Image (107,100);

calendar_off.src = "images/all/btn_calendar.gif";

calendar_on = new Image (107,100);

calendar_on.src = "images/all/btn_calendar_on.gif";

extra_off = new Image (107,130);

extra_off.src = "images/all/btn_extra.gif";

extra_on = new Image (107,130);

extra_on.src = "images/all/btn_extra_on.gif";



}



function hiLite(imgDocID,imgObjName) {

        if (browserVer == 1) {

//if (document.images) {

 document.images[imgDocID].src = eval(imgObjName + ".src");

//}

        }

}

