<!-- hide script from old browsers

// goes to specified url
function goToURL(url) {
	window.location = url;
	}
	

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  if(document.images){
    if (typeof(daImage) == 'string') {
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

function WM_preloadImages() {

  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      document.WM.loadedImages[arg] = new Image();
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}

function openDoc(document) {
        this.name = "main";
        DocWindow = window.open(document,"DocWindow","status=no,width=480,height=340,scrollbars=yes,toolbar=no,resizable=yes");
        DocWindow.focus();
}


function imgOn(imgName) {
        if (document.images) {
        document.images[imgName].src = eval(imgName + "on.src");
        }
}

function imgOff(imgName) {
        if (document.images) {
        document.images[imgName].src = eval(imgName + "off.src");
        }
}

function popImage(productID,imgSrc) {
	this.name = "main";
	imgWindow = window.open(imgSrc,'imgWin','status=no,width=450,height=350,scrollbars=no,toolbar=no,resizable=yes');
	imgWindow.focus();
}

function popProductApp(makeID,productID) {
	this.name = "main";
	imgWindow = window.open('productApp.cfm?makeID='+makeID+'&productID='+productID,'newWin','status=no,width=600,height=480,scrollbars=yes,toolbar=no,resizable=yes');
	imgWindow.focus();
}

function popModelApp(makeID,categoryID) {
	this.name = "main";
	imgWindow = window.open('modelApp.cfm?makeID='+makeID+'&categoryID='+categoryID,'newWin','status=no,width=600,height=480,scrollbars=yes,toolbar=no,resizable=yes');
	imgWindow.focus();
}

function openWindow(fileName) {
	this.name = "main";
	extWindow = window.open(fileName,'extWin','status=no,width=480,height=400,scrollbars=yes,toolbar=yes,resizable=yes');
	extWindow.focus();
}

function openPicWin(fileName) {
	this.name = "main";
	picWindow = window.open(fileName,'picWin','status=no,width=400,height=300,scrollbars=yes,toolbar=no,resizable=yes');
	picWindow.focus();
}

function productWin(productID) {
	this.name = "main";
	productWin = window.open('productProfile.cfm?productID=' + productID,'productWin','status=no,width=400,height=300,scrollbars=yes,toolbar=no,resizable=yes');
	productWin.focus();
}

function openDoc(file) {
        this.name = "main";
        DocumentWindow = window.open(file,"DocumentWindow","status=no,width=600,height=400,scrollbars=no,toolbar=no,resizable=no,left=100,top=100,screenX=100,screenY=100");
        DocumentWindow.focus();
}

//-->