/*ESTE ARQUIVO JAVASCRIPT FOI DESENVOLVIDO POR PUBLIONLINE BRASIL
http://www.publionline.com.br*/

$(document).ready(function(){
		
		(function($){ // Wrapper to make sure that the $ is used by jQuery and wasn't taken over by another library
			
			//////////////////////////// MENU /////////////////////////////
			
			/*$('li.submenu').menuRollover();*/		
			
			///////////////////////////////////////////////////////////////
			
		  ///////////////////////////// font size ////////////////////////////
		  var fonte = 12;
		  
		  $('.a-pequeno').click(function(){
		  fonte = 10;
		  $('.size').css({'font-size' : fonte});				
		  });
		  
		  $('.a-medio').click(function(){
		  fonte = 12;
		  $('.size').css({'font-size' : fonte});				
		  });
		  
		  $('.a-grande').click(function(){
		  fonte = 14;
		  $('.size').css({'font-size' : fonte});				
		  });		  
		  ///////////////////////////////////
		  
		 $('.creditos').hover(function(){
			$('.tooltip').stop(true, true).fadeIn('fast');						  
		 }, function(){
			$('.tooltip').stop(true, true).fadeOut('fast');
		 });
		 
		 /*$('#conteudo, #cx-logo-menu, #banner-interno').dropShadow({
			left: 2,
			top: 0,
			opacity: .1,
			blur: 0
		});*/
		
		$('.seta-select').html('<img src="../img/seta-select-down.gif" width="45" height="35" />');
		
		$('.select-box').hover(function(){
			$(this).children('.pop-produtos').stop(true, true).fadeIn('fast');	
			$(this).children('.seta-select').html('<img src="../img/seta-select-up.gif" width="45" height="35" />');
		}, function(){
			$(this).children('.pop-produtos').stop(true, true).fadeOut('fast');	
			$(this).children('.seta-select').html('<img src="../img/seta-select-down.gif" width="45" height="35" />');
		});		
		
		//$('.cx-login').load('login.htm');
			
		//////////////////////////// PNG FIX /////////////////////////////////
		  
		  $(document).pngFix();
		  
		  ///////////////////////////////////////////////////////////////////////
			
			
		})(jQuery);
 });


