function getMouseXY(e) {
  tempX = e.pageX
  tempY = e.pageY
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  return true
}

function glosspop(wintext,src,winw,winh,which){
if (navigator.appName=='Microsoft Internet Explorer') {
		which.style.backgroundColor='yellow'
       	winox=event.clientX+document.body.scrollLeft+100
		winoy=event.clientY+document.body.scrollTop-20
		if (winox>400) {
			winox=winox-300
		}
		if (winoy>350) {
			winoy=winoy-200
		}
		popg=window.open("","",'width='+winw+',height='+winh+',left='+winox+',top='+winoy+'')
	} else {
	if (navigator.appName=='Netscape') {
	  	document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove = getMouseXY;
		winox=tempX+100
		winoy=tempY-50
		if (winox>400) {
			winox=winox-300
		}
		if (winoy>350) {
			winoy=winoy-200
		}
		popg=window.open("","",'width='+winw+',height='+winh+',screenX='+winox+',screenY='+winoy+'')
	}}
	popg.document.open()
	if (src==''){
		popg.document.write('<head><link rel="stylesheet" href="links.css" type="text/css"></head><body bgcolor="#FFFFFF" text="#000000" class="Paragraph"><div align="center"><p>'+wintext+'</p></div></body>')
		} else {
	popg.document.write('<head><link rel="stylesheet" href="links.css" type="text/css"></head><body bgcolor="#FFFFFF" text="#000000" class="Paragraph"><div align="center"><p>'+wintext+'</p><img src="'+src+'"></div></body>')
	}
	popg.document.close()
}
function glossc(which){
	if (document.all||document.getElementById){
		which.style.backgroundColor=document.bgColor}
	popg.close()
}
