// JavaScript Document

function switchImage(imgName, imgSrc) {
  if (document.images) {
    if (imgSrc != "none") {
      document.images[imgName].src = imgSrc;
    }
  }
}

function ViewData(user,ValueShow) {
	var mousex = window.event.x; 		// mouse location capture event
	var mousey = window.event.y;        // mouse location capture event
	user.style.visibility = ValueShow;  // show or hide respective Example
	user.style.left = 25;       // place popup to the left margin
	user.style.top = 10;       // place popup at the mouse Y (top) location + ten pixels
}

