
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
        for (var i = 0; i<=10; i++) {
                if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
        }
if (d) {d.style.display='block';}
}

function FotoWindow(bildurl,b,h)
{
var eigenschaft,sbreite,shoehe,fenster,b,h;


// stellt die Bildschirmabmessungen fest
var ns6 = (!document.all && document.getElementById);
var ie4 = (document.all);
var ns4 = (document.layers);

if(ns6||ns4) {
sbreite = innerWidth;
shoehe = innerHeight;
}
else if(ie4) {
sbreite = document.body.clientWidth;
shoehe = document.body.clientHeight;
}

x = (343);
y = (322);

eigenschaften="left="+x+",top="+y+",screenX="+x+",screenY="+y+",width="+b+",height="+h+",menubar=no,toolbar=no";

fenster=window.open("","",eigenschaften);
fenster.focus();
fenster.document.open();
with (fenster) {
  document.write('<html><head>');
  document.write("<script type='text/javascript' language='JavaScript'>");
  document.write("function click() { window.close(); } ");  // bei click  schliessen
  document.write("document.onmousedown=click ");
  document.write("</script>");
  document.write('<title>klick to close</title></head>');
  document.write('<body onblur="window.close()" ');   // bei Focusverlust schliessen
  document.write('marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">');
  document.write('<center>');
  document.write('<img name="Bild" src="'+ bildurl +'"border="0">');
  document.write('</center>');
  document.write('</body></html>');
  fenster.document.close();
}
}

//  Ende-->

<!-- Anfang
// Bilder bekannt machen
var bild1 = new Image();
var bild2 = new Image();
var bild3 = new Image();
var bild4 = new Image();
var bild5 = new Image();



bild1.src = "htdoc/bilder/terasse_am_haus_1_z.jpg";
bild2.src = "htdoc/bilder/terasse_am_haus_2_z.jpg";
bild3.src = "htdoc/bilder/blumengarten13_z.jpg";
bild4.src = "htdoc/bilder/blumengarten07_z.jpg";
bild5.src = "htdoc/bilder/gaststube_tische01_z.jpg";



function Zeigen(Bildname)
{
eval("document['picture'].src = " + Bildname + ".src");

}
function Verstecken(Bildname)
{
document['picture'].src = "htdoc/bilder/haus2.jpg";

}
//  Ende -->
