function navMouseOver( cellId ) {
     var concatenatedSpanId = "span" + cellId;
     for ( var i=0 ; i<11 ; i++ ) {
          var tmpConcatenatedSpanId = "span_" + i;
          document.getElementById(tmpConcatenatedSpanId).style.display = 'none';
     }
     document.getElementById(concatenatedSpanId).style.display = 'inline';
     document.getElementById(cellId).style.cursor = 'pointer';
     document.getElementById(cellId).style.color = '#FFDB00';
}
function navMouseOut( cellId ) {
     var concatenatedSpanId = "span" + cellId;
     document.getElementById(concatenatedSpanId).style.display = 'none';
     document.getElementById(cellId).style.cursor = 'default';
     document.getElementById(cellId).style.color = '#FFFFFF';
}

function goToPage( cellId ) {
     switch ( cellId ) {
          case "_0":
               document.location.href = "index.php";
               break;
          case "_1":
               document.location.href = "menu.php";
               break;
          case "_2":
               document.location.href = "menu.php";
               break;
          case "_3":
               document.location.href = "barMenu.php";
               break;
          case "_4":
               document.location.href = "aboutUs.php";
               break;
          case "_5":
               document.location.href = "ourStory.php";
               break;
          case "_6":
               document.location.href = "location.php";
               break;
          case "_7":
               document.location.href = "sportsSchedule.php";
               break;
          case "_8":
               document.location.href = "weeklyTrivia.php";
               break;
          case "_9":
               document.location.href = "newsletter.php";
               break;
          case "_10":
               document.location.href = "slideShows.php";
               break;
     }
}

var ns6=document.getElementById&&!document.all 
var ie=document.all 

function changeto(e,highlightcolor){ 
	source=ie? event.srcElement : e.target 
	if (source.tagName=="TABLE") 
	return 
	while(source.tagName!="TR"&&source.tagName!="HTML") 
	source=ns6? source.parentNode : source.parentElement 
	if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore") 
	source.style.backgroundColor=highlightcolor 
} 

function contains_ns6(master, slave) { //check if slave is contained by master 
	while (slave.parentNode) 
	if ((slave = slave.parentNode) == master) 
	return true; 
	return false; 
} 

function changeback(e,originalcolor){ 
	if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")) 
	return 
	else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore")) 
	return 
	if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source) 
	source.style.backgroundColor=originalcolor 
} 

