var    ifLayer = document.layers ? 1 : 0,
         ifDom = document.getElementById ? 1 : 0,
         ifAll = document.all ? 1 : 0,
       isOpera = navigator.userAgent.indexOf('Opera') >= 0 ? 1 : 0,
    isNetscape = navigator.appName.indexOf('Netscape')>= 0 ? 1 : 0,
          ofsY = 0,
      frmWidth = 0,
     frmHeight = 0;

///////////////////////////////////////////////////////////
function setDiv ( divId, x, y ) {
 if (ifLayer) {
   self.document.layers[ divId ].left = x;
   self.document.layers[ divId ].top  = y;
 }else{
   if(ifDom){
      self.document.getElementById( divId ).style.left = x;
      self.document.getElementById( divId ).style.top  = y;
   }else{
      self.document.all[ divId ].style.left = x;
      self.document.all[ divId ].style.top  = y;
   }
 }
}

///////////////////////////////////////////////////////////
function positionCheck ( oldY ) {

 frmHeight = isOpera || isNetscape ? window.innerHeight : document.body.offsetHeight;
 frmHeight += ifLayer ? 4 : 0;

 ofsY = ( isOpera || isNetscape ) ? window.pageYOffset : document.body.scrollTop;

 if (ofsY==oldY)
   setDiv ( 'hoch' , 7, ofsY==0?-60:(frmHeight+ofsY-58) );

 window.setTimeout('positionCheck('+ofsY+')',10);

}

///////////////////////////////////////////////////////////
function printDiv() {
 document.write('<div id="hoch"><img src="../_b/pf1.gif" alt="" width="8" height="11" border="0"><a href="#" class="anker">zum<br>Men&uuml;</a></div>');
}
/////
function Go(x) {
 if(x == "nothing") {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else {
   parent.location.href = x;
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
 }
}

