function changeClass(cell, style) {
	cell.className = style;
}

function toggle(e, show) {
	e.style.display = show ? '' : 'none';
}

function showyahoo() {
	window.open('http://finance.yahoo.com/q?s=nawl.ob','cid','toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width=800,height=500,left=100,top=100');
	return void(0);
}

function showPopUp(location) {
	window.open(location,'popup','toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width=600,height=500,left=100,top=100');
	return void(0);
}



function showHoverNav(name) {
	document.getElementById('hoverabout').style.display = (name == 'about') ? '' : 'none';
	document.getElementById('hoverproducts').style.display = (name == 'products') ? '' : 'none';
	
	document.getElementById('hovertextabout').style.display = (name == 'about') ? '' : 'none';
	document.getElementById('hovertextproducts').style.display = (name == 'products') ? '' : 'none';
	}

function onNav() {
	onMouseOver = true;
}

function onNavOut() {
	onMouseOver = false;
	setTimeout('closeAllNavs()', 5000);
}

function closeAllNavs() {
	if (onMouseOver == false) {
		document.getElementById('hoverabout').style.display = 'none';
		document.getElementById('hoverproducts').style.display = 'none';
				
		document.getElementById('hovertextabout').style.display = 'none';
		document.getElementById('hovertextproducts').style.display = 'none';
			}
}

var onMouseOver = false;
