 var $j = jQuery.noConflict();
$j(document).ready(function(){
    
	if(document.all) { //This means it is IE
				if($j('#frame_home').length != 0){
                                  
		var first_column = parseInt(document.getElementById('news').offsetHeight);
       		var second_column = parseInt(document.getElementById('events').offsetHeight);
       		var third_column = parseInt(document.getElementById('blogs').offsetHeight);
                	var maxheight = (first_column>second_column)?((first_column>third_column)?first_column:third_column):((third_column>second_column)?third_column:second_column);
                        maxheight = maxheight + 'px';
                       
			$j('#news').css('height',maxheight);
			$j('#events').css('height',maxheight);
			$j('#blogs').css('height',maxheight);
		}
	}else if($j('#frame_home').length != 0){
                       
			 first_column = parseInt($j('#news').css('height'));
			 second_column = parseInt($j('#events').css('height'));
			 third_column = parseInt($j('#blogs').css('height'));
                         maxheight = (first_column>second_column)?((first_column>third_column)?first_column:third_column):((third_column>second_column)?third_column:second_column);
        		maxheight = maxheight + 'px';
			$j('#news').css('height',maxheight);
			$j('#events').css('height',maxheight);
			$j('#blogs').css('height',maxheight);
		}
});

