var win = null;
function NewWindow(mypage,myname,w,h,scroll){
if(win) win.close();
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
function holehoehe ()
{
var myWidth = 0, myHeight = 0;
if( typeof(window.innerWidth) == 'number' )
{
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
}
else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
{
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
}
else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
{
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
if (myHeight>0)
{
$sizer=myHeight-146;
document.write('
');
//document.getElementById("hoehenspacer").style.height = $sizer+"px";
}
}
function delcheck($link,$frage)
{
if ($frage=='') $frage='Sind Sie sicher?';
if (confirm ($frage))
{
top.location.href=$link;
}
}
function makebild(bild,width,height)
{
var leftpos = (screen.width) ? (screen.width-width)/2 : 0;
var toppos = (screen.height) ? (screen.height-height)/2 : 0;
picwin = window.open("/images/pics/popup.php3?image="+bild,"bild","resizable=no,width="+width+",height="+height+",status=0,menubar=0,scrollbars=0,left="+leftpos+",top="+toppos+"");
}
function maildecode (input)
{
var output=input;
output=output.replace(/\|/, '@');
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
return (output);
}
function writemaillink ($input,$forceshow)
{
if ($forceshow=="")
{
$showmail=maildecode($input);
$showmail=$showmail.replace('@','@');
$showmail=$showmail.replace(/\./,'.');
$showmail=$showmail.replace(/\?.*/,'');
}
else
{
$showmail=$forceshow;
}
document.write ("");
document.write($showmail);
document.write ('');
}
function makemail($link)
{
$link=maildecode($link);
this.location.href="mailto:"+$link;
}