	// Determine the height of the viewable screen and compute the height of a filler graphic (if needed) to vertically position the content.
    // NOTE: you must add: id="theBody" to the <BODY> tag for this to work in MSIE!

    // This source code written by Phil Barnes.
    // (C)Copyright 2000, Venture Communications.
    // http://www.openminds.ca

    var isMinIE4 = (document.all) ? 1 : 0;
    var isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4) ? 1 : 0;

    if (isMinIE4) {
        var windowHeight = theBody.clientHeight;
        var windowWidth = theBody.clientWidth;
    } else {
        if (isMinNS4) {
            var windowHeight = window.innerHeight+1; //This +1 forces a vertical scroll bar, so as to hide the right hand margin of the page.
            var windowWidth = window.innerWidth;
        } else {
            var windowHeight = 1; // Probably NS3- or IE3-, don't worry about making the page look pretty.
            var windowWidth = 1;
        }
    }

function vert(imgURL, topY, bottomY) {
    // This source code written by Phil Barnes.
    // (C)Copyright 2000, Venture Communications.
    // http://www.openminds.ca

    // Generates HTML img tag that will size to make page fit screen vertically.
    // imgURL = name of image to stretch
    // topY = pixel value of imagery/text above the stretch image
    // bottomY = pixel value of imagery/text below the stretch image

    var fillY = windowHeight - topY - bottomY;
    if (fillY <= 0) { fillY = 1; }
    document.write('<img src="' + imgURL + '" width="1" height="' + fillY + '">');
}
;
