/* function NeuFens(theURL,winName,features) {	// Großfenster
  window.open(theURL,winName,features);
} */

function NoFrm() {							// aus Frameset herausloesen
	if (top.location != self.location) { 
		top.location = self.location 
	}; 
}

function brief(name,tld,domain,subject)				// E-Mail-Adressen
	{
	var lnk = '<a href="mailto:' + name + '&#64;' + domain + '&#46;' + tld +  '?subject=' + subject +'">';
	var txt =  name + '&#64;' + domain + '&#46;' + tld + '</a>';
	document.write(lnk+txt);
}

function GenerateImage(bildurl,titel,b,h)	// Großfenster für Bilder
{
	var eigenschaft,sbreite,shoehe,fenster,b,h;
	var x = 50 			// Fensterposition
	var y = 50 

	eigenschaften="left="+x+",top="+y+",screenX="+x+",screenY="+y+",width="+(b+20)+",height="+(h+20)+",menubar=no,toolbar=no,resizeable=yes";

	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(); } ");
  		document.write("document.onmousedown=click ");
  		document.write("</script>");
  		document.write('<title>' + titel +' - Zum Schließen in das Bild klicken</title></head>');
  		document.write('<' + 'body onblur="window.close()" ');
  		document.write('marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">');
  		document.write('<center>');
  		document.write('<img src="' + bildurl + '" border="0" alt="' + titel + '">');
  		document.write('</center>');
		document.write('<a href="javascript:window.close()">');
		document.write('<div align="center"><img src="http://www.rummel-ag.de/gfx/schliessen.gif" width="129" height="16" border="0" alt="schlie&szlig;en"></div></a>');
  		document.write('</body></html>');
  		fenster.document.close();
	}
}
