var c = 0;
var s = 20;


$(function(){
	var h = $('#contents-right-newsarea dl').height();
	$('#down').click(function(){
		c = ((c - s) < (h - 140) * -1) ? (h - 140) * -1 : c - s;
		$('#contents-right-newsarea dl').animate({top:c}, 140 );
		return false;
	});
	$('#up').click(function(){
		c = ((c + s) > 0) ? 0 : c + s;
		$('#contents-right-newsarea dl').animate({top:c}, 140 );
		return false;
	});
});