function show_flash(widht,height,src,cyt,trans,color)
{
if (window.ActiveXObject)
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+widht+'" height="'+height+'" id="'+src+'">');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('<param name="movie" value="'+src+'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="'+trans+'">');
document.write('<param name="bgcolor" value="'+color+'" />');
document.write('<PARAM NAME=FlashVars VALUE="'+cyt+'">');
document.write('<embed src="'+src+'" quality="high" FlashVars="'+cyt+'" bgcolor="'+color+'" width="'+widht+'" height="'+height+'" name="'+src+'" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" wmode="'+trans+'" />');
document.write('</object>');
}
else
{
document.write('<object id="'+src+'" data="'+src+'" type="application/x-shockwave-flash" width="'+widht+'" height="'+height+'">');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('<param name="movie" value="'+src+'" />');
document.write('<param name="quality" value="high" />');
// document.write('<param name="wmode" value="'+trans+'">');
document.write('<param name="bgcolor" value="'+color+'" />');
document.write('<PARAM NAME=FlashVars VALUE="'+cyt+'">');
document.write('<embed src="'+src+'" quality="high" FlashVars="'+cyt+'" bgcolor="'+color+'" width="'+widht+'" height="'+height+'" name="'+src+'" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
}
}
function bilder(b1,show1,b2,show2,b3,show3,b4,show4,b5,show5) { 
if(document.getElementById){
if(b1 != null){document.getElementById(b1).style.display = show1;
               document.getElementById(b1).style.visibility="visible";
}
if(b2 != null){document.getElementById(b2).style.display = show2;
               document.getElementById(b2).style.visibility="visible";
 }
if(b3 != null){document.getElementById(b3).style.display = show3;
               document.getElementById(b3).style.visibility="visible";
}
if(b4 != null){document.getElementById(b4).style.display = show4;
               document.getElementById(b4).style.visibility="visible";
}
if(b5 != null){document.getElementById(b5).style.display = show5;
               document.getElementById(b5).style.visibility="visible";
}
}
}

function cytshort() {
  if(document.getElementById)
  document.getElementById("cytshort").style.display = "block";
  document.getElementById("cytdesc").style.display = "none";
}
function cytdesc() {
  if(document.getElementById)
  document.getElementById("cytdesc").style.display = "block";
  document.getElementById("cytshort").style.display = "none";
}

 function CreateBookmarkLink() {
  title = "5zkb 5 Zimmer küche Bad"; 
  url = "http://www.5zkb.de"; 
  if (window.sidebar) { // Mozilla Firefox Bookmark	
  window.sidebar.addPanel(title, url,"");
  } else if( window.external ) { // IE Favorite
  window.external.AddFavorite( url, title);
  }	else { 
      alert("Diese Funktion wird leider von ihrem Browser nicht unterstützt");}
  }
  
function first() {
if(document.getElementById)
document.getElementById("first").style.display = "block";
document.getElementById("second").style.display = "none";
document.getElementById("third").style.display = "none";
}

function second() {
if(document.getElementById)
document.getElementById("first").style.display = "none";
document.getElementById("second").style.display = "block";
document.getElementById("third").style.display = "none";
}

function third() {
if(document.getElementById)
document.getElementById("first").style.display = "none";
document.getElementById("second").style.display = "none";
document.getElementById("third").style.display = "block";
}



function bild1() {
if(document.getElementById)
document.getElementById("bild1").style.display = "block";
document.getElementById("bild2").style.display = "none";
document.getElementById("bild3").style.display = "none";
}

function bild2() {
if(document.getElementById)
document.getElementById("bild1").style.display = "none";
document.getElementById("bild2").style.display = "block";
document.getElementById("bild3").style.display = "none";
}

function bild3() {
if(document.getElementById)
document.getElementById("bild1").style.display = "none";
document.getElementById("bild2").style.display = "none";
document.getElementById("bild3").style.display = "block";
}

