	<!--
     IE4 = (document.all) ? true : false;
     NS4 = (document.layers) ? true : false;

     ScreenWidth = screen.width;
     ScreenHeight = screen.height;
     
     nWidth = 0;
     nHeight= 0;
    //-->

    <!--- Hide script from old browsers
	function OpenNewWindow(cPicture,nWidth,nHeight)
	{

    a = Math.random();
    a = 10000000*a;
    a = Math.round(a);

    xpos = (ScreenWidth/2)-(nWidth/2);
    ypos = (ScreenHeight/2)-(nHeight/2);
     
	NewWindow=window.open("",""+a+"","HEIGHT="+nHeight+",WIDTH="+nWidth+",status=0,scrollbars=0,resizable=no,top="+ypos+",left="+xpos+"");
	NewWindow.document.write ("<HTML><HEAD><TITLE>&copy; Schleid&ouml;rferschule</TITLE></HEAD>");
	NewWindow.document.write ("<BODY BGCOLOR='black' marginheight='0' marginwidth='0' leftmargin='0' topmargin='0'>");
	NewWindow.document.write ("<a href='javascript:self.close();' title='Fenster schliessen'><IMG SRC=");
	NewWindow.document.write (cPicture);
	NewWindow.document.write (" border='0'></a>");
	NewWindow.document.write ("</BODY></HTML>");
	NewWindow.document.close();
    return false;
	}

    
    function openWindow(url,name,eigenschaften) {
    
      window.open(url,"formular","HEIGHT=530,WIDTH=430,status=no,scrollbars=no,resizable=no,top=30,left=30");
    }

    function openGB(url,name,eigenschaften) {

    xpos = (ScreenWidth/2)-(900/2);
    ypos = (ScreenHeight/2)-(600/2);
    
      window.open(url,"Guestbook","HEIGHT=600,WIDTH=900,status=1,scrollbars=1,resizable=1,top="+ypos+",left="+xpos+"");
    }
	
	

// Zahlenfelder in Formularen

function nurZahlen(el)
{
  var val = el.value.replace(/[a-zA-ZÄÜÖäüö€@*#+~;:_-§$%&/()=?]/g, '');
  el.value = val;
}

function plz(el)
{
  var val = el.value.replace(/[^\^\d]/g, '');
  el.value = val;
}
// end hiding from old browsers -->

