function adjustLayout()  {  
 // Get natural heights  
 var cHeight = xHeight("main-content");  
 var lHeight = xHeight("lmenu-content");  
 var rHeight = xHeight("rmenu-content");  
 
 // Find the maximum height  
 var maxHeight =  
   Math.max(cHeight, Math.max(lHeight, rHeight));  
 
 // Assign maximum height to all columns  
 xHeight("main", maxHeight);  
 xHeight("main-bbs", maxHeight);  
 xHeight("lmenu", maxHeight);  
 xHeight("rmenu", maxHeight);  
 
 // Show the footer  
 xShow("footer");  
}

window.onload = function()  {  
 xAddEventListener(window, "resize",  
   adjustLayout, false);  
 adjustLayout();  
}

function showdesc(id) {
    var bx = document.getElementById(id);
    if (bx.style.display == 'block') { bx.style.display='none'; }
    else { bx.style.display='block'; }
}