(function($) {
	$.fn.vAlign = function(vHeight) {
		return this.each(
			function(i) {
				var h = $(this).height();
				var oh = $(this).outerHeight();
				var mt = (h + (oh - h)) / 2;
				$(this).css("margin-top",(vHeight / 2 - oh / 2) + "px");
				//document.title = (vHeight / 2 - oh / 2) + "px";
				//$(this).css("position", "absolute");
				//var parentWidth = $(this).parent().width();
				//$(this).width(parentWidth - 170);
			}
		);
	};
})(jQuery);
