if(top == self) {
  				top.document.location.href = "/";
			}
			
			/* NUR FÜR DIE BILDER VON MARTINSTHAL */
			
			var picwin=0;   /* globale picwin-Variable */


			/* Fenster schliessen: ------------------------------------ */
			function close_picture()
			{
			  if (picwin)                              /* wenn existent */
			    if (!picwin.closed)                  /* wenn noch offen */
			      picwin.close();                            /* mach zu */
			}
			
			
			/* Fenster oeffnen: --------------------------------------- */
			function open_picture(picname,bgcolor,titel)
			{
			  close_picture();                               /* mach zu */
			  if (!bgcolor)
			    bgcolor="#FFFFFF";               /* Standardwert: weiss */
			  picwin=open("","picwin","width=750,height=500,resizable=yes,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
			                                       /* Dokument oeffnen: */
			  picwin.document.open("text/html","replace");
			                                     /* Dokument schreiben: */
			  picwin.document.write("<html>\n<head>\n");
			  picwin.document.write("<title>"+titel+"</title>\n");
			  picwin.document.write("</head>\n");
			    /* Benachrichtigung des opener-Fensters nach dem Laden: */
			  picwin.document.write("<body onLoad=\"opener.picture_size(window,0)\"");
			  picwin.document.write(" style=\"background:"+bgcolor+"; margin:0px; padding:10px;\">\n");
			                                       /* Bild reinbasteln: */
			  picwin.document.write("<p align=center><img src=\""+picname+"\" hspace=\"0\" vspace=\"0\"></p>");
			  picwin.document.write("<p align=center width=100% style=\"font-family: Tahoma, sans-serif; font-size: 10pt; text-align: center;\"><a href=\"#\" onclick=\"self.close();\"><b>Fenster schließen</b></a></p>");

			  picwin.document.write("</body>\n</html>");
			                                    /* Dokument schliessen: */
			  picwin.document.close();
			}
			
			
			/* Fensterdaten evaluieren und Fenstergroesse setzen: ----- */
			function picture_size(picwin,imgnum)
			{
			  var output;
			  var image=picwin.document.images[imgnum];
			                  /* falls Bild noch nicht fertig - warten: */
			  if (image.width<1)
			  {
			    this.setTimeout("picture_size(picwin,"+imgnum+");",100);
			    return;
			  }
			                  /* Fenstergroesse und Fensterlage setzen: */
			  picwin.resizeTo(image.width+80,image.height+130);
			  picwin.moveTo((screen.width-image.width-50)/2,(screen.height-image.height-50)/2);
			                                     /* Zeichenkette bauen: */
			  output="src: "+image.src+"\n\n";
			  output+=" width: "+image.width+"\n";
			  output+="height: "+image.height+"\n";
			                                          /* Output setzen: */
			  document.form1.imagedata.value=output;
			                                      /* Fenster nach vorn: */
			  picwin.focus();
			}
	
