// requires prototype.js
// This will set the display of the hnav section
Event.observe( window, 'load', function() {
  var whichNav = $('hnav').getAttribute('hnavcurr')
  if(whichNav != ""){
		var nav = $(whichNav);
		var a = nav.getElementsByTagName('a')[0];
		var img = nav.getElementsByTagName('img')[0];
		nav.removeChild(a);
		nav.appendChild(img);
		Element.addClassName(nav,"active");
		
  }
} );

