jQuery.fn.equalHeights=function() {
var maxHeight=0;
this.each(function(){
 if (this.offsetHeight>maxHeight) {maxHeight=this.offsetHeight;}
});
this.each(function(){
 jQuery(this).height(maxHeight + "px");
 if (this.offsetHeight>maxHeight) {
  jQuery(this).height((maxHeight-(this.offsetHeight-maxHeight))+"px");
 }
});
};


jQuery(function() {

 jQuery("#rightmenu,#content,#adsmenu").equalHeights();
 jQuery('#logo').corners({radio: 4,outColor: '#E5ECF3',inColor: '#2B71A3'});

});