//Set these variables:
//The pixel value of where you want the layer to start (from the top)
//Set this to false if you just want it to go one time
//Set the speed, lower value gives more speed
//Set this to how many pixels you want it to go for each step, this also changes the speed.
var n = (document.layers) ? 1:0;
var ie = (document.all) ? 1:0;