<!--
    NS4 = (document.layers);
    IE4 = (document.all);
    
    scalewidth = true;
    scaleheight = true;
    imagesource = "image/baggrund.jpg";

    if (NS4) window.onload = setresize;

    function setresize(){
        setTimeout("window.onresize=redo;",500);
    }

    function redo(){
        window.location.reload()
    }

    if (IE4) window.onresize = redoie;

    function redoie(){
        imagebkg.width = document.body.clientWidth;
        imagebkg.height = document.body.clientHeight;
    }

    function bkgimage() {
    
      windowwidth = (NS4) ? innerWidth : document.body.clientWidth;
      windowheight = (NS4) ? innerHeight : document.body.clientHeight;
    
      imagestr = "<DIV ID=elBGim"
      + " STYLE='position:absolute;left:0;top:0;z-index:-1'>"
      + "<IMG NAME='imagebkg' BORDER=0 SRC=" + imagesource;
      if (scalewidth) imagestr += " WIDTH=" + windowwidth;
      if (scaleheight) imagestr += " HEIGHT=" + windowheight;
      imagestr += "></DIV>";
    
      document.write(imagestr);
    
    } 
//-->