function scrollPageDown()
{
if(oTime)return;
oTime=setInterval("scrollPage()",16);
}
function stopScroll()
{
clearInterval(oTime);
oTime=0;
}
{
if(oTime)return;
oTime=setInterval("scrollPage()",16);
}
function stopScroll()
{
clearInterval(oTime);
oTime=0;
}
var idInterval=setInterval("status=new Date().getTime()",10);
//上一次的idInterval没有被取消,变量就被改写了。
var idInterval=setInterval("status=new Date().getTime()",10);
//于是只取消了后一次的context
clearInterval(idInterval);
</script>