/*
Image Dropper by Brady Sammomns
Copyright 2012
www.bradysammons.com
*/
jQuery(function(){
		function imgDrop(){
		jQuery('.img-list img').each(function(){
			var width = jQuery(this).width();
			var height = jQuery(this).height();
			
			jQuery(this).css('width' , width);
			jQuery(this).css('height' , height);
			jQuery(this).parent().css('width' , width);
			jQuery(this).parent().css('height' , height);
			jQuery(this).next().css('width' , width-16);
			jQuery(this).next().css('height' , height-16).css('top' , -height);
			
			jQuery(this).parent().hover(function(){
				//on RollOver
				jQuery(this).find('p').stop().animate({'top' : 0}, 300);	
			},function(){
				//on RollOut
				jQuery(this).find('p').stop().animate({'top' : -height}, 600);
			});
			
		});
	}	
	imgDrop();
});


