function showModell(){
if(document.getElementById('marke').value=="Seat"){
document.getElementById('modell').innerHTML="";
}else if(document.getElementById('marke').value=="Skoda"){
document.getElementById('modell').innerHTML="";
}
}
function initImageFlow(divId){
var temp = new ImageFlow();
temp.init({
ImageFlowID: divId,reflections: false,
startID: 3, buttons: false , opacity: true,
onClick: function() {window.open(this.url, '_blank');},
slider: false, aspectRatio: 3.0, xStep: 150, percentLandscape: 175, percentOther: 100,
imageFocusMax: 3
});
showDiv( divId );
}
function genGallery(imageUrls,divId){
var html ="
";
for(var i=0;i\n";
}
html +="
";
document.getElementById(divId).innerHTML=html;
initImageFlow("ImagesFlow");
}
function genCarGallery(imgDiv,target){
if(document.getElementById(imgDiv)==null)return;
var images = document.getElementById(imgDiv).getElementsByTagName("img");
var html ="
";
for(var i=0;i
\n";
}
html +="";
document.getElementById(target).innerHTML=html;
}
function openImage(url){
document.getElementById("CarTopImage").src=url;
}
function submitMiniSearch(){
var url = absolutePath+"ProcessForm.jsp;jsessionid="+sessionid+"?action=2&action2=2&productname=";
url += document.getElementById("SearchFormProductName").value;
window.location.href=url;
}
function showReadyMessage(message){
document.getElementById("CarContactFormDiv").innerHTML="
"+message+"
";
}
function submitCarContact(){
var url = absolutePath+"AjaxRequest.jsp"+sessionid;
url +="?action=101";
url +=AJAXgetParameter("CarContactForm");
AJAXloadHTMLinTarget(url,'ContentDiv',null,null);
}
function hideForm(){
for(var i=0;i