$.fn.accord = function() {	this.each(function() {		var wrapper = $(this);				wrapper.hover(function() {			var currentHeight = wrapper.find('.photo').height() + 1;			wrapper.find('.photo').stop(false,false).animate({marginTop:'-' +currentHeight +'px'});		});				wrapper.mouseleave(function() {			wrapper.find('.photo').stop(false,false).animate({marginTop:'0'});		});	});};$(document).ready(function() { 	$('.items li').accord();});
