var go=1;              
var actualheight='';

function scrollmarquee() {
    if (parseInt(el.style.top)>(actualheight*(-1)+8))
        el.style.top=parseInt(el.style.top)-go+"px";
    else
        el.style.top=parseInt(marqueeheight)+8+"px";
}

function initializemarquee(div_container,div_scroll) {
    el = document.getElementById(div_scroll);
    el.style.top=50;
    marqueeheight=document.getElementById(div_container).offsetHeight;
    actualheight=el.offsetHeight;
}
function start(delay_scroll) {
    setTimeout('lefttime=setInterval("scrollmarquee()",30)',delay_scroll);
}

function autoscroll_go() {
    initializemarquee('scroll_container','scroll_object');
    start(1000);
}
