﻿var lh = {};
lh.base = function() {
    return {
        init:
	        function() {
	                  
	            var containerElement = $("#ContentArea"),
			        windowHeight = $(window).height();

	            if (containerElement.length > 0 && containerElement.height() < windowHeight) {
	                containerElement.css("min-height", windowHeight - 327);
	            }

	          

	            //Opens in a new window
	            $("a[rel=external]").click(function() {
	                window.open(this.getAttribute("href"));
	                return false;
	            });
	        }
  
    };
} ();

$(document).ready(lh.base.init());


