(function ($) {
    $.fn.fixOverflow = function () {
	if ($.browser.msie) {
	    return this.each(function () {
		if (this.scrollHeight > this.offsetHeight) {
		    $(this).css({ 'overflow-x' : 'hidden' });
		}
	    });
	} else {
	    return this;
	}
    };
})(jQuery);
$(function() {
	var newHeight = parseInt($('div#leftColumn').height()-$('div#rightColumn h3.title').height());
	if (parseInt(newHeight) < 500) { newHeight=500 };
	$('div#rightColumn div.news-content').height(newHeight+'px').css({'overflow': 'auto','padding-right':'10px'}).fixOverflow();
});
