//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) {
aboutus_off = new Image (118,32);
aboutus_off.src = "images/all/btn_aboutus_off.gif";
aboutus_on = new Image (118,32);
aboutus_on.src = "images/all/btn_aboutus_on.gif";
fanclub_off = new Image (85,32);
fanclub_off.src = "images/all/btn_fanclub_off.gif";
fanclub_on = new Image (85,32);
fanclub_on.src = "images/all/btn_fanclub_on.gif";
services_off = new Image (83,28);
services_off.src = "images/all/btn_services_off.gif";
services_on = new Image (83,28);
services_on.src = "images/all/btn_services_on.gif";
location_off = new Image (84,32);
location_off.src = "images/all/btn_location_off.gif";
location_on = new Image (84,32);
location_on.src = "images/all/btn_location_on.gif";
contact_off = new Image (82,32);
contact_off.src = "images/all/btn_contact_off.gif";
contact_on = new Image (82,32);
contact_on.src = "images/all/btn_contact_on.gif";


swap0 = new Image(325, 43);
swap0.src = "images/all/info_blank.gif";
swap1 = new Image(325, 43);
swap1.src = "images/all/info_product.gif";
swap2 = new Image(325, 43);
swap2.src = "images/all/info_win.gif";
swap3 = new Image(325, 43);
swap3.src = "images/all/info_newsletter.gif";
swap4 = new Image(325, 43);
swap4.src = "images/all/info_buy.gif";
swap5 = new Image(331, 28);
swap5.src = "images/all/info_sample.gif";
swap6 = new Image(331, 28);
swap6.src = "images/all/info_scholarship.gif";
swap7 = new Image(331, 28);
swap7.src = "images/all/info_sweeps.gif";
swap8 = new Image(331, 28);
swap8.src = "images/all/info_whatsnew.gif";
}

function swap(imagePosition, highlightImage) {
if (document.images) {
document[imagePosition].src = eval(highlightImage + ".src");
	}
}
function hiLite(imgDocID,imgObjName) {
if (browserVer == 1) {
//if (document.images) {
 document.images[imgDocID].src = eval(imgObjName + ".src");
//}
	}
}
