
<!-- Browser Check -->
iens6=document.all||document.getElementById
ns4=document.layers

<!--GLOBAL VARIABLES-->
var thename
var theobj
var thetext
var winHeight
var winPositionFromTop
var winWidth
var startH=2
var openTimer
var leftPosition
<!--END GLOBAL VARIABLES-->

<!--DEFINE MOUSEOVER CONTENT-->
var textArray = new Array

// CHANGE EACH ARRAY ELEMENT BELOW TO YOUR OWN CONTENT. MAKE SURE TO USE SINGLE QUOTES INSIDE DOUBLE QUOTES.
textArray[1]="<strong>Grafes Developer Resources</strong> is a resource for web programmers. It contains free Javascripts, DHTML scripts, links to developer resources........You get the message....you can put just about anything in here that describes the link. This has an active link, if you click it you will go to the site.<br><br>In this example textArray element number 1 is passed to the function to define the text I want; Default width and height are used."
textArray[2]="<table width='100%' bgcolor='0000ff'><tr><td><h5 align='right'><a href='Javascript: clearTimeout(openTimer);stopIt()'><img src='../admin/remove.gif' border=0></a></h5></td></tr></table><h5>Did you know that you can save up to <b>90%</b> using our online catalog on any european auto parts plus ship for <b>FREE</b> when you order parts worth $50+. Click <a href='../search/make.aspx'>HERE</a> to search our catalog.</h5>"
textArray[3]="<img src='../../../Graphics/Logo_mini.gif' width='100' height='81' border='0' align='left'> This example uses it like an Ad Box. You can add any graphics and text combination in the window.<br><br>In this example textArray element number 3 is passed to the function to define the text I want. Default width and height are used."
<!--END DEFINE MOUSEOVER CONTENT-->

<!--GLOBAL FUNCTIONS-->
function setObj(elementpos,theswitch,inwidth,inheight,leftpos) {
	thetext=textArray[elementpos]
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		winHeight=100
			if(iens6&&document.all) {
				winPositionFromTop=document.body.clientHeight
				winWidth=(document.body.clientWidth-document.body.leftMargin)
				leftPosition=0
			}
			if(iens6&&!document.all) {
				winPositionFromTop=window.innerHeight
				winWidth=(window.innerWidth-(document.body.offsetLeft+20))
				leftPosition=0
			}
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
				if(iens6&&document.all) {
					if(leftpos=="right") {
						leftPosition=(document.body.clientWidth-winWidth)
					}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
						leftPosition=0
					}else{
						leftPosition=leftpos
					}
				}
				if(iens6&&!document.all) {
					if(leftpos=="right") {
						leftPosition=(window.innerWidth-winWidth)-20
					}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
						leftPosition=0
					}else{
						leftPosition=leftpos
					}
				}
			}
		theobj.style.width=winWidth
		theobj.style.height=startH
		theobj.style.left=leftPosition
			if(iens6&&document.all) {
				theobj.style.top=document.body.scrollTop+winPositionFromTop
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd","<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
			}
			if(iens6&&!document.all) {
				theobj.style.top=window.pageYOffset+winPositionFromTop
				theobj.innerHTML = ""
				theobj.innerHTML="<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>"
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		winPositionFromTop=window.innerHeight
		winWidth=window.innerWidth
		winHeight=100
		leftPosition=0
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
				if(leftpos=="right") {
					leftPosition=(window.innerWidth-winWidth)
				}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
					leftPosition=0
				}else{
					leftPosition=leftpos
				}
			}
		theobj.moveTo(leftPosition,eval(window.pageYOffset+winPositionFromTop))
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.document.write("<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
		theobj.document.close()
	}
	viewIt()
}

function makeStatic() {
if (iens6) {
	if(iens6&&document.all) {
		theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
	}
	if(iens6&&!document.all) {
		theobj.style.top=window.pageYOffset
	}
}
else if (ns4) {eval(document.viewer.top=eval(window.pageYOffset));}
openTimer=setTimeout("makeStatic()",0);
}

function viewIt() {
	if(startH<=winHeight) {
		if(iens6) {
			theobj.style.visibility="visible"
				if(iens6&&document.all) {
					theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
				}
				if(iens6&&!document.all) {
					theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH
				}
			theobj.style.height=startH
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
		if(ns4) {
			theobj.visibility = "visible"
			theobj.moveTo(leftPosition,(eval(window.pageYOffset+winPositionFromTop)-startH))
			theobj.height=startH
			theobj.clip.height=(startH)
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
	}else{
		clearTimeout(openTimer)
		makeStatic()
	}
}

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
	}
}
<!--END GLOBAL FUNCTIONS-->