// JavaScript Document

	$(document).ready(function(){
		// Logo slide
		$("#top h1")  
		   .hover(function() {  
			 $(this).stop().animate({ marginLeft: '20px' }, 'normal');  
		   }, function() {  
			 $(this).stop().animate({ marginLeft: '0px' }, 'normal');  
		   });
		
		// Sidebar slide
		$("#sidebar li")  
		   .hover(function() {  
			 $(this).children('a').stop().animate({ paddingLeft: '20px' }, 'fast');  
		   }, function() {  
			 $(this).children('a').stop().animate({ paddingLeft: '0px' }, 'normal');  
		   });
		   
		// MainNav slide
		$(".mainNav li")  
		   .hover(function() {  
			 $(this).children('a').stop().animate({ paddingBottom: '20px' }, 'normal');  
		   }, function() {  
			 $(this).children('a').stop().animate({ paddingBottom: '0px' }, 'normal');  
		   });
		
		// Read More Slide
		$(".readMore")  
		   .hover(function() {  
			 $(this).stop().animate({ paddingRight: '10px' }, 'fast');  
		   }, function() {  
			 $(this).stop().animate({ paddingRight: '0px' }, 'normal');  
		   });
		
		// Read More Slide
		$("#social span")  
		   .hover(function() {  
			 $(this).stop().animate({ paddingLeft: '40px' }, 'fast');  
		   }, function() {  
			 $(this).stop().animate({ paddingLeft: '20px' }, 'normal');  
		   });
		
		// Latest tweets		   
		$("#tweets").tweet({
          count: 3,
          query: "from:Melvin_Jose&phrase=http",
          loading_text: "loading twitter..."
        });
		
		// Equal column heights
		function equalHeight(group) {
			tallest = 0;
			group.each(function() {
				thisHeight = $(this).height();
				if(thisHeight > tallest) {
					tallest = thisHeight;
				}
			});
			group.height(tallest);
			}
		$(document).ready(function() {
			equalHeight($(".column"));
		});
		
	});
