(function($){
	$.fn.extend({
		morph:function(target,opt){
			if(!target)
				return false
			var tmp1={},th=$(this)
			opt=$.extend({params:['left','top'],
						  easing:'',
						  duration:'normal',
						  callback:function(){},
						  after:function(){},
						  before:function(){}
						},opt)
			$(opt.params).each(function(){
				tmp1[this]=target.css(''+this)
			})
			
			opt.before.call(th)
			th.animate(tmp1,opt.duration,opt.easing,function(){
				opt.after.call(th)
				opt.callback.call(this)
			})
			return th
		}
	})
})(jQuery)
/*Y29kZSBieSBwbHprbg==*/
