
/*    *****************************************    javascript cdd - 2007    ******************************************/
function unPocoDeTodo() {    /* llamar a las siguientes funciones: */    arreglarAlturasColumnas();
}


/* ABRIR POPUP */function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}
/* ARREGLAR ALTURAS: */
function arreglarAlturasColumnas(){
    /* variables */
    var col_main;
    var col_right;    var col_main_height;    var col_right_height;
    
    /* objetos */
    col_main = document.getElementById("col1_6_8");
    col_right = document.getElementById("col2_2_8");
    
    /* chequear si existen */
    if((col_main != null)&&(col_right != null)){
        /* alturas */        col_main_height = col_main.offsetHeight;        col_right_height = col_right.offsetHeight;
                /* si es muy corto */        if( col_main_height < 600 ){            col_main.style.height = 600 + "px";        }
        
        /* cual es mas alto */        if( col_main_height < col_right_height ){            col_main.style.height = (col_right_height + 20) + "px";        }
    }
}



/* hacer todo cuando se cargue el HTML: */window.onload = unPocoDeTodo;