/**
 *
 * Loader Script
 * Requires the Jax JavaScript Library
 *
 */

var flsh = new JaxFlash();

adjustPage = function() {
    var cnt = document.getElementById('contentInsideArea');
    var brws = new JaxBrowser();

    // Browser detect, determine width and height, and compensate for the scroll bar if there is one
    var winHeight = (brws.browser == 'MSIE') ? document.documentElement.offsetHeight : window.innerHeight;

    if (cnt.clientHeight < winHeight) {
        cnt.style.minHeight = (winHeight - 188) + 'px';
    }
}

addLoader(adjustPage);
addEvent('resize', adjustPage);
addLoader(initMenus);
addEvent('mousemove', checkMenu);

