function EqualColumns()
{
    var maxHeight = 0;
    
    var column1 = document.getElementById("LeftColumn");
    var column2 = document.getElementById("RightColumn");
    var height1 = column1.offsetHeight;
    var height2 = column2.offsetHeight;
    
    var maxHeight = (height1 > height2) ? height1 : height2;
    
    var pageHeight = getPageSize();
    
    var headFootHeight = document.getElementById("HeaderZone").offsetHeight + document.getElementById("FooterZone").offsetHeight;
    
    maxHeight = (maxHeight + headFootHeight > pageHeight) ? maxHeight : pageHeight - headFootHeight;
    //alert ("Max Height: " + maxHeight + "\npageHeight: " + pageHeight);
    
    column1.style.height = maxHeight + "px";
    column2.style.height = maxHeight + "px";
}
function getPageSize() {
    var myHeight = 0;
    if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myHeight = window.innerHeight;
    } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myHeight = document.documentElement.clientHeight;
    } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myHeight = document.body.clientHeight;
    }
    return myHeight;
}

function popitup(url,width,height) {
	alert(url);
	var parameters = "width="+width+",height="+height;
	newwindow=window.open(url,'name',parameters);
}
