// JavaScript

function anima_frases(){ 
	jQuery("#mobiliariofrases").fadeIn(9000);
	jQuery("#mobiliariofrases").fadeOut(9000);
	setTimeout("anima_frases()",2000);
} 

/*PRELOAD PARA ALGUMAS SEC��ES DE IMAGENS*/

/*PRELOAD PARA ALGUMAS SEC��ES DE IMAGENS*/

//para carregar scripts no arranque da p�gina
jQuery(window).load(function() 
	{
		
		jQuery("body").css("overflow", "hidden");

	
	//jQuery("#slidestopo").fadeIn(500);
	
	//reinicializar o valor da caixa de pesquisa
	//jQuery('#boxpesquisa').val('Pesquisa');
	
});


jQuery(document).ready(function(jQuery) {
	
	//vamos esconder os divs
	jQuery('#pagina').hide();
	//jQuery('#conteudo_central_index').hide();
	//jQuery('#desenvolvidodiv').hide(); 
	//jQuery('#mobiliariofrases').hide();
	jQuery('#colors').hide();
	
	/*scroll*/
		//inicializar objecto do scroll
		//jQuery("#texto_modal").jScrollPane({scrollbarWidth:10, dragMaxHeight:15});
		
		//reinicializar o objecto para usar com ajax
		reinitialiseScrollPane = function()
					{
						//jQuery('#texto_modal').jScrollPane({scrollbarWidth:10, dragMaxHeight:15});
					}
	/*scroll*/
	
	/*animacoes*/
	//jQuery("#conteudo_central_index").fadeIn(3000);
	//jQuery("#mobiliariofrases").fadeIn(9000);
	jQuery("#desenvolvidodiv").animate({top: '10px' }, {queue:false, duration:1000, easing:'easeOutBounce'});
	jQuery("#colors").fadeIn(2000);
	jQuery('#pagina').fadeIn(1000);
	
	//animacao continua
	//setTimeout("anima_frases()",300);
	
	/*animacoes*/
	
	/*menu atalhos rodape*/
	jQuery("#colors img").hover(aumenta, diminui);
	
	function aumenta(){ 
		var bigclass=jQuery(this).attr("class");
		if(bigclass=='')
			{
			jQuery(this).animate({"height":40},100);
			}
			else
			{
			jQuery(this).animate({"height":50},100);	
			}
		}
	function diminui(){
		var bigclass=jQuery(this).attr("class");
		if(bigclass=='')
			{
			jQuery(this).animate({"height":30},100);
			}
			else
			{
			jQuery(this).animate({"height":40},100);
			}
		}
	/*menu atalhos rodape*/
	
	
	//TOOLTIP
	jQuery('#colors div img').tipsy({gravity: 's', fade: true});
	jQuery('#bandeirasall a img').tipsy({gravity: 'n', fade: true});

		
});      
