function fixPNG(myImage)
{
  arVersion = navigator.appVersion.split("MSIE");
  version = parseFloat(arVersion[1]);

    if ((version >= 5.5) && (version < 7) && (document.body.filters))
    {
      var imgID = (myImage.id) ? "id='" + myImage.id + "' " : "";
   var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : "";
   var imgTitle = (myImage.title) ?
              "title='" + myImage.title  + "' " : "title='" + myImage.alt + "' ";
   var imgStyle = "display:inline-block;" + myImage.style.cssText;
   var strNewHTML = "<span " + imgID + imgClass + imgTitle
                 + " style=\"" + "width:" + myImage.width
                 + "px; height:" + myImage.height
                 + "px;" + imgStyle + ";"
                 + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
                 + "(src=\'" + myImage.src + "\', sizingMethod='scale'); \"></span>";
   myImage.outerHTML = strNewHTML;
  }
}

function showFAQAnswer(id) {
  if (document.getElementById('a'+id).style.display != "block") {
    document.getElementById('a'+id).style.display = "block";
    document.getElementById('a'+id).style.visibility = "visible";
    document.getElementById('q'+id).style.backgroundImage = "url(upload/images/Layout/faq_open.gif)";
    sIFR.replace(lieken, {
      selector: 'h1.content',
      wmode: 'transparent',
      css: '.sIFR-root { color: #4d3029; }'
    });
  }
  else {
    document.getElementById('a'+id).style.display = "none";
    document.getElementById('a'+id).style.visibility = "hidden";
    document.getElementById('q'+id).style.backgroundImage = "url(upload/images/Layout/faq_closed.gif)";
  }
}

function openPopup(url,width,height) {
	settings="width="+width+",height="+height+",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open(url,"broschuere",settings);
	win.focus();
}

function showKontaktFormFields() {
  if (document.getElementById("betreff").value == "3") {
    document.getElementById("reklamation").style.display = "block";
  }
  else {
    document.getElementById("reklamation").style.display = "none";
  }
}