var NF = {
	
	showhide : function (id) {
		var elem = document.getElementById(id);
		elem.style.display =  (elem.style.display == 'inline') ? 'none' : 'inline';
	},
	
	display_stuff : function (e) {
		var elems = document.getElementsByClassName('stuff');
		for( var i=0; i< elems.length; i++) {
			elems[i].style.display = (elems[i].id == e) ? 'block' : 'none';
		}
	},

	gettip : function (txt){
		document.getElementById('tip').innerHTML=txt;
	},

	reset : function (){
		document.getElementById('tip').innerHTML="";
	},
	
	show_nav : function (){
	
		document.write('<div class="nav">' +
		   '<br><br><br>' +
		   '<a class="link" href="index.html" onmouseout="NF.showhide(\'ome\')" onmouseover="NF.showhide(\'ome\')">h<span class="stuff" id="ome">ome</span></a>' +
		   '<a class="link" href="manifesto.html" onmouseout="NF.showhide(\'anifesto\')" onmouseover="NF.showhide(\'anifesto\')">m<span class="stuff" id="anifesto">anifesto</span></a>' +
		   '<a class="link" href="bio.html" onmouseout="NF.showhide(\'io\')" onmouseover="NF.showhide(\'io\')">b<span class="stuff" id="io">io</span></a>' +
		   '<a class="link" href="performance.html" onmouseout="NF.showhide(\'per\')" onmouseover="NF.showhide(\'per\')">p<span class="stuff" id="per">erformance</span></a>' +
		   '<a class="link" href="repertory.html" onmouseout="NF.showhide(\'epertory\')" onmouseover="NF.showhide(\'epertory\')">r<span class="stuff" id="epertory">epertory</span></a>' +
		   '<br><br>' +
		   '<a class="link" href="contact.html" onmouseout="NF.showhide(\'ontact\')" onmouseover="NF.showhide(\'ontact\')">c<span class="stuff" id="ontact">ontact</span></a>' +
		'</div>');
	},
	

};
