	oceiaBarDrop = function() {
		if (document.all&&document.getElementById) {
			navRoot = document.getElementById("nav");
			for (i=0; i<navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName == "LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}
	window.onload = oceiaBarDrop;

function swapMasthead( id, state, text ) {
	if ( state == 'over' ) {
		document.getElementById(id+'-over').style.display = 'block';
		document.getElementById(id).style.display = 'none';	

	} else {
		document.getElementById(id).style.display = 'block';
		document.getElementById(id+'-over').style.display = 'none';		
	}
	document.getElementById(id+'-link').innerHTML = text;
}

function swapStyleById( id, class_style ) {
	if ( document.getElementById(id)) {
		document.getElementById(id).className = class_style;
	}
}
