
// set local variables for use in the 'toggleInfo' function
infoHold = 'info001';

// for non-NN4/OP6 - write control box for toggling between flag and maps
if (w3c == true || ie4 == true) {
	document.write('<div id="infonattx" style="width : 380px; margin-bottom : 15px; padding : 4px 10px; background-color : #f9f9f9; border : 1px dashed #cccccc; text-align: center;">');
	document.write('<a href="#infoanchor001" onclick="javascript:toggleInfo(\'info001\'); return false;">national flag<\/a> &nbsp;&#124;&nbsp; ');
	document.write('<a href="#infoanchor002" onclick="javascript:toggleInfo(\'info002\'); return false;">continent map<\/a>');
	document.write('<\/div>');
}


// FUNCTION: navDead - special case navPage for de-activated links
function navDead(dead,year) {
	var pagePath = new String(location.pathname);
	if (dead == 'deadlink') {
		var pageName = new String(pagePath.substring(pagePath.lastIndexOf('/', 200)+1, pagePath.lastIndexOf('.', 200)));
		var deadLink = new String('<script language="javascript" type="text/javascript" src="/javascript/' + pageName + '_' + year + '.js"></script>');
		document.write(deadLink);
	} else {
		location.href = location.pathname;
	}
}
