var Site = ({
	
	initBannerSup: function()
	{
		$('#patrocinio img').show();
		
		$('#patrocinio').scrollable({easing: 'swing',circular: true}).autoscroll({
			interval: 6000		
		});
	}, // fim function initBannerSup
	
	initScroll: function(containerScroll, divScroll, tipo)
	{
		tipo = tipo || 'V';
		
		if (tipo == 'V')
		{
			var eventScrollTop;
			
			$(containerScroll).find('.scrollTop').hover(function(){
				eventScrollTop = setInterval('Site.pageScroll("' + divScroll + '", "T")', 50);
			}, function() {
				clearInterval(eventScrollTop);
			});
			
			var eventScrollDown;
			
			$(containerScroll).find('.scrollBottom').hover(function(){
				eventScrollDown = setInterval('Site.pageScroll("' + divScroll + '", "D")', 50);
			}, function() {
				clearInterval(eventScrollDown);
			});
		} // fim if
		else
		{
			var eventScrollLeft;
			
			$(containerScroll).find('.scrollLeft').hover(function(){
				eventScrollLeft = setInterval('Site.pageScroll("' + divScroll + '", "L")', 50);
			}, function() {
				clearInterval(eventScrollLeft);
			});
			
			var eventScrollRight;
			
			$(containerScroll).find('.scrollRight').hover(function(){
				eventScrollRight = setInterval('Site.pageScroll("' + divScroll + '", "R")', 50);
			}, function() {
				clearInterval(eventScrollRight);
			});
		}
	}, // fim function initScroll
	
	pageScroll: function(divScroll, direction)
	{
		switch (direction)
		{
			case 'D':  		// DOWN
	
				$(divScroll).get(0).scrollTop = $(divScroll).get(0).scrollTop + 10;
				
			break;
			
			case 'T':		// TOP
				
				$(divScroll).get(0).scrollTop = $(divScroll).get(0).scrollTop - 10;
			
			break;
			
			case 'L':		// LEFT
				
				$(divScroll).get(0).scrollLeft = $(divScroll).get(0).scrollLeft - 10;
			
			break;
			
			case 'R':		// RIGHT
				
				$(divScroll).get(0).scrollLeft = $(divScroll).get(0).scrollLeft + 10;
			
			break;
		} // fim switch
	} // fim pageScroll
}); // fim obj Site
