$(function() {
	$('.social img')
	.animate({height: 16, margin: 8, opacity: .6}, 0) //Set all menu items to smaller size
	.mouseover(function(){ //When mouse over menu item
		gridimage = $(this); //Define target as a variable
		gridimage.stop().animate({height: 32, margin: 0, opacity: 1}, 50); //Animate image expanding to original size
	})
	.mouseout(function(){ //When mouse no longer over menu item
		gridimage.stop().animate({height: 16, margin: 8, opacity: .6}, 150); //Animate image back to smaller size
	});
  $('a.thumb').fancybox();
  $('input').focus(function(){
    $(this).select();
  })
});

