(function($) {
    $.fn.VerticalAlign = function(opts) {
        return this.each(function() {
            var top = (($(this).parent().height() - $(this).height()) / 2);
			if(top < 0){
				top = 0;
			}
			
			$(this).css('margin-top', top);			
			bgAjust = top - 600 + $("#header").height() - (jQuery.browser.msie&&jQuery.browser.version=="6.0"?1:0);
			$("body").css({backgroundPosition:"0 "+ bgAjust +"px"});			
        });
    };
})(jQuery);
