/**
 * @author wang_zheng
 */
var height,step,total;
total = 180
height=0;

function Divmove(Moveobj,direct) {
    if (document.getElementById(Moveobj).scrollHeight<180) {        
    } else {
	    if (direct == "up")
	    {
		    step = -20;
		    if (height<=((document.getElementById(Moveobj).scrollHeight-total)/-1)) {
			    height=((document.getElementById(Moveobj).scrollHeight-total)/-1);
		    } else {
			    height=height+step;		
		    }
	    }
	    else
	    {
		    step = 20;
		    if (height>=0) {
			    height=0;
		    } else {
			    height=height+step;		
		    }
	    }
	    document.getElementById(Moveobj).style.top=height.toString()+"px";		
    }
}
