(function($) {
	$.fn.center = function() {
		return this.each(function() {
			var $this			= $(this);
			var width			= $this.width();
			var height			= $this.height();
			var widthParent		= 440;
			var heightParent	= $(this).parent().height();
			var xOffset			= Math.round((widthParent - width) / 2);
			var yOffset			= Math.round((heightParent - height) / 2);
			$this.parent().css('position','relative');
			$this.css({'position':'absolute', 'top':yOffset, 'left':xOffset});
		});
	};  
})(jQuery);