  var altX = 20; 
  var altY = -10; 
  var ie = document.all; 
  var ns6 = document.getElementById && !document.all; 
  var allowAltMsg = false;
  
  if (ie||ns6) { 
  		var altMsgObj = document.all? document.all["altPop"] : document.getElementById? document.getElementById("altPop") : ""; 
  }
  
  function checkIEBody() { 
  		return (document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body; 
  }
  
  function showAltMsg(altMsg) { 
  		if (ns6||ie) { 
			altMsgObj.innerHTML = altMsg; 
			if(altMsg != "") {
				allowAltMsg = true; 
			}
			return false;
		} 
	}
  
  function displayAltMsg(e) { 
  		if (allowAltMsg) { 
			var curX = (ns6)?e.pageX : event.clientX+checkIEBody().scrollLeft; 
			var curY = (ns6)?e.pageY : event.clientY+checkIEBody().scrollTop; 
			var rightedge = ie&&!window.opera? checkIEBody().clientWidth-event.clientX-altX : window.innerWidth-e.clientX-altX-20; 
			var bottomedge = ie&&!window.opera? checkIEBody().clientHeight-event.clientY-altY : window.innerHeight-e.clientY-altY-20; 
			var leftedge = (altX<0)? altX*(-1) : -1000; 
			
			if (rightedge<altMsgObj.offsetWidth) { 
				altMsgObj.style.left = ie? checkIEBody().scrollLeft+event.clientX-altMsgObj.offsetWidth+"px" : window.pageXOffset+e.clientX-altMsgObj.offsetWidth+"px"; 
			} else if (curX<leftedge) { 
				altMsgObj.style.left = "5px"; 
			} else { 
				altMsgObj.style.left = curX+altX+"px"; 
			} 
			
			if (bottomedge<altMsgObj.offsetHeight) { 
				altMsgObj.style.top = ie? checkIEBody().scrollTop+event.clientY-altMsgObj.offsetHeight-altY+"px" : window.pageYOffset+e.clientY-altMsgObj.offsetHeight-altY+"px"; 
			} else { 
				altMsgObj.style.top = curY+altY+"px"; 
				altMsgObj.style.visibility = "visible"; 
			} 
		} 
  }
				
  function hideAltMsg() { 
  		if (ns6||ie) { 
			allowAltMsg = false; 
			altMsgObj.style.visibility = "hidden"; 
			altMsgObj.style.left = "-1000px"; 
			altMsgObj.style.backgroundColor = ''; 
			altMsgObj.style.width = ''; 
			document.getElementById("altPop").innerHTML = baseImgAltMsg;
		} 
	}

  document.onmousemove = displayAltMsg;
