window.onload = function () {
    var height, left_height, main_height;
    var left  = document.getElementById("left");
    var lcont = document.getElementById("lcont");
    var line  = document.getElementById("edge");
    var main  = document.getElementById("mcont");
    var crumb = document.getElementById("crumb");
    left_height = lcont.offsetHeight;
    main_height = main.offsetHeight;
    height = Math.max(left_height, main_height);
    left.style.height = line.style.height = height + crumb.offsetHeight + "px";
    main.style.height = height + "px";
}
function ml_window() {
    var act = '';
    for (var k=0; k < document.sub_form.elements.length; k++) {
    var radioObj = document.sub_form.elements[k];
    if (radioObj.type == 'radio' && radioObj.checked == true) {
        act = radioObj.value;
        var c_id = k;
    }
    }
    if (act == '') {
    return false;
    }
    var path = 'http://tools.mirohost.net/ml/mail.php?id=820&action=' + act + '_form';
    var subwin = window.open( path, "ml_window", "width=400, height=200");
    document.sub_form.elements[c_id].checked = false;
    return true;
}
