/***********************************************
* Bottom slide tooltip- by Ron Grafe (mailto:grafer@REMOVETHIScolumbus.rr.com)
* Website URL: http://www.gdevresources.com
* Script modified by and available at Dynamic Drive: http://www.dynamicdrive.com/
***********************************************/
//SET TOOLTIP DESCRIPTIONS BELOW
//Extend or contract array as needed
var description=new Array()
description[0]="<div class=\"close_div\" style=\"\"><img src=\"imgs/style/ico_close.gif\" style=\"border:none;\" onclick=\"clearTimeout(openTimer);stopIt();adclosed=true;\" /></div>";
description[1]='<b>This is tool-tip descrition 2'
description[2]='<i>This is tool-tip description 3'
//Do not edit below here
iens6=document.all||document.getElementById
ns4=document.layers
<!--GLOBAL VARIABLES-->
var thename
var theobj
var thetext
var winHeight
var winPositionFromTop
var winPositionFromLeft
var winWidth
var startH=2
var openTimer
<!--END GLOBAL VARIABLES-->
<!--GLOBAL FUNCTIONS-->
function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function setObj(text,theswitch,inwidth,inheight,displayPos) {
	thetext=text
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		winHeight=90
			if(iens6&&document.all) {
				if(winresized){
					winPositionFromTop=displayPos[1]-winHeight-2
				}else{
					winPositionFromTop=displayPos[1]-1
				}
				winPositionFromLeft=displayPos[0]
				winWidth=(ietruebody().clientWidth-ietruebody().leftMargin)
			}
			if(iens6&&!document.all) {
				if(winresized){
					winPositionFromTop=displayPos[1]-winHeight-3
				}else{
					winPositionFromTop=displayPos[1]-1
				}
				winPositionFromLeft=displayPos[0]
				winWidth=(window.innerWidth-(ietruebody().offsetLeft+30))
			}
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.style.width=winWidth+"px"
		theobj.style.height=startH+"px"
			if(iens6&&document.all) {
				theobj.style.top=winPositionFromTop+"px"
				theobj.style.left=winPositionFromLeft+"px"
			}
			if(iens6&&!document.all) {
				if(navigator.userAgent.indexOf('Chrome',0)>0){
					if(winresized){
						winPositionFromTop=displayPos[1]-winHeight-3
					}else{
						winPositionFromTop=displayPos[1]-1
					}
				}else{
					theobj.style.top=winPositionFromTop+"px"
				}
				if(navigator.userAgent.indexOf('Safari',0)>0)
				{
					theobj.style.left=winPositionFromLeft+"px"
				}else{
					theobj.style.left=winPositionFromLeft+"px"
				}
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		if(winresized){
			winPositionFromTop=displayPos[1]-winHeight-3
		}else{
			winPositionFromTop=displayPos[1]-1
		}
		winPositionFromLeft=displayPos[0]
		winWidth=window.innerWidth
		winHeight=90
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.moveTo(eval(winPositionFromLeft),eval(winPositionFromTop))
		theobj.width=winWidth
		theobj.clip.width=winWidth
	}
	viewIt()
}
function viewIt() {
	if(startH<=winHeight) {
		if(iens6) {
			theobj.style.visibility="visible"
				if(iens6&&document.all) {
					if(winresized){
						theobj.style.top=(winPositionFromTop-winHeight-2)-startH+"px"
					}else{
						theobj.style.top=(winPositionFromTop)-startH+"px"
					}
				}
				if(iens6&&!document.all) {
					if(winresized){
						theobj.style.top=(winPositionFromTop+winHeight+2)-startH+"px"
					}else{
						
						theobj.style.top=(winPositionFromTop)-startH+"px"
					}
				}
			theobj.style.height=startH+"px"
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
		if(ns4) {
			theobj.visibility = "visible"
			if(winresized){
				theobj.moveTo(eval(winPositionFromLeft),(eval(winPositionFromTop-winHeight)-startH))
			}else{
				theobj.moveTo(eval(winPositionFromLeft),(eval(winPositionFromTop)-startH))
			}
			theobj.height=startH
			theobj.clip.height=(startH)
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
	}else{
		clearTimeout(openTimer)
	}
}
function stopIt() {
	if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		startH=2
	}
	if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		theobj.width=0
		theobj.height=0
		theobj.clip.width=0
		theobj.clip.height=0
		startH=2
	}
}
function findPos(obj) {
	var curleft = curtop = 0;
	if (obj.offsetParent) {
		do {
			curleft += obj.offsetLeft;
			curtop += obj.offsetTop;
		} while (obj = obj.offsetParent);
		
		return [curleft,curtop];
	}
}
<!--END GLOBAL FUNCTIONS-->