$(function() {
	Cufon.replace('#globalnavigation .navlist a', {hover: true, fontFamily: 'Myriad-Pro'});
	Cufon.replace('#navigation .navlist a', {hover: true, fontFamily: 'Myriad-Pro'});
	Cufon.replace('h1', {fontFamily: 'GeosansLight'});
	Cufon.replace('h2', {fontFamily: 'Myriad-Pro'});
	Cufon.replace('#footer', {hover: true, fontFamily: 'Myriad-Pro'});
});

// FUNCTION: checkContentPositioning(): Adjusts the height of page elements after load
function checkStagePositioning() {
	var theHeight, newHeight;
	if (window.innerHeight) {
		theHeight=window.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) {
		theHeight=document.documentElement.clientHeight;
	} else if (document.body) {
		theHeight=document.body.clientHeight - 2;
	}
	if ((document.getElementById('content').offsetHeight+334)<theHeight) {
		document.getElementById('content').style.height = theHeight - 354 + "px";
	}
}

