﻿/// <reference path="jquery-1.3.2-vsdoc2.js" />


$(document).ready(function() {
});

//Load initial page settings
function pageLoad() {
    adjustHeight();
}


//adjust the heights of both of the columns to stretch to the bottom of the browser window.
//The left column will be adjusted to match the right if the right is longer.
function adjustHeight() {
    //var wHeight = $(window).height(); //the height of the browser window
    var lHeight = $("#column1").height(); //the height of the left column
    var rHeight = $("#column2").height(); //the height of the right column
    if (lHeight > rHeight) {
        $("#column2").css({ height: lHeight });
        //rHeight = wHeight;
    } else {
        $("#column1").css({ height: rHeight });

    }

    //lHeight = rHeight;
    //console.log(rHeight + "after");
}
