function showMenu(index) {
	for (i = 1; i <= 8; i++) {
		content = document.getElementById("menu" + i);
		
		if ( content ) {
		
			if (i == index  ) {
				content.style.display = "inline";
			} else {
				content.style.display = "none";
			}
			
		}
	}
}



// Detect if the browser is IE or not.
// If it is not IE, we assume that the browser is NS.
var IE = document.all?true:false

// If NS -- that is, !IE -- then set up for mouse capture
if (!IE) document.captureEvents(Event.MOUSEMOVE)

// Set-up to use getMouseXY function onMouseMove
document.onmousemove = hideMenuY;

// Temporary variables to hold mouse x-y pos.s
var tempY = 0

// Main function to retrieve mouse x-y pos.s

function hideMenuY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempY = e.pageY
  }  
  // catch possible negative values in NS4
  if (tempY < 0){tempY = 0}  
  // show the position values in the form named Show
  // in the text fields named MouseX and MouseY
  //document.Show.MouseY.value = tempY
  if (tempY > 285 || tempY < 83) {
    for (i = 1; i <= 8; i++) {
      content = document.getElementById("menu" + i);
      if ( content ) {
        content.style.display = "none";
      }
    }
  }
  return true
}