 function check()
  {
  	if (document.form1.suchen.value=='Suchbegriff')	{
    	alert('Bitte geben Sie Etwas ein!');
   		return false;
   	} else return true;//alert('ok ' + document.form1.suchen.value+'!')
   }
if (navigator.appName.indexOf("Opera") != -1)
{
   function hoehe() {
		 var total = (window.document.getElementById("wrapper").offsetHeight - 259);
	   document.getElementById("rechts").style.height = total + "px"
	   document.getElementById("links").style.height = total + "px"
	   document.getElementById("content").style.height = total-19 + "px"
     return total;
    }
}
else if (navigator.appName.indexOf("Explorer") != -1)
{
   function hoehe() {
		 var total = (window.document.getElementById("wrapper").offsetHeight - 257);
	   document.getElementById("rechts").style.height = total + "px"
	   document.getElementById("links").style.height = total + "px"
	   document.getElementById("content").style.height = total-39 + "px"
     return total;
    }
}
else if (navigator.appName.indexOf("Netscape") != -1)
{
   function hoehe() {
		 var total = (window.document.getElementById("wrapper").offsetHeight - 259);
	   document.getElementById("rechts").style.height = total + "px"
	   document.getElementById("links").style.height = total + "px"
	   document.getElementById("content").style.height = total-19 + "px"
     return total;
    }
}
else
{
   function hoehe() {
		 var total = (window.document.getElementById("wrapper").offsetHeight -259);
	   document.getElementById("rechts").style.height = total + "px"
	   document.getElementById("links").style.height = total + "px"
	   document.getElementById("content").style.height = total-19 + "px"
     return total;
    }
} 

function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}

function neuAufbau () {
  if (Weite != Fensterweite() || Hoehe != Fensterhoehe())
   hoehe()
}

/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
  Hoehe = Fensterhoehe();
}

var newwindow;

function poptastic(url,hohe,breite)
{
	newwindow=window.open(url,'name',"height="+hohe+" , width="+breite+", left=250, top=100, resizable=yes, scrollbars=no, toolbar=no, menubar=no, location=no, status=no");
	if (window.focus) {newwindow.focus()}
}
