
var speed = 10;

function down() {

if (window.upvar) clearTimeout(upvar);

if (parseInt(o.style.top) >= (ch*(-1)+350)) o.style.top = parseInt(o.style.top) - speed+'px';
downvar = setTimeout('down()',20);
}

function up() {
if (window.downvar) clearTimeout(downvar);
if (parseInt(o.style.top) < 0) o.style.top = parseInt(o.style.top) + speed+'px';
upvar = setTimeout('up()',20);
}

function stop() {
if (window.upvar) clearTimeout(upvar);
if (window.downvar) clearTimeout(downvar);
}

function t(o) {
top.location.href = o.href;
}

window.onload = function(){ch=o.offsetHeight;};
