function checkHighlight(which)
{
   var el = event.srcElement;
   while (el != null && el.tagName!="TD")
     el = el.parentElement;
     if (el == null) return
   if (which)
      el.className = "tablerow"
   else
      el.className = ""
}




function NaviFenster() {

  var Ergebnis = document.Formular.Plan.options[document.Formular.Plan.options.selectedIndex].value;

   
   switch(Ergebnis) {

    case "1":
    Navigation = window.location.href="contact.html";
    Navigation.focus();
    break;

    
    case "2":
    Navigation = window.open("anfahrtwerk1.html","Navigation");
    Navigation.focus();
    break;
    
    case "3":
    Navigation = window.open("anfahrtwerk2.html","Navigation");
    Navigation.focus();
    break;}

}

function besttest()
{
   F = window.open("deflaker2.html","Popup","width=400,height=300");
   F.focus();
   
   var jetzt, sek1, sek2;
   jetzt = new Date();
   sek1 = jetzt.getSeconds();
   //alert(sek1);
   if(sek1>49) {sek1=sek1-60;}
   sek1=sek1+5;
   do {
   jetzt = new Date(); 
   sek2=jetzt.getSeconds();
   //alert(sek2);
   }
   while(sek2 < sek1);

   F.close();

}