<!--

with (navigator) {
  if(appName=="Netscape") {
    // easy check
    if(appVersion.substring(0,1) < "5" ) {
      window.location.replace("/badbrowser.html");
    }

//    if( userAgent.indexOf("Netscape6/6.2") == -1 &&
//        userAgent.indexOf("rv:0.9.8") == -1 &&
//        userAgent.indexOf("rv:0.9.9") == -1 &&
//	userAgent.indexOf("rv:1.0") == -1 &&
//        // if you're running it, you should know enough to have
//        // a recent version... Viva Linux!
//        userAgent.indexOf("Galeon") == -1 &&
//        userAgent.indexOf("SkipStone") == -1) {
//       window.location.replace("badbrowser.html");
//    }

  }
}


// layer roll

Menu = {timer : null, current : null};
Menu.getStyle = function(name){
	if(document.getElementById) return document.getElementById(name).style;
	else if(document.all) return document.all[name].style;
	else if(document.layers) return document.layers[name];
}
Menu.show = function(name){
	if(this.timer) clearTimeout(this.timer);
	this.getStyle(name).visibility = "visible";
	this.current = name;
}
Menu.hide = function(){
	this.timer = setTimeout("Menu.doHide()",100);
}
Menu.doHide = function(){
	if(this.current){
		this.getStyle(this.current).visibility = "hidden";
		this.current = null;
	}
}



///// removes ie and nav 6 annoying link boxes.
///// and a seperate script in the preload

	function unblur() {
		this.blur();
	}

	function getLinksToBlur() {
		if (!document.getElementById) return
		links = document.getElementsByTagName("a");
		for(i=0; i<links.length; i++) {
			links[i].onfocus = unblur
		}
	}


///// preloads

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		contact_over = newImage("/menu2/contact.on.gif");
		panel_over = newImage("/menu2/panel.on.gif");
		system6_over = newImage("/menu2/system6.on.gif");
		commercial_over = newImage("/menu2/commercial.on.gif");
		hotlinesroll_over = newImage("/menu2/hotlines.on.gif");
		radiation_over = newImage("/menu2/radiation.on.gif");
		hideavector_over = newImage("/menu2/hideavector.on.gif");
		radiant_over = newImage("/menu2/radiant.on.gif");
		panelr_over = newImage("/menu2/panelr.on.gif");
		pure_over = newImage("/menu2/pure.on.gif");
		ambassador_over = newImage("/menu2/ambassador.on.gif");
		product_over = newImage("/menu2/product.on.gif");
		advantage_over = newImage("/menu2/advantage.on.gif");
		about_over = newImage("/menu2/about.on.gif");
		contact_over = newImage("/menu2/contact.on.gif");
		dealer_over = newImage("/menu2/dealer.on.gif");		
		subnav_commercialpak_over = newImage("/menu2/subnav_commercialpak-over.gif");
		subnav_heavy_over = newImage("/menu2/subnav_heavy-over.gif");
		subnav_platinum_over = newImage("/menu2/subnav_platinum-over.gif");
		repButton_over = newImage("/menu2/repButton.on.gif");
		preloadFlag = true;
		//// removes ie link boxes
		getLinksToBlur();
	}
}

///// displays simple status bar text on the mouseOver

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

///// simple js pop up center....no thrills

var win= null;
function NewWindow(mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
settings='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',toolbar=no,location=no,status=no,menubar=no,resizable=no,dependent=no'
win=window.open(mypage,myname,settings)
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

// -->
