/**
    A = top-bar height (200)
    X = top links bar (variable)
    Y = total height of the html canvas
    Z = remainder window

    Z = y-(a+x)
*/
function resizeText_()
                {
                    

                    var Z = this.document.getElementById("pagina2b");

                    var A = 200;
                    var X = this.document.getElementById('topSubMenu').style.height;
                    var Y = this.window.innerHeight;

                    var psh = (parseInt(Y, 10))-(parseInt(X, 10) + A) ;
                   

                    Z.style.overflowY = 'auto';
                    Z.style.height = psh+"px";

                    alert(X);
                }

/*  old version */
function resizeText()
{
    
    
    var ps = this.document.getElementById("pagina2b");

    var ssize = this.document.getElementById("topSubMenu").style.height + 300;

    var psh = (parseInt(this.window.innerHeight, 10))-(parseInt(ssize, 10)) ;


    ps.style.overflowY = 'auto';
    ps.style.height = psh+"px";
}
