
//Netscape 4.* reload Bug
function reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
  else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
}
reloadPage(true);


//Mailfunktion
var txt, lTxt, a, n, d, m, eLink;
function ePost(n,d,txt){
	a=n+"@"+d;
	m="mailto:";
	if(txt)lTxt=txt;
	else lTxt=", E-Mail:&nbsp;";
	var eLink = txt+"<a href=\""+m+a+"\" " +
           "class=\" email \"> "+a+"</a>";
		   return eLink;
}



function popup(URL, width, height){
if(popup!= null && !popup.closed)
    {  popup.location.href= URL;
       popup.focus();
       return true;
       	}else{

var hoehe = eval(screen.availHeight-50);
if (height>hoehe) height = hoehe;
var parameter = 'scrollbars=yes,resizable=yes,WIDTH='+width+',HEIGHT='+height+',screenX=10,screenY=10';

var popup= window.open(URL,"Information",parameter);
popup.focus();
return true;
}
}
 	