enc_title = document.title.replace("'", "&apos;");
vtn = "Van";ttn = "Truck";
var tabId;var first="0";var second="0";
function changeTab(tabId){
if (tabId=='newCarsQsearch'){
if(first=="0"){
setTimeout("loadQuickSearchFormNEWVEHICLE(snormurl+'garaj.action', '/www/cars/quick/N-0/')", 0);
}document.getElementById('newCarsQsearch').style.display='block';
document.getElementById('usedCarsQsearch').style.display='none';
setTimeout("showCounter()", 1000);
first="1";
}else if (tabId=='usedCarsQsearch'){
if(second=="0"){
setTimeout("loadQuickSearchForm(snormurl+'garaj.action','/www/cars/quick/N-0/');", 0);
}document.getElementById('usedCarsQsearch').style.display='block';
document.getElementById('newCarsQsearch').style.display='none';
setTimeout("showCounter()", 1000);
second="1";
}}var t = 0;
var esjs = new Array();
esjs[t++] = scacheurl+"js/_flash_detection_script.js";
esjs[t++] = scacheurl+"js/overlib/overlibmws.js";
esjs[t++] = scacheurl+"js/overlib/overlibmws_hide.js";
esjs[t++] = scacheurl+"js/quickSearch.js";
esjs[t++] = scacheurl+"js/quickSearchNEWSearch.js";
esjs[t++] = scacheurl+"js/searchResults_v3.js?v21603091125gmt";
esjs[t++] = scacheurl+"js/searchResults_v3NewVehicle.js?v21603091125gmt";
esjs[t++] = scacheurl+"js/detectBrowser.js";
if (enc_title.indexOf(vtn)!=-1 || enc_title.indexOf(ttn)!=-1 ){
esjs[t++] = scacheurl+"js/makeModel.js";
}if (enc_title.indexOf(vtn)!=-1){
esjs[t++] = "/VANS/common/_make_list.js";
}if (enc_title.indexOf(ttn)!=-1){
esjs[t++] = "/TRUCKS/common/_make_list.js";
esjs[t++] = "/TRUCKS/common/_model_list.js";
}for (var q = 0; q < esjs.length; q++){
document.write('<scr'+'ipt type="text/ja'+'vascr'+'ipt" src="'+esjs[q]+'"><\/scr'+'ipt>');
}