﻿function scroll(n)
{
    temp=n;
    document.getElementById('cartGoods').scrollTop=document.getElementById('cartGoods').scrollTop+temp;
    if (temp==0) return;
    
    if(temp > 0)
    {
        temp ++;
    }
    if(temp < 0)
    {
        temp --;
    }
    setTimeout("scroll(temp)",20);
}


