$(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').hover(function() { 
				$('ul', this).css('display', 'block'); }, function() { 
					$('ul', this).fadeOut(250); });
			/////////////////////////////////////////////////////////////////////////
			
			////////////////////////// TWITTER //////////////////////////////////////
			$(".tweet").tweet({
			  auto_join_text_default: "we said,", 
			  auto_join_text_ed: "we",
			  auto_join_text_ing: "we were",
			  auto_join_text_reply: "we replied",
			  auto_join_text_url: "we were checking out",
			  username: "aulasdeingles",
			  count: 3,
			  loading_text: "Searching Tweets..."
			  });
			
			////////////////////////////////////////////////////////////////////////
			
			///////////////////////////// CYCLE ///////////////////////////////////
			$('.conteudoResultado').cycle({
			fx: 'fade',
			speed: 3000,
			timeout: 200,
			pause: 1,
			random: 1
			});		
			///////////////////////////////////////////////////////////////////////
			
		})(jQuery);
 });


