<!--

// Let's get the height of the available window for all browsers

function getWindowHeight() {
     var windowHeight = 0;
     if (typeof(window.innerHeight) == 'number') {
          windowHeight = window.innerHeight;
     }
     else {
          if (document.documentElement && document.documentElement.clientHeight) {
               windowHeight = document.documentElement.clientHeight;
          }
          else {
               if (document.body && document.body.clientHeight) {
                    windowHeight = document.body.clientHeight;
               }
          }
     }
     return windowHeight;
}

function setMain() {
     if (document.getElementById) {
          var windowHeight = getWindowHeight();
          if (windowHeight > 0) {

               // how tall is the header?
               var headerHeight = document.getElementById('header').offsetHeight;

               // how tall is the content area?
               var contentElement = document.getElementById('contentHolder');
               var contentHeight  = contentElement.offsetHeight;

               //how tall is the footer?
               var footerHeight = document.getElementById('footer').offsetHeight;

               //now lets get everything to line up...
			   
			   var totalHeight = (windowHeight - (headerHeight + footerHeight))


				if ((contentHeight + headerHeight) < windowHeight) {
               contentElement.style.height = totalHeight + 'px';
				}
          }
     }
}

window.onload = function()
{
     setMain();
}

window.onresize = function()
{
     setMain();
}

function decision(message, url){

	if(confirm(message)) location.href = url;
}

// -->