function wirobit(){;}

function popUp(url,w,h)
{
  var dim=eval
    ("'width='+w+',height='+h+',location=0,directories=0,menubar=0,scrollbars=0,status=0,locationbar=0,resizable=1,top=5,left=5'");
    Npop = window.open(url,"pop",dim);
}
function popUp2(url,titel,w,h,w2,h2,t,l,style,style2,bgcolor,format,format2,text,r,s,m,lo,st,lb,d)
{
     var dim=eval
       ("'width='+w+',height='+h+',top='+t+',left='+l+',resizable='+r+',scrollbars='+s+',menubar='+m+',location='+lo+',status='+st+',locationbar='+lb+',directories='+d+''");
     win = window.open(url,"Fenster",dim);
     win.document.open();
     win.document.write('<html><head><title>'+titel+'</title><link rel="stylesheet" href="'+style+'formate/script'+style2+'.css" type="text/css"></head>');
     win.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" class="'+bgcolor+'" onBlur=self.close()>');
     win.document.write('<center><img src='+url+' width="'+w2+'" height="'+h2+'">');
     win.document.write('<center><img src="" height="19" width="0">');
     win.document.write('<span class="'+format2+'">'+text+'</span>');
     win.document.write('<a href=javascript:self.close() class="'+format+'">Schliessen</a>');
     win.document.write('</center></body></html>');
     win.document.close();
     if(win.focus != null)win.focus();
}
function popUp3(url,titel,w,h,w2,h2,t,l,style,style2,bgcolor,format,format2,text,r,s,m,lo,st,lb,d)
{
     var dim=eval
       ("'width='+w+',height='+h+',top='+t+',left='+l+',resizable='+r+',scrollbars='+s+',menubar='+m+',location='+lo+',status='+st+',locationbar='+lb+',directories='+d+''");
     win = window.open(url,"Fenster",dim);
     win.document.open();
     win.document.write('<html><head><title>'+titel+'</title><link rel="stylesheet" href="'+style+'formate/script'+style2+'.css" type="text/css"></head>');
     win.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" class="'+bgcolor+'" onBlur=self.close()>');
     win.document.write('<center><img src='+url+' width="'+w2+'" height="'+h2+'">');
     win.document.write('<center><img src="" height="19" width="0">');
     win.document.write('<span class="'+format2+'">'+text+'</span>');
     win.document.write('<center><img src="" height="19" width="0">');
     win.document.write('<a href=javascript:self.close() class="'+format+'">Schliessen</a>');
     win.document.write('</center></body></html>');
     win.document.close();
     if(win.focus != null)win.focus();
}
function anfahrt()
{
     win = window.open("","Fenster","width=520,height=360,left=10,top=10");
     win.document.open();
     win.document.write('<html><head><title>Ricken Sportclub</title><link rel="stylesheet" href="/formate/script.css" type="text/css"></head>');
     win.document.write('<body topmargin="10" marginheight="10" class="f00" onBlur=self.close()>');
     win.document.write('<center><img src=/sportclub/images/sportc108.jpg width="500" height="314">');
     win.document.write('<span class="t00"></span>');
     win.document.write('<a href=javascript:self.close() class="t00"><br><br>Schliessen</a>');
     win.document.write('</center></body></html>');
     win.document.close();
     if(win.focus != null)win.focus();
}
function wohnung()  {
     win = window.open("/aktuell/wohnung.htm","Fenster","width=470,height=450,left=10,top=10,scrollbars");
     if(win.focus != null)win.focus();
}
function refresh()  {
     window.location.reload( false );
}
function wannwirdaktualisiert()  {
     alert("Die Kamera macht alle 10 Sekunden ein neues Bild, mit der F5 Taste können Sie es immer wieder aktualisieren.");
}
function PopUp4(website) {
        var heightspeed = 4;
        var widthspeed = 2;
        var leftdist = 10;
        var topdist = 10;
        if (document.all) {
                var winwidth = 460
                var winheight = 440
                var sizer = window.open("","","left=" + leftdist + ",top=" + topdist + ",width=1,height=1,scrollbars=yes");
                        for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed) {
                                sizer.resizeTo("1", sizeheight);}
                        for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed) {
                                sizer.resizeTo(sizewidth, sizeheight);}
                                sizer.location = website;}
        else
                window.open(website)
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
