(function ($) 
{
	// VERTICALLY ALIGN FUNCTION
	$.fn.vAlign = function() 
	{
		return this.each(function() 
		{
			var ah = $(this).height();
			var ph = $(this).parent().height();
			var mh = ((ph-ah) / 2);
            var suma = (jQuery.browser.mozilla || ($.browser.msie && $.browser.version=="6.0"))?0:1
			$(this).css('padding-top', mh + "px");
			$(this).css('height', ph - mh + suma + "px");
		});
	};
})(jQuery);