var dy=0;

function ChangeScrollTop(off)
{
dy=off;
return false;
}

function ScrollIndex()
{
if (dy !=0)
{
var obj=document.getElementById("scf");
obj.scrollTop=obj.scrollTop+dy;
}
setTimeout("ScrollIndex()",30);
}

function ChangeScrollTopCont(off)
{
dy=off;
return false;
}

function ScrollIndexCont()
{
if (dy !=0)
{
var obj=document.getElementById("scf_cont");
obj.scrollTop=obj.scrollTop+dy;
}
setTimeout("ScrollIndexCont()",30);
}