/* GLOBAL FOOTER POSITION SCRIPT */
jQuery(document).ready(function() {
  positionFooter();
});


function positionFooter() {
  // document height
  var dh = document.body.offsetHeight;
  // window height
  var wh = jQuery("#checkpoint")[0].offsetTop;
  // content height
  var ch = jQuery("#content")[0].offsetHeight;

  // if the window height is greater than document height
  // then adjust the content height to match
  if (wh > dh) {
    //alert("WH: " + wh + ", DH: " + dh + ", CH: " + ch);
    jQuery("#content").css('height', (ch + wh - dh) + 'px');
  }
}

/* HOMEPAGE COMPANY COVERAGE ROLLOVER SCRIPTS */
function seeCoverageBlue() {
  jQuery(".coverageDigit").css('display','none');
  jQuery(".coverageDigitBlue").css('display','block');
}

function seeCoverageGreen() {
  jQuery(".coverageDigit").css('display','none');
  jQuery(".coverageDigitGreen").css('display','block');
}

function seeCoverageOriginal() {
  jQuery(".coverageDigitBlue").css('display','none');
  jQuery(".coverageDigitGreen").css('display','none');
  jQuery(".coverageDigit").css('display','block');
}
