function news_scroll_up(){
	var div1=$('scroll_news_cont').clientHeight;
	var div2=$('scroll_news').clientHeight;

	if(div1<div2){
			
		d2=$('scroll_news');
		d1=$('scroll_news_cont');
	
		valorey=d2.style.top;
		valorey=parseInt(valorey.replace('px',''),10);
		if(valorey<0){
			valorey=valorey+5;
			d2.style.top=valorey+'px';
		}

	}
}

function news_scroll_down(){
	var div1=$('scroll_news_cont').clientHeight;
	var div2=$('scroll_news').clientHeight;
	
	if(div1<div2){
			
		d2=$('scroll_news');
		d1=$('scroll_news_cont');
	
		valorey=d2.style.top;
		valorey=parseInt(valorey.replace('px',''),10); 
		if((div1-div2)<valorey){
			valorey=valorey-5;
			d2.style.top=valorey+'px';
		}

	}
}


function initNews(){
	var div1=$('scroll_news_cont').clientHeight;
	var div2=$('scroll_news').clientHeight;

	if(div1<div2){
	
	$('scroll_news_cont').addEvent('mousewheel', function(e){
		e.stop(); // prevent the mousewheel from scrolling the page.
	
		d2=$('scroll_news');
		d1=$('scroll_news_cont');
		
		// But we add some nice logic to it to change the background-color
	
		if (e.wheel < 0){
			valorey=d2.style.top;
			valorey=parseInt(valorey.replace('px',''),10); 
			if((div1-div2)<valorey){
				valorey=valorey-5;
				d2.style.top=valorey+'px';
			}
			
		} else { 
			valorey=d2.style.top;
			valorey=parseInt(valorey.replace('px',''),10);
			if(valorey<0){
				valorey=valorey+5;
				d2.style.top=valorey+'px';
			}
		}
		
			
		
	});
	}
}