var Timer;
var IntervalPoint = 20;
var max = (-520);
var y=0;

function textDown(){
if (document.all) {
if (this.stage.style.pixelLeft > max){
this.stage.style.pixelLeft -= IntervalPoint;
}
}

if (!document.all && document.getElementById){
if (y > max){
y -= IntervalPoint;
this.document.getElementById('stage').style.left = y;
}
}

if (document.layers) {
if (this.document.stage.left > max){
this.document.stage.left -= IntervalPoint;}
}

Timer = setTimeout('textDown()', 100);
}

function textUp(){
if (document.all){
if (this.stage.style.pixelLeft < 0){
this.stage.style.pixelLeft += IntervalPoint;
}
}

if (!document.all && document.getElementById){
if (y < 0){
y += IntervalPoint;
this.document.getElementById('stage').style.left = y;
}
}

if (document.layers){
if (this.document.stage.left < 0){
this.document.stage.left += IntervalPoint;
}
}

Timer = setTimeout('textUp()', 100);
}

function clearTimer(){
clearTimeout(Timer);
IntervalPoint = 20;
}

function speedup(){
IntervalPoint+=10;
}

