  var no = 1; // aantal
  var speed = 10; // snelheid, lager=sneller
  var stx=2; //Steps
  var chick = "gfx/kip_klein.gif";
  var ns4up = (document.layers) ? 1 : 0;
  var ie4up = (document.all) ? 1 : 0;
  var i, doc_width, doc_height;
  var xp=1;
  if (ns4up) {
   doc_width = self.innerWidth;
   doc_height = self.innerHeight;
  } else if (ie4up) {
   doc_width = document.body.clientWidth;
   doc_height = document.body.clientHeight;
  }
  var yp=369;
  if (ns4up) {
   document.write("<layer name=\"chicken\" left=\"15\" top=\""+yp+"\" visibility=\"show\"><img src=\""+chick + "\" border=\"0\"></layer>");
  } else if (ie4up) {
   document.write("<div id=\"chicken\" style=\"POSITION: absolute; Z-INDEX: 1; VISIBILITY: visible; TOP: "+yp+"px; LEFT: 15px;\"><img src=\""+chick + "\" border=\"0\"></div>");
  }

  function snowNS() {  // Netscape
   alert('oke');
   doc_width = document.body.clientWidth;
   if (xp>=doc_width-105) xp=0;
   xp=xp+stx;
   document.layers["chicken"].left = xp;
   setTimeout("snowNS()", speed);
  }

  function snowIE() {
   chik=document.all["chicken"];
   doc_width = document.body.clientWidth;
   if (xp>=doc_width-105) {
    xp=0-stx;
    chik.style.display='none';
    setTimeout("snowIE()", Math.round(Math.random()*60000));
   } else {
    xp=xp+stx;
    chik.style.display='';
    chik.style.pixelLeft = xp;
    setTimeout("snowIE()", speed);
   }
  }

  if (ns4up) {
   snowNS();
  } else if (ie4up) {
   snowIE();
  }

