// JavaScript Document

var Matthew315="<b>Matthew 3:15</b> &ldquo;...it becometh us to <i>fulfil</i> all righteousness.&rdquo;"
var Matthew51720NIRV="<b>Matthew 5:17-20</b> &ldquo;Do not think I have come to get rid of what is written in the Law or in the Prophets. I have not come to do that. Instead, I have come to give full meaning to what is written. 18 What I\'m about to tell you is true. Heaven and earth will disappear before the smallest letter disappears from the Law. Not even the smallest stroke of a pen will disappear from the Law until everything is completed. 19 Do not break even one of the least important commandments. And do not teach others to break them. If you do, you will be called the least important person in the kingdom of heaven. Instead, practice and teach these commands. Then you will be called important in the kingdom of heaven. 20 Here is what I tell you. You must be more godly than the Pharisees and the teachers of the law. If you are not, you will certainly not enter the kingdom of heaven.&rdquo;"
var Matthew51720CEV="<b>Matthew 5:17-20</b> &ldquo;Don\'t suppose that I came to do away with the Law and the Prophets. I did not come to do away with them, but to give them their full meaning. 18 Heaven and earth may disappear. But I promise you that not even a period or comma will ever disappear from the Law. Everything written in it must happen. 19 If you reject even the least important command in the Law and teach others to do the same, you will be the least important person in the kingdom of heaven. But if you obey and teach others its commands, you will have an important place in the kingdom. 20 You must obey God\'s commands better than the Pharisees and the teachers of the Law obey them. If you don\'t, I promise you that you will never get into the kingdom of heaven.&rdquo;"
var Matthew223540="<b>Matthew 22:35-40</b> &ldquo;Then one of them, which was a lawyer, asked him a question, tempting him, and saying, 36 Master, which is the great commandment in the law? 37 Jesus said unto him, You shall love the Lord your God with all your heart, and with all your soul, and with all your mind. 38 This is the first and great commandment. 39 And the second is like unto it, You shall love your neighbour as thyself. 40 On these two commandments <i>hang all the law</i> and the prophets.&rdquo;"
var Luke1617="<b>Luke 16:17</b> &ldquo;And it is easier for heaven and earth to pass, than one tittle of the law to fail.&rdquo;"
var John1713="<b>John 17:13</b> &ldquo;...that they might have my joy <i>fulfilled</i> in themselves.&rdquo;"
var sCorinthians106="<b>2 Corinthians 10:6</b> &ldquo;...having in a readiness to revenge all disobedience, when your obedience is <i>fulfilled</i>.&rdquo;"
var Colossians125="<b>Colossians 1:25</b> &ldquo;...which is given to me for you, to <i>fulfil</i> the word of God.&rdquo;"
var sThessalonians111="<b>2 Thessalonians 1:11</b> &ldquo;...and <i>fulfil</i> all the good pleasure of his goodness, and the work of faith with power.&rdquo;"

var offsetfromcursorX=12 //x offset of tooltip
var offsetfromcursorY=10 //y offset of tooltip

var offsetdivfrompointerX=10 //x offset of tooltip DIV relative to pointer image
var offsetdivfrompointerY=14 //y offset of tooltip DIV relative to pointer image. Tip: Set it to (height_of_pointer_image-1).

document.write('<div id="dhtmltooltip"></div>')
document.write('<img id="dhtmlpointer1" src="images/arrowup.gif">')
document.write('<img id="dhtmlpointer2" src="images/arrowdown.gif">')

var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

var pointerobj=document.all? document.all["dhtmlpointer1"] : document.getElementById? document.getElementById("dhtmlpointer1") : ""
var pointerobjnew=document.all? document.all["dhtmlpointer2"] : document.getElementById? document.getElementById("dhtmlpointer2") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function vtip(thetext, thewidth, thecolor){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=curX+44-tipobj.offsetWidth+"px"
pointerobj.style.left=curX-'-12'+"px" //new code to shift pointer to opposite side
pointerobjnew.style.left=curX-'-12'+"px"
nondefaultpos=false //changed to false to reveal pointer
}
else if (curX<leftedge)
tipobj.style.left="5px"
else{
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
pointerobj.style.left=curX+offsetfromcursorX+"px"
pointerobjnew.style.left=curX+offsetfromcursorX+"px"
}

//same concept with the vertical position
pointerobj.style.visibility="hidden"
pointerobjnew.style.visibility="hidden"
if (bottomedge<tipobj.offsetHeight){
tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
pointerobjnew.style.top=curY-19+"px"
var ua = navigator.userAgent.toLowerCase(); //shadow does not work in firefox, fix pointer offset by 8px
if ( ua.indexOf( "firefox" ) != -1 ) {
pointerobjnew.style.top=curY-11+"px"
}
nondefaultpos=true
}
else{
tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
pointerobj.style.top=curY+offsetfromcursorY+"px"
pointerobjnew.style.top=curY+offsetfromcursorY+"px"
}
tipobj.style.visibility="visible"
if (!nondefaultpos)
pointerobj.style.visibility="visible"
else
pointerobjnew.style.visibility="visible" //changed to objnew and visible
}
}

function hidevtip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
pointerobj.style.visibility="hidden"
pointerobjnew.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip
