<!-- Browser Check -->
iens6=document.all||document.getElementById
ns4=document.layers
function goto(target)
 {
navigating = 1
 window.location.href = target;
 }
var linkArray = new Array


<!--GLOBAL VARIABLES-->
var navigating = 0
var thename
var theobj
var thetext
var winWidth
var boxPosition
var headerColor
var tableColor
var timerID
var seconds=3
var x=0
var y=0
var offsetx = 25
var offsety = -10
<!--END GLOBAL VARIABLES-->

if(ns4) {
	document.captureEvents(Event.MOUSEMOVE)
}
document.onmousemove=getXY

<!--GLOBAL FUNCTIONS-->
function buildText(value,tcolor,bcolor) {
text = "<table class='submenu' width='100%' border='0' cellspacing='2' cellpadding='2'>"
text += linkArray[value]+"</table>"
return text
}

function setObj(textelement,inwidth,boxpos,titlecolor,boxcolor,tfontcolor,bfontcolor) {
	clearTimeout(timerID)
	boxPosition=boxpos
	tableColor=boxcolor
	headerColor=titlecolor
	winWidth=inwidth
	thetext=buildText(textelement,tfontcolor,bfontcolor)
	if (boxPosition == "bottomR") { // Right
		x=x+offsetx
		y=y+offsety
	}
	if (boxPosition == "bottomL") { // Left
		x=x-(offsetx+2)-winWidth
		y=y-offsety
	}
	if (boxPosition == "topR") { // Top
		x=x+offsetx
		y=y+offsety /*-winHeight*/
	}
	if (boxPosition == "topL") { // Top
		x=x-(offsetx+2)-winWidth
		y=y+offsety /*-winHeight*/
	}
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		theobj.style.width=winWidth
		theobj.style.left=x
			if(iens6&&document.all) {
			theobj.style.top=document.body.scrollTop+y
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd",thetext)
			}
			if(iens6&&!document.all) {
			theobj.style.top=window.pageYOffset+y
				theobj.innerHTML = ""
				theobj.innerHTML=thetext
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		theobj.left=x
		theobj.top=y
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.document.write("thetext")
		theobj.document.close()
	}
	if (navigating == 0) viewIt()
}
function viewIt() {
		if(iens6) {
			theobj.style.visibility="visible"
		}
		if(ns4) {
 			theobj.visibility = "visible"
		}
}

function stopIt() {
	if(theobj) {
		if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		}
		if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		}
	}
}

function timer(sec) {
	seconds=parseInt(sec)
	if(seconds>0) {
		seconds--
		timerID=setTimeout("timer(seconds)",1000)
	}else{
		stopIt()
	}
}

function getXY(e) {
	if (ns4) {
		x=0
		y=0
		x=e.pageX;
		y=e.pageY;
	}
	if (iens6&&document.all) {
		x=0
		y=0
		x=event.x;
		y=event.y;
	}
	if (iens6&&!document.all) {
		x=0
		y=0
		x=e.pageX;
		y=e.pageY;
	}
}
<!--END GLOBAL FUNCTIONS-->
