//function framedirect(){
	//if (parent.frames.length = 1)
//	{document.location.href="http://www.wasserwerfer.de/index.html";
	//parent.frames.main="}
	//}

//function checkFrameset() {
 // if(parent.frames.length <= 1)
  // location.href="http://www.wasserwerfer.de/index.html?" + location.pathname;
 //}

function openwin(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
var ziel
function Goself(x,ziel)
   
   {
    if(x == "nothing")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      return;
    }
    else
    {
      parent.frames[ziel].location.href = x;
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
    }
  }
function Go(x)
   {
    if(x == "nothing")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      return;
    }
    else
    {
      parent.frames[1].location.href = x;
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
    }
  }
// netscape resize fix
var isExpanded = false;
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 NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


