function makeScrollbar(content,scrollbar,handle,horizontal){
		
	if( $(content).getScrollSize().y  <= $(content).getSize().y   ) {
				$(scrollbar).setStyle('visibility' , 'hidden')
				return ; 
	} else {
				$(scrollbar).setOpacity('visibility' , 'visible')
	}
	
	var slider = new Slider(scrollbar, handle, {	
		steps: $(content).getScrollSize().y - $(content).getSize().y,
		mode: (horizontal?'horizontal':'vertical'),
		onChange: function(step){
			$(content).scrollTo(0,step);
		}
	}).set(0);
	
	$$( $(content), $(scrollbar) ).addEvent('mousewheel', function(e){	
		e = new Event(e).stop();
		var step = slider.step - e.wheel * 30;	
		slider.set(step);					
	});

	//$$('body').addEvent('mouseleave',slider.drag.stop);
}
						
window.addEvent('domready', function(){		
	makeScrollbar( 'texto_artistas', 'area', 'handle' , false  );	
});
	

