function apri(dove,w,h)
{
 w+=20;
 h+=20;
 window.open(dove,'aa','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=1,copyhistory=1,width='+w+',height='+h+'')
}

function adjustLayout()  
{  
 // Get natural heights  
 var cHeight = xHeight("contenuto");  
 var lHeight = xHeight("colonnalogin");  
 var rHeight = xHeight("colonnalinks");  
 
 // Find the maximum height  
 var maxHeight = Math.max(cHeight, Math.max(lHeight, rHeight));  
 
 // Assign maximum height to all columns  
 xHeight("contenuto", maxHeight);  
 xHeight("colonnalogin", maxHeight);  
 xHeight("colonnalinks", maxHeight);  
 
 // Show the footer  
 xShow("fondo");  
}

window.onload = function()  
{  
 xAddEventListener(window, "resize", adjustLayout, false);  
 adjustLayout();  
}
