function updateMakeSelect(c,a){c.options.length=0;
c.options[0]=new Option("Select Make","");
if(!a||a=="CATS"){c.options[0].selected=true
}for(var b in cars){if(typeof(b)!="string"||!cars.hasOwnProperty(b)){continue
}c.options[c.options.length]=new Option(b,b);
if(a==b){c.options[c.options.length-1].selected=true
}}}function updateModelSelect(e,a,d){e.options.length=0;
e.options[0]=new Option("Select Model","");
if(!d){e.options[0].selected=true
}e.options[1]=new Option("Any Model","");
if(!a||!cars[a]){return
}for(var c=0;
c<cars[a].length;
c++){var b=cars[a][c];
e.options[e.options.length]=new Option(b,b);
if(d==b){e.options[e.options.length-1].selected=true
}}}function navigateTo(c){var d=navigator.appName=="Microsoft Internet Explorer";
if(d){var b=document.createElement("a");
b.setAttribute("href",c);
b.style.display="none";
document.body.appendChild(b);
b.click()
}else{location.href=c
}};
