﻿/************************************************************
*
*  TL Site.js
*
*  Site global JS
*  This is where you do things that are specific to your site, but apply to all pages.  Master.js should not
*  be changed without review by other team members.
************************************************************/

// called from Master.js window_load(e)
function Site_Window_Load(e)
{

}

$j(function() {
    pushFooter();
    $j(window).resize(pushFooter);
    $j('.watermark').each(function() {
        var value = $j(this).val();
        //if (value)
            //$j(this).watermark(value);
    });
});

function pushFooter() {
    var doc = $j(window), wrapper = $j('#main'), footer = $j('.footer-holder');
    var height = doc.height() - (footer.outerHeight() - 84);
    wrapper.css('min-height', height);
};
