// JavaScript Document

var Leviticus2345="<b>Leviticus 23:4-5</b> &ldquo;These are the feasts of the LORD, even holy convocations, which you shall proclaim in their seasons. 5 In the fourteenth day of the first month at even is the LORD'S passover.&rdquo;"
var Leviticus2368="<b>Leviticus 23:6-8</b> &ldquo;And on the fifteenth day of the same month is the feast of unleavened bread unto the LORD: seven days you must eat unleavened bread. 7 In the first day you shall have an holy convocation: you shall do no servile work therein. 8 But you shall offer an offering made by fire unto the LORD seven days: in the seventh day is an holy convocation: you shall do no servile work therein.&rdquo;"
var Leviticus231521="<b>Leviticus 23:15-21</b> &ldquo;And you shall count unto you from the morrow after the sabbath, from the day that you brought the sheaf of the wave offering; seven sabbaths shall be complete: 16 Even unto the morrow after the seventh sabbath shall you number fifty days; and you shall offer a new meat offering unto the LORD. 17 You shall bring out of your habitations two wave loaves of two tenth deals: they shall be of fine flour; they shall be baken with leaven; they are the firstfruits unto the LORD. 18 And you shall offer with the bread seven lambs without blemish of the first year, and one young bullock, and two rams: they shall be for a burnt offering unto the LORD, with their meat offering, and their drink offerings, even an offering made by fire, of sweet savour unto the LORD. 19 Then you shall sacrifice one kid of the goats for a sin offering, and two lambs of the first year for a sacrifice of peace offerings. 20 And the priest shall wave them with the bread of the firstfruits for a wave offering before the LORD, with the two lambs: they shall be holy to the LORD for the priest. 21 And you shall proclaim on the selfsame day, that it may be an holy convocation unto you: you shall do no servile work therein: it shall be a statute for ever in all your dwellings throughout your generations.&rdquo;"
var Leviticus232325="<b>Leviticus 23:23-25</b> &ldquo;And the LORD spoke unto Moses, saying, 24 Speak unto the children of Israel, saying, In the seventh month, in the first day of the month, shall you have a sabbath, a memorial of blowing of trumpets, an holy convocation. 25 You shall do no servile work therein: but you shall offer an offering made by fire unto the LORD.&rdquo;"
var Leviticus232632="<b>Leviticus 23:26-32</b> &ldquo;And the LORD spoke unto Moses, saying, 27 Also on the tenth day of this seventh month there shall be a day of atonement: it shall be an holy convocation unto you; and you shall afflict your souls, and offer an offering made by fire unto the LORD. 28 And you shall do no work in that same day: for it is a day of atonement, to make an atonement for you before the LORD your God. 29 For whatsoever soul it be that shall not be afflicted in that same day, he shall be cut off from among his people. 30 And whatsoever soul it be that doeth any work in that same day, the same soul will I destroy from among his people. 31 You shall do no manner of work: it shall be a statute for ever throughout your generations in all your dwellings. 32 It shall be unto you a sabbath of rest, and you shall afflict your souls: in the ninth day of the month at even, from even unto even, shall you celebrate your sabbath.&rdquo;"
var Leviticus233344="<b>Leviticus 23:33-44</b> &ldquo;And the LORD spoke unto Moses, saying, 34 Speak unto the children of Israel, saying, The fifteenth day of this seventh month shall be the feast of tabernacles for seven days unto the LORD. 35 On the first day shall be an holy convocation: you shall do no servile work therein. 36 Seven days you shall offer an offering made by fire unto the LORD: on the eighth day shall be an holy convocation unto you; and you shall offer an offering made by fire unto the LORD: it is a solemn assembly; and you shall do no servile work therein. 37 These are the feasts of the LORD, which you shall proclaim to be holy convocations, to offer an offering made by fire unto the LORD, a burnt offering, and a meat offering, a sacrifice, and drink offerings, every thing upon his day: 38 Beside the sabbaths of the LORD, and beside your gifts, and beside all your vows, and beside all your freewill offerings, which you give unto the LORD. 39 Also in the fifteenth day of the seventh month, when you have gathered in the fruit of the land, you shall keep a feast unto the LORD seven days: on the first day shall be a sabbath, and on the eighth day shall be a sabbath. 40 And you shall take you on the first day the boughs of goodly trees, branches of palm trees, and the boughs of thick trees, and willows of the brook; and you shall rejoice before the LORD your God seven days. 41 And you shall keep it a feast unto the LORD seven days in the year. It shall be a statute for ever in your generations: you shall celebrate it in the seventh month. 42 You shall dwell in booths seven days; all that are Israelites born shall dwell in booths: 43 That your generations may know that I made the children of Israel to dwell in booths, when I brought them out of the land of Egypt: I am the LORD your God. 44 And Moses declared unto the children of Israel the feasts of the LORD.&rdquo;"
var Leviticus2336="<b>Leviticus 23:36</b> &ldquo;Seven days you shall offer an offering made by fire unto the LORD: on the eighth day shall be an holy convocation unto you; and you shall offer an offering made by fire unto the LORD: it is a solemn assembly; and you shall do no servile work therein.&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
