function loaded() {
  var numPunX = 6;
  var seed = Math.floor(Math.random() * numPunX)+1;
  document.getElementById("LPimg").src = "/grafx/lp/lp"+seed+".gif";
  floater();
  if(document.all) {
    window.onscroll = floater;
    window.onresize = floater;
  } else {
    setInterval('floater()', 100);
  }
}

function floater() {
//  var scrolled = ((document.documentElement.scrollTop) ? document.documentElement.scrollTop : document.body.scrollTop);
//  var bottom = document.getElementById("LPimg").style.bottom;
//alert(bottom);
  var height = 0;
  document.getElementById("LPimg").style.bottom = (height - 1) + 'px';
  height = height - 1;
  document.getElementById("LPimg").style.bottom = (height + 1) + 'px';
}

function hide() {
  document.getElementById("LPimg").style.display="none";
}
    