  var hLast =  -1;
  var hMin  = 340;
  var hFix  = 170;
  function PollIFrameSize()
    {
    var h;
    var ms = false;
    setTimeout("PollIFrameSize()", 200);
    try
      {
      h = innerHeight - hFix - document.getElementById("content_iframe").offsetTop;
      }
    catch (e)
      {
      return; 
      /* 
        Der IE ist ein CHAOS! Er zeigt innerhalb einzelner Versionen vollkommen
	konfuses Verhalten. Diese Funktion ist darum nicht geeignet, dem IE
	mitzuteilen, was er machen soll. Der IE versteht es in aller Regel NICHT!
       */
      ms = true;
      hFix = 108;
      }
    if (ms)
      {
      try
        {
        h = document.body.clientHeight - hFix  - document.all.content_iframe.offsetTop;
        }
      catch (e)
        {
        h = document.documentElement.clientHeight - hFix - document.all.content_iframe.offsetTop;
        }
      }
    if (h < hMin)
      {
      h = hMin;
      }
    if (hLast != h)
      {
      document.getElementById("result_frame").style.height = h + "px";
      hLast = h;
      }
    } // function PollIFrameSize()

  function CheckSearchDefault(line)
    {
    if (line.defaultValue == line.value)
      {
      line.value = "";
      }
    } // function CheckSearchDefault()

  function CheckSearchInput()
    {
    var line = document.all.qs_input;
    if (document.all.qs_input.value == "")
      {
      alert("Bitte Suchbegriff vorgeben");
      return false;
      }
    return true;
    } // function CheckSearchInput()

  function CheckSearchEmpty(line)
    {
    if (line.value == "")
      {
      line.value = line.defaultValue;
      }
    } // function CheckSearchEmpty()

