/* Tabellenzellen mit Link einfärben
*/

function makeWhite(){
  this.style.backgroundColor="white";
}

function makeGrey(){
   this.style.backgroundColor="#828390";
   }

function deleteBorder(){
   event.cancelBubble=true;
   this.blur();
   }

function followLink(){
   var i;
   for (i=0;i<this.children.length;i++)
    if (this.children[i].tagName=="A")
     obj = this.children[i];
   obj.click();
   }

function start(){
  if (document.all){
    var oLinks = document.links;
    var i,sTemp;
    for (i=0;i<oLinks.length;i++){
      if (oLinks[i].parentElement.tagName  =="TD" &&
          oLinks[i].parentElement.className=="menu"){
        oLinks[i].parentElement.onmouseover = makeWhite;
        oLinks[i].parentElement.onmouseout = makeGrey;
        oLinks[i].parentElement.onclick = followLink;
        oLinks[i].onclick=deleteBorder;
      }
    }
  }
}
