(function(window,undefined){var NJBible=function(){};var Book=function(BookNum,Name,osisBookID,Abbrev,ChapterStartsAt,ChapterCount,VerseStartsAt,VerseCount){this.BookNum=BookNum;this.Name=Name;this.osisBookID=osisBookID;this.Abbrev=Abbrev;this.ChapterStartsAt=ChapterStartsAt;this.ChapterCount=ChapterCount;this.VerseStartsAt=VerseStartsAt;this.VerseCount=VerseCount;return this};NJBible.Books=Books=[new Book(1,"Genesis","Gen","Gen",1,50,1,1533),new Book(2,"Exodus","Exod","Exo",51,40,1534,1213),new Book(3,"Leviticus","Lev","Lev",91,27,2747,859),new Book(4,"Numbers","Num","Num",118,36,3606,1288),new Book(5,"Deuteronomy","Deut","Deu",154,34,4894,959),new Book(6,"Joshua","Josh","Jos",188,24,5853,658),new Book(7,"Judges","Judg","Jdg",212,21,6511,618),new Book(8,"Ruth","Ruth","Rth",233,4,7129,85),new Book(9,"I Samuel","1Sam","1Sa",237,31,7214,810),new Book(10,"II Samuel","2Sam","2Sa",268,24,8024,695),new Book(11,"I Kings","1Kgs","1Ki",292,22,8719,816),new Book(12,"II Kings","2Kgs","2Ki",314,25,9535,719),new Book(13,"I Chronicles","1Chr","1Ch",339,29,10254,942),new Book(14,"II Chronicles","2Chr","2Ch",368,36,11196,822),new Book(15,"Ezra","Ezra","Ezr",404,10,12018,280),new Book(16,"Nehemiah","Neh","Neh",414,13,12298,406),new Book(17,"Esther","Esth","Est",427,10,12704,167),new Book(18,"Job","Job","Job",437,42,12871,1070),new Book(19,"Psalms","Ps","Psa",479,150,13941,2461),new Book(20,"Proverbs","Prov","Pro",629,31,16402,915),new Book(21,"Ecclesiastes","Eccl","Ecc",660,12,17317,222),new Book(22,"Song of Solomon","Song","Sng",672,8,17539,117),new Book(23,"Isaiah","Isa","Isa",680,66,17656,1292),new Book(24,"Jeremiah","Jer","Jer",746,52,18948,1364),new Book(25,"Lamentations","Lam","Lam",798,5,20312,154),new Book(26,"Ezekiel","Ezek","Eze",803,48,20466,1273),new Book(27,"Daniel","Dan","Dan",851,12,21739,357),new Book(28,"Hosea","Hos","Hos",863,14,22096,197),new Book(29,"Joel","Joel","Joe",877,3,22293,73),new Book(30,"Amos","Amos","Amo",880,9,22366,146),new Book(31,"Obadiah","Obad","Oba",889,1,22512,21),new Book(32,"Jonah","Jonah","Jon",890,4,22533,48),new Book(33,"Micah","Mic","Mic",894,7,22581,105),new Book(34,"Nahum","Nah","Nah",901,3,22686,47),new Book(35,"Habakkuk","Hab","Hab",904,3,22733,56),new Book(36,"Zephaniah","Zeph","Zep",907,3,22789,53),new Book(37,"Haggai","Hag","Hag",910,2,22842,38),new Book(38,"Zechariah","Zech","Zec",912,14,22880,211),new Book(39,"Malachi","Mal","Mal",926,4,23091,55),new Book(40,"Matthew","Matt","Mat",930,28,23146,1071),new Book(41,"Mark","Mark","Mar",958,16,24217,678),new Book(42,"Luke","Luke","Luk",974,24,24895,1151),new Book(43,"John","John","Joh",998,21,26046,879),new Book(44,"Acts","Acts","Act",1019,28,26925,1007),new Book(45,"Romans","Rom","Rom",1047,16,27932,433),new Book(46,"I Corinthians","1Cor","1Co",1063,16,28365,437),new Book(47,"II Corinthians","2Cor","2Co",1079,13,28802,257),new Book(48,"Galatians","Gal","Gal",1092,6,29059,149),new Book(49,"Ephesians","Eph","Eph",1098,6,29208,155),new Book(50,"Philippians","Phil","Phi",1104,4,29363,104),new Book(51,"Colossians","Col","Col",1108,4,29467,95),new Book(52,"I Thessalonians","1Thess","1Th",1112,5,29562,89),new Book(53,"II Thessalonians","2Thess","2Th",1117,3,29651,47),new Book(54,"I Timothy","1Tim","1Ti",1120,6,29698,113),new Book(55,"II Timothy","2Tim","2Ti",1126,4,29811,83),new Book(56,"Titus","Titus","Tit",1130,3,29894,46),new Book(57,"Philemon","Phlm","Phm",1133,1,29940,25),new Book(58,"Hebrews","Heb","Heb",1134,13,29965,303),new Book(59,"James","Jas","Jam",1147,5,30268,108),new Book(60,"I Peter","1Pet","1Pe",1152,5,30376,105),new Book(61,"II Peter","2Pet","2Pe",1157,3,30481,61),new Book(62,"I John","1John","1Jo",1160,5,30542,105),new Book(63,"II John","2John","2Jo",1165,1,30647,13),new Book(64,"III John","3John","3Jo",1166,1,30660,14),new Book(65,"Jude","Jude","Jud",1167,1,30674,25),new Book(66,"Revelation of John","Rev","Rev",1168,22,30699,404)];var bc=[[1001031,1002025,1003024,1004026,1005032,1006022,1007024,1008022,1009029,1010032,1011032,1012020,1013018,1014024,1015021,1016016,1017027,1018033,1019038,1020018,1021034,1022024,1023020,1024067,1025034,1026035,1027046,1028022,1029035,1030043,1031055,1032032,1033020,1034031,1035029,1036043,1037036,1038030,1039023,1040023,1041057,1042038,1043034,1044034,1045028,1046034,1047031,1048022,1049033,1050026],[2001022,2002025,2003022,2004031,2005023,2006030,2007025,2008032,2009035,2010029,2011010,2012051,2013022,2014031,2015027,2016036,2017016,2018027,2019025,2020026,2021036,2022031,2023033,2024018,2025040,2026037,2027021,2028043,2029046,2030038,2031018,2032035,2033023,2034035,2035035,2036038,2037029,2038031,2039043,2040038],[3001017,3002016,3003017,3004035,3005019,3006030,3007038,3008036,3009024,3010020,3011047,3012008,3013059,3014057,3015033,3016034,3017016,3018030,3019037,3020027,3021024,3022033,3023044,3024023,3025055,3026046,3027034],[4001054,4002034,4003051,4004049,4005031,4006027,4007089,4008026,4009023,4010036,4011035,4012016,4013033,4014045,4015041,4016050,4017013,4018032,4019022,4020029,4021035,4022041,4023030,4024025,4025018,4026065,4027023,4028031,4029040,4030016,4031054,4032042,4033056,4034029,4035034,4036013],[5001046,5002037,5003029,5004049,5005033,5006025,5007026,5008020,5009029,5010022,5011032,5012032,5013018,5014029,5015023,5016022,5017020,5018022,5019021,5020020,5021023,5022030,5023025,5024022,5025019,5026019,5027026,5028068,5029029,5030020,5031030,5032052,5033029,5034012],[6001018,6002024,6003017,6004024,6005015,6006027,6007026,6008035,6009027,6010043,6011023,6012024,6013033,6014015,6015063,6016010,6017018,6018028,6019051,6020009,6021045,6022034,6023016,6024033],[7001036,7002023,7003031,7004024,7005031,7006040,7007025,7008035,7009057,7010018,7011040,7012015,7013025,7014020,7015020,7016031,7017013,7018031,7019030,7020048,7021025],[8001022,8002023,8003018,8004022],[9001028,9002036,9003021,9004022,9005012,9006021,9007017,9008022,9009027,9010027,9011015,9012025,9013023,9014052,9015035,9016023,9017058,9018030,9019024,9020042,9021015,9022023,9023029,9024022,9025044,9026025,9027012,9028025,9029011,9030031,9031013],[10001027,10002032,10003039,10004012,10005025,10006023,10007029,10008018,10009013,10010019,10011027,10012031,10013039,10014033,10015037,10016023,10017029,10018033,10019043,10020026,10021022,10022051,10023039,10024025],[11001053,11002046,11003028,11004034,11005018,11006038,11007051,11008066,11009028,11010029,11011043,11012033,11013034,11014031,11015034,11016034,11017024,11018046,11019021,11020043,11021029,11022053],[12001018,12002025,12003027,12004044,12005027,12006033,12007020,12008029,12009037,12010036,12011021,12012021,12013025,12014029,12015038,12016020,12017041,12018037,12019037,12020021,12021026,12022020,12023037,12024020,12025030],[13001054,13002055,13003024,13004043,13005026,13006081,13007040,13008040,13009044,13010014,13011047,13012040,13013014,13014017,13015029,13016043,13017027,13018017,13019019,13020008,13021030,13022019,13023032,13024031,13025031,13026032,13027034,13028021,13029030],[14001017,14002018,14003017,14004022,14005014,14006042,14007022,14008018,14009031,14010019,14011023,14012016,14013022,14014015,14015019,14016014,14017019,14018034,14019011,14020037,14021020,14022012,14023021,14024027,14025028,14026023,14027009,14028027,14029036,14030027,14031021,14032033,14033025,14034033,14035027,14036023],[15001011,15002070,15003013,15004024,15005017,15006022,15007028,15008036,15009015,15010044],[16001011,16002020,16003032,16004023,16005019,16006019,16007073,16008018,16009038,16010039,16011036,16012047,16013031],[17001022,17002023,17003015,17004017,17005014,17006014,17007010,17008017,17009032,17010003],[18001022,18002013,18003026,18004021,18005027,18006030,18007021,18008022,18009035,18010022,18011020,18012025,18013028,18014022,18015035,18016022,18017016,18018021,18019029,18020029,18021034,18022030,18023017,18024025,18025006,18026014,18027023,18028028,18029025,18030031,18031040,18032022,18033033,18034037,18035016,18036033,18037024,18038041,18039030,18040024,18041034,18042017],[19001006,19002012,19003008,19004008,19005012,19006010,19007017,19008009,19009020,19010018,19011007,19012008,19013006,19014007,19015005,19016011,19017015,19018050,19019014,19020009,19021013,19022031,19023006,19024010,19025022,19026012,19027014,19028009,19029011,19030012,19031024,19032011,19033022,19034022,19035028,19036012,19037040,19038022,19039013,19040017,19041013,19042011,19043005,19044026,19045017,19046011,19047009,19048014,19049020,19050023,19051019,19052009,19053006,19054007,19055023,19056013,19057011,19058011,19059017,19060012,19061008,19062012,19063011,19064010,19065013,19066020,19067007,19068035,19069036,19070005,19071024,19072020,19073028,19074023,19075010,19076012,19077020,19078072,19079013,19080019,19081016,19082008,19083018,19084012,19085013,19086017,19087007,19088018,19089052,19090017,19091016,19092015,19093005,19094023,19095011,19096013,19097012,19098009,19099009,19100005,19101008,19102028,19103022,19104035,19105045,19106048,19107043,19108013,19109031,19110007,19111010,19112010,19113009,19114008,19115018,19116019,19117002,19118029,19119176,19120007,19121008,19122009,19123004,19124008,19125005,19126006,19127005,19128006,19129008,19130008,19131003,19132018,19133003,19134003,19135021,19136026,19137009,19138008,19139024,19140013,19141010,19142007,19143012,19144015,19145021,19146010,19147020,19148014,19149009,19150006],[20001033,20002022,20003035,20004027,20005023,20006035,20007027,20008036,20009018,20010032,20011031,20012028,20013025,20014035,20015033,20016033,20017028,20018024,20019029,20020030,20021031,20022029,20023035,20024034,20025028,20026028,20027027,20028028,20029027,20030033,20031031],[21001018,21002026,21003022,21004016,21005020,21006012,21007029,21008017,21009018,21010020,21011010,21012014],[22001017,22002017,22003011,22004016,22005016,22006013,22007013,22008014],[23001031,23002022,23003026,23004006,23005030,23006013,23007025,23008022,23009021,23010034,23011016,23012006,23013022,23014032,23015009,23016014,23017014,23018007,23019025,23020006,23021017,23022025,23023018,23024023,23025012,23026021,23027013,23028029,23029024,23030033,23031009,23032020,23033024,23034017,23035010,23036022,23037038,23038022,23039008,23040031,23041029,23042025,23043028,23044028,23045025,23046013,23047015,23048022,23049026,23050011,23051023,23052015,23053012,23054017,23055013,23056012,23057021,23058014,23059021,23060022,23061011,23062012,23063019,23064012,23065025,23066024],[24001019,24002037,24003025,24004031,24005031,24006030,24007034,24008022,24009026,24010025,24011023,24012017,24013027,24014022,24015021,24016021,24017027,24018023,24019015,24020018,24021014,24022030,24023040,24024010,24025038,24026024,24027022,24028017,24029032,24030024,24031040,24032044,24033026,24034022,24035019,24036032,24037021,24038028,24039018,24040016,24041018,24042022,24043013,24044030,24045005,24046028,24047007,24048047,24049039,24050046,24051064,24052034],[25001022,25002022,25003066,25004022,25005022],[26001028,26002010,26003027,26004017,26005017,26006014,26007027,26008018,26009011,26010022,26011025,26012028,26013023,26014023,26015008,26016063,26017024,26018032,26019014,26020049,26021032,26022031,26023049,26024027,26025017,26026021,26027036,26028026,26029021,26030026,26031018,26032032,26033033,26034031,26035015,26036038,26037028,26038023,26039029,26040049,26041026,26042020,26043027,26044031,26045025,26046024,26047023,26048035],[27001021,27002049,27003030,27004037,27005031,27006028,27007028,27008027,27009027,27010021,27011045,27012013],[28001011,28002023,28003005,28004019,28005015,28006011,28007016,28008014,28009017,28010015,28011012,28012014,28013016,28014009],[29001020,29002032,29003021],[30001015,30002016,30003015,30004013,30005027,30006014,30007017,30008014,30009015],[31001021],[32001017,32002010,32003010,32004011],[33001016,33002013,33003012,33004013,33005015,33006016,33007020],[34001015,34002013,34003019],[35001017,35002020,35003019],[36001018,36002015,36003020],[37001015,37002023],[38001021,38002013,38003010,38004014,38005011,38006015,38007014,38008023,38009017,38010012,38011017,38012014,38013009,38014021],[39001014,39002017,39003018,39004006],[40001025,40002023,40003017,40004025,40005048,40006034,40007029,40008034,40009038,40010042,40011030,40012050,40013058,40014036,40015039,40016028,40017027,40018035,40019030,40020034,40021046,40022046,40023039,40024051,40025046,40026075,40027066,40028020],[41001045,41002028,41003035,41004041,41005043,41006056,41007037,41008038,41009050,41010052,41011033,41012044,41013037,41014072,41015047,41016020],[42001080,42002052,42003038,42004044,42005039,42006049,42007050,42008056,42009062,42010042,42011054,42012059,42013035,42014035,42015032,42016031,42017037,42018043,42019048,42020047,42021038,42022071,42023056,42024053],[43001051,43002025,43003036,43004054,43005047,43006071,43007053,43008059,43009041,43010042,43011057,43012050,43013038,43014031,43015027,43016033,43017026,43018040,43019042,43020031,43021025],[44001026,44002047,44003026,44004037,44005042,44006015,44007060,44008040,44009043,44010048,44011030,44012025,44013052,44014028,44015041,44016040,44017034,44018028,44019041,44020038,44021040,44022030,44023035,44024027,44025027,44026032,44027044,44028031],[45001032,45002029,45003031,45004025,45005021,45006023,45007025,45008039,45009033,45010021,45011036,45012021,45013014,45014023,45015033,45016027],[46001031,46002016,46003023,46004021,46005013,46006020,46007040,46008013,46009027,46010033,46011034,46012031,46013013,46014040,46015058,46016024],[47001024,47002017,47003018,47004018,47005021,47006018,47007016,47008024,47009015,47010018,47011033,47012021,47013014],[48001024,48002021,48003029,48004031,48005026,48006018],[49001023,49002022,49003021,49004032,49005033,49006024],[50001030,50002030,50003021,50004023],[51001029,51002023,51003025,51004018],[52001010,52002020,52003013,52004018,52005028],[53001012,53002017,53003018],[54001020,54002015,54003016,54004016,54005025,54006021],[55001018,55002026,55003017,55004022],[56001016,56002015,56003015],[57001025],[58001014,58002018,58003019,58004016,58005014,58006020,58007028,58008013,58009028,58010039,58011040,58012029,58013025],[59001027,59002026,59003018,59004017,59005020],[60001025,60002025,60003022,60004019,60005014],[61001021,61002022,61003018],[62001010,62002029,62003024,62004021,62005021],[63001013],[64001014],[65001025],[66001020,66002029,66003022,66004011,66005014,66006017,66007017,66008013,66009021,66010011,66011019,66012017,66013018,66014020,66015008,66016021,66017018,66018024,66019021,66020015,66021027,66022021]];var bvid=[[1000001,1000032,1000057,1000081,1000107,1000139,1000161,1000185,1000207,1000236,1000268,1000300,1000320,1000338,1000362,1000383,1000399,1000426,1000459,1000497,1000515,1000549,1000573,1000593,1000660,1000694,1000729,1000775,1000797,1000832,1000875,1000930,1000962,1000982,1001013,1001042,1001085,1001121,1001151,1001174,1001197,1001254,1001292,1001326,1001360,1001388,1001422,1001453,1001475,1001508],[2001534,2001556,2001581,2001603,2001634,2001657,2001687,2001712,2001744,2001779,2001808,2001818,2001869,2001891,2001922,2001949,2001985,2002001,2002028,2002053,2002079,2002115,2002146,2002179,2002197,2002237,2002274,2002295,2002338,2002384,2002422,2002440,2002475,2002498,2002533,2002568,2002606,2002635,2002666,2002709],[3002747,3002764,3002780,3002797,3002832,3002851,3002881,3002919,3002955,3002979,3002999,3003046,3003054,3003113,3003170,3003203,3003237,3003253,3003283,3003320,3003347,3003371,3003404,3003448,3003471,3003526,3003572],[4003606,4003660,4003694,4003745,4003794,4003825,4003852,4003941,4003967,4003990,4004026,4004061,4004077,4004110,4004155,4004196,4004246,4004259,4004291,4004313,4004342,4004377,4004418,4004448,4004473,4004491,4004556,4004579,4004610,4004650,4004666,4004720,4004762,4004818,4004847,4004881],[5004894,5004940,5004977,5005006,5005055,5005088,5005113,5005139,5005159,5005188,5005210,5005242,5005274,5005292,5005321,5005344,5005366,5005386,5005408,5005429,5005449,5005472,5005502,5005527,5005549,5005568,5005587,5005613,5005681,5005710,5005730,5005760,5005812,5005841],[6005853,6005871,6005895,6005912,6005936,6005951,6005978,6006004,6006039,6006066,6006109,6006132,6006156,6006189,6006204,6006267,6006277,6006295,6006323,6006374,6006383,6006428,6006462,6006478],[7006511,7006547,7006570,7006601,7006625,7006656,7006696,7006721,7006756,7006813,7006831,7006871,7006886,7006911,7006931,7006951,7006982,7006995,7007026,7007056,7007104],[8007129,8007151,8007174,8007192],[9007214,9007242,9007278,9007299,9007321,9007333,9007354,9007371,9007393,9007420,9007447,9007462,9007487,9007510,9007562,9007597,9007620,9007678,9007708,9007732,9007774,9007789,9007812,9007841,9007863,9007907,9007932,9007944,9007969,9007980,9008011],[10008024,10008051,10008083,10008122,10008134,10008159,10008182,10008211,10008229,10008242,10008261,10008288,10008319,10008358,10008391,10008428,10008451,10008480,10008513,10008556,10008582,10008604,10008655,10008694],[11008719,11008772,11008818,11008846,11008880,11008898,11008936,11008987,11009053,11009081,11009110,11009153,11009186,11009220,11009251,11009285,11009319,11009343,11009389,11009410,11009453,11009482],[12009535,12009553,12009578,12009605,12009649,12009676,12009709,12009729,12009758,12009795,12009831,12009852,12009873,12009898,12009927,12009965,12009985,12010026,12010063,12010100,12010121,12010147,12010167,12010204,12010224],[13010254,13010308,13010363,13010387,13010430,13010456,13010537,13010577,13010617,13010661,13010675,13010722,13010762,13010776,13010793,13010822,13010865,13010892,13010909,13010928,13010936,13010966,13010985,13011017,13011048,13011079,13011111,13011145,13011166],[14011196,14011213,14011231,14011248,14011270,14011284,14011326,14011348,14011366,14011397,14011416,14011439,14011455,14011477,14011492,14011511,14011525,14011544,14011578,14011589,14011626,14011646,14011658,14011679,14011706,14011734,14011757,14011766,14011793,14011829,14011856,14011877,14011910,14011935,14011968,14011995],[15012018,15012029,15012099,15012112,15012136,15012153,15012175,15012203,15012239,15012254],[16012298,16012309,16012329,16012361,16012384,16012403,16012422,16012495,16012513,16012551,16012590,16012626,16012673],[17012704,17012726,17012749,17012764,17012781,17012795,17012809,17012819,17012836,17012868],[18012871,18012893,18012906,18012932,18012953,18012980,18013010,18013031,18013053,18013088,18013110,18013130,18013155,18013183,18013205,18013240,18013262,18013278,18013299,18013328,18013357,18013391,18013421,18013438,18013463,18013469,18013483,18013506,18013534,18013559,18013590,18013630,18013652,18013685,18013722,18013738,18013771,18013795,18013836,18013866,18013890,18013924],[19013941,19013947,19013959,19013967,19013975,19013987,19013997,19014014,19014023,19014043,19014061,19014068,19014076,19014082,19014089,19014094,19014105,19014120,19014170,19014184,19014193,19014206,19014237,19014243,19014253,19014275,19014287,19014301,19014310,19014321,19014333,19014357,19014368,19014390,19014412,19014440,19014452,19014492,19014514,19014527,19014544,19014557,19014568,19014573,19014599,19014616,19014627,19014636,19014650,19014670,19014693,19014712,19014721,19014727,19014734,19014757,19014770,19014781,19014792,19014809,19014821,19014829,19014841,19014852,19014862,19014875,19014895,19014902,19014937,19014973,19014978,19015002,19015022,19015050,19015073,19015083,19015095,19015115,19015187,19015200,19015219,19015235,19015243,19015261,19015273,19015286,19015303,19015310,19015328,19015380,19015397,19015413,19015428,19015433,19015456,19015467,19015480,19015492,19015501,19015510,19015515,19015523,19015551,19015573,19015608,19015653,19015701,19015744,19015757,19015788,19015795,19015805,19015815,19015824,19015832,19015850,19015869,19015871,19015900,19016076,19016083,19016091,19016100,19016104,19016112,19016117,19016123,19016128,19016134,19016142,19016150,19016153,19016171,19016174,19016177,19016198,19016224,19016233,19016241,19016265,19016278,19016288,19016295,19016307,19016322,19016343,19016353,19016373,19016387,19016396],[20016402,20016435,20016457,20016492,20016519,20016542,20016577,20016604,20016640,20016658,20016690,20016721,20016749,20016774,20016809,20016842,20016875,20016903,20016927,20016956,20016986,20017017,20017046,20017081,20017115,20017143,20017171,20017198,20017226,20017253,20017286],[21017317,21017335,21017361,21017383,21017399,21017419,21017431,21017460,21017477,21017495,21017515,21017525],[22017539,22017556,22017573,22017584,22017600,22017616,22017629,22017642],[23017656,23017687,23017709,23017735,23017741,23017771,23017784,23017809,23017831,23017852,23017886,23017902,23017908,23017930,23017962,23017971,23017985,23017999,23018006,23018031,23018037,23018054,23018079,23018097,23018120,23018132,23018153,23018166,23018195,23018219,23018252,23018261,23018281,23018305,23018322,23018332,23018354,23018392,23018414,23018422,23018453,23018482,23018507,23018535,23018563,23018588,23018601,23018616,23018638,23018664,23018675,23018698,23018713,23018725,23018742,23018755,23018767,23018788,23018802,23018823,23018845,23018856,23018868,23018887,23018899,23018924],[24018948,24018967,24019004,24019029,24019060,24019091,24019121,24019155,24019177,24019203,24019228,24019251,24019268,24019295,24019317,24019338,24019359,24019386,24019409,24019424,24019442,24019456,24019486,24019526,24019536,24019574,24019598,24019620,24019637,24019669,24019693,24019733,24019777,24019803,24019825,24019844,24019876,24019897,24019925,24019943,24019959,24019977,24019999,24020012,24020042,24020047,24020075,24020082,24020129,24020168,24020214,24020278],[25020312,25020334,25020356,25020422,25020444],[26020466,26020494,26020504,26020531,26020548,26020565,26020579,26020606,26020624,26020635,26020657,26020682,26020710,26020733,26020756,26020764,26020827,26020851,26020883,26020897,26020946,26020978,26021009,26021058,26021085,26021102,26021123,26021159,26021185,26021206,26021232,26021250,26021282,26021315,26021346,26021361,26021399,26021427,26021450,26021479,26021528,26021554,26021574,26021601,26021632,26021657,26021681,26021704],[27021739,27021760,27021809,27021839,27021876,27021907,27021935,27021963,27021990,27022017,27022038,27022083],[28022096,28022107,28022130,28022135,28022154,28022169,28022180,28022196,28022210,28022227,28022242,28022254,28022268,28022284],[29022293,29022313,29022345],[30022366,30022381,30022397,30022412,30022425,30022452,30022466,30022483,30022497],[31022512],[32022533,32022550,32022560,32022570],[33022581,33022597,33022610,33022622,33022635,33022650,33022666],[34022686,34022701,34022714],[35022733,35022750,35022770],[36022789,36022807,36022822],[37022842,37022857],[38022880,38022901,38022914,38022924,38022938,38022949,38022964,38022978,38023001,38023018,38023030,38023047,38023061,38023070],[39023091,39023105,39023122,39023140],[40023146,40023171,40023194,40023211,40023236,40023284,40023318,40023347,40023381,40023419,40023461,40023491,40023541,40023599,40023635,40023674,40023702,40023729,40023764,40023794,40023828,40023874,40023920,40023959,40024010,40024056,40024131,40024197],[41024217,41024262,41024290,41024325,41024366,41024409,41024465,41024502,41024540,41024590,41024642,41024675,41024719,41024756,41024828,41024875],[42024895,42024975,42025027,42025065,42025109,42025148,42025197,42025247,42025303,42025365,42025407,42025461,42025520,42025555,42025590,42025622,42025653,42025690,42025733,42025781,42025828,42025866,42025937,42025993],[43026046,43026097,43026122,43026158,43026212,43026259,43026330,43026383,43026442,43026483,43026525,43026582,43026632,43026670,43026701,43026728,43026761,43026787,43026827,43026869,43026900],[44026925,44026951,44026998,44027024,44027061,44027103,44027118,44027178,44027218,44027261,44027309,44027339,44027364,44027416,44027444,44027485,44027525,44027559,44027587,44027628,44027666,44027706,44027736,44027771,44027798,44027825,44027857,44027901],[45027932,45027964,45027993,45028024,45028049,45028070,45028093,45028118,45028157,45028190,45028211,45028247,45028268,45028282,45028305,45028338],[46028365,46028396,46028412,46028435,46028456,46028469,46028489,46028529,46028542,46028569,46028602,46028636,46028667,46028680,46028720,46028778],[47028802,47028826,47028843,47028861,47028879,47028900,47028918,47028934,47028958,47028973,47028991,47029024,47029045],[48029059,48029083,48029104,48029133,48029164,48029190],[49029208,49029231,49029253,49029274,49029306,49029339],[50029363,50029393,50029423,50029444],[51029467,51029496,51029519,51029544],[52029562,52029572,52029592,52029605,52029623],[53029651,53029663,53029680],[54029698,54029718,54029733,54029749,54029765,54029790],[55029811,55029829,55029855,55029872],[56029894,56029910,56029925],[57029940],[58029965,58029979,58029997,58030016,58030032,58030046,58030066,58030094,58030107,58030135,58030174,58030214,58030243],[59030268,59030295,59030321,59030339,59030356],[60030376,60030401,60030426,60030448,60030467],[61030481,61030502,61030524],[62030542,62030552,62030581,62030605,62030626],[63030647],[64030660],[65030674],[66030699,66030719,66030748,66030770,66030781,66030795,66030812,66030829,66030842,66030863,66030874,66030893,66030910,66030928,66030948,66030956,66030977,66030995,66031019,66031040,66031055,66031082]];var abbrev={"1 C":"1Cor","1 CHRONICLES":"1Chr","1 CORINTHIANS":"1Cor","1 JN":"1John","1 JOHN":"1John","1 K":"1Kgs","1 KGDMS":"1Sam","1 KGS":"1Kgs","1 KING":"1Kgs","1 KINGDOMS":"1Sam","1 KINGS":"1Kgs","1 P":"1Pet","1 PARALIPOMENON":"1Chr","1 PETER":"1Pet","1 PTR":"1Pet","1 SAMUEL":"1Sam","1 THESSALONIANS":"1Thess","1 TIMOTHY":"1Tim","1C":"1Cor","1CH":"1Chr","1CHR":"1Chr","1CHRONICLES":"1Chr","1CO":"1Cor","1COR":"1Cor","1CORINTHIANS":"1Cor","1JN":"1John","1JO":"1John","1JOH":"1John","1JOHN":"1John","1K":"1Kgs","1KGDMS":"1Sam","1KGS":"1Kgs","1KI":"1Kgs","1KING":"1Kgs","1KINGDOMS":"1Sam","1KINGS":"1Kgs","1P":"1Pet","1PARALIPOMENON":"1Chr","1PE":"1Pet","1PET":"1Pet","1PETER":"1Pet","1PTR":"1Pet","1SA":"1Sam","1SAM":"1Sam","1SAMUEL":"1Sam","1TH":"1Thess","1THES":"1Thess","1THESS":"1Thess","1THESSALONIANS":"1Thess","1TI":"1Tim","1TIM":"1Tim","1TIMOTHY":"1Tim","2 C":"2Cor","2 CHRONICLES":"2Chr","2 CORINTHIANS":"2Cor","2 JN":"2John","2 JOHN":"2John","2 K":"2Kgs","2 KGDMS":"2Sam","2 KGS":"2Kgs","2 KING":"2Kgs","2 KINGDOMS":"2Sam","2 KINGS":"2Kgs","2 P":"2Pet","2 PARALIPOMENON":"2Chr","2 PETER":"2Pet","2 PTR":"2Pet","2 SAMUEL":"2Sam","2 THESSALONIANS":"2Thess","2 TIMOTHY":"2Tim","2C":"2Cor","2CH":"2Chr","2CHR":"2Chr","2CHRONICLES":"2Chr","2CO":"2Cor","2COR":"2Cor","2CORINTHIANS":"2Cor","2JN":"2John","2JO":"2John","2JOH":"2John","2JOHN":"2John","2K":"2Kgs","2KGDMS":"2Sam","2KGS":"2Kgs","2KI":"2Kgs","2KING":"2Kgs","2KINGDOMS":"2Sam","2KINGS":"2Kgs","2P":"2Pet","2PARALIPOMENON":"2Chr","2PE":"2Pet","2PET":"2Pet","2PETER":"2Pet","2PTR":"2Pet","2SA":"2Sam","2SAM":"2Sam","2SAMUEL":"2Sam","2TH":"2Thess","2THES":"2Thess","2THESS":"2Thess","2THESSALONIANS":"2Thess","2TI":"2Tim","2TIM":"2Tim","2TIMOTHY":"2Tim","3 JN":"3John","3 JOHN":"3John","3 KGDMS":"1Kgs","3 KGS":"1Kgs","3 KINGDOMS":"1Kgs","3 KINGS":"1Kgs","3JN":"3John","3JO":"3John","3JOH":"3John","3JOHN":"3John","3KGDMS":"1Kgs","3KGS":"1Kgs","3KINGDOMS":"1Kgs","3KINGS":"1Kgs","4 KGDMS":"2Kgs","4 KGS":"2Kgs","4 KINGDOMS":"2Kgs","4 KINGS":"2Kgs","4KGDMS":"2Kgs","4KGS":"2Kgs","4KINGDOMS":"2Kgs","4KINGS":"2Kgs",ACT:"Acts",ACTS:"Acts",AMO:"Amos",AMOS:"Amos","APOCALYPSE OF JOHN":"Rev",C:"Col","CANTICLE OF CANTICLES":"Song",COL:"Col",COLOSSIANS:"Col",D:"Deut",DAN:"Dan",DANIEL:"Dan",DEU:"Deut",DEUT:"Deut",DEUTERONOMY:"Deut",DT:"Deut",E:"Exod",ECC:"Eccl",ECCL:"Eccl",ECCLESIASTES:"Eccl",EK:"Ezek",EPH:"Eph",EPHESIANS:"Eph",ES:"Esth",EST:"Esth",ESTER:"Esth",ESTH:"Esth",ESTHER:"Esth",EXO:"Exod",EXOD:"Exod",EXODUS:"Exod",EZE:"Ezek",EZEK:"Ezek",EZEKIEL:"Ezek",EZK:"Ezek",EZR:"Ezra",EZRA:"Ezra",G:"Gen",GAL:"Gal",GALATIANS:"Gal",GEN:"Gen",GENESIS:"Gen",GN:"Gen",H:"Heb",HAB:"Hab",HABAKKUK:"Hab",HAG:"Hag",HAGGAI:"Hag",HEB:"Heb",HEBREWS:"Heb",HOS:"Hos",HOSEA:"Hos",I:"Isa","I C":"1Cor","I CHRONICLES":"1Chr","I CORINTHIANS":"1Cor","I JN":"1John","I JOHN":"1John","I K":"1Kgs","I KGDMS":"1Sam","I KGS":"1Kgs","I KING":"1Kgs","I KINGDOMS":"1Sam","I KINGS":"1Kgs","I P":"1Pet","I PARALIPOMENON":"1Chr","I PETER":"1Pet","I PTR":"1Pet","I SAMUEL":"1Sam","I THESSALONIANS":"1Thess","I TIMOTHY":"1Tim",IC:"1Cor",ICHRONICLES:"1Chr",ICORINTHIANS:"1Cor","II C":"2Cor","II CHRONICLES":"2Chr","II CORINTHIANS":"2Cor","II JN":"2John","II JOHN":"2John","II K":"2Kgs","II KGDMS":"2Sam","II KGS":"2Kgs","II KING":"2Kgs","II KINGDOMS":"2Sam","II KINGS":"2Kgs","II P":"2Pet","II PARALIPOMENON":"2Chr","II PETER":"2Pet","II PTR":"2Pet","II SAMUEL":"2Sam","II THESSALONIANS":"2Thess","II TIMOTHY":"2Tim",IIC:"2Cor",IICHRONICLES:"2Chr",IICORINTHIANS:"2Cor","III JN":"3John","III JOHN":"3John","III KGDMS":"1Kgs","III KGS":"1Kgs","III KINGDOMS":"1Kgs","III KINGS":"1Kgs",IIIJN:"3John",IIIJOHN:"3John",IIIKGDMS:"1Kgs",IIIKGS:"1Kgs",IIIKINGDOMS:"1Kgs",IIIKINGS:"1Kgs",IIJN:"2John",IIJOHN:"2John",IIK:"2Kgs",IIKGDMS:"2Sam",IIKGS:"2Kgs",IIKING:"2Kgs",IIKINGDOMS:"2Sam",IIKINGS:"2Kgs",IIP:"2Pet",IIPARALIPOMENON:"2Chr",IIPETER:"2Pet",IIPTR:"2Pet",IISAMUEL:"2Sam",IITHESSALONIANS:"2Thess",IITIMOTHY:"2Tim",IJN:"1John",IJOHN:"1John",IK:"1Kgs",IKGDMS:"1Sam",IKGS:"1Kgs",IKING:"1Kgs",IKINGDOMS:"1Sam",IKINGS:"1Kgs",IP:"1Pet",IPARALIPOMENON:"1Chr",IPETER:"1Pet",IPTR:"1Pet",ISA:"Isa",ISAIAH:"Isa",ISAMUEL:"1Sam",ITHESSALONIANS:"1Thess",ITIMOTHY:"1Tim","IV KGDMS":"2Kgs","IV KGS":"2Kgs","IV KINGDOMS":"2Kgs","IV KINGS":"2Kgs",IVKGDMS:"2Kgs",IVKGS:"2Kgs",IVKINGDOMS:"2Kgs",IVKINGS:"2Kgs",J:"Josh",JAM:"Jas",JAMES:"Jas",JAS:"Jas",JB:"Job",JD:"Judg",JDG:"Judg",JDGS:"Judg",JER:"Jer",JEREMIAH:"Jer",JHN:"John",JN:"John",JO:"John",JOB:"Job",JOE:"Joel",JOEL:"Joel",JOH:"John",JOHN:"John",JOL:"Joel",JON:"Jonah",JONAH:"Jonah",JOS:"Josh",JOSH:"Josh",JOSHUA:"Josh",JS:"Josh",JU:"Jude",JUD:"Jude",JUDE:"Jude",JUDG:"Judg",JUDGES:"Judg",L:"Luke",LAM:"Lam",LAMENTATIONS:"Lam",LE:"Lev",LEV:"Lev",LEVITICUS:"Lev",LK:"Luke",LUK:"Luke",LUKE:"Luke",LV:"Lev",MA:"Matt",MAL:"Mal",MALACHI:"Mal",MAR:"Mark",MARK:"Mark",MAT:"Matt",MATT:"Matt",MATTHEW:"Matt",MIC:"Mic",MICAH:"Mic",MK:"Mark",MRK:"Mark",MT:"Matt",N:"Num",NAH:"Nah",NAHUM:"Nah",NAM:"Nah",NEH:"Neh",NEHEMIAH:"Neh",NM:"Num",NUM:"Num",NUMBERS:"Num",OBA:"Obad",OBAD:"Obad",OBADIAH:"Obad",P:"Ps",PHI:"Phil",PHIL:"Phil",PHILEMON:"Phlm",PHILIPPIANS:"Phil",PHLM:"Phlm",PHM:"Phlm",PHP:"Phil",PR:"Prov",PRO:"Prov",PROV:"Prov",PROVERBS:"Prov",PS:"Ps",PSA:"Ps",PSALM:"Ps",PSALMS:"Ps",PSM:"Ps",PSS:"Ps",QOHELET:"Eccl",QOHELETH:"Eccl",REV:"Rev","REVELATION OF JOHN":"Rev",ROM:"Rom",ROMANS:"Rom",RTH:"Ruth",RUTH:"Ruth",S:"Song",SNG:"Song",SOLOMON:"Song",SONG:"Song","SONG OF SOLOMON":"Song","SONG OF SONGS":"Song",SOS:"Song",T:"Titus",TIT:"Titus",TITUS:"Titus",ZEC:"Zech",ZECH:"Zech",ZECHARIAH:"Zech",ZEP:"Zeph",ZEPH:"Zeph",ZEPHANIAH:"Zeph"};var isNumeric=function(n){return !isNaN(parseFloat(n))&&isFinite(n)};NJBible.getOsisBookID=getOsisBookID=function(book){if(isNumeric(book)){var b=parseInt(book);if(b<1||b>66){return undefined}else{return Books[b-1].osisBookID}}var osis=abbrev[book.toUpperCase()];return osis};var _getBCV=function(verseNum){var top=bvid.length-1;var bottom=0;var book=0;var chap=0;var ver=0;if(verseNum<1||verseNum>31102){return 0}while(book==0){var i=Math.round((top-bottom+1)/2)+bottom-1;if(verseNum<(bvid[i][0]%1000000)){top=i}else{if(verseNum>=((bvid[i][bvid[i].length-1]%1000000)+(bc[i][bc[i].length-1]%1000))){bottom=i+1}else{book=i;break}}if(top==bottom){book=top}}top=bvid[book].length-1;bottom=0;while(chap==0){var i=Math.round((top-bottom+1)/2)+bottom-1;if(verseNum<(bvid[book][i]%1000000)){top=i}else{if(verseNum>=((bvid[book][i]%1000000)+(bc[book][i]%1000))){bottom=i+1}else{chap=i;break}}if(top==bottom){chap=top}}ver=verseNum-(bvid[book][chap]%1000000);return((book+1)*1000000)+((chap+1)*1000)+ver+1};NJBible.getBCV=getBCV=function(verseNum){verseNum=parseInt(verseNum);var bcv=_getBCV(verseNum);this.bookNum=(bcv/1000000)|0;this.chapter=((bcv%1000000)/1000)|0;this.verse=(bcv%1000)|0;return this};NJBible.isChapterValid=isChapterValid=function(bookNum,chapter){bookNum=parseInt(bookNum);chapter=parseInt(chapter);if(bookNum<1||bookNum>66){return false}if(chapter<1||chapter>bc[bookNum-1].length){return false}return true};NJBible.isVerseValid=isVerseValid=function(bookNum,chapter,verse){bookNum=parseInt(bookNum);chapter=parseInt(chapter);verse=parseInt(verse);if(!isChapterValid(bookNum,chapter)){return false}if(verse<1||verse>(bc[bookNum-1][chapter-1]%1000)){return false}return true};NJBible.getverseNum=getverseNum=function(bookNum,chapter,verse){bookNum=parseInt(bookNum);chapter=parseInt(chapter);verse=parseInt(verse);if(!isVerseValid(bookNum,chapter,verse)){return 0}return(bvid[bookNum-1][chapter-1]%1000000)+verse-1};NJBible.getMaxChapterInBook=getMaxChapterInBook=function(bookNum){bookNum=parseInt(bookNum);if(bookNum<1||bookNum>66){return 0}return bc[bookNum-1].length};NJBible.getMaxVerseInChapter=getMaxVerseInChapter=function(bookNum,chapter){bookNum=parseInt(bookNum);chapter=parseInt(chapter);if(bookNum<1||bookNum>66){return 0}if(chapter<1||chapter>bc[bookNum-1].length){return 0}return(bc[bookNum-1][chapter-1]%1000)};NJBible.getReference=getReference=function(verseNum){verseNum=parseInt(verseNum);if(verseNum>=1&&verseNum<=31102){with(NJBible.getBCV(verseNum)){var r=Books[bookNum-1].Abbrev;r+=" "+chapter+":"+verse;return r}}};NJBible.getBookNum=getBookNum=function(osisBookID){for(var i=0;i<66;i++){if(Books[i].osisBookID==osisBookID){return Books[i].BookNum}}return 0};NJBible.getverseNumfromOsisID=getverseNumfromOsisID=function(osisID){if(osisID){var osisBCV=osisID.split(".");if(osisBCV.length==3){var b=getBookNum(osisBCV[0]);var c=parseInt(osisBCV[1]);var v=parseInt(osisBCV[2]);c=isNaN(c)?1:c;v=isNaN(v)?1:v;return getverseNum(b,c,v)}}return 0};NJBible.getLastverseNum=getLastverseNum=function(verseNum){verseNum=parseInt(verseNum);if(verseNum<1||verseNum>31102){return 0}with(getBCV(verseNum)){var maxVerse=getMaxVerseInChapter(bookNum,chapter);return getverseNum(bookNum,chapter,maxVerse)}};NJBible.getFirstverseNum=getFirstverseNum=function(verseNum){verseNum=parseInt(verseNum);if(verseNum<1||verseNum>31102){return 0}with(getBCV(verseNum)){return getverseNum(bookNum,chapter,1)}};NJBible.getOsisID=getOsisID=function(reference){var re=/^([A-Za-z1-4 ]+?)[ |.](\d{1,3})[.|:]?(\d{0,3})$/;var match=re.exec(reference);if(match){var bk=getOsisBookID(match[1]);var c=parseInt(match[2]);var v=parseInt(match[3]);var b=getBookNum(bk);v=isNaN(v)?0:v;c=isNaN(c)?0:c;if(isVerseValid(b,c,v)){return bk+"."+c+"."+v}if(isChapterValid(b,c)){return bk+"."+c}}else{if(isNumeric(reference)){verseNum=parseInt(reference);with(getBCV(verseNum)){if(bookNum>0){return getOsisBookID(bookNum)+"."+chapter+"."+verse}}}}};var Verse=function(reference){this.osisID=getOsisID(reference);this.verseNum=verseNum=getverseNumfromOsisID(this.osisID);this.fromEst27=Math.abs(12732-verseNum);this.fromMal46=Math.abs(23145-verseNum);this.fromEnd=Math.abs(31102-verseNum);with(getBCV(verseNum)){this.bookNum=bookNum;this.chapter=chapter;this.verse=verse;this.bcv=parseInt(""+bookNum+chapter+verse);this.tcv=parseInt(""+((bookNum>39)?(bookNum-39):bookNum)+chapter+verse);this.cv=parseInt(""+chapter+verse)}this.reference=getReference(verseNum);this.book=Books[this.bookNum-1];var _first;var _prev;var _next;var _last;this.getFirst=function(){if(!_first){_first=new Verse(getFirstverseNum(verseNum))}return _first};this.getPrevious=function(){if(!_prev){_prev=new Verse(verseNum-1)}return _prev};this.getNext=function(){if(!_next){_next=new Verse(verseNum+1)}return _next};this.getLast=function(){if(!_last){_last=new Verse(getLastverseNum(verseNum))}return _last}};NJBible.getVerse=getVerse=function(reference){var v=new Verse(reference);return(v.osisID)?v:null};window.NJBible=NJBible})(window);var NJBible=window.NJBible;
