function matchDivHeight()
{
    var d, max_height=0, min_height=780;
    d = new Array();
    var c1 = document.getElementById("div_left_content");
    if (c1!=null) d.push(c1);
    var c2 = document.getElementById("div_right_content");
    if (c2!=null) d.push(c2);
	var c3 = document.getElementById("div_left_shadow");
    if (c3!=null) d.push(c3);
    var c4 = document.getElementById("div_right_shadow");
    if (c4!=null) d.push(c4);
    var c5 = document.getElementById("div_main_content");
    if (c5!=null) d.push(c5);


    for(var i=0; i<4; i++)
    if (d[i])
    {
        if (d[i].offsetHeight>max_height) 
            max_height = d[i].offsetHeight;
    }
	
	if (max_height<min_height) max_height = min_height;

    for(i=0; i<5; i++)
    {
        if (d[i])
            d[i].style.height = max_height+'px';
    }
    
}