// JavaScript Document
              
              function fadeRueckruf(){
                fade('rueckruf_div','auf');
              }
              
              function fade(id, richtung){
                var e = document.getElementById(id);
                var hoeheAlt = parseInt(e.style.height);
                
                var tempo = 10;
                var schritte = 10;
                
                e.style.height = "auto";
                var hoeheMax = e.offsetHeight;
                
                if(isNaN(hoeheAlt)){
                  hoeheAlt = hoeheMax;
                }
                
                if(hoeheAlt == hoeheMax){
                  richtung = "zu";
                }else if(hoeheAlt == 0){
                  richtung = "auf";
                }
                
                if (richtung == "zu"){
                  var hoeheNeu = hoeheAlt - (hoeheMax/schritte);
                  if(hoeheNeu <= 0){
                    hoeheNeu = 0; 
                  }
                  e.style.height = hoeheNeu + "px";
                  if(hoeheNeu > 0){
                    window.setTimeout("fade('" + id + "', 'zu')",tempo);
                  }
                }else{
                  var hoeheNeu = hoeheAlt + (hoeheMax/schritte);
                  if(hoeheNeu > hoeheMax){
                    hoeheNeu = hoeheMax; 
                  }
                  e.style.height = hoeheNeu + "px";
                  if(hoeheNeu < hoeheMax){
                    window.setTimeout("fade('" + id + "', '" + richtung + "')",tempo);
                  }
                }
              }
              

function info(url)
{
var hWnd = window.open(url, "Info", 'toolbar=1,location=top,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=850,height=500');
hWnd.focus();
}
