// JavaScript Document

var Daniel717="<b>Daniel 7:17</b> &ldquo;These great beasts, which are four, are four kings, which shall arise out of the earth.&rdquo;"
var Daniel723="<b>Daniel 7:23</b> &ldquo;Thus he said, The fourth beast shall be the fourth kingdom upon earth, which shall be diverse from all kingdoms, and shall devour the whole earth, and shall tread it down, and break it in pieces.&rdquo;"
var Daniel725="<b>Daniel 7:25</b> &ldquo;And he shall speak great words against the most High, and shall wear out the saints of the most High, and <i>think to change times and laws</i>: and they shall be given into his hand until a time and times and the dividing of time.&rdquo;"
var Revelation1217="<b>Revelation 12:17</b> &ldquo;And the dragon [<i>Satan</i>] was wroth with the woman [<i>Church</i>], and went to make war with the remnant of her seed, which keep the commandments of God, and have the testimony of Jesus Christ.&rdquo;"
var Revelation131="<b>Revelation 13:1</b> &ldquo;And I stood upon the sand of the sea, and saw a beast rise up out of the sea, having seven heads and ten horns, and upon his horns ten crowns, and upon his heads the name of blasphemy.&rdquo;"
var Revelation132="<b>Revelation 13:2</b> &ldquo;And the beast which I saw was like unto a leopard, and his feet were as the feet of a bear, and his mouth as the mouth of a lion: and the dragon gave him his power, and his seat, and great authority.&rdquo;"
var Revelation135="<b>Revelation 13:5</b> &ldquo;And there was given unto him a mouth speaking great things and blasphemies; and power was given unto him to continue forty and two months.&rdquo;"
var Revelation137="<b>Revelation 13:7</b> &ldquo;And it was given unto him to make war with the saints, and to overcome them: and power was given him over all kindreds, and tongues, and nations.&rdquo;"
var Revelation1310="<b>Revelation 13:10</b> &ldquo;He that leadeth into captivity shall go into captivity: he that killeth with the sword must be killed with the sword. Here is the patience and the faith of the saints.&rdquo;"
var Revelation131112="<b>Revelation 13:11-12</b> &ldquo;And I beheld another beast coming up out of the earth; and he had two horns like a lamb, and he spoke as a dragon. 12 And he exerciseth all the power of the first beast before him, and causeth the earth and them which dwell therein to worship the first beast, whose deadly wound was healed.&rdquo;"
var Revelation1311="<b>Revelation 13:11</b> &ldquo;And I beheld another beast coming up out of the earth; and he had two horns like a lamb, and he spoke as a dragon.&rdquo;"
var Revelation1312="<b>Revelation 13:12</b> &ldquo;And he exerciseth all the power of the first beast before him, and causeth the earth and them which dwell therein to worship the first beast, whose deadly wound was healed.&rdquo;"
var Revelation131314="<b>Revelation 13:13-14</b> &ldquo;And he doeth great wonders, so that he maketh fire come down from heaven on the earth in the sight of men, 14 And deceiveth them that dwell on the earth by the means of those miracles which he had power to do in the sight of the beast; saying to them that dwell on the earth, that they should make an image to the beast, which had the wound by a sword, and did live.&rdquo;"
var Revelation1318="<b>Revelation 13:18</b> &ldquo;Here is wisdom. Let him that has understanding count the number of the beast: for it is the number of a man; and his number is Six hundred threescore and six.&rdquo;"
var Revelation14712="<b>Revelation 14:7-12</b> &ldquo;Saying with a loud voice, Fear God, and give glory to him; for the hour of his judgment is come: <b>and worship him that made heaven, and earth, and the sea, and the fountains of waters</b>. 8 And there followed another angel, saying, BABYLON is fallen, is fallen, that great city, because she made all nations drink of the wine of the wrath of her fornication. 9 And the third angel followed them, saying with a loud voice, <b>If any man worship the beast and his image, and receive his mark in his forehead, or in his hand</b>, 10 The same shall drink of the wine of the wrath of God, which is poured out without mixture into the cup of his indignation; and he shall be tormented with fire and brimstone in the presence of the holy angels, and in the presence of the Lamb: 11 And the smoke of their torment ascendeth up for ever and ever: <b>and they have no rest day nor night, who worship the beast and his image, and whosoever receiveth the mark of his name</b>. 12 <i><b>Here is the patience of the saints: here are they that keep the Commandments of God, and the faith of Jesus.</b></i>&rdquo;"
var Revelation1715="<b>Revelation 17:15</b> &ldquo;And he saith unto me, The waters which you sawest, where the WHORE sitteth, are peoples, and multitudes, and nations, and tongues.&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
