﻿(function($) {
    $.fn.valign = function(opts) {
        return this.each(function() {
            var top = (($(this).parent().height() - $(this).height()) / 2);
            // $(this).css('margin-top', top).css('top', 0);
				// Hacked to work in IE7 with jquery.cycle-background.js
            $(this).css('top', top);
        });
    };
})(jQuery);
