// Author: Ron Grafe grafer@columbus.rr.com http://www.gdevresources.com/Pages/Scripts/BottomSlider/bottomslider.htm
// Inserts info that slides up from the bottom of the page with case examples
 <!-- 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
<!--END GLOBAL VARIABLES-->
<!--DEFINE MOUSEOVER CONTENT-->
var textArray = new Array
textArray[1]="<font face='Arial' size='2'><strong>&quot;It took a serious accident to awaken me</strong> to the central connection of my physical state with my emotional life and to make me examine my future womanhood ... I was not prepared for the emotional damage that resulted form my physical injury.  Wise friends told me that a traumatic physical injury often has a ripple effect in a person's life.  I listened, but did not heed.  I was aware, however, of the emotional pain my family suffered over my injury and limitations and I was determined to regain my regular life with them as soon as I could.  I did not want to be a burden.  This of course, was impossible. Little by little, I am understanding that.  I am also understanding that I need to recognize and accept my emotional injuries.  I am understanding that at my life centre has been my sexuality, and that I cannot take it for granted. I am understanding that the aftermath of my trauma is akin, metaphorically to having my car keys taken away.&quot; </p>Rosalie Benoit Weaver, <em>Life's curves</em></font>"


<!--END DEFINE MOUSEOVER CONTENT-->
<!--GLOBAL FUNCTIONS-->
function setObj(elementpos,theswitch,inwidth,inheight) {
	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)
			}
			if(iens6&&!document.all) {
				winPositionFromTop=window.innerHeight
				winWidth=(window.innerWidth-(document.body.offsetLeft+20))
			}
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.style.width=winWidth
		theobj.style.height=startH
			if(iens6&&document.all) {
				theobj.style.top=document.body.scrollTop+winPositionFromTop
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd","<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>")
			}
			if(iens6&&!document.all) {
				theobj.style.top=window.pageYOffset+winPositionFromTop
				theobj.innerHTML = ""
				theobj.innerHTML="<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>"
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		winPositionFromTop=window.innerHeight
		winWidth=window.innerWidth
		winHeight=100
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.moveTo(0,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 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+=12
			openTimer=setTimeout("viewIt()",10)
		}
		if(ns4) {
			theobj.visibility = "visible"
			theobj.moveTo(0,(eval(window.pageYOffset+winPositionFromTop)-startH))
			theobj.height=startH
			theobj.clip.height=(startH)
			startH+=12
			openTimer=setTimeout("viewIt()",10)
		}
	}else{
		clearTimeout(openTimer)
	}
}

function stopIt() {
	if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		startH=12
	}
	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=12
	}
}
<!--END GLOBAL FUNCTIONS-->

