        
    window.onscroll = refresh;
    window.onresize = refresh;

    
    	


//window.onabort = close_load;
//window.onblur = close_load;
//window.onchange = close_load;
//window.onfocus = close_load;
//window.onload = close_load;
//window.onreset = close_load;
//window.onsubmit = close_load;
window.onunload = close_load;

    
    
    function refresh() {
      var breite = Fensterweite();
      var hoehe = Fensterhoehe();
       if(document.getElementById('lightbox_back_11082008')) document.getElementById('lightbox_back_11082008').style.top = document.body.scrollTop;
       if( document.all){
         if(document.getElementById('lightbox_back_11082008'))document.getElementById('lightbox_back_11082008').style.width = parseInt(document.body.offsetWidth) - 21;         
        }
        if(document.getElementById('content_11082008')) document.getElementById('content_11082008').style.left = (breite/2) - (parseInt(document.getElementById('content_11082008').style.width)/2) + 'px';
        if(document.getElementById('content_11082008')) document.getElementById('content_11082008').style.top  = (hoehe/2)-(parseInt(document.getElementById('content_11082008').style.height)/2)  + 'px';
    }

    function suche_load(){
        var ns = (document.layers)? true:false;
        var ie = (document.all)? true:false; 
        var breite = Fensterweite();
        var hoehe = Fensterhoehe();
        var ldiv = document.createElement("div");
        ldiv.id = 'lightbox_back_11082008';    
        document.body.appendChild(ldiv);
        with(ldiv.style){
            backgroundColor = '#090825';
            position = 'absolute';
            left = '0';
            top = document.body.scrollTop;
            width = '100%';
            height = '100%';
            filter='alpha(opacity:70)';
            opacity='0.7';
        }
        if( ie == true){
         ldiv.style.width = parseInt(document.body.offsetWidth) - 21;         
        }
        
        var mitte = document.createElement("div");
        //ldiv.appendChild(mitte);
        document.body.appendChild(mitte);
        mitte.id = 'content_11082008';
        with(mitte.style){
            position = 'absolute';
            height = '100';
            width = '220';
            left = (breite/2) - (parseInt(mitte.style.width)/2) + document.body.scrollLeft + 'px';
            top  = (hoehe/2)-(parseInt(mitte.style.height)/2)  + document.body.scrollTop +'px';
    
            backgroundImage = 'url(http://web1.210203.de.ip69.eu/fileadmin/javascript/loading.gif)';
            backgroundPosition = 'center center';
            backgroundRepeat = 'no-repeat';
            /*zIndex = '100';*/
        }
        document.getElementById('content_11082008').style.backgroundImage = 'url(http://web1.210203.de.ip69.eu/fileadmin/javascript/loading.gif)';
        
        
        
        
    }
    function suche_load_m(event){
    
      
      if(event.keyCode == 13 && sucht == false) {
        sucht = true;
        var ns = (document.layers)? true:false;
        var ie = (document.all)? true:false; 
        var breite = Fensterweite();
        var hoehe = Fensterhoehe();
        var ldiv = document.createElement("div");
        ldiv.id = 'lightbox_back_11082008';    
        document.body.appendChild(ldiv);
        with(ldiv.style){
            backgroundColor = '#000000';
            position = 'absolute';
            left = '0';
            top = document.body.scrollTop;
            width = '100%';
            height = '100%';
            filter='alpha(opacity:70)';
            opacity='0.7';
        }
        if( ie == true){
         ldiv.style.width = parseInt(document.body.offsetWidth) - 21;         
        }
        
        var mitte = document.createElement("div");
        ldiv.appendChild(mitte);
        mitte.id = 'content_11082008';
        with(mitte.style){
            position = 'absolute';
            height = '100';
            width = '100';
            left = (breite/2) - (parseInt(mitte.style.width)/2) + document.body.scrollLeft + 'px';
            top  = (hoehe/2)-(parseInt(mitte.style.height)/2)  + document.body.scrollTop +'px';
            backgroundColor = '#ffffff';
           
        }
        document.getElementById('content_11082008').style.backgroundImage = 'url(..fileadmin/javascript/loading.gif)';
        
    }
    }
    
    function close_load(){
      //window.alert("test");
      if(document.getElementById('lightbox_back_11082008')){
          var el = document.getElementById('lightbox_back_11082008');
          el.parentNode.removeChild(el);
      }
      if(document.getElementById('content_11082008')){
          var el1 = document.getElementById('content_11082008');
          el1.parentNode.removeChild(el1);
      }
    }
        
    function Fensterweite()
    {
        if (window.innerWidth) return window.innerWidth;
        else if (document.body && document.body.offsetWidth) 
          return document.body.offsetWidth;//document.getElementById('lightbox_back_11062008').offsetWidth;
        else return 0;
    }
    
    function Fensterhoehe()
    {
        if (window.innerHeight) return window.innerHeight;
        else if (document.body && document.body.offsetHeight) 
          return document.body.offsetHeight; //document.getElementById('lightbox_back_11062008').offsetHeight;
     
        else return 0;
    }
