var IE = (navigator.appName.indexOf("Explorer")!=-1) ? true : false; var Gecko = (navigator.userAgent.indexOf("Gecko")!=-1) ? true : false; var domain = document.domain +""; var GoodLinks = new Array(); var BadLinks = new Array(); var Link = document.links; var QS; var docURL = (document.location + "").toLowerCase(); function addQS() { QS = document.FaddQS.addQS.value; var LinkAnchor; for (var i=0; i MaxScrolling){ changeOver("../BackToTop","BackToTop") } else {changeOver("../space.gif","BackToTop")} } function changeOver() { if(changeOver.arguments.length < 2){Target = "Products";} else {Target = changeOver.arguments[1];} document[Target].src = changeOver.arguments[0]; } function openBrWindow(theURL,winName,features) { window.open(theURL,winName,features); } function DealerSearch(zip) { // var zip = document.FDealerSearch.zipcode.value if (isNaN(zip)) { window.alert('Zip Code must be numeric!'); } else { if (zip.length < 5) { window.alert('Zip Code must be 5 characters!'); } // else { // document.location = "http://" + document.FaddQS.CheckServer.value + "/" + // document.FaddQS.MidLocation.value + "/DealerSearch?openform" + // document.FaddQS.addQS.value + "&ZC=" + zip // } } } function getCookie(name) { var start = document.cookie.indexOf(name+"="); var len = start+name.length+1; if ((!start) && (name != document.cookie.substring(0,name.length))) return null; if (start == -1) return null; var end = document.cookie.indexOf(";",len); if (end == -1) end = document.cookie.length; return unescape(document.cookie.substring(len,end)); }