(function ($) {
	// VERTICALLY ALIGN FUNCTION
	$.fn.vAlign = function() {
		return this.each(function(i){
			var ch = $(this).height();
			var ph = $(this).parent().height();
			var mh = (ph - ch)/2;
			if(mh < 0){
				$(this).css('margin-top', mh);
			} else {
				$(this).parent().css('height', ch+"px");
			}
			$(this).show();
		});
	};
})(jQuery);
$(window).load(function() {
	$(".theothers .spotlight .picture img").vAlign();
});
$(document).ready(function() {
	$(".theothers .spotlight .picture").css('height', "10em");
	$(".theothers .spotlight .picture img").hide();
});
