
function get_clientHeight() {
    return get_clientWinParm (
        window.innerHeight ? window.innerHeight : 0,
        document.documentElement ? document.documentElement.clientHeight : 0,
        document.body ? document.body.clientHeight : 0 )
        }
		
function get_clientWinParm(winp,docp,bodp) {
    var theresult = winp ? winp : 0;
    if (docp && (!theresult || (theresult > docp))) { theresult = docp }
    return bodp && (!theresult || (theresult > bodp)) ? bodp : theresult
    }

