<!-- 
iens6=document.all||document.getElementById
ns4=document.layers

var thename
var theobj
var thetext
var winHeight
var winWidth
var boxPosition
var headerColor
var tableColor
var timerID
var seconds=0
var x=0
var y=0
var offsetx = 4
var offsety = 4

if(ns4) {
	document.captureEvents(Event.MOUSEMOVE)
}
document.onmousemove=getXY

function buildText(value,tcolor,bcolor) {
text='<table border="0" cellspacing="0" cellpadding="1" bgcolor="'+tableColor+'">'
text+='<tr><td align="center" valign="top" bgcolor="'+headerColor+'">'
text+='<font color="'+tcolor+'" size="-1">NOTE:</font>'
text+='</td></tr>'
text+='<tr><td width="'+winWidth+'" align="left" valign="top">'
text+='<font face="verdana,helvetica" color="'+bcolor+'" size="-2">'+value+'</font>'
text+='</td></tr></table>'
return text
}
function setObj(textelement,inwidth,inheight,boxpos,titlecolor,boxcolor,tfontcolor,bfontcolor) {
	return false;
	clearTimeout(timerID)
	boxPosition=boxpos
	tableColor=boxcolor
	headerColor=titlecolor
	winWidth=inwidth
	winHeight=inheight
	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

		setStyle(theobj,'width',winWidth+4)
//		theobj.style.width=winWidth+4
//		setStyle(theobj,'height',calcHeight(thetext, theobj.style['font-size']))
		setStyle(theobj,'height',winHeight+8)
//		theobj.style.height=winHeight+8
		setStyle(theobj,'left',x)
//		theobj.style.left=x
		setStyle(theobj,'top',y)
//		theobj.style.top=y

			if(iens6&&document.all) {
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd",'<table cellspacing="0" cellpadding="2" border="0"><tr><td width="100%" valign="top">'+thetext+'</td></tr></table>')
			}
			if(iens6&&!document.all) {
				theobj.innerHTML = ""
				theobj.innerHTML='<table cellspacing="0" cellpadding="2" border="0"><tr><td width="100%" valign="top">'+thetext+'</td></tr></table>'
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		theobj.left=x
		theobj.top=y
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.height=winHeight
		theobj.clip.height=winHeight
		theobj.document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td width="100%" valign="top">'+thetext+'</td></tr></table>')
		theobj.document.close()
	}
	viewIt()
}
function viewIt() {
		if(iens6) {
			theobj.style.visibility="visible"
		}
		if(ns4) {
			theobj.visibility = "visible"
		}
}
function stopIt() {
	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;
	}
}

function getRef(obj){
	if(typeof obj == "string"){
		return document.getElementById(obj);
	}else{
		return obj;
	}
}

function getInner(str){
	var o = getRef(str);
	return o.innerHTML;
}

function setStyle(obj,style,value){
	try{
		getRef(obj).style[style]= value;
	}catch(e){
//		alert("ERROR: " + e.toString());
	}
}

function calcHeight(mtext, charHeight){
	var stl = mtext.length
	var sth = (stl / 40) + 2
	return Math.ceil(sth) * charHeight
}

-->