function setPageStatus(whichStatus) {
	if (whichStatus == 'none') {
		window.status = '';
	} else {
		if (whichStatus == 'ConsolidatedStatements' || whichStatus == 'ConsolidatedStatementsNotes' || whichStatus == 'AccountingFirmReports') {
			window.status = 'Go to ' + whichStatus + '.pdf in a new window';
		} else {
			window.status = 'Go to ' + whichStatus + '.html';
		}
	}
}

function getMyPage() {
	var urlBits  = location.href.split('/');
	var fullPage = urlBits[urlBits.length - 1].split('.');
	var myPage   = fullPage[0];
	return myPage;
}

function loadMap() {
   var mfo = new FlashObject('../flash/worldwide_map.swf','intro','775','500','8','#a5b3ab');
   mfo.write('wrapMap');
}

function loadIntro() {
   var ifo = new FlashObject('../flash/intro.swf','intro','800','620','8','#000000');
   ifo.write('wrapper');
}

function loadNav() {
   var nfo = new FlashObject('../flash/nav.swf','navigation','200','680','8','#000000');
   var myPage = 'currentPage=' + getMyPage();
   nfo.addParam('wmode', 'transparent');
   nfo.addParam('FlashVars', myPage);
   nfo.addParam('allowScriptAccess','sameDomain');
   nfo.write('nav');
}