function ImageWindow(theURL,ImgName,xSize,ySize) {
if (ImgName == '') ImgName = theURL.substring(theURL.lastIndexOf('/')+1,theURL.lastIndexOf('.')).replace(/_/," ");
var Imgsrc = theURL;
var popup = window.open(Imgsrc,"Dummy",'width='+xSize+',height='+ySize+',left=200,resizable=no,top=150,location=no,screenX=0,screenY=0,dependent=yes,toolbar=no,status=no,menubar=no,scrollbar=no');
popup.resizeTo(xSize+10,ySize+29);
popup.document.write('<html><head><title>');
popup.document.write(ImgName);
popup.document.write('</title><link rel="STYLESHEET" type="text/css" href="/styles/bilder.css"></head>');
popup.document.write('<body bgcolor="#000000">');
popup.document.write('<img src=" '+Imgsrc+'"  alt="" border="0" onClick="self.close()" ');
popup.document.write('</body></html>');
popup.focus();
  if( navigator.appName.substring(0,8) == "Netscape" ){//sonst sieht man in NS nix!
    popup.location = Imgsrc;
popup.resizeTo(xSize+15,ySize+15);
  }
}

function FensterOeffnen (Adresse) { 
  Fenster1 = window.open(Adresse, "Zweitfenster", "width=520,height=400,left=100,top=200,scrollbars=yes"); 
  Fenster1.focus(); 
} 


function pop(file,windowname,features)
{
helpwindow = window.open(file,windowname,features);
helpwindow.focus();
return false;
}
