$(window).load(function(){ 
						
/* Equal heigh the side by side panes */
if( jQuery("#dnn_Left2ContentPane div:first-child").outerHeight() > jQuery("#dnn_Right2ContentPane div:first-child").outerHeight() ){
jQuery("#dnn_Right2ContentPane div:first-child").height(jQuery("#dnn_Left2ContentPane div:first-child").outerHeight());
jQuery("#dnn_Left2ContentPane div:first-child").height(jQuery("#dnn_Left2ContentPane div:first-child").outerHeight());
}
else {
jQuery("#dnn_Left2ContentPane div:first-child").height(jQuery("#dnn_Right2ContentPane div:first-child").outerHeight());
jQuery("#dnn_Right2ContentPane div:first-child").height(jQuery("#dnn_Right2ContentPane div:first-child").outerHeight());
}

/* Equal height of left and main content areas */
if( jQuery("#maincolcontent").outerHeight() > jQuery("#leftcolcontent").outerHeight() ){
jQuery("#leftcolcontent").height(jQuery("#maincolcontent").outerHeight());
jQuery("#maincolcontent").height(jQuery("#maincolcontent").outerHeight()-10);
}
else {
jQuery("#maincolcontent").height(jQuery("#leftcolcontent").outerHeight());
jQuery("#leftcolcontent").height(jQuery("#leftcolcontent").outerHeight());
}						
						
			/*			
jQuery("#maincol").corner("round br 8px");
jQuery("#maincolcontent").corner("round br 8px");
jQuery("#leftcol").corner("round bl 8px");
jQuery("#LeftPaneBottom").corner("round bl 8px");

/* Fix the widths of the three columns (with or without content pane populated */
if( jQuery("#dnn_Content2Pane").index()==-1 )
{
jQuery(".Left2ContentPane").css ({'width' : '49%', 'float' : 'left'});
jQuery(".Right2ContentPane").css({'width' : '49%', 'float' : 'right'});
}
else
{
jQuery(".Left2ContentPane").css ({'width' : '25%', 'float' : 'left'});
jQuery(".Content2Pane").css({'width' : '48%', 'float' : 'right'});
jQuery(".Right2ContentPane").css({'width' : '25%', 'float' : 'right'}); 
}

});
