(function() { window.addEventListener('resize', function(ev) { BLB.Images.vpW = BLB.getViewportWidth(); var thumbsCount = Math.floor(BLB.Images.vpW/BLB.Images.thumbWidth)-2; thumbsCount = (thumbsCount%2?thumbsCount:thumbsCount-1); if(thumbsCount != BLB.Images.thumbsCount) { for(var tmpThumbsCount=BLB.Images.thumbsCount;tmpThumbsCount<=thumbsCount;tmpThumbsCount+=2) { var thumbsHalfway = Math.ceil(tmpThumbsCount/2); if(BLB.Images.imgListHalfway-thumbsHalfway-BLB.Images.thumbDistance+1 >= 0) BLB.Images.prefetchThumbnail(BLB.Images.imgListHalfway-thumbsHalfway-BLB.Images.thumbDistance+1); if(BLB.Images.imgListHalfway+thumbsHalfway+BLB.Images.thumbDistance-1 < BLB.Images.imgList.length) BLB.Images.prefetchThumbnail(BLB.Images.imgListHalfway+thumbsHalfway+BLB.Images.thumbDistance-1); } BLB.Images.windowShift((thumbsCount-BLB.Images.thumbsCount)/2); BLB.Images.thumbsCount = thumbsCount; BLB.Images.setCarouselWindowWidth(); } }); BLB.Images = { currentThumb: null, currentImgId: null, thumbsCount: 0, thumbDistance: 3, thumbWidth: 69, imgListHalfway: 0, carouselClick: false, callBackStack: [], galleryName: "1 Samuel", imgList: [500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,1134,1135,1136,1137,1138,1139,1146,1147,1148,1156,1175,1176,1215,1216,1243,1244,1245,1334,1351,1352,1360,1389,1440,1446,1482,1484,1558,2234,2235,1929,1496,2250,2314,2315,2316,2317], cropped: {img_500:'lb2_1sa_01_20_a.jpg',img_501:'hs2_192_a.jpg',img_502:'hs2_193_a.jpg',img_503:'lb2_1sa_03_01_a.jpg',img_504:'hs2_194_a.jpg',img_505:'hs2_195_a.jpg',img_506:'lb2_1sa_04_01_a.jpg',img_507:'hs2_196_a.jpg',img_508:'lb2_1sa_07_11_a.jpg',img_509:'hs2_197_a.jpg',img_510:'lb2_1sa_12_11_a.jpg',img_511:'hs2_198_a.jpg',img_512:'lb2_1sa_12_37_a.jpg',img_513:'hs2_199_a.jpg',img_514:'lb2_1sa_26_15_a.jpg',img_515:'hs2_200_a.jpg',img_516:'hs2_201_a.jpg',img_517:'hs2_202_a.jpg',img_518:'hs2_203_a.jpg',img_520:'lb2_1sa_16_06_a.jpg',img_521:'hs2_205_a.jpg',img_522:'hs2_206_a.jpg',img_523:'hs2_207_a.jpg',img_524:'hs2_208_a.jpg',img_525:'hs2_209_a.jpg',img_526:'hs2_210_a.jpg',img_527:'hs2_211_a.jpg',img_528:'hs2_212_a.jpg',img_529:'hs2_213_a.jpg',img_530:'lb2_1sa_23_23_a.jpg',img_531:'hs2_214_a.jpg',img_532:'hs2_215_a.jpg',img_533:'hs2_216_a.jpg',img_534:'hs2_217_a.jpg',img_535:'LLS_029_a.jpg',img_536:'LLS_041_a.jpg',img_537:'LLS_042_a.jpg',img_538:'LLS_051_a.jpg',img_539:'llh_011_a.jpg',img_541:'llh_036_a.jpg',img_542:'llh_037_a.jpg',img_543:'llh_106_a.jpg',img_544:'llh_120_a.jpg',img_545:'llh_148_a.jpg',img_546:'llh_149_a.jpg',img_547:'llh_150_a.jpg',img_548:'llh_151_a.jpg',img_549:'llh_163_a.jpg',img_550:'llh_164_a.jpg',img_551:'llh_172_a.jpg',img_552:'llh_180_a.jpg',img_553:'llh_182_a.jpg',img_554:'llh_199_a.jpg',img_555:'llh_215_1_a.jpg',img_556:'llh_215_2_a.jpg',img_557:'llh_216_a.jpg',img_558:'llh_217_1_a.jpg',img_559:'llh_217_2_a.jpg',img_560:'llh_231_a.jpg',img_561:'llh_242_a.jpg',img_562:'llh_251_a.jpg',img_563:'llh_256_a.jpg',img_564:'llh_273_a.jpg',img_565:'llh_285_a.jpg',img_566:'llh_306_a.jpg',img_567:'llh_307_a.jpg',img_568:'llh_379_a.jpg',img_569:'llh_380_a.jpg',img_570:'llh_381_a.jpg',img_571:'llh_382_a.jpg',img_572:'llh_383_a.jpg',img_573:'llh_384_a.jpg',img_574:'llh_385_a.jpg',img_575:'llh_388_a.jpg',img_1134:'sb32a_a.jpg',img_1135:'sb32b_a.jpg',img_1136:'sb32c_a.jpg',img_1137:'sb32d_a.jpg',img_1138:'sb32e_a.jpg',img_1139:'sb32f_a.jpg',img_1146:'sb32l_a.jpg',img_1147:'sb32m_a.jpg',img_1148:'sb32n_a.jpg',img_1156:'hv_001_a.jpg',img_1175:'jb_009_a.jpg',img_1176:'jb_010_a.jpg',img_1215:'jh_031_a.jpg',img_1216:'jh_032_a.jpg',img_1243:'tgb_039_a.jpg',img_1244:'tgb_040_a.jpg',img_1245:'tgb_041_a.jpg',img_1334:'battles2_a.jpg',img_1351:'en_gedi_a.jpg',img_1352:'beersheba_a.jpg',img_1360:'hebron_a.jpg',img_1389:'david_saul1_a.jpg',img_1440:'ark1_a.jpg',img_1446:'OT_timeline2_a.jpg',img_1482:'wc_00bible_a.jpg',img_1484:'wc_00ot_a.jpg',img_1558:'wc_00ot_2histories_a.jpg',img_2234:'diagram_04_02_01_a.jpg',img_2235:'diagram_04_02_02_a.jpg',img_1929:'2020-calendar_1sam_2_2_niv_a.jpg',img_1496:'wc_091sa_a.jpg',img_2250:'illustration_02_the-table-for-bread-tabernacle_a.jpg',img_2314:'map_09_01_a.jpg',img_2315:'map_09_05_a.jpg',img_2316:'map_09_06_a.jpg',img_2317:'map_09_08_a.jpg'}, thumbs: {img_500:'lb2_1sa_01_20_b',img_501:'hs2_192_b',img_502:'hs2_193_b',img_503:'lb2_1sa_03_01_b',img_504:'hs2_194_b',img_505:'hs2_195_b',img_506:'lb2_1sa_04_01_b',img_507:'hs2_196_b',img_508:'lb2_1sa_07_11_b',img_509:'hs2_197_b',img_510:'lb2_1sa_12_11_b',img_511:'hs2_198_b',img_512:'lb2_1sa_12_37_b',img_513:'hs2_199_b',img_514:'lb2_1sa_26_15_b',img_515:'hs2_200_b',img_516:'hs2_201_b',img_517:'hs2_202_b',img_518:'hs2_203_b',img_520:'lb2_1sa_16_06_b',img_521:'hs2_205_b',img_522:'hs2_206_b',img_523:'hs2_207_b',img_524:'hs2_208_b',img_525:'hs2_209_b',img_526:'hs2_210_b',img_527:'hs2_211_b',img_528:'hs2_212_b',img_529:'hs2_213_b',img_530:'lb2_1sa_23_23_b',img_531:'hs2_214_b',img_532:'hs2_215_b',img_533:'hs2_216_b',img_534:'hs2_217_b',img_535:'LLS_029_b',img_536:'LLS_041_b',img_537:'LLS_042_b',img_538:'LLS_051_b',img_539:'llh_011_b',img_541:'llh_036_b',img_542:'llh_037_b',img_543:'llh_106_b',img_544:'llh_120_b',img_545:'llh_148_b',img_546:'llh_149_b',img_547:'llh_150_b',img_548:'llh_151_b',img_549:'llh_163_b',img_550:'llh_164_b',img_551:'llh_172_b',img_552:'llh_180_b',img_553:'llh_182_b',img_554:'llh_199_b',img_555:'llh_215_1_b',img_556:'llh_215_2_b',img_557:'llh_216_b',img_558:'llh_217_1_b',img_559:'llh_217_2_b',img_560:'llh_231_b',img_561:'llh_242_b',img_562:'llh_251_b',img_563:'llh_256_b',img_564:'llh_273_b',img_565:'llh_285_b',img_566:'llh_306_b',img_567:'llh_307_b',img_568:'llh_379_b',img_569:'llh_380_b',img_570:'llh_381_b',img_571:'llh_382_b',img_572:'llh_383_b',img_573:'llh_384_b',img_574:'llh_385_b',img_575:'llh_388_b',img_1134:'sb32a_b',img_1135:'sb32b_b',img_1136:'sb32c_b',img_1137:'sb32d_b',img_1138:'sb32e_b',img_1139:'sb32f_b',img_1146:'sb32l_b',img_1147:'sb32m_b',img_1148:'sb32n_b',img_1156:'hv_001_b',img_1175:'jb_009_b',img_1176:'jb_010_b',img_1215:'jh_031_b',img_1216:'jh_032_b',img_1243:'tgb_039_b',img_1244:'tgb_040_b',img_1245:'tgb_041_b',img_1334:'battles2_b',img_1351:'en_gedi_b',img_1352:'beersheba_b',img_1360:'hebron_b',img_1389:'david_saul1_b',img_1440:'ark1_b',img_1446:'OT_timeline2_b',img_1482:'wc_00bible_b',img_1484:'wc_00ot_b',img_1558:'wc_00ot_2histories_b',img_2234:'diagram_04_02_01_b',img_2235:'diagram_04_02_02_b',img_1929:'2020-calendar_1sam_2_2_niv_b',img_1496:'wc_091sa_b',img_2250:'illustration_02_the-table-for-bread-tabernacle_b',img_2314:'map_09_01_b',img_2315:'map_09_05_b',img_2316:'map_09_06_b',img_2317:'map_09_08_b'}, imgFull: {img_500:'lb2_1sa_01_20.jpg',img_501:'hs2_192.jpg',img_502:'hs2_193.jpg',img_503:'lb2_1sa_03_01.jpg',img_504:'hs2_194.jpg',img_505:'hs2_195.jpg',img_506:'lb2_1sa_04_01.jpg',img_507:'hs2_196.jpg',img_508:'lb2_1sa_07_11.jpg',img_509:'hs2_197.jpg',img_510:'lb2_1sa_12_11.jpg',img_511:'hs2_198.jpg',img_512:'lb2_1sa_12_37.jpg',img_513:'hs2_199.jpg',img_514:'lb2_1sa_26_15.jpg',img_515:'hs2_200.jpg',img_516:'hs2_201.jpg',img_517:'hs2_202.jpg',img_518:'hs2_203.jpg',img_520:'lb2_1sa_16_06.jpg',img_521:'hs2_205.jpg',img_522:'hs2_206.jpg',img_523:'hs2_207.jpg',img_524:'hs2_208.jpg',img_525:'hs2_209.jpg',img_526:'hs2_210.jpg',img_527:'hs2_211.jpg',img_528:'hs2_212.jpg',img_529:'hs2_213.jpg',img_530:'lb2_1sa_23_23.jpg',img_531:'hs2_214.jpg',img_532:'hs2_215.jpg',img_533:'hs2_216.jpg',img_534:'hs2_217.jpg',img_535:'LLS_029.jpg',img_536:'LLS_041.jpg',img_537:'LLS_042.jpg',img_538:'LLS_051.jpg',img_539:'llh_011.jpg',img_541:'llh_036.jpg',img_542:'llh_037.jpg',img_543:'llh_106.jpg',img_544:'llh_120.jpg',img_545:'llh_148.jpg',img_546:'llh_149.jpg',img_547:'llh_150.jpg',img_548:'llh_151.jpg',img_549:'llh_163.jpg',img_550:'llh_164.jpg',img_551:'llh_172.jpg',img_552:'llh_180.jpg',img_553:'llh_182.jpg',img_554:'llh_199.jpg',img_555:'llh_215_1.jpg',img_556:'llh_215_2.jpg',img_557:'llh_216.jpg',img_558:'llh_217_1.jpg',img_559:'llh_217_2.jpg',img_560:'llh_231.jpg',img_561:'llh_242.jpg',img_562:'llh_251.jpg',img_563:'llh_256.jpg',img_564:'llh_273.jpg',img_565:'llh_285.jpg',img_566:'llh_306.jpg',img_567:'llh_307.jpg',img_568:'llh_379.jpg',img_569:'llh_380.jpg',img_570:'llh_381.jpg',img_571:'llh_382.jpg',img_572:'llh_383.jpg',img_573:'llh_384.jpg',img_574:'llh_385.jpg',img_575:'llh_388.jpg',img_1134:'sb32a.jpg',img_1135:'sb32b.jpg',img_1136:'sb32c.jpg',img_1137:'sb32d.jpg',img_1138:'sb32e.jpg',img_1139:'sb32f.jpg',img_1146:'sb32.jpg',img_1147:'sb32.jpg',img_1148:'sb32.jpg',img_1156:'hv_001.jpg',img_1175:'jb_009.jpg',img_1176:'jb_010.jpg',img_1215:'jh_031.jpg',img_1216:'jh_032.jpg',img_1243:'tgb_039.jpg',img_1244:'tgb_040.jpg',img_1245:'tgb_041.jpg',img_1334:'battles2.jpg',img_1351:'en_gedi.jpg',img_1352:'beersheba.jpg',img_1360:'hebron.jpg',img_1389:'david_saul1.jpg',img_1440:'ark1.jpg',img_1446:'OT_timeline2.jpg',img_1482:'wc_00bible.jpg',img_1484:'wc_00ot.jpg',img_1558:'wc_00ot_2histories.jpg',img_2234:'diagram_04_02_01.jpg',img_2235:'diagram_04_02_02.jpg',img_1929:'2020-calendar_1sam_2_2_niv.jpg',img_1496:'wc_091sa.jpg',img_2250:'illustration_02_the-table-for-bread-tabernacle.jpg',img_2314:'map_09_01.jpg',img_2315:'map_09_05.jpg',img_2316:'map_09_06.jpg',img_2317:'map_09_08.jpg'}, imgPDF: {img_500:'',img_501:'',img_502:'',img_503:'',img_504:'',img_505:'',img_506:'',img_507:'',img_508:'',img_509:'',img_510:'',img_511:'',img_512:'',img_513:'',img_514:'',img_515:'',img_516:'',img_517:'',img_518:'',img_520:'',img_521:'',img_522:'',img_523:'',img_524:'',img_525:'',img_526:'',img_527:'',img_528:'',img_529:'',img_530:'',img_531:'',img_532:'',img_533:'',img_534:'',img_535:'',img_536:'',img_537:'',img_538:'',img_539:'',img_541:'',img_542:'',img_543:'',img_544:'',img_545:'',img_546:'',img_547:'',img_548:'',img_549:'',img_550:'',img_551:'',img_552:'',img_553:'',img_554:'',img_555:'',img_556:'',img_557:'',img_558:'',img_559:'',img_560:'',img_561:'',img_562:'',img_563:'',img_564:'',img_565:'',img_566:'',img_567:'',img_568:'',img_569:'',img_570:'',img_571:'',img_572:'',img_573:'',img_574:'',img_575:'',img_1134:'',img_1135:'',img_1136:'',img_1137:'',img_1138:'',img_1139:'',img_1146:'',img_1147:'',img_1148:'',img_1156:'',img_1175:'',img_1176:'',img_1215:'',img_1216:'',img_1243:'',img_1244:'',img_1245:'',img_1334:'',img_1351:'',img_1352:'',img_1360:'',img_1389:'',img_1440:'',img_1446:'',img_1482:'wc_00bible.pdf',img_1484:'wc_00ot.pdf',img_1558:'wc_00ot_2histories.pdf',img_2234:'',img_2235:'',img_1929:'',img_1496:'wc_091sa.pdf',img_2250:'',img_2314:'',img_2315:'',img_2316:'',img_2317:''}, titles: {img_500:'Dedication of Samuel',img_501:'God Calls Samuel',img_502:'Eli Falls and Kills Himself',img_503:'The Idol Dagon',img_504:'Dagon Falls before the Ark',img_505:'The Philistines Send to Ark to Bethshemesh',img_506:'Philistines Return the Ark',img_507:'Samuel Judges Israel',img_508:'Saul Anointed by Samuel',img_509:'Samuel Anoints Saul King',img_510:'Jonathan Defeats Philistines',img_511:'Jonathan and His Amour Barer Defeat the Philistines',img_512:'The Fate Falls on Jonathan',img_513:'Agag Is Chopped into Pieces',img_514:'Appearance of Samuel',img_515:'Samuel Anoints David',img_516:'David and Goliath',img_517:'Goliath',img_518:'David Presents Goliath\'s Head to Saul',img_520:'Jealousy of Saul against David',img_521:'Saul Tries to Kill David',img_522:'Michal Saves David',img_523:'Saul Prophesies',img_524:'Jonathan Warns David',img_525:'David at Ahimelech',img_526:'Saul Kills the Priests of Nob',img_527:'David Delivered from Saul\'s Hands',img_528:'David Shows Saul the Piece of Robe He Took',img_529:'Abigail Appeases David\'s Anger',img_530:'Abigail Speaks with David',img_531:'David Takes Saul\'s Spear and Cruse',img_532:'The Amalekites Eating and Drinking Their Spoil',img_533:'The Defeat and Death of Saul and Jonathan',img_534:'Soldiers Taking the Bodies of Saul and His Sons to Jabesh',img_535:'Eli and Samuel',img_536:'David Playing before Saul',img_537:'David and Goliath',img_538:'David and Abishai',img_539:'Abigail Bringing Presents to David',img_541:'David Spares Saul\'s Life',img_542:'David and Goliath',img_543:'Saul Consulting a Witch at Endor',img_544:'Samuel and Eli',img_545:'Eli Reproved for His Imprudent Government',img_546:'Samuel Uttering His First Prophecy',img_547:'David Playing on the Harp before Saul',img_548:'The Witch of Endor Raising the Apparition of Samuel',img_549:'"abner Took David and Brought Him before Saul with the Head of the Philistine in His Hand."',img_550:'"eli Perceived That the Lord Had Called the Child."',img_551:'"forgive the Trespass of Thine Handmaid."',img_552:'Abigail Brings Presents to David',img_553:'David with the Head of Goliath',img_554:'The Witch of Endor Raising Samuel',img_555:'David Showing Saul the Skirt of His Robe',img_556:'Saul Falling upon His Sword',img_557:'Samuel Anointing David',img_558:'Samuel Brought before Eli',img_559:'David Slaying Goliath',img_560:'Saul and the Witch of Endor',img_561:'David Took Goliath\'s Sword',img_562:'David Meeting Goliath',img_563:'Eli and Samuel',img_564:'Samuel Hears God',img_565:'David Defeats Goliath',img_566:'Death of Saul',img_567:'David and Goliath',img_568:'Saul\'s Death',img_569:'Saul with the Witch of Endor',img_570:'David Showing Saul That He Had Spared His Life',img_571:'The Escape of David through the Window',img_572:'Saul Attempts the Life of David',img_573:'Death of Agag',img_574:'Samuel Blessing Saul',img_575:'Return of the Ark to Beth-Shemesh',img_1134:'Harp 1',img_1135:'Harp 2',img_1136:'Harp 3',img_1137:'Harp 4',img_1138:'Harp 5',img_1139:'Harp 6',img_1146:'Horn 3',img_1147:'Drum 1',img_1148:'Drum 2',img_1156:'The Ark and Mercy Seat',img_1175:'Goliath Slain by David',img_1176:'Saul with the Witch of Endor',img_1215:'Samuel Anointing David',img_1216:'The Death of Saul',img_1243:'The Kingdom of Saul',img_1244:'The Rise of David',img_1245:'How Are the Mighty Fallen!',img_1334:'Battlefields of O.T. and Dist\'n of 12 Tribes (map)',img_1351:'En Gedi (engraving)',img_1352:'Beer-Sheeba (engraving)',img_1360:'Hebron (engraving)',img_1389:'Saul and David (engraving)',img_1440:'The Ark and Mercy Seat (engraving)',img_1446:'Old Testament Time Line (Part 2 of 2)',img_1482:'The Bible - Word Cloud',img_1484:'The Old Testament - Word Cloud',img_1558:'The Histories - Word Cloud',img_2234:'Israel in Camp',img_2235:'Israel on the March',img_1929:'1 Samuel 2:2 (NIV)',img_1496:'1 Samuel - Word Cloud',img_2250:'The Table for the Bread of the Presence',img_2314:'The Setting of 1 Samuel',img_2315:'The Battle at Elah',img_2316:'David Flees from Saul',img_2317:'The Battle at Mount Gilboa'}, paths: {img_500:'1Sa',img_501:'1Sa',img_502:'1Sa',img_503:'1Sa',img_504:'1Sa',img_505:'1Sa',img_506:'1Sa',img_507:'1Sa',img_508:'1Sa',img_509:'1Sa',img_510:'1Sa',img_511:'1Sa',img_512:'1Sa',img_513:'1Sa',img_514:'1Sa',img_515:'1Sa',img_516:'1Sa',img_517:'1Sa',img_518:'1Sa',img_520:'1Sa',img_521:'1Sa',img_522:'1Sa',img_523:'1Sa',img_524:'1Sa',img_525:'1Sa',img_526:'1Sa',img_527:'1Sa',img_528:'1Sa',img_529:'1Sa',img_530:'1Sa',img_531:'1Sa',img_532:'1Sa',img_533:'1Sa',img_534:'1Sa',img_535:'1Sa',img_536:'1Sa',img_537:'1Sa',img_538:'1Sa',img_539:'1Sa',img_541:'1Sa',img_542:'1Sa',img_543:'1Sa',img_544:'1Sa',img_545:'1Sa',img_546:'1Sa',img_547:'1Sa',img_548:'1Sa',img_549:'1Sa',img_550:'1Sa',img_551:'1Sa',img_552:'1Sa',img_553:'1Sa',img_554:'1Sa',img_555:'1Sa',img_556:'1Sa',img_557:'1Sa',img_558:'1Sa',img_559:'1Sa',img_560:'1Sa',img_561:'1Sa',img_562:'1Sa',img_563:'1Sa',img_564:'1Sa',img_565:'1Sa',img_566:'1Sa',img_567:'1Sa',img_568:'1Sa',img_569:'1Sa',img_570:'1Sa',img_571:'1Sa',img_572:'1Sa',img_573:'1Sa',img_574:'1Sa',img_575:'1Sa',img_1134:'Instruments',img_1135:'Instruments',img_1136:'Instruments',img_1137:'Instruments',img_1138:'Instruments',img_1139:'Instruments',img_1146:'Instruments',img_1147:'Instruments',img_1148:'Instruments',img_1156:'Holy_Vessels_Furniture',img_1175:'brown_john',img_1176:'brown_john',img_1215:'hewlett_john',img_1216:'hewlett_john',img_1243:'TheGraphicBible',img_1244:'TheGraphicBible',img_1245:'TheGraphicBible',img_1334:'blb_classics',img_1351:'blb_classics',img_1352:'blb_classics',img_1360:'blb_classics',img_1389:'blb_classics',img_1440:'blb_classics',img_1446:'rosepub',img_1482:'wordclouds',img_1484:'wordclouds',img_1558:'wordclouds',img_2234:'ESV-Global-Study-Bible',img_2235:'ESV-Global-Study-Bible',img_1929:'calendar',img_1496:'wordclouds',img_2250:'ESV-Global-Study-Bible',img_2314:'ESV-Global-Study-Bible',img_2315:'ESV-Global-Study-Bible',img_2316:'ESV-Global-Study-Bible',img_2317:'ESV-Global-Study-Bible'}, imgKeywords: {img_500:'Samuel',img_501:'Samuel; Eli;',img_502:'Eli;',img_503:'Dagon',img_504:'Dagon;',img_505:'ark; cart; Bethshemesh;',img_506:'Philistines; ark;',img_507:'Samuel;',img_508:'Anoint; Anointing; Saul, Samuel',img_509:'Samuel; Saul;',img_510:'Jonathan, Philistines',img_511:'Jonathan;',img_512:'Jonathan',img_513:'Agag; Samuel;',img_514:'Samuel',img_515:'Samuel; David;',img_516:'David; Goliath;',img_517:'Goliath; David;',img_518:'Goliath; David; Saul;',img_520:'Jealousy, Saul, David',img_521:'Saul; David;',img_522:'David; Michal;',img_523:'Saul; ',img_524:'Jonathan; David;',img_525:'David; Ahimelech;',img_526:'Saul; Nob; Doeg; Ahimelech;',img_527:'Saul; David; Maon;',img_528:'Saul; David;',img_529:'David; Abigail; Nabal',img_530:'David, Abigail',img_531:'David; Saul; spear; cruse;',img_532:'Amalekites; David; Abigail; Ahinoam; Ziklag;',img_533:'Saul; Jonathan;',img_534:'Saul; Bethshan; Jabesh;',img_535:'Eli; Samuel; Lord Calling',img_536:'David; Saul; Harp',img_537:'David; Goliath; Sword; Head ',img_538:'David; Abishai',img_539:'Abigail; David;',img_541:'David; Saul;',img_542:'David; Goliath;',img_543:'Saul; witch; Endor;',img_544:'Samuel; Eli;',img_545:'Eli;',img_546:'Samuel; Eli;',img_547:'David; harp; Saul;',img_548:'Saul; Endor; witch; Samuel;',img_549:'David; Goliath;',img_550:'Eli; Samuel;',img_551:'David; Abigail;',img_552:'David; Abigail;',img_553:'David; Goliath;',img_554:'witch; Endor; Samuel; Saul;',img_555:'David; Saul;',img_556:'Saul;',img_557:'Samuel;',img_558:'Samuel; Eli; Hannah;',img_559:'David; Goliath;',img_560:'Saul; familiar; Endor;',img_561:'David; Goliath;',img_562:'David; Goliath;',img_563:'Eli; Samuel;',img_564:'Samuel; Eli;',img_565:'David; Goliath;',img_566:'Saul;',img_567:'David; Goliath;',img_568:'Saul;',img_569:'Saul; Endor; witch; Samuel;',img_570:'David; Saul;',img_571:'David; Michal;',img_572:'Saul; David; javelin;',img_573:'Agag;',img_574:'Saul; Samuel;',img_575:'Bethshemesh; ark;',img_1134:'harp; harps;',img_1135:'harp; harps;',img_1136:'harp; harps;',img_1137:'harp; harps;',img_1138:'harp; harps;',img_1139:'harp; harps;',img_1146:'horn; horns; trumpet;',img_1147:'timbrel; tabret;',img_1148:'timbrel; tabret;',img_1156:'ark;',img_1175:'David; Goliath;',img_1176:'Saul; Endor;',img_1215:'Samuel; David; anointed; ',img_1216:'Saul;',img_1243:'Saul; Israel; Kingdom; Empire; United;',img_1244:'David; Israel; Kingdom; Empire; United;',img_1245:'Saul; Philistines; Jezreel; Jordan; Gilboa; Endor',img_1334:'Asher; Baruk; Benjamin; Dan; Deborah; Ephraim; Gad; Gideon; Israel; Issachar; Joseph; Judah; Levi; Manasseh; Naphtali; Og; Reuben; Samuel; Saul; Simeon; Zebulun',img_1351:'En-Gedi; Hazezon-Tamar',img_1352:'Beersheba; Well',img_1360:'Abraham; Arba; Caleb; David; Hebron; Heth; Hoham; Isaac; Israel; Jacob; Joshua; Judah; Kirjath-Arba; Leah; Machpelah; Mamre; Rebekah; Saul; Sarah',img_1389:'David; Javelin; Saul; ',img_1440:'Ark of the Covenant; Mercy Seat',img_1446:'Amos; Cyrus; David; Eli; Elijah; Elisha; Habakkuk; Haggai; Hezekiah; Hosea; Hoshea; Jeroboam; Jonah; Josiah; Judges; Malachi; Manasseh; Micah; Nahum; Nehemiah; Nineveh; Obadiah; Rebuilding the Temple; Ruth; Samuel; Saul; Solomon; Zechariah; Zephaniah',img_1482:'',img_1484:'',img_1558:'',img_2234:'camp; Tent of Meeting',img_2235:'march; Tent of Meeting; wilderness',img_1929:'holy; rock',img_1496:'',img_2250:'bread; gold; presence; table',img_2314:'Israel; judge; Samuel; Saul',img_2315:'Azekah; Bethlehem; David; Ekron; Gath; Goliath; Israelites; Philistines; Socoh',img_2316:'cave of Adullam; Engedi; forest of Hereth; Gath; Gibeah; Keilah; Masada; Mizpeh; Naioth; Nob; Ramah; wilderness of Maon; wilderness of Paran; wilderness of Ziph',img_2317:'Aphek; En-dor; Israelites; Jezreel; Mount Gilboa; Philistines; Saul; Shunem'}, imgScripture: {img_500:'1Sa 1:21-28',img_501:'1Sa 3:1-18',img_502:'1Sa 4:13-18',img_503:'1Sa 5:1-5',img_504:'1Sa 5:1-5',img_505:'1Sa 6:7-16',img_506:'1Sa 6:7-16',img_507:'1Sa 7:3-6',img_508:'1Sa 10:1-13',img_509:'1Sa 10:1-13',img_510:'1Sa 14:1-17',img_511:'1Sa 14:1-17',img_512:'1Sa 14:24-45',img_513:'1Sa 15:32-35',img_514:'1Sa 16:1-13',img_515:'1Sa 16:1-13',img_516:'1Sa 17:48-51',img_517:'1Sa 17:48-51',img_518:'1Sa 17:57',img_520:'1Sa 18:9-12; 1Sa 19:9-11',img_521:'1Sa 18:9-12',img_522:'1Sa 19:11-17',img_523:'1Sa 19:19-24',img_524:'1Sa 20:1-42',img_525:'1Sa 21:1-10',img_526:'1Sa 22:13-19',img_527:'1Sa 23:25-29',img_528:'1Sa 24:1-22',img_529:'1Sa 25:18-35',img_530:'1Sa 25:18-35',img_531:'1Sa 26:7-25',img_532:'1Sa 30:1-19',img_533:'1Sa 31:1-13',img_534:'1Sa 31:11-13',img_535:'1Sa 3:4-14',img_536:'1Sa 16:14-23',img_537:'1Sa 17:48-51',img_538:'1Sa 26:7-25',img_539:'1Sa 25:23-35',img_541:'1Sa 26:6-25',img_542:'1Sa 17:48-51',img_543:'1Sa 28:8-20',img_544:'1Sa 3:1-18',img_545:'1Sa 2:27-36',img_546:'1Sa 3:1-18',img_547:'1Sa 16:18-23',img_548:'1Sa 28:8-20',img_549:'1Sa 17:48-51',img_550:'1Sa 3:1-18',img_551:'1Sa 25:23-35',img_552:'1Sa 25:23-35',img_553:'1Sa 17:48-51',img_554:'1Sa 28:8-20',img_555:'1Sa 24:8-21',img_556:'1Sa 31:4-6',img_557:'1Sa 16:12-13',img_558:'1Sa 1:24-27',img_559:'1Sa 17:48-51',img_560:'1Sa 28:8-20',img_561:'1Sa 17:48-51',img_562:'1Sa 17:48-51',img_563:'1Sa 3:1-18',img_564:'1Sa 3:1-18',img_565:'1Sa 17:48-51',img_566:'1Sa 31:4-6',img_567:'1Sa 17:48-51',img_568:'1Sa 31:4-6',img_569:'1Sa 28:8-20',img_570:'1Sa 24:8-21',img_571:'1Sa 19:11-13',img_572:'1Sa 18:10-11',img_573:'1Sa 15:32-33',img_574:'1Sa 10:1-8',img_575:'1Sa 6:11-15',img_1134:'Gen 4:21; Gen 31:27; 1Sa 10:5; 1Sa 16:23; 2Sa 6:5; Job 21:12; Psa 33:2; Psa 43:4; Psa 147:7; Isa 5:12',img_1135:'Gen 4:21; Gen 31:27; 1Sa 10:5; 1Sa 16:23; 2Sa 6:5; Job 21:12; Psa 33:2; Psa 43:4; Psa 147:7; Isa 5:12',img_1136:'Gen 4:21; Gen 31:27; 1Sa 10:5; 1Sa 16:23; 2Sa 6:5; Job 21:12; Psa 33:2; Psa 43:4; Psa 147:7; Isa 5:12',img_1137:'Gen 4:21; Gen 31:27; 1Sa 10:5; 1Sa 16:23; 2Sa 6:5; Job 21:12; Psa 33:2; Psa 43:4; Psa 147:7; Isa 5:12',img_1138:'Gen 4:21; Gen 31:27; 1Sa 10:5; 1Sa 16:23; 2Sa 6:5; Job 21:12; Psa 33:2; Psa 43:4; Psa 147:7; Isa 5:12',img_1139:'Gen 4:21; Gen 31:27; 1Sa 10:5; 1Sa 16:23; 2Sa 6:5; Job 21:12; Psa 33:2; Psa 43:4; Psa 147:7; Isa 5:12',img_1146:'Exd 19:13-25; Lev 25:9; Num 10:1-10; Jos 6:5; Jdg 3:27; Jdg 6:34; Jdg 7:16; 1Sa 13:3; 2Sa 2:28; 2Sa 6:15; 2Sa 15:10; 2Sa 18:16; 2Sa 20:1; 1Ki 1:34; Neh 4:18; Job 39:24',img_1147:'Gen 31:27; Exd 15:20; 1Sa 10:5; Job 17:6; Job 21:12; Psa 81:2; Psa 149:3; Psa 150:4; Isa 5:12',img_1148:'Gen 31:27; Exd 15:20; 1Sa 10:5; Job 17:6; Job 21:12; Psa 81:2; Psa 149:3; Psa 150:4; Isa 5:12',img_1156:'Exd 25:10-22; Num 10:33-36; Deu 31:26; Jos 4:7; Jdg 20:27; 1Sa 4:3-11; Exd 37:1-15',img_1175:'1Sa 17:48-51',img_1176:'1Sa 28:5-25',img_1215:'1Sa 16:1-13',img_1216:'1Sa 31:1-7',img_1243:'1Sa 11:15; 1Sa 13:1-23;',img_1244:'1Sa 16:1-23; 1Sa 17:12-58; 1Sa 18:5-30; ',img_1245:'1Sa 31:1-13;',img_1334:'Deu 3; 29:5-8; 31:3-6; Num 32; Jos 2:8-12; Jos 9:9-10; Jos 13-22; Jdg 4; Jdg 6-8; 1Sa 4; 1Sa 7; 1Sa 11; 1Sa 13-17; 1Sa 29-31; 1Ch 6:47-81',img_1351:'Gen 14:7; Jos 15:62; 2Ch 20:2; 1Sa 23:29; 1Sa 24:1; Sng 1:14',img_1352:'Gen 21:14-33; Gen 22:19; Gen 26:23-33; Gen 28:10; Gen 46:1-5; Jos 15:28; Jos 19:2; Jdg 20:1; 1Sa 3:20; 1Sa 8:2; 2Sa 3:10; 2Sa 17:11; 2Sa 24:2-15; 1Ki 4:25; 1Ki 19:3; 2Ki 12:1; 2Ki 23:8; 1Ch 4:28; 1Ch 21:2; 2Ch 19:4; 2Ch 24:1; 2Ch 30:5; Neh 11:27-30; Amo 5:5; Amo 8:14',img_1360:'Gen 13:18; Gen 23:2-19; Gen 35:27; Gen 37:14; Num 13:22; Jos 10:3-39; Jos 11:21; Jos 12:10; Jos 14:13-15; Jos 15:13-54; Jos 19:28; Jos 20:7; Jos 21:11-13; Jdg 1:10-20; Jdg 16:3; 1Sa 30:31; 2Sa 2:1-32; 2Sa 3:2-32; 2Sa 4:1-12; 2Sa 5:1-13; 2Sa 15:7-10; 1Ki 2:11; 1Ch 2:42-43; 1Ch 3:1-4; 1Ch 6:2-57; 1Ch 11:1-3; 1Ch 12:23-38; 1Ch 15:9; 1Ch 23:12-19; 1Ch 24:23; 1Ch 29:27; 2Ch 11:10',img_1389:'1Sa 18:10-12; 1Sa 19:9-10; 1Sa 20:30-33',img_1440:'Exo 25:10-22; Exo 26:33-34; Exo 30:6, 26; Exo 31:7; Exo 35:12; Exo 37:1-15; Exo 39:35; Exo 40:3, 5, 20-21; Lev 16:2; Num 3:31; Num 4:5; Num 7:89; Num 10:33-36; Num 14:44; Deu 10:1-3, 5, 8; Deu 31:9, 25-26; Jos 3:3, 6, 8, 11, 13-17; Jos 4:5, 7, 9-11, 16, 18; Jos 4:7; Jos 6:4, 6-9, 11-13; Jos 7:6; Jos 8:33; Jdg 20:27; 1Sa 3:3; 1Sa 4:3-11, 13, 17-19, 21-22; 1Sa 5:1-11; 1Sa 6:1-3, 8, 11, 13, 15, 18-21; 1Sa 7:1-2; 1Sa 14:18; 2Sa 6:2-4, 6-17; 2Sa 7:2; 2Sa 11:11; 2Sa 15:24-29; 1Ki 2:26; 1Ki 3:15; 1Ki 6:19; 1Ki 8:1-9, 21; 1Ch 6:31; 1Ch 8:11; 1Ch 13:3-14; 1Ch 15:1-3, 12-15, 23-29; 1Ch 16:1, 4, 6, 37; 1Ch 17:1; 1Ch 22:19; 1Ch 28:2, 18; 2Ch 1:4; 2Ch 2:5-10; 2Ch 6:11, 41; 2Ch 8:11; 2Ch 35:3; Psa 132:8; Jer 3:16; Heb 9:4; Rev 11:19',img_1446:'Jdg 1-21; Rth 4:13; 1Sam 1-15; 2Sam 1-20; 2Ch 1-4; 2Ch 10; 2Ch 33; 1Ki 12; 1Ki 17-19; 1Ki 21; 2Ki 1-8; 2Ki 13; 2Ki 18-23; Ezr 1:1-4; Ezr 3:8-13; Ezr 4-6; Neh 1-13; Hos 1-14; Amo 1-9; Oba 1; Jon 1-4; Mic 1-7; Nah 1-3; Hab 1-3; Zep 1-3; Hag 1-2; Zec 1-14; Mal 1-4;',img_1482:'',img_1484:'',img_1558:'',img_2234:'Exo 27:21; Exo 28:43; Exo 29:4, 10-11, 30, 32, 42, 44; Exo 30:16, 18, 20, 26, 36; Exo 31:7; Exo 33:7; Exo 35:21; Exo 38:8, 30; Exo 39:32, 40; Exo 40:2, 6-7, 12, 22, 24, 26, 29-30, 32, 34-35; Lev 1:1, 3, 5; Lev 3:2, 8, 13; Lev 4:4-5, 7, 14, 16, 18; Lev 6:16, 26, 30; Lev 8:3-4, 31, 33, 35; Lev 9:5, 23; Lev 10:7, 9; Lev 12:6; Lev 14:11, 23; Lev 15:14, 29; Lev 16:7, 16-17, 20, 23, 33; Lev 17:4-6, 9; Lev 19:21; Lev 24:3; Num 1:1; Num 2:2, 17; Num 3:7-8, 25, 38; Num 4:3-4, 15, 23, 25, 28, 30-31, 33, 35, 37, 39, 41, 43, 47; Num 6:10, 13, 18; Num 7:5, 89; Num 8:9, 15, 19, 22, 24, 26; Num 10:3; Num 11:16; Num 12:4; Num 14:10; Num 16:18-19, 42-43, 50; Num 17:4; Num 18:4, 6, 21-23, 31; Num 19:4; Num 20:6; Num 25:6; Num 27:2; Num 31:54; Deu 31:14; Jos 18:1; Jos 19:51; 1Sa 2:22; 1Ki 8:4; 1Ch 6:32; 1Ch 9:21; 1Ch 23:32; 2Ch 1:3, 6, 13; 2Ch 5:5',img_2235:'Exo 27:21; Exo 28:43; Exo 29:4, 10-11, 30, 32, 42, 44; Exo 30:16, 18, 20, 26, 36; Exo 31:7; Exo 33:7; Exo 35:21; Exo 38:8, 30; Exo 39:32, 40; Exo 40:2, 6-7, 12, 22, 24, 26, 29-30, 32, 34-35; Lev 1:1, 3, 5; Lev 3:2, 8, 13; Lev 4:4-5, 7, 14, 16, 18; Lev 6:16, 26, 30; Lev 8:3-4, 31, 33, 35; Lev 9:5, 23; Lev 10:7, 9; Lev 12:6; Lev 14:11, 23; Lev 15:14, 29; Lev 16:7, 16-17, 20, 23, 33; Lev 17:4-6, 9; Lev 19:21; Lev 24:3; Num 1:1; Num 2:2, 17; Num 3:7-8, 25, 38; Num 4:3-4, 15, 23, 25, 28, 30-31, 33, 35, 37, 39, 41, 43, 47; Num 6:10, 13, 18; Num 7:5, 89; Num 8:9, 15, 19, 22, 24, 26; Num 10:3; Num 11:16; Num 12:4; Num 14:10; Num 16:18-19, 42-43, 50; Num 17:4; Num 18:4, 6, 21-23, 31; Num 19:4; Num 20:6; Num 25:6; Num 27:2; Num 31:54; Deu 31:14; Jos 18:1; Jos 19:51; 1Sa 2:22; 1Ki 8:4; 1Ch 6:32; 1Ch 9:21; 1Ch 23:32; 2Ch 1:3, 6, 13; 2Ch 5:5',img_1929:'1Sam 2:2 NIV',img_1496:'',img_2250:'Exo 25:23-30; 37:10-16; Lev 24:5-9; 1Sa 21:4',img_2314:'1 Samuel',img_2315:'1Sa 17',img_2316:'1Sa 18:29; 1Sa 19:1-24; 1Sa 20:1-42; 1Sa 21:1-15; 1Sa 22:1-23; 1Sa 23:1-29; 1Sa 24:1-22; 1Sa 25:1-44; 1Sa 26:1-25; 1Sa 27:1-12; 1Sa 28:1-25; 1Sa 29:1-11; 1Sa 30:1-31; 1Sa 31:1-6',img_2317:'1Sa 28:1-25; 1Sa 31:1-10; 1Ch 10:1-10'}, imgDescription: {img_500:'',img_501:'',img_502:'',img_503:'',img_504:'',img_505:'',img_506:'',img_507:'',img_508:'',img_509:'',img_510:'',img_511:'',img_512:'',img_513:'',img_514:'',img_515:'',img_516:'',img_517:'',img_518:'',img_520:'',img_521:'',img_522:'',img_523:'',img_524:'',img_525:'',img_526:'',img_527:'',img_528:'',img_529:'',img_530:'',img_531:'',img_532:'',img_533:'',img_534:'',img_535:'',img_536:'',img_537:'',img_538:'',img_539:'',img_541:'',img_542:'',img_543:'',img_544:'',img_545:'',img_546:'',img_547:'',img_548:'',img_549:'',img_550:'',img_551:'',img_552:'',img_553:'',img_554:'',img_555:'',img_556:'',img_557:'',img_558:'',img_559:'',img_560:'',img_561:'',img_562:'',img_563:'',img_564:'',img_565:'',img_566:'',img_567:'',img_568:'',img_569:'',img_570:'',img_571:'',img_572:'',img_573:'',img_574:'',img_575:'',img_1134:'',img_1135:'',img_1136:'',img_1137:'',img_1138:'',img_1139:'',img_1146:'',img_1147:'',img_1148:'',img_1156:'',img_1175:'',img_1176:'',img_1215:'',img_1216:'',img_1243:'',img_1244:'',img_1245:'',img_1334:'',img_1351:'',img_1352:'',img_1360:'',img_1389:'',img_1440:'',img_1446:'',img_1482:'

These Bible word clouds feature the top 150 to 300 words used in the indicated section of Scripture.

',img_1484:'

These Bible word clouds feature the top 150 to 300 words used in the indicated section of Scripture.

',img_1558:'

These Bible word clouds feature the top 150 to 300 words used in the indicated section of Scripture.

',img_2234:'
Detailed study information about this image:
Israel in Camp and on the March
',img_2235:'
Detailed study information about this image:
Israel in Camp and on the March
',img_1929:'',img_1496:'

These Bible word clouds feature the top 150 to 300 words used in the indicated section of Scripture.

',img_2250:'
Detailed study information about this image:
The Table for Bread of the Presence
',img_2314:'
Detailed study information about this image:
The Setting of First Samuel
',img_2315:'
Detailed study information about this image:
The Battle at Elah
',img_2316:'
Detailed study information about this image:
David Flees From Saul
',img_2317:'
Detailed study information about this image:
The Battle at Mount Gilboa
'}, init: function() { if(BLB.blbIsLoaded) { YEvent.delegate("imgCarousel", "click", BLB.Images.onClickHndlr, "div"); YEvent.delegate("imgParade", "click", BLB.Images.onClickHndlr, "div.imgParBrowse"); YEvent.delegate("imgBody", "click", BLB.Images.onClickHndlr, "div"); YEvent.delegate("imgBody", "click", BLB.Images.onClickHndlr, "img"); YEvent.delegate("imgShareLinks", "click", BLB.Images.onClickHndlr, "img"); YEvent.delegate("imgLegend", "click", BLB.Images.onClickHndlr, "a[class=imgpop]"); lftRtArrow = new KeyListener(document, {shift:false, ctrl:false, alt:false, keys:[BLB.keyCodes.leftArrow, BLB.keyCodes.rightArrow]}, function(ev, evA) { if(evA[1].target.tagName == 'INPUT') return false; if(evA[1].target.tagName == 'TEXTAREA') return false; if(BLB.Images.imgList.length > 1) { var currentImg = document.querySelector('#' + BLB.Images.currentImgId); switch(evA[0]) { case BLB.keyCodes.leftArrow: var nextState = BLB.Images.thumbs[currentImg.previousSibling.id]; BLB.Images.historyNavigate(nextState); break; case BLB.keyCodes.rightArrow: var nextState = BLB.Images.thumbs[currentImg.nextSibling.id]; BLB.Images.historyNavigate(nextState); break; default: break; }; } }, 'keydown'); lftRtArrow.enable(); window.addEventListener('popstate', BLB.Images.popstateEventHandler); var state = BLB.Images.getBookmarkedState(); if(state.toLowerCase() == 'imagedisplay' && document.location.hash != '') { var h = document.location.hash.split(/=/)[1]; document.location.href = document.location.pathname + h; } var distance = 0; var thumbsCount = 0; var imgCount = BLB.Images.imgList.length; var imgListHalfway = Math.floor(imgCount/2); for(var thumb in BLB.Images.thumbs) { if(state == BLB.Images.thumbs[thumb]) { BLB.Images.currentThumb = state; BLB.Images.currentImgId = thumb; break; } distance++; } BLB.Images.vpW = BLB.getViewportWidth(); thumbsCount = Math.floor(BLB.Images.vpW/BLB.Images.thumbWidth)-2; BLB.Images.thumbsCount = (thumbsCount%2?thumbsCount:thumbsCount-1); BLB.Images.imgListHalfway = (imgCount%2?imgListHalfway:imgListHalfway-1); BLB.Images.setCarouselWidth(); BLB.Images.setCarouselWindowWidth(); var imgCarousel = document.querySelector('#imgCarousel'); imgCarousel.style.left = '-12px'; if(BLB.Images.imgListHalfway > distance) for(var i=0;i 1) { var nextState = BLB.Images.thumbs[currentImg.nextSibling.id]; BLB.Images.historyNavigate(nextState); } else if(matchedEl.id == 'imgNavL' && BLB.Images.imgList.length > 1) { var nextState = BLB.Images.thumbs[currentImg.previousSibling.id]; BLB.Images.historyNavigate(nextState); } else if(matchedEl.id == 'imgExact' || matchedEl.id == 'imgZoom') { var fullImg = BLB.Images.imgFull[BLB.Images.currentImgId]; var path = BLB.Images.paths[BLB.Images.currentImgId]; location.href = '/assets-v3/images/bibleMedia/' + path + '/' + fullImg; } break; case 'imgCarousel': if(BLB.Images.imgList.length > 1) if(matchedEl.classList.contains('imgParCenter')) { var nextState = BLB.Images.thumbs[currentImg.nextSibling.id]; BLB.Images.historyNavigate(nextState); } else { var nextState = BLB.Images.thumbs[matchedEl.id]; BLB.Images.historyNavigate(nextState); } break; case 'imgParade': if(BLB.Images.imgList.length > 1) if(matchedEl.id=='imgParBrowseRt') { var nextState = BLB.Images.thumbs[currentImg.nextSibling.id]; BLB.Images.historyNavigate(nextState); } else { var nextState = BLB.Images.thumbs[currentImg.previousSibling.id]; BLB.Images.historyNavigate(nextState); } break; case 'imgShareLinks': if (matchedEl.dataset !== undefined && matchedEl.dataset.sharer !== undefined) { var platform = matchedEl.dataset.sharer; if (platform == 'shareLink') { document.querySelector('#pageLink').click(); document.querySelector('#imgShareFeedback').innerHTML = "

Please click on the [COPY] button at the top of this page to copy a link to this image.
"; setTimeout(function() { document.querySelector('#imgShareFeedback').innerHTML = ""; }, 7000); } else if (platform == 'shareEmail') { var email=('<>'); var subject = ('An image from Blue Letter Bible'); var body = 'I wanted to share this wonderful image with you: '+window.location.href; var emailLink = document.createElement('a'); emailLink.href = 'mailto:' + email+'?subject=' +subject+'&body=' +body; emailLink.target = '_blank'; emailLink.click(); } else { BLB.sharePage(platform); } } break; case 'imgLegend': var linkName = matchedEl.rel; var param = location.href; var popupDiv = document.querySelector('#popupDiv'); document.querySelector('#popupDivContents').innerHTML = BLB.popupDivContents; popupDiv.classList.remove('hidden'); popupDiv.style.width = '500px'; BLB.setXY(matchedEl, popupDiv); BLB.toolTipPopup(linkName, param); YEvent.stopPropagation(ev); break; default: break; }; }, slideCarouselWindow: function(direction, count) { var thisThumb = document.querySelector('#' + BLB.Images.currentImgId); var nextThumb = (direction=='left' ? thisThumb.nextSibling : thisThumb.previousSibling); var thumbsHalfway = Math.ceil(BLB.Images.thumbsCount/2); var imgCarousel = document.querySelector('#imgCarousel'); var thumbWidth = parseInt(imgCarousel.style.width, 10); var thumbMarginLeft = parseInt(imgCarousel.style.marginLeft, 10); var windowDistance = 69 * (direction=='left'?-1:1); var imgCarouselLeft = parseInt(imgCarousel.style.left, 10); var imgCarouselKeyFrames = new KeyframeEffect(imgCarousel, [ { left: (imgCarouselLeft + windowDistance) + 'px' } ], 100 ); var imgCarouselKeyAnimation = new Animation(imgCarouselKeyFrames, document.timeline); imgCarouselKeyAnimation.addEventListener("finish", () => { imgCarouselKeyAnimation.commitStyles(); if(direction=='left') { imgCarousel.appendChild(imgCarousel.firstChild) BLB.Images.imgList.push(BLB.Images.imgList.shift()); if (thumbsHalfway+BLB.Images.thumbDistance <= BLB.Images.imgListHalfway) BLB.Images.prefetchThumbnail(BLB.Images.imgListHalfway+thumbsHalfway+BLB.Images.thumbDistance); } else { imgCarousel.insertBefore(imgCarousel.lastChild, imgCarousel.firstChild) BLB.Images.imgList.unshift(BLB.Images.imgList.pop()); if (thumbsHalfway+BLB.Images.thumbDistance <= BLB.Images.imgListHalfway) BLB.Images.prefetchThumbnail(BLB.Images.imgListHalfway-thumbsHalfway-BLB.Images.thumbDistance); } if(count > 1) BLB.Images.slideCarouselWindow(direction, --count); else if(BLB.Images.callBackStack.length > 0) BLB.Images.slideCarouselWindowCaller(); else BLB.Images.updateImgMainBody() }); imgCarouselKeyAnimation.play(); thisThumb.classList.remove('imgParCenter'); nextThumb.classList.add('imgParCenter'); BLB.Images.currentImgId = nextThumb.id; BLB.Images.currentThumb = BLB.Images.thumbs[BLB.Images.currentImgId]; }, slideCarouselWindowCaller: function() { var state = BLB.Images.callBackStack.shift(); var ill = BLB.Images.imgList.length; var direction = 'left'; var count = 0; for(var i=0;i 0) { if(thumbState == BLB.Images.currentThumb || thumbState == state) break; count++; } else if(thumbState == BLB.Images.currentThumb) { direction='left'; count++; } else if (thumbState == state) { direction='right'; count++; } } BLB.Images.slideCarouselWindow(direction, count); }, updateImgMainBody: function() { var title = BLB.Images.titles[BLB.Images.currentImgId]; var cropped = BLB.Images.cropped[BLB.Images.currentImgId]; var path = BLB.Images.paths[BLB.Images.currentImgId]; var imgSrc = '/assets-v3/images/bibleMedia/'+path+'/' + cropped; var tmpImg = document.createElement('img'); var imgWidth = 72; var imgHeight = 0; var metaDescTemplate = "Image from the {galleryName} gallery. Images for {scripture} are provided by the Blue Letter Bible and its partner ministries." var imgDataTitle = document.querySelector('#imgDataTitle'); var imgRespTitle = document.querySelector('#imgTitle_Resp'); var imgDataCr = document.querySelector('#imgDataCr'); var imgDataSe = document.querySelector('#imgDataSe'); var imgDataSrc = document.querySelector('#imgDataSrc'); var imgDataBtn = document.querySelector('#imgDataBtn'); var imgDataDesc = document.querySelector('#imgDataDesc'); var imgDataBtn = document.querySelector('#imgDataBtn'); var scripturesA = BLB.Images.imgScripture[BLB.Images.currentImgId].replace(/(^\s*|;?\s*$)/g, '').replace(/(\d);([a-zA-Z])/g, '$1; $2'); var keywordsA = BLB.Images.imgKeywords[BLB.Images.currentImgId].replace(/(^\s*|;?\s*$)/g, ''); var b = null; pb = null; var c = null; var v = null; var v1 = null; var bid = null; keywordsA = (keywordsA==''?[]:keywordsA.split(/;/)); tmpImg.src = imgSrc; imgDataBtn.addEventListener('mouseover', function() { var img = this.firstChild; img.src = img.src.replace(/_a\.svg/, '_b.svg'); }); imgDataBtn.addEventListener('mouseout', function() { var img = this.firstChild; img.src = img.src.replace(/_b\.svg/, '_a.svg'); }); tmpImg.addEventListener('load', function() { document.querySelector('#imgTitle').innerHTML = title; document.querySelector('#imgTitle_Resp').innerHTML = title; // Update title and meta data tags var metaDesc = metaDescTemplate; metaDesc = metaDesc.replace('{galleryName}', BLB.Images.galleryName).replace('{scripture}', title); document.title = title +' - '+ BLB.Images.galleryName; document.head.querySelector("meta[name='Description']").content = metaDesc; document.head.querySelector("meta[property='og:title']").content = document.title; document.head.querySelector("meta[property='og:description']").content = metaDesc; document.head.querySelector("meta[property='og:image']").content = 'https://www.blueletterbible.org/assets-v3/images/bibleMedia/' + path + '/' + BLB.Images.thumbs[BLB.Images.currentImgId] + '.jpg'; document.querySelector('#imgExact').innerHTML = ''; document.querySelector('#imgPrint').firstChild.src = imgSrc; imgDataDesc.innerHTML = ''; imgDataCr.innerHTML = ''; imgDataSe.innerHTML = ''; imgDataSrc.innerHTML = ''; imgDataTitle.innerHTML = title; imgRespTitle.innerHTML = title; var imgLinks = document.querySelector('#imgLinks'); var imgDesc = BLB.Images.imgDescription[BLB.Images.currentImgId]; var imgDataDescP = document.querySelector('#imgDataDescP'); var imgDataDescTop = document.querySelector('#imgDataDescTop'); var imgDesc = BLB.Images.imgDescription[BLB.Images.currentImgId]; imgDataDescTop.style.display='none'; imgDataDescTop.innerHTML=''; imgDataDescP.style.display='none'; var showDescOnTop = false; if (path == "ESV-Global-Study-Bible") {showDescOnTop = true} if (imgDesc.length > 0) { if (showDescOnTop == true) { imgDataDescTop.style.display="block"; imgDataDescTop.innerHTML = imgDesc; } else { imgDataDescP.style.display="block"; imgDataDesc.innerHTML = imgDesc; } } var imgDataCrP = document.querySelector('#imgDataCrP'); if(scripturesA.length == 0) { imgDataCrP.style.display="none"; } else { imgDataCrP.style.display="block"; imgDataCr.innerHTML = scripturesA; BLB.Tagger.walkDomTree(imgDataCr); } // Resize left/right expand controls to fit image area setTimeout(function() { let lefty = document.querySelector('#siteExpandLeft'); let righty = document.querySelector('#siteExpandRight'); let imgBody = document.querySelector('.bubBody.imgBody'); if (lefty && righty && imgBody) { let height = parseInt(imgBody.getBoundingClientRect().height); if (!isNaN(height) && height > 145) { lefty.style.maxHeight = height + 37 + 'px'; righty.style.maxHeight = height + 37 + 'px'; console.log(height); } } }, 500) var imgDataSeP = document.querySelector('#imgDataSeP'); if(keywordsA.length == 0) { imgDataSeP.style.display="none"; } else { imgDataSeP.style.display="block"; for(var i=0;iDownload PDF
'; }); BLB.Images.carouselClick=false; if(!BLB.firstLoad) BLB.Menu.evDispatch({event: 'page_view'}); // Tell Google about the page_view change due to AJAX call BLB.firstLoad = false; }, windowShift: function(count) { var imgCarousel = document.querySelector('#imgCarousel'); var windowLeft = parseInt(imgCarousel.style.left, 10); imgCarousel.style.left = windowLeft + (BLB.Images.thumbWidth*count) + 'px'; }, setCarouselWidth: function() { var imgCarousel = document.querySelector('#imgCarousel'); var carouselWidth = BLB.Images.imgList.length*BLB.Images.thumbWidth+15+9+78; imgCarousel.style.width = carouselWidth+'px'; }, setCarouselWindowWidth: function() { var imgCarouselWindow = document.querySelector('#imgCarouselWindow'); var carouselWindowWidth = BLB.Images.thumbsCount*BLB.Images.thumbWidth+15; imgCarouselWindow.style.width = carouselWindowWidth+'px'; }, prefetchThumbnail: function(thmbPos) { var imgCarousel = document.querySelector('#imgCarousel'); var thumbDiv = imgCarousel.children[thmbPos]; if(thumbDiv != undefined) { var imgKey = thumbDiv.id; var thumber = BLB.Images.thumbs[imgKey]; var thumbsCount = Math.floor(BLB.Images.vpW/BLB.Images.thumbWidth)-2; thumbsCount = (thumbsCount%2?thumbsCount:thumbsCount-1); thumber = thumber.replace(/.$/, 'd'); thumbDiv.firstChild.src = '/assets-v3/images/bibleMedia/' + BLB.Images.paths[imgKey] + '/' + thumber + '.jpg'; } }, getBookmarkedState: function() { var pathname = document.location.pathname.replace(/\/+$/, ''); var pa = pathname.split(/\//); var state = pa[pa.length-1]; return state; }, getHistoryState: function() { var historyState = history.state; var state = null; if(historyState != undefined) state = historyState.state; return state; }, historyNavigate: function(state) { if(BLB.Images.carouselClick) return false; BLB.Images.carouselClick=true; var pathname = document.location.pathname.replace(/\/+$/, ''); var pa = pathname.split(/\//); pa.pop(); pa.push(state); history.replaceState({state:state}, null, pa.join('/')); BLB.Images.sectionStateChangeHandler(state); }, sectionStateChangeHandler: function(state) { BLB.Images.callBackStack.push(state); BLB.Images.slideCarouselWindowCaller(); }, popstateEventHandler: function(ev) { var state = ev.state; BLB.Images.sectionStateChangeHandler(state.state); } }; YEvent.onDOMReady(BLB.Images.init, BLB.Images.init, true); })();