Event.observe(window, 'load', function(){
	$$('#cslider .arrow').invoke('observe', 'click', function(e) {
		var moveby	= 157 * (e.findElement('.arrow').hasClassName('arrowup') ? 1 : -1);
		var nlist	= $('clist').down('ul');
		var top		= parseInt(nlist.style.top) || 0;
		
		if ((moveby > 0 && top >= 0) || (moveby < 0 && top*(-1) >= nlist.offsetHeight+moveby)) return;
		
		$('cslider').down('.arrowup').style.visibility =  (top + moveby < 0) ? 'visible' : 'hidden';
		$('cslider').down('.arrowdown').style.visibility =  (top+moveby*2 > -nlist.offsetHeight) ? 'visible' : 'hidden';
		
		Effect.MoveBy(nlist, moveby, 0, {queue: {scope: 'news', limit:1}})
	});
});