jQuery(document).ready(function(){
jQuery("#homewrap a").hover(function() {
	jQuery(this).css({'z-index' : '10'}); /*Add a higher z-index*/ 
	jQuery(this).find('img').stop(true, true).addClass("hover").stop() /* Add class of "hover", then stop animation queue buildup*/
		.animate({
			/* marginTop: '0px', /* The next 4 lines will vertically align this image */ 
			/* marginLeft: '-12px',
			/* top: '-12px',
			/* left: '0px', */
			/* width: '150px', /* Set new width */
			/* height: '150px', /* Set new height */
			/* padding: '00px' */
			width: jQuery(this).find('img').width() + 75 ,
			height: jQuery(this).find('img').height()+ 75 ,
			marginTop: '-33px',
			marginLeft: '-33px'
		}, 200); /* this value of "200" is the speed of how fast/slow this hover animates */

	} , function() {
	jQuery(this).css({'z-index' : '5'}); /*Add a lower z-index*/
	jQuery(this).find('img').stop(true, true).removeClass("hover").stop()  /* Remove the "hover" class , then stop animation queue buildup*/
		.animate({
			/* marginTop: '0', /* Set alignment back to default */
			/* marginLeft: '0', */
			/* top: '0', */
			/* left: '0', */ 
			/* width: '125px', /* Set width back to default */
			/* height: '125px', /* Set height back to default */
			/* padding: '0px' */ 
			width: jQuery(this).find('img').width() - 75 ,
			height: jQuery(this).find('img').height() - 75,
			marginTop: '0px',
			marginLeft: '0px'
		}, 400);
});
});
