function finditfast(setup,pass,usednew) {
var typetitem = "New";
// car type check. if usednew is 0 or 1 its inherent if its 2 we need to check.
switch (usednew) {
 case 0:
typeitem="New";
break;
 case 1:
typeitem="Used";
break;
 case 2:
	if (pass.cartype[0].checked != false) {
		typeitem="New";
	} else { typeitem="Used"; }
 break;
 case 3:
 typeitem=pass.cartype.value;
 break;
}

switch (setup) {
 case 1:
makeitem=pass.make.options[pass.make.selectedIndex].text;
modelitem=pass.model.options[pass.model.selectedIndex].value;
if (modelitem == "") {
param=typeitem+"/"+makeitem+".html";
} else { param=typeitem+"/"+makeitem+"/"+modelitem+".html";
}
	break;
	case 2:
pbegin=pass.price.options[pass.price.selectedIndex].value;
pend=parseFloat(pbegin);
pend=(pend+5000);
if (pbegin=="") {
param=typeitem+".html";
} else {
		param=typeitem+".html?startPrice="+pbegin+"&endPrice="+pend;
}
	break;
	case 3:
	// dont really need to cycle through as we can no longer select multiple body types, but left it in here in case i needed it again
  var selObj = document.getElementById('bodytype');
  var i;
  var bodyset="";
  var count = 0;
 	for (i=0; i<selObj.options.length; i++) {
    	if (selObj.options[i].selected) {
			if(count>0) {bodyset=bodyset+","; }
    	  	bodyset = bodyset + selObj.options[i].value;
    	  count++;
    	}
	}
param=typeitem+".html?body="+bodyset;
break;
}
//URL
location.href="/Inventory/"+param;
}