/* 
Derived from a script by Alejandro Gervasio. 
Modified to work in FireFox by Stefan Mischook for Killersites.com

How it works: just apply the CSS class of 'column' to your pages' main columns.
*/
matchColumns=function() {
    
    
	
    maxHeight1= document.getElementById('left_side').offsetHeight
    maxHeight2= document.getElementById('main_side').offsetHeight
   
    okHeight =	maxHeight1


/*
    window.alert( maxHeight1);
    window.alert( maxHeight2);
*/


    

    if (maxHeight1>maxHeight2) {
        okHeight=	maxHeight1
        document.getElementById("main_side").style.height = okHeight + "px";
        
    }
}


// Runs the script when page loads 
window.onload=function() {
    
    
    if(document.getElementsByTagName) {
        
        
        matchColumns();
    }
}
