<!--
// Find Document Object Model
var isDHTML = 0;

if (document.getElementById) {
	isDHTML = 1;
}
 else {
	isDHTML = 0;
}


function showError() {
alert("This feature won't work with your browser "+navigator.appName+" "+navigator.appVersion);
}

function setForm(theForm) {
if (theForm.makebox.value!="") {
    theForm.make.value=theForm.makebox.value;
} 
 else {
    theForm.make.value = theForm.makelist.options[theForm.makelist.selectedIndex].value;
}
//alert(theForm.make.value);
return true;
}

function checkIndex() {
if (isDHTML) {
	if (document.searchForm.makelist.selectedIndex==42) {
    	    document.getElementById('make1').style.visibility = 'visible';
    	    document.getElementById('make2').style.visibility = 'visible';
 	}
}
 else {
	    showError()
 }
}

function setMake() {
 
if (isDHTML) {
	if (document.searchForm.makelist.selectedIndex==42) {
    	    document.getElementById('make1').style.visibility = 'visible';
    	    document.getElementById('make2').style.visibility = 'visible';
 	}

	if (document.searchForm.makelist.selectedIndex!=42) {
    	    document.getElementById('make1').style.visibility = 'hidden';
            document.getElementById('make2').style.visibility = 'hidden';
            document.searchForm.makebox.value="";
  }
}
 else {
	    showError()
 }
} 
//-->

