// JavaScript Document

(function ($) {
	$.fn.vAlign = function() {
	return this.each(function(i){
		var h = $(this).height();
		var oh =$(this).parent().height();
		if(h<oh){
			var mt = (oh - h) / 2;
			$(this).css("margin-top", mt + "px");
		}
	});
};

})(jQuery);
