(function(g){var n=g.esv||{};n.regex=/\b((?:(?:(?:Second|First|Scnd|Frst|Sec|Fst|2nd|1st|Se|Sc|II|I|2|1) ?(?:Thessalonions|Thessalonians|Corinthians|Corinthian|Chronicles|Chronicle|Corinthi|Chronicl|Timothy|Thessal|Corinth|Chronic|Timoth|Samuel|Chroni|Thess|Peter|Kings|Cortn|Corth|Corin|Chron|Thes|Petr|Pete|King|John|Cori|Chrs|Chro|Tim|Sam|Ptr|Pet|Kgs|Joh|Jhn|Cor|Chs|Chr|Tm|Ti|Th|Sm|Sa|Pt|Pe|Ks|Kn|Ki|Kg|Jo|Jn|Jn|Co|Ch|P|K|J))|(?:(?:Second|First|Scnd|Frst|Sec|Fst|2nd|1st|Se|Sc|II|I|2|1)(?:S))|(?:(?:Third|Thir|Thi|III|3rd|Th|3) ?(?:John|Joh|Jhn|Jo|Jn|Jn|J))|Canticle of Canticles|The Song of Solomon|The Song of Sol|Song of Solomon|The Revelation|Thessalonions|Thessalonians|Song of Songs|Phillippians|Lamentations|Ecclesiastes|Song of Sol|Revelations|Phillipians|Philippians|Lamentation|Eclesiastes|Ecclesiaste|Dueteronomy|Deuteronomy|Corinthians|Zecharaiah|Revelation|Philipians|Corinthian|Colossians|Chronicles|Zephaniah|Zechariah|Zachariah|Phillemon|Leviticus|Habbakkuk|Galations|Galatians|Ephesians|Colossian|Colosians|Chronicle|Canticles|Qoheleth|Proverbs|Philemon|Obadaiah|Nehemiah|Jeremiah|Jeremaih|Habbakuk|Habakkuk|Galatian|Ephesian|Corinthi|Chronicl|Timothy|Thessal|Song of|Solomon|Proverb|Philipp|Obadiah|Obadaih|Numbers|Matthew|Malachi|Hebrews|Habakuk|Genesis|Ezekiel|Corinth|Chronic|Timoth|Samuel|Romans|Psalms|Philip|Philem|Number|Mathew|Judges|Joshua|Isaiah|Hebrew|Haggia|Haggai|Exodus|Esther|Eccles|Daniel|Chroni|Titus|Thess|Roman|Psalm|Prvbs|Phile|Peter|Nahum|Micah|Kings|Juges|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b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b(?:[:\.]\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b)?)|\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b)(?:[,;]? ?(?:(?:\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b[:\.]\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b(?:[:\.]\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b)?)|\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b))*(?:[-\u2010\u2011\u2012\u2013\u2014\u2015] ?(?:(?:(?:(?:Second|First|Scnd|Frst|Sec|Fst|2nd|1st|Se|Sc|II|I|2|1) ?(?:Thessalonions|Thessalonians|Corinthians|Corinthian|Chronicles|Chronicle|Corinthi|Chronicl|Timothy|Thessal|Corinth|Chronic|Timoth|Samuel|Chroni|Thess|Peter|Kings|Cortn|Corth|Corin|Chron|Thes|Petr|Pete|King|John|Cori|Chrs|Chro|Tim|Sam|Ptr|Pet|Kgs|Joh|Jhn|Cor|Chs|Chr|Tm|Ti|Th|Sm|Sa|Pt|Pe|Ks|Kn|Ki|Kg|Jo|Jn|Jn|Co|Ch|P|K|J))|(?:(?:Second|First|Scnd|Frst|Sec|Fst|2nd|1st|Se|Sc|II|I|2|1)(?:S))|(?:(?:Third|Thir|Thi|III|3rd|Th|3) ?(?:John|Joh|Jhn|Jo|Jn|Jn|J))|Canticle of Canticles|The Song of Solomon|The Song of Sol|Song of Solomon|The Revelation|Thessalonions|Thessalonians|Song of Songs|Phillippians|Lamentations|Ecclesiastes|Song of Sol|Revelations|Phillipians|Philippians|Lamentation|Eclesiastes|Ecclesiaste|Dueteronomy|Deuteronomy|Corinthians|Zecharaiah|Revelation|Philipians|Corinthian|Colossians|Chronicles|Zephaniah|Zechariah|Zachariah|Phillemon|Leviticus|Habbakkuk|Galations|Galatians|Ephesians|Colossian|Colosians|Chronicle|Canticles|Qoheleth|Proverbs|Philemon|Obadaiah|Nehemiah|Jeremiah|Jeremaih|Habbakuk|Habakkuk|Galatian|Ephesian|Corinthi|Chronicl|Timothy|Thessal|Song of|Solomon|Proverb|Philipp|Obadiah|Obadaih|Numbers|Matthew|Malachi|Hebrews|Habakuk|Genesis|Ezekiel|Corinth|Chronic|Timoth|Samuel|Romans|Psalms|Philip|Philem|Number|Mathew|Judges|Joshua|Isaiah|Hebrew|Haggia|Haggai|Exodus|Esther|Eccles|Daniel|Chroni|Titus|Thess|Roman|Psalm|Prvbs|Phile|Peter|Nahum|Micah|Kings|Juges|Judgs|Jonah|James|Hosea|Hagai|Galat|Ephes|Cortn|Corth|Corin|Chron|Zeph|Zech|Thes|Song|Ruth|Pslm|Prov|Phil|Petr|Pete|Obad|Numb|Mica|Matt|Mark|Luke|Levi|King|Judg|Jude|Josh|John|John|Joel|Jere|Jdgs|Jame|Isai|Isah|Hagg|Ezra|Ezek|Exod|Esth|Ephs|Ephe|Ecll|Eccl|Deut|Cori|Chrs|Chro|Amos|Acts|Zep|Zec|Tit|Tim|Son|Sng|Sam|SOS|Rth|Rom|Rev|Qoh|Ptr|P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2014\u2015]\d)){1,3}\b)(?:[,;]? ?(?:(?:\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b[:\.]\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b(?:[:\.]\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b)?)|\b(?:\b\d{1,3}\b(?:[-\u2010\u2011\u2012\u2013\u2014\u2015]\b\d{1,3}\b)?(?![-\u2010\u2011\u2012\u2013\u2014\u2015]\d)){1,3}\b))*)*)\b(?![^<]*<\/a>)/gi;
g.esv=n})(window);(function(g){function n(a){var b;b=document.createElement("div");b.id=a;b.className="esvRefTooltip";b.style.position="absolute";b.style.visibility="visible";b.style.zIndex="9999999";b.style.width=300;b.style.height=150;document.body.appendChild(b);b.onmouseover=function(){clearTimeout(h.divTimerHide);h.lastHoveredRef=null;h.tipState=true};b.onmouseout=function(c){c=c||g.event;var f={};for(var k in c)f[k]=c[k];h.divTimerHide=setTimeout(function(){p(l,f)},0)};return b}function p(a){if(document.getElementById(a.id)){h.tipState=
false;a.style.visibility="hidden";a=h.lastHoveredRef;a!==null&&h.processTip(a[0],a[1])}}function q(){this.width=0;if(g.innerWidth)this.width=g.innerWidth;else if(document.documentElement&&document.documentElement.clientWidth)this.width=document.documentElement.clientWidth;else if(document.body&&document.body.clientWidth)this.width=document.body.clientWidth;return this.width}function i(){this.height=0;if(g.innerHeight)this.height=g.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)this.height=
document.documentElement.clientHeight;else if(document.body&&document.body.clientHeight)this.height=document.body.clientHeight;return this.height}function d(a,b){var c=document.getElementById(b),f="http://www.esvapi.org/crossref/ref.php",k;a=a.replace(" ","+").replace(":",".").replace(";",",");c.innerHTML=r;setTimeout(function(){h.tips[b]||h.requestFailed(b)},j);f+=f.indexOf("?")>-1?"&callback=":"?callback=";f+="loadtip.jsonpCallback&";if(a)f+="reference="+a;f+="&tip="+b;c=document.getElementsByTagName("head")[0];
k=document.createElement("script");k.setAttribute("src",f);k.setAttribute("type","text/javascript");c.appendChild(k)}var e=g.loadtip||{},j=5E3,m=null,l=null,r='<div class="esvRefStatus">Loading...</div>',h={requests:{},tips:{},currentObj:null,tipState:false,lastHoveredRef:null,divTimerHide:null,processTip:function(a,b){var c="tip-"+a.id;m=a;if((c=this.getTip(c,a))&&b){var f;var k=f=0,w=0,x=0,s=0,t=0,u=0,v=0,y=0,z=0,o;y=q();z=i();o=document.getElementById(m.id);u=c.offsetWidth;v=c.offsetHeight;s=o.offsetWidth;
t=o.offsetHeight;if(c.offsetParent&&o.offsetParent){do{w+=o.offsetTop;x+=o.offsetLeft}while(o=o.offsetParent)}if(u+s+b.clientX>y)f=x-u-4;else if(u+s+b.clientX<y)f=x+s+4;if(v+t+b.clientY>z)k=w-v-4;else if(v+t+b.clientY<z)k=w+t+4;f={x:f,y:k};k=f.y;c.style.left=f.x+"px";c.style.top=k+"px";if(document.getElementById(c.id)){h.tipState=true;c.style.visibility="visible"}}},getTip:function(a,b){var c;if(c=this.tips[a]||false){this.currentObj=c;c=c.divTip}else c=this.setTip(a,b);return l=c},setTip:function(a,
b){var c;if(c=this.requests[a]){if(c.error===true){c.error=false;d(c.ref,a)}c=c.divTip}else{c=n(a);this.requests[a]={ref:b.innerHTML,target:b,divTip:c};d(b.innerHTML,a)}return c},requestFailed:function(a){var b=this.requests[a];this.removeScript(a);b.divTip.innerHTML='<div class="esvRefStatus">Sorry could not load request at this time.</div>';b.error=true},save:function(a){this.removeScript(a);this.tips[a]=this.requests[a];delete this.requests[a]},removeScript:function(a){var b=document.getElementsByTagName("head")[0],
c,f;c=0;for(f=b.childNodes.length;c<f;c+=1)b.childNodes[c]&&b.childNodes[c].src&&b.childNodes[c].src.match(a)&&b.removeChild(b.childNodes[c])}};e.refMouseOver=function(a){a=a||g.event;var b=a.target||a.srcElement,c={};for(var f in a)c[f]=a[f];h.lastHoveredRef=[b,c];h.tipState===false&&h.processTip(b,a)};e.refMouseOut=function(a){var b=a||g.event;b=document.getElementById("tip-"+(b.target||b.srcElement).id);h.lastHoveredRef=null;if(b){clearTimeout(h.divTimerHide);b=a||g.event;var c={};for(var f in b)c[f]=
b[f];h.divTimerHide=setTimeout(function(){p(l,c)},300)}};e.jsonpCallback=function(a){if(a){var b=document.getElementById(a.tip);h.save(a.tip);if(a.content.indexOf("ERROR")!==-1)a.content='<div class="esvRefStatus">Sorry, no match could be found for that reference.</div>';b.innerHTML='<div class="esvRefContent">'+a.content+'</div><div class="esvRefFooter"><a class="crossway-logo" href="http://www.crossway.org" target="parent">Crossway</a><a class="more" href="http://www.esvonline.org/'+a.ref+'" target="parent">more >></a></div>'}};
e.initTipListener=function(a){if(a.addEventListener){a.addEventListener("mouseover",e.refMouseOver,false);a.addEventListener("mouseout",e.refMouseOut,false)}else{a.attachEvent("onmouseover",e.refMouseOver);a.attachEvent("onmouseout",e.refMouseOut)}};g.loadtip=e})(window);(function(g){var n=g.linkify||{},p=0,q={A:true,APPLET:true,BODY:true,H1:true,H2:true,H3:true,H4:true,HEAD:true,HR:true,IMG:true,INPUT:true,META:true,OPTION:true,SCRIPT:true,SELECT:true,TEXTAREA:true};n.traverseDOM=function(i){var d,e,j,m;for(i=[i];d=i.pop();)if(d.nodeType===3){if(e=d.nodeValue.match(esv.regex)){d=d;j=d.parentNode;var l=void 0;m=void 0;var r=void 0,h=void 0,a=void 0,b=void 0;l=void 0;m=0;for(r=e.length;m<r;m+=1,p+=1){h=d.nodeValue;l=e[m];a=h.indexOf(l);b=document.createElement("a");
b.href="http://www.esvonline.org/"+l.replace(" ","+").replace(":",".").replace(";",",");b.className="esvBibleRef";b.target="_blank";b.id="BibleRef-"+p;b.innerHTML=l;loadtip.initTipListener(b);d.nodeValue=h.replace(l,"");l=d.splitText(a);d===j.lastChild?j.appendChild(b):j.insertBefore(b,l);d=l}}}else if(d.firstChild){e=d.childNodes;j=0;for(m=e.length;j<m;j+=1)if(e[j].nodeType===3&&d.nodeValue!=="")i.push(e[j]);else e[j].nodeType===1&&!q[e[j].tagName.toUpperCase()]&&e[j].className!="esv-ignore"&&i.push(e[j])}};
g.linkify=n})(window);(function(g){function n(i,d,e){if(i.addEventListener)i.addEventListener(d,e,false);else if(i.attachEvent){i["e"+d+e]=e;i[d+e]=function(){i["e"+d+e](g.event)};i.attachEvent("on"+d,i[d+e])}}function p(){var i=document.getElementsByTagName("head")[0],d=document.createElement("link");d.type="text/css";d.rel="stylesheet";d.href="http://static.esvmedia.org/crossref/css/ESVref.css";i.insertBefore(d,i.firstChild);linkify.traverseDOM(document.body)}var q=g.esv||{};q.init=function(){n(g,"load",p)};g.esv=q})(window);
esv.init();

