  if (moz) {
    extendElementModel();
    extendEventObject();
    emulateEventHandlers(["mouseover", "mouseout"]);
  }

  function showDay(date) {
    tempX = document.body.offsetWidth - event.x;
    tempY = event.clientY + document.body.scrollTop;

    document.getElementById('day' + date).style.pixelTop = tempY - 20;
    document.getElementById('day' + date).style.pixelRight = tempX + 12;
    document.getElementById('day' + date).style.visibility = 'visible';
    return true;
  }

  function hideDay(date) {
    document.getElementById('day' + date).style.visibility = 'hidden';
    return true;
  }

  function formtooltip(el,flag){
    elem = document.getElementById(el);
    if (flag) { 
      elem.parentNode.parentNode.style.zIndex=1000;
      elem.parentNode.parentNode.style.borderRight='0px solid #000';
      // ugly , yes .. but neccesary to avoid a small but very annoying bug in IE6
      elem.style.visibility='visible';
    }
    else {
      elem.parentNode.parentNode.style.zIndex=1;
      elem.parentNode.parentNode.style.border='none';
      elem.style.visibility='hidden' };
  }
function NeuFenster( ziel, name, para) {
     MeinFenster =  window.open(ziel, name, para); 
     MeinFenster.focus();
}


function webpackkiosk(url)
{
var WinKiosk;
WinKiosk=open("http://webpac4.bsz-bw.de/webpac-bin/wgbroker.exe?new+-access+bw.s1fhte",
               "WinKiosk",
               "alwaysRaised=Yes,toolbar=no,menubar=no,hotkeys=no,location=no,status=yes,scrollbars=yes,resizable=yes");
WinKiosk.focus();
}

function bewerbungkiosk(url)
{
var WinKiosk;
WinKiosk=open("https://193.196.138.68/qisserver/servlet/de.his.servlet.RequestDispatcherServlet?state=wimma&stg=n&imma=einl",
               "WinKiosk",
               "alwaysRaised=Yes,toolbar=no,menubar=no,hotkeys=no,location=no,status=yes,scrollbars=yes,resizable=yes");
WinKiosk.focus();
}
function winOpenHeinz( name, breite, hoehe) {
      // Errechnet Koordinaten, um das Popup zentriert zu platzieren
      links = (screen.width/2)-(breite/2);
      oben = (screen.height/2)-(hoehe/2);
      window.open("http://www.hft-stuttgart.de/letterheinz/letterheinz.html",name,"height="+hoehe+",width="+breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = no,fullscreen = no,top ="+oben+",left ="+links);
}