// JavaScript Document
function getDocHeight() {
    var D = document;
    return Math.max(
        Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
        Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
        Math.max(D.body.clientHeight, D.documentElement.clientHeight)
    );
}

function GJLAonLoad() {
	window.onresize=new Function('center();'); 
	center();
}

function center() {
	
    if (document.documentElement.clientWidth > 1075) {
      document.body.style.backgroundPosition = "50% 0%";
	} else {
      document.body.style.backgroundPosition = "-63px 0px";	
	}
    if (navigator.appVersion.indexOf('MSIE') != -1) {
      document.all['root'].style.left = Math.max((document.documentElement.clientWidth - 1075) / 2, 0);
	} else {
      document.getElementById('root').style.left = String(Math.max((document.documentElement.clientWidth - 1075) / 2, 0)) + "px";
	}
    document.getElementById('bottomroot').style.left = document.getElementById('root').style.left;
	
}

function menu1Click() {
	window.location.href = "ftm.html";
}

function menu2Click() {
	window.location.href = "contact.html";
}

function menu3Click() {
	window.location.href = "donate.html";
}

function menu4Click() {
	window.location.href = "index.html";
}

function menu5Click() {
	window.location.href = "construction.html";
}

function menu6Click() {
	window.location.href = "construction.html";
}

function menu7Click() {
	window.location.href = "construction.html";
}

function menu8Click() {
	window.location.href = "construction.html";
}

function menu9Click() {
	window.location.href = "who.html";
}



