(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: "Calendar Images", imgList: [1970,1968,1954,1966,1976,1941,1956,1967,1926,1977,1978,1980,1953,1960,1961,1974,1934,1971,1965,1964,1963,1975,1951,1943,1952,1962,1979,1957,1958,1948,1949,1972,1950,1959,1973,1947,1942,1969,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2396,2397,2398,2399,2400,2401,2402,2403,2404,2405,2406,2407,2408,2409,2410,2411,2412,2413,2414,2415,2416,2417,2418,2419,2420,2421], cropped: {img_1970:'2020-calendar_1sam_2_2_niv_a.jpg',img_1968:'2020-calendar_1ch_16_8_kjv_a.jpg',img_1954:'2018-calendar_psa_8_1_esv_a.jpg',img_1966:'2019_calendar_psa_18_28_nasb_a.jpg',img_1976:'2020-calendar_psa_23_1_esv_a.jpg',img_1941:'blb-calendar201801_a.jpg',img_1956:'2018-calendar_psa_110_4_kjv_a.jpg',img_1967:'2019_calendar_psa_118_27a_esv_a.jpg',img_1926:'2019_calendar_psa_119_15_nkjv_a.jpg',img_1977:'2020-calendar_psa_119_90_nasb_a.jpg',img_1978:'2020-calendar_psa_147_5_nkjv_a.jpg',img_1980:'2019_calendar_pro_16_9_esv_a.jpg',img_1953:'2018-calendar_pro_18_10_kjv_a.jpg',img_1960:'2019_calendar_isa_25_6a_niv_a.jpg',img_1961:'2019_calendar_isa_40_11a_nkjv_a.jpg',img_1974:'2020-calendar_isa_53_5_esv_a.jpg',img_1934:'2020-calendar_lam_3_22-23_esv_a.jpg',img_1971:'2020-calendar_dan_7_14b_nasb_a.jpg',img_1965:'2019_calendar_mic_5_2b_nkjv_a.jpg',img_1964:'2019_calendar_mat_19_14_nkjv_a.jpg',img_1963:'2019_calendar_mar_4_41b_kjv_a.jpg',img_1975:'2020-calendar_luk_2_11_nkjv_a.jpg',img_1951:'2018-calendar_jhn_1_14_nkjv_a.jpg',img_1943:'blb-calendar201807_a.jpg',img_1952:'2018-calendar_jhn_11_25_esv_a.jpg',img_1962:'2019_calendar_jhn_15_5_niv_a.jpg',img_1979:'2020-calendar_rom_11_33_nasb_a.jpg',img_1957:'2019_calendar_1cor_1_18_nkjv_a.jpg',img_1958:'2019_calendar_1cor_3_7_niv_a.jpg',img_1948:'2018-calendar_2cor_9_10_esv_a.jpg',img_1949:'2018-calendar_2cor_12_9_nkjv_a.jpg',img_1972:'2020-calendar_eph_6_17_niv_a.jpg',img_1950:'2018-calendar_heb_4_12_nkjv_a.jpg',img_1959:'2019_calendar_heb_13_5b_esv_a.jpg',img_1973:'2020-calendar_heb_13_8_nkjv_a.jpg',img_1947:'2018-calendar_1pet_1_24-25_niv_a.jpg',img_1942:'blb-calendar201802_a.jpg',img_1969:'2020-calendar_1jhn_4_16_kjv_a.jpg',img_2007:'2021-calendar_2cor_5_17_nasb_a.jpg',img_2008:'2021-calendar_heb_4_12_nasb_a.jpg',img_2009:'2021-calendar_heb_11_1_esv_a.jpg',img_2010:'2021-calendar_jhn_11_25_nkjv_a.jpg',img_2011:'2021-calendar_jhn_14_27_kjv_a.jpg',img_2012:'2021-calendar_jhn_15_12_kjv_a.jpg',img_2013:'2021-calendar_luk_1_32_nasb_a.jpg',img_2014:'2021-calendar_phl_2_8_esv_a.jpg',img_2015:'2021-calendar_phl_4_4_nkjv_a.jpg',img_2016:'2021-calendar_psa_32_8_niv_a.jpg',img_2017:'2021-calendar_psa_34_2_esv_a.jpg',img_2018:'2021-calendar_psa_69_30_nasb_a.jpg',img_2019:'2021-calendar_rom_10_15_niv_a.jpg',img_2020:'2022-calendar_1pe_1_3_niv_a.jpg',img_2021:'2022-calendar_1tim_6_6-7_esv_a.jpg',img_2022:'2022-calendar_eph_5_2_esv_a.jpg',img_2023:'2022-calendar_heb_10_23_nasb20_a.jpg',img_2024:'2022-calendar_isa_7_14_nkjv_a.jpg',img_2025:'2022-calendar_jer_32_17_kjv_a.jpg',img_2026:'2022-calendar_jhn_4_14_nasb20_a.jpg',img_2027:'2022-calendar_phl_1_6_nkjv_a.jpg',img_2028:'2022-calendar_pro_4_23_nasb20_a.jpg',img_2029:'2022-calendar_psa_27_14_niv_a.jpg',img_2030:'2022-calendar_psa_79_13_nasb20_a.jpg',img_2031:'2022-calendar_psa_139_9-10_kjv_a.jpg',img_2032:'2022-calendar_rom_15_13_esv_a.jpg',img_2053:'cal2023-1jhn-1-9-lsb_a.jpg',img_2054:'cal2023-jhn-6-37-esv_a.jpg',img_2055:'cal2023-jhn-8-31-32-esv_a.jpg',img_2056:'cal2023-jhn-10-27-29-nkjv_a.jpg',img_2057:'cal2023-jhn-11-25-26-nasb20_a.jpg',img_2058:'cal2023-jhn-14-2-4-18-nasb20_a.jpg',img_2059:'cal2023-jhn-15-9-lsb_a.jpg',img_2060:'cal2023-jhn-15-11-nkjv_a.jpg',img_2061:'cal2023-jhn-15-15-niv_a.jpg',img_2062:'cal2023-jhn-15-26-nkjv_a.jpg',img_2063:'cal2023-jhn-16-33-niv_a.jpg',img_2064:'cal2023-mat-11-28-30-kjv_a.jpg',img_2065:'cal2023-mat-28-18-20-esv_a.jpg',img_2396:'cal2024-2co-12-9-10-nkjv_a.jpg',img_2397:'cal2024-deu-31-6-niv_a.jpg',img_2398:'cal2024-eph-2-10-esv_a.jpg',img_2399:'cal2024-eze-36-25-26-niv_a.jpg',img_2400:'cal2024-heb-1-8-esv_a.jpg',img_2401:'cal2024-isa-61-1-nasb95_a.jpg',img_2402:'cal2024-jhn-1-9-kjv_a.jpg',img_2403:'cal2024-jhn-15-9-esv_a.jpg',img_2404:'cal2024-psa-19-7-lsb_a.jpg',img_2405:'cal2024-psa-103-12-nasb95_a.jpg',img_2406:'cal2024-psa-130-5-nasb95_a.jpg',img_2407:'cal2024-rom-1-16-17-lsb_a.jpg',img_2408:'cal2024-rom-8-15-nkjv_a.jpg',img_2409:'cal2025-phl-4-6-nasb95_a.jpg',img_2410:'cal2025-exo-15-1-nlt_a.jpg',img_2411:'cal2025-eph-1-18-niv_a.jpg',img_2412:'cal2025-2ch-6-14-esv_a.jpg',img_2413:'cal2025-luk-22-42-nkjv_a.jpg',img_2414:'cal2025-rom-15-13-esv_a.jpg',img_2415:'cal2025-psa-51-10-esv_a.jpg',img_2416:'cal2025-psa-30-5-lsb_a.jpg',img_2417:'cal2025-2th-1-11-niv_a.jpg',img_2418:'cal2025-2co-12-9-lsb_a.jpg',img_2419:'cal2025-mat-6-9-nkjv_a.jpg',img_2420:'cal2025-luk-23-42-nasb95_a.jpg',img_2421:'cal2025-jhn-17-11-esv_a.jpg'}, thumbs: {img_1970:'2020-calendar_1sam_2_2_niv_b',img_1968:'2020-calendar_1ch_16_8_kjv_b',img_1954:'2018-calendar_psa_8_1_esv_b',img_1966:'2019_calendar_psa_18_28_nasb_b',img_1976:'2020-calendar_psa_23_1_esv_b',img_1941:'blb-calendar201801_b',img_1956:'2018-calendar_psa_110_4_kjv_b',img_1967:'2019_calendar_psa_118_27a_esv_b',img_1926:'2019_calendar_psa_119_15_nkjv_b',img_1977:'2020-calendar_psa_119_90_nasb_b',img_1978:'2020-calendar_psa_147_5_nkjv_b',img_1980:'2019_calendar_pro_16_9_esv_b',img_1953:'2018-calendar_pro_18_10_kjv_b',img_1960:'2019_calendar_isa_25_6a_niv_b',img_1961:'2019_calendar_isa_40_11a_nkjv_b',img_1974:'2020-calendar_isa_53_5_esv_b',img_1934:'2020-calendar_lam_3_22-23_esv_b',img_1971:'2020-calendar_dan_7_14b_nasb_b',img_1965:'2019_calendar_mic_5_2b_nkjv_b',img_1964:'2019_calendar_mat_19_14_nkjv_b',img_1963:'2019_calendar_mar_4_41b_kjv_b',img_1975:'2020-calendar_luk_2_11_nkjv_b',img_1951:'2018-calendar_jhn_1_14_nkjv_b',img_1943:'blb-calendar201807_b',img_1952:'2018-calendar_jhn_11_25_esv_b',img_1962:'2019_calendar_jhn_15_5_niv_b',img_1979:'2020-calendar_rom_11_33_nasb_b',img_1957:'2019_calendar_1cor_1_18_nkjv_b',img_1958:'2019_calendar_1cor_3_7_niv_b',img_1948:'2018-calendar_2cor_9_10_esv_b',img_1949:'2018-calendar_2cor_12_9_nkjv_b',img_1972:'2020-calendar_eph_6_17_niv_b',img_1950:'2018-calendar_heb_4_12_nkjv_b',img_1959:'2019_calendar_heb_13_5b_esv_b',img_1973:'2020-calendar_heb_13_8_nkjv_b',img_1947:'2018-calendar_1pet_1_24-25_niv_b',img_1942:'blb-calendar201802_b',img_1969:'2020-calendar_1jhn_4_16_kjv_b',img_2007:'2021-calendar_2cor_5_17_nasb_b',img_2008:'2021-calendar_heb_4_12_nasb_b',img_2009:'2021-calendar_heb_11_1_esv_b',img_2010:'2021-calendar_jhn_11_25_nkjv_b',img_2011:'2021-calendar_jhn_14_27_kjv_b',img_2012:'2021-calendar_jhn_15_12_kjv_b',img_2013:'2021-calendar_luk_1_32_nasb_b',img_2014:'2021-calendar_phl_2_8_esv_b',img_2015:'2021-calendar_phl_4_4_nkjv_b',img_2016:'2021-calendar_psa_32_8_niv_b',img_2017:'2021-calendar_psa_34_2_esv_b',img_2018:'2021-calendar_psa_69_30_nasb_b',img_2019:'2021-calendar_rom_10_15_niv_b',img_2020:'2022-calendar_1pe_1_3_niv_b',img_2021:'2022-calendar_1tim_6_6-7_esv_b',img_2022:'2022-calendar_eph_5_2_esv_b',img_2023:'2022-calendar_heb_10_23_nasb20_b',img_2024:'2022-calendar_isa_7_14_nkjv_b',img_2025:'2022-calendar_jer_32_17_kjv_b',img_2026:'2022-calendar_jhn_4_14_nasb20_b',img_2027:'2022-calendar_phl_1_6_nkjv_b',img_2028:'2022-calendar_pro_4_23_nasb20_b',img_2029:'2022-calendar_psa_27_14_niv_b',img_2030:'2022-calendar_psa_79_13_nasb20_b',img_2031:'2022-calendar_psa_139_9-10_kjv_b',img_2032:'2022-calendar_rom_15_13_esv_b',img_2053:'cal2023-1jhn-1-9-lsb_b',img_2054:'cal2023-jhn-6-37-esv_b',img_2055:'cal2023-jhn-8-31-32-esv_b',img_2056:'cal2023-jhn-10-27-29-nkjv_b',img_2057:'cal2023-jhn-11-25-26-nasb20_b',img_2058:'cal2023-jhn-14-2-4-18-nasb20_b',img_2059:'cal2023-jhn-15-9-lsb_b',img_2060:'cal2023-jhn-15-11-nkjv_b',img_2061:'cal2023-jhn-15-15-niv_b',img_2062:'cal2023-jhn-15-26-nkjv_b',img_2063:'cal2023-jhn-16-33-niv_b',img_2064:'cal2023-mat-11-28-30-kjv_b',img_2065:'cal2023-mat-28-18-20-esv_b',img_2396:'cal2024-2co-12-9-10-nkjv_b',img_2397:'cal2024-deu-31-6-niv_b',img_2398:'cal2024-eph-2-10-esv_b',img_2399:'cal2024-eze-36-25-26-niv_b',img_2400:'cal2024-heb-1-8-esv_b',img_2401:'cal2024-isa-61-1-nasb95_b',img_2402:'cal2024-jhn-1-9-kjv_b',img_2403:'cal2024-jhn-15-9-esv_b',img_2404:'cal2024-psa-19-7-lsb_b',img_2405:'cal2024-psa-103-12-nasb95_b',img_2406:'cal2024-psa-130-5-nasb95_b',img_2407:'cal2024-rom-1-16-17-lsb_b',img_2408:'cal2024-rom-8-15-nkjv_b',img_2409:'cal2025-phl-4-6-nasb95_b',img_2410:'cal2025-exo-15-1-nlt_b',img_2411:'cal2025-eph-1-18-niv_b',img_2412:'cal2025-2ch-6-14-esv_b',img_2413:'cal2025-luk-22-42-nkjv_b',img_2414:'cal2025-rom-15-13-esv_b',img_2415:'cal2025-psa-51-10-esv_b',img_2416:'cal2025-psa-30-5-lsb_b',img_2417:'cal2025-2th-1-11-niv_b',img_2418:'cal2025-2co-12-9-lsb_b',img_2419:'cal2025-mat-6-9-nkjv_b',img_2420:'cal2025-luk-23-42-nasb95_b',img_2421:'cal2025-jhn-17-11-esv_b'}, imgFull: {img_1970:'2020-calendar_1sam_2_2_niv.jpg',img_1968:'2020-calendar_1ch_16_8_kjv.jpg',img_1954:'2018-calendar_psa_8_1_esv.jpg',img_1966:'2019_calendar_psa_18_28_nasb.jpg',img_1976:'2020-calendar_psa_23_1_esv.jpg',img_1941:'blb-calendar201801.jpg',img_1956:'2018-calendar_psa_110_4_kjv.jpg',img_1967:'2019_calendar_psa_118_27a_esv.jpg',img_1926:'2019_calendar_psa_119_15_nkjv.jpg',img_1977:'2020-calendar_psa_119_90_nasb.jpg',img_1978:'2020-calendar_psa_147_5_nkjv.jpg',img_1980:'2019_calendar_pro_16_9_esv.jpg',img_1953:'2018-calendar_pro_18_10_kjv.jpg',img_1960:'2019_calendar_isa_25_6a_niv.jpg',img_1961:'2019_calendar_isa_40_11a_nkjv.jpg',img_1974:'2020-calendar_isa_53_5_esv.jpg',img_1934:'2020-calendar_lam_3_22-23_esv.jpg',img_1971:'2020-calendar_dan_7_14b_nasb.jpg',img_1965:'2019_calendar_mic_5_2b_nkjv.jpg',img_1964:'2019_calendar_mat_19_14_nkjv.jpg',img_1963:'2019_calendar_mar_4_41b_kjv.jpg',img_1975:'2020-calendar_luk_2_11_nkjv.jpg',img_1951:'2018-calendar_jhn_1_14_nkjv.jpg',img_1943:'blb-calendar201807.jpg',img_1952:'2018-calendar_jhn_11_25_esv.jpg',img_1962:'2019_calendar_jhn_15_5_niv.jpg',img_1979:'2020-calendar_rom_11_33_nasb.jpg',img_1957:'2019_calendar_1cor_1_18_nkjv.jpg',img_1958:'2019_calendar_1cor_3_7_niv.jpg',img_1948:'2018-calendar_2cor_9_10_esv.jpg',img_1949:'2018-calendar_2cor_12_9_nkjv.jpg',img_1972:'2020-calendar_eph_6_17_niv.jpg',img_1950:'2018-calendar_heb_4_12_nkjv.jpg',img_1959:'2019_calendar_heb_13_5b_esv.jpg',img_1973:'2020-calendar_heb_13_8_nkjv.jpg',img_1947:'2018-calendar_1pet_1_24-25_niv.jpg',img_1942:'blb-calendar201802.jpg',img_1969:'2020-calendar_1jhn_4_16_kjv.jpg',img_2007:'2021-calendar_2cor_5_17_nasb.jpg',img_2008:'2021-calendar_heb_4_12_nasb.jpg',img_2009:'2021-calendar_heb_11_1_esv.jpg',img_2010:'2021-calendar_jhn_11_25_nkjv.jpg',img_2011:'2021-calendar_jhn_14_27_kjv.jpg',img_2012:'2021-calendar_jhn_15_12_kjv.jpg',img_2013:'2021-calendar_luk_1_32_nasb.jpg',img_2014:'2021-calendar_phl_2_8_esv.jpg',img_2015:'2021-calendar_phl_4_4_nkjv.jpg',img_2016:'2021-calendar_psa_32_8_niv.jpg',img_2017:'2021-calendar_psa_34_2_esv.jpg',img_2018:'2021-calendar_psa_69_30_nasb.jpg',img_2019:'2021-calendar_rom_10_15_niv.jpg',img_2020:'2022-calendar_1pe_1_3_niv.jpg',img_2021:'2022-calendar_1tim_6_6-7_esv.jpg',img_2022:'2022-calendar_eph_5_2_esv.jpg',img_2023:'2022-calendar_heb_10_23_nasb20.jpg',img_2024:'2022-calendar_isa_7_14_nkjv.jpg',img_2025:'2022-calendar_jer_32_17_kjv.jpg',img_2026:'2022-calendar_jhn_4_14_nasb20.jpg',img_2027:'2022-calendar_phl_1_6_nkjv.jpg',img_2028:'2022-calendar_pro_4_23_nasb20.jpg',img_2029:'2022-calendar_psa_27_14_niv.jpg',img_2030:'2022-calendar_psa_79_13_nasb20.jpg',img_2031:'2022-calendar_psa_139_9-10_kjv.jpg',img_2032:'2022-calendar_rom_15_13_esv.jpg',img_2053:'cal2023-1jhn-1-9-lsb.jpg',img_2054:'cal2023-jhn-6-37-esv.jpg',img_2055:'cal2023-jhn-8-31-32-esv.jpg',img_2056:'cal2023-jhn-10-27-29-nkjv.jpg',img_2057:'cal2023-jhn-11-25-26-nasb20.jpg',img_2058:'cal2023-jhn-14-2-4-18-nasb20.jpg',img_2059:'cal2023-jhn-15-9-lsb.jpg',img_2060:'cal2023-jhn-15-11-nkjv.jpg',img_2061:'cal2023-jhn-15-15-niv.jpg',img_2062:'cal2023-jhn-15-26-nkjv.jpg',img_2063:'cal2023-jhn-16-33-niv.jpg',img_2064:'cal2023-mat-11-28-30-kjv.jpg',img_2065:'cal2023-mat-28-18-20-esv.jpg',img_2396:'cal2024-2co-12-9-10-nkjv.jpg',img_2397:'cal2024-deu-31-6-niv.jpg',img_2398:'cal2024-eph-2-10-esv.jpg',img_2399:'cal2024-eze-36-25-26-niv.jpg',img_2400:'cal2024-heb-1-8-esv.jpg',img_2401:'cal2024-isa-61-1-nasb95.jpg',img_2402:'cal2024-jhn-1-9-kjv.jpg',img_2403:'cal2024-jhn-15-9-esv.jpg',img_2404:'cal2024-psa-19-7-lsb.jpg',img_2405:'cal2024-psa-103-12-nasb95.jpg',img_2406:'cal2024-psa-130-5-nasb95.jpg',img_2407:'cal2024-rom-1-16-17-lsb.jpg',img_2408:'cal2024-rom-8-15-nkjv.jpg',img_2409:'cal2025-phl-4-6-nasb95.jpg',img_2410:'cal2025-exo-15-1-nlt.jpg',img_2411:'cal2025-eph-1-18-niv.jpg',img_2412:'cal2025-2ch-6-14-esv.jpg',img_2413:'cal2025-luk-22-42-nkjv.jpg',img_2414:'cal2025-rom-15-13-esv.jpg',img_2415:'cal2025-psa-51-10-esv.jpg',img_2416:'cal2025-psa-30-5-lsb.jpg',img_2417:'cal2025-2th-1-11-niv.jpg',img_2418:'cal2025-2co-12-9-lsb.jpg',img_2419:'cal2025-mat-6-9-nkjv.jpg',img_2420:'cal2025-luk-23-42-nasb95.jpg',img_2421:'cal2025-jhn-17-11-esv.jpg'}, imgPDF: {img_1970:'',img_1968:'',img_1954:'',img_1966:'',img_1976:'',img_1941:'',img_1956:'',img_1967:'',img_1926:'',img_1977:'',img_1978:'',img_1980:'',img_1953:'',img_1960:'',img_1961:'',img_1974:'',img_1934:'',img_1971:'',img_1965:'',img_1964:'',img_1963:'',img_1975:'',img_1951:'',img_1943:'',img_1952:'',img_1962:'',img_1979:'',img_1957:'',img_1958:'',img_1948:'',img_1949:'',img_1972:'',img_1950:'',img_1959:'',img_1973:'',img_1947:'',img_1942:'',img_1969:'',img_2007:'',img_2008:'',img_2009:'',img_2010:'',img_2011:'',img_2012:'',img_2013:'',img_2014:'',img_2015:'',img_2016:'',img_2017:'',img_2018:'',img_2019:'',img_2020:'',img_2021:'',img_2022:'',img_2023:'',img_2024:'',img_2025:'',img_2026:'',img_2027:'',img_2028:'',img_2029:'',img_2030:'',img_2031:'',img_2032:'',img_2053:'',img_2054:'',img_2055:'',img_2056:'',img_2057:'',img_2058:'',img_2059:'',img_2060:'',img_2061:'',img_2062:'',img_2063:'',img_2064:'',img_2065:'',img_2396:'',img_2397:'',img_2398:'',img_2399:'',img_2400:'',img_2401:'',img_2402:'',img_2403:'',img_2404:'',img_2405:'',img_2406:'',img_2407:'',img_2408:'',img_2409:'',img_2410:'',img_2411:'',img_2412:'',img_2413:'',img_2414:'',img_2415:'',img_2416:'',img_2417:'',img_2418:'',img_2419:'',img_2420:'',img_2421:''}, titles: {img_1970:'1 Samuel 2:2 (NIV)',img_1968:'1 Chronicles 16:8 (KJV)',img_1954:'Psalm 8:1 (ESV)',img_1966:'Psalm 18:28 (NASB95)',img_1976:'Psalm 23:1 (ESV)',img_1941:'Psalm 65:11 (NKJV)',img_1956:'Psalm 100:4 (KJV)',img_1967:'Psalm 118:27 (ESV)',img_1926:'Psalm 119:15 (NKJV)',img_1977:'Psalm 119:90 (NASB95)',img_1978:'Psalm 147:5 (NKJV)',img_1980:'Proverbs 16:9 (ESV)',img_1953:'Proverbs 18:10 (KJV)',img_1960:'Isaiah 25:6a (NIV)',img_1961:'Isaiah 40:11a (NKJV)',img_1974:'Isaiah 53:5 (ESV)',img_1934:'Lamentations 3:22-23 (ESV)',img_1971:'Daniel 7:14 (NASB95)',img_1965:'Micah 5:2b (NKJV)',img_1964:'Matthew 19:14 (NKJV)',img_1963:'Mark 4:41b (KJV)',img_1975:'Luke 2:11 (NKJV)',img_1951:'John 1:14 (NKJV)',img_1943:'John 8:32 (NKJV)',img_1952:'John 11:25 (ESV)',img_1962:'John 15:5 (NIV)',img_1979:'Romans 11:33 (NASB95)',img_1957:'1 Corinthians 1:18 (NKJV)',img_1958:'1 Corinthians 3:7 (NIV)',img_1948:'2 Corinthians 9:10 (ESV)',img_1949:'2 Corinthians 12:9 (NKJV)',img_1972:'Ephesians 6:17 (NIV)',img_1950:'Hebrews 4:12 (NKJV)',img_1959:'Hebrews 13:5b (ESV)',img_1973:'Hebrews 13:8 (NKJV)',img_1947:'1 Peter 1:24-25 (NIV)',img_1942:'1 John 4:7-8 (NKJV)',img_1969:'1 John 4:16 (KJV)',img_2007:'2 Corinthians 5:17 (NASB95)',img_2008:'Hebrews 4:12 (NASB95)',img_2009:'Hebrews 11:1 (ESV)',img_2010:'John 11:25 (NKJV)',img_2011:'John 14:27 (KJV)',img_2012:'John 15:12 (KJV)',img_2013:'Luke 1:32 (NASB95)',img_2014:'Philippians 2:8 (ESV)',img_2015:'Philippians 4:4 (NKJV)',img_2016:'Psalm 32:8 (NIV)',img_2017:'Psalm 34:2 (ESV)',img_2018:'Psalm 69:30 (NASB95)',img_2019:'Romans 10:15 (NIV)',img_2020:'1 Peter 1:3 (NIV)',img_2021:'1 Timothy 6:6-7 (ESV)',img_2022:'Ephesians 5:2 (ESV)',img_2023:'Hebrews 10:23 (NASB20)',img_2024:'Isaiah 7:14 (NKJV)',img_2025:'Jeremiah 32:17 (KJV)',img_2026:'John 4:14 (NASB20)',img_2027:'Philippians 1:6 (NKJV)',img_2028:'Proverbs 4:23 (NASB20)',img_2029:'Psalm 27:14 (NIV)',img_2030:'Psalm 79:13 (NASB20)',img_2031:'Psalm 139:9-10 (KJV)',img_2032:'Romans 15:13 (ESV)',img_2053:'1 John 1:9 (LSB)',img_2054:'John 6:37 (ESV)',img_2055:'John 8:31-32 (ESV)',img_2056:'John 10:27-29 (NKJV)',img_2057:'John 11:25-26 (NASB20)',img_2058:'John 14:2-4, 18 (NASB20)',img_2059:'John 15:9 (LSB)',img_2060:'John 15:11 (NKJV)',img_2061:'John 15:15 (NIV)',img_2062:'John 15:26 (NKJV)',img_2063:'John 16:33 (NIV)',img_2064:'Matthew 11:28-30 (KJV)',img_2065:'Matthew 28:18-20 (ESV)',img_2396:'2 Corinthians 12:9-10 (NKJV)',img_2397:'Deuteronomy 31:6 (NIV)',img_2398:'Ephesians 2:10 (ESV)',img_2399:'Ezekiel 36:25-26 (NIV)',img_2400:'Hebrews 1:8 (ESV)',img_2401:'Isaiah 61:1 (NASB95)',img_2402:'John 1:9 (KJV)',img_2403:'John 15:9 (ESV)',img_2404:'Psalm 19:7 (LSB)',img_2405:'Psalm 103:12 (NASB95)',img_2406:'Psalm 130:5 (NASB95)',img_2407:'Romans 1:16-17 (LSB)',img_2408:'Romans 8:15 (NKJV)',img_2409:'Philippians 4:6 (NASB95)',img_2410:'Exodus 15:1 (NLT)',img_2411:'Ephesians 1:18 (NIV)',img_2412:'2 Chronicles 6:14 (ESV)',img_2413:'Luke 22:42 (NKJV)',img_2414:'Romans 15:13 (ESV)',img_2415:'Psalm 51:10 (ESV)',img_2416:'Psalm 30:5 (LSB)',img_2417:'2 Thessalonians 1:11 (NIV)',img_2418:'2 Corinthians 12:9 (LSB)',img_2419:'Matthew 6:9 (NKJV)',img_2420:'Luke 23:42 (NASB95)',img_2421:'John 17:11 (ESV)'}, paths: {img_1970:'calendar',img_1968:'calendar',img_1954:'calendar',img_1966:'calendar',img_1976:'calendar',img_1941:'calendar',img_1956:'calendar',img_1967:'calendar',img_1926:'calendar',img_1977:'calendar',img_1978:'calendar',img_1980:'calendar',img_1953:'calendar',img_1960:'calendar',img_1961:'calendar',img_1974:'calendar',img_1934:'calendar',img_1971:'calendar',img_1965:'calendar',img_1964:'calendar',img_1963:'calendar',img_1975:'calendar',img_1951:'calendar',img_1943:'calendar',img_1952:'calendar',img_1962:'calendar',img_1979:'calendar',img_1957:'calendar',img_1958:'calendar',img_1948:'calendar',img_1949:'calendar',img_1972:'calendar',img_1950:'calendar',img_1959:'calendar',img_1973:'calendar',img_1947:'calendar',img_1942:'calendar',img_1969:'calendar',img_2007:'calendar',img_2008:'calendar',img_2009:'calendar',img_2010:'calendar',img_2011:'calendar',img_2012:'calendar',img_2013:'calendar',img_2014:'calendar',img_2015:'calendar',img_2016:'calendar',img_2017:'calendar',img_2018:'calendar',img_2019:'calendar',img_2020:'calendar',img_2021:'calendar',img_2022:'calendar',img_2023:'calendar',img_2024:'calendar',img_2025:'calendar',img_2026:'calendar',img_2027:'calendar',img_2028:'calendar',img_2029:'calendar',img_2030:'calendar',img_2031:'calendar',img_2032:'calendar',img_2053:'calendar',img_2054:'calendar',img_2055:'calendar',img_2056:'calendar',img_2057:'calendar',img_2058:'calendar',img_2059:'calendar',img_2060:'calendar',img_2061:'calendar',img_2062:'calendar',img_2063:'calendar',img_2064:'calendar',img_2065:'calendar',img_2396:'calendar',img_2397:'calendar',img_2398:'calendar',img_2399:'calendar',img_2400:'calendar',img_2401:'calendar',img_2402:'calendar',img_2403:'calendar',img_2404:'calendar',img_2405:'calendar',img_2406:'calendar',img_2407:'calendar',img_2408:'calendar',img_2409:'calendar',img_2410:'calendar',img_2411:'calendar',img_2412:'calendar',img_2413:'calendar',img_2414:'calendar',img_2415:'calendar',img_2416:'calendar',img_2417:'calendar',img_2418:'calendar',img_2419:'calendar',img_2420:'calendar',img_2421:'calendar'}, imgKeywords: {img_1970:'holy; rock',img_1968:'thanks; deeds',img_1954:'majestic; name; earth; glory',img_1966:'light; lamp',img_1976:'shepherd',img_1941:'goodness; crown; year',img_1956:'gates; thanksgiving; courts; praise',img_1967:'light; shine',img_1926:'light; shine',img_1977:'faithfulness; generations; earth',img_1978:'mighty; power; infinite',img_1980:'heart; man; steps',img_1953:'name; tower; righteous',img_1960:'mountain; feast',img_1961:'feed; flock; shepherd; lambs',img_1974:'pierced; transgressions; chastisement; wounds; healed',img_1934:'steadfast; mercies; faithfulness',img_1971:'dominion; everlasting; kingdom',img_1965:'ruler; Israel; everlasting',img_1964:'children; kingdom; heaven',img_1963:'wind; sea',img_1975:'born; savior; Christ',img_1951:'Word; flesh; grace; truth',img_1943:'truth',img_1952:'resurrection; life; live',img_1962:'vine; branches; fruit;',img_1979:'riches; wisdom; knowledge; unfathomable',img_1957:'cross; foolishness; power',img_1958:'plants; grow',img_1948:'sower; seed; harvest',img_1949:'grace; strength; weakness',img_1972:'helmet; salvation; sword; spirit; word',img_1950:'word; sharper; sword',img_1959:'plants; grow',img_1973:'yesterday; today; forever',img_1947:'grass; Word of the Lord',img_1942:'love',img_1969:'love',img_2007:'Christ; new; old',img_2008:'Word; living; active; sharper; soul; spirit; intentions; heart',img_2009:'faith; assurance; conviction',img_2010:'Jesus; resurrection; life; live; die',img_2011:'peace; world; heart; troubled; afraid',img_2012:'commandment; love',img_2013:'throne; David',img_2014:'human; humbled; obedient; death; cross',img_2015:'rejoice',img_2016:'instruct; teach; way; counsel',img_2017:'soul; boast; humble; glad',img_2018:'praise; song; magnify; thanksgiving',img_2019:'preach; sent; beautiful; feet; news',img_2020:'praise; Christ; mercy; birth; hope; resurrection; dead',img_2021:'contentment; gain; nothing; world',img_2022:'walk; love; Christ; fragrant; offering; sacrifice',img_2023:'hold; confession; hope; faithful',img_2024:'virgin; conceive; Immanuel',img_2025:'heaven; earth; power',img_2026:'water; thirsty; fountain; eternal',img_2027:'confident; work; complete; Christ',img_2028:'watch; heart; diligence; life',img_2029:'strong; heart; wait',img_2030:'people; sheep; pasture; praise',img_2031:'wings; morning; sea; lead; hold',img_2032:'hope; joy; peace; power',img_2053:'forgiveness; faithful; cleanse',img_2054:'Father',img_2055:'Jesus; abide; disciples; truth; free',img_2056:'sheep; voice; follow; eternal life',img_2057:'resurrection; life; never die',img_2058:'house; many rooms; coming again; orphans',img_2059:'Father; abide',img_2060:'joy',img_2061:'servants; master\'s business; Father',img_2062:'Father; Spirit of truth; testify',img_2063:'peace; take heart; overcome the world',img_2064:'heavy laden; rest; yoke; meek; lowly',img_2065:'Jesus; authority; heaven; earth; disciples; nations; Father; Son; Holy Spirit; end of the age',img_2396:'grace; strength; weakness; power; Christ; pleasure; infirmities; reproaches; needs; persecutions; distresses; weak; strong',img_2397:'strong; courageous; afraid; terrified; God; leave; forsake',img_2398:'workmanship; created; Christ; Jesus; good works; God; beforehand; walk',img_2399:'sprinkle; clean; water; cleanse; impurities; idols; new heart; heart; new spirit; spirit; stone; flesh',img_2400:'Son; throne; God; forever; ever; scepter; uprightness; kingdom',img_2401:'Spirit of the Lord; anointed; good news; afflicted; bind up; brokenhearted; proclaim; liberty; captives; freedom; prisoners',img_2402:'confess; sins; faithful; just; forgive; cleanse; unrighteousness',img_2403:'Father; loved; abide; love',img_2404:'law; Yahweh; perfect; restoring; soul; testimony; sure; wise; simple',img_2405:'far; east; west; removed; transgressions',img_2406:'wait; LORD; soul; word; hope',img_2407:'not ashamed; the gospel; power of God; power; salvation; everyone; Jew; Greek; righteousness; revealved; faith to faith; faith; live by faith',img_2408:'receive; spirit; spirit of bondage; fear; Spirit; adoption; Abba; Father',img_2409:'anxious; anxiety; nothing; prayer; supplication; thanksgiving; requests',img_2410:'sing; Lord',img_2411:'pray; eyes; heart; enlightened; hope; called',img_2412:'Lord; Israel; heaven; earth; covenant; steadfast; love; servants',img_2413:'nevertheless; will; done',img_2414:'God; hope; fill; joy; peace',img_2415:'create; clean; heart; God; renew; right; spirit',img_2416:'weeping; last; night; shout; joy; morning',img_2417:'constantly; pray; God; worthy; calling',img_2418:'grace; sufficient; you',img_2419:'Father; hallowed; name',img_2420:'Jesus; remember; kingdom',img_2421:'Father; name; one'}, imgScripture: {img_1970:'',img_1968:'',img_1954:'',img_1966:'',img_1976:'',img_1941:'',img_1956:'',img_1967:'',img_1926:'Psa 119:15 NKJV',img_1977:'',img_1978:'',img_1980:'',img_1953:'',img_1960:'',img_1961:'',img_1974:'',img_1934:'Lam 3:22-23 ESV',img_1971:'',img_1965:'',img_1964:'',img_1963:'',img_1975:'',img_1951:'',img_1943:'',img_1952:'',img_1962:'',img_1979:'',img_1957:'',img_1958:'',img_1948:'',img_1949:'',img_1972:'',img_1950:'',img_1959:'',img_1973:'',img_1947:'',img_1942:'',img_1969:'',img_2007:'2Co 5:17 NASB95',img_2008:'Heb 4:12 NASB95',img_2009:'Heb 11:1 ESV',img_2010:'',img_2011:'Jhn 14:27 KJV',img_2012:'Jhn 15:12 KJV',img_2013:'Luk 1:32 NASB95',img_2014:'Phl 2:8 ESV',img_2015:'Phl 4:4 NKJV',img_2016:'Psa 32:8 NIV',img_2017:'Psa 34:2 ESV',img_2018:'Psa 69:30 NASB95',img_2019:'Rom 10:15 NIV',img_2020:'1Pe 1:3 NIV',img_2021:'1Tim 6:6-7 ESV',img_2022:'Eph 5:2 ESV',img_2023:'Heb 10:23 NASB20',img_2024:'Isa 7:14 NKJV',img_2025:'Jer 32:17 KJV',img_2026:'Jhn 4:14 NASB20',img_2027:'Phl 1:6 NKJV',img_2028:'Pro 4:23 NASB20',img_2029:'Psa 27:14 NIV',img_2030:'Psa 79:13 NASB20',img_2031:'Psa 139:9-10 KJV',img_2032:'Rom 15:13 ESV',img_2053:'1Jo 1:9 LSB',img_2054:'Jhn 6:37 ESV',img_2055:'Jhn 8:31-32 ESV',img_2056:'Jhn 10:27-29 NKJV',img_2057:'Jhn 11:25-26 NASB20',img_2058:'Jhn 14:2-4 NASB20; Jhn 14:18 NASB20',img_2059:'Jhn 15:9 LSB',img_2060:'Jhn 15:11 NKJV',img_2061:'Jhn 15:15 NIV',img_2062:'Jhn 15:26 NKJV',img_2063:'Jhn 16:33 NIV',img_2064:'Mat 11:28-30 KJV',img_2065:'Mat 28:18-20 ESV',img_2396:'2Co 12:9-10 NKJV',img_2397:'Deu 31:6 NIV',img_2398:'Eph 2:10 ESV',img_2399:'Eze 36:25-26 NIV',img_2400:'Heb 1:8 ESV',img_2401:'Isa 61:1 NASB95',img_2402:'Jhn 1:9 KJV',img_2403:'Jhn 15:9 ESV',img_2404:'Psa 19:7 LSB',img_2405:'Psa 103:12 NASB95',img_2406:'Psa 130:5 NASB95',img_2407:'Rom 1:16-17 LSB',img_2408:'Rom 8:15 NKJV',img_2409:'Phl 4:6 NASB95',img_2410:'Exo 15:1 NLT',img_2411:'Eph 1:18 NIV',img_2412:'2Ch 6:14 ESV',img_2413:'Luk 22:42 NKJV',img_2414:'Rom 15:13 ESV',img_2415:'Psa 51:10 ESV',img_2416:'Psa 30:5 LSB',img_2417:'2Th 1:11 NIV',img_2418:'2Co 12:9 LSB',img_2419:'Mat 6:9 NKJV',img_2420:'Luk 23:42 NASB95',img_2421:'Jhn 17:11 ESV'}, imgDescription: {img_1970:'',img_1968:'',img_1954:'',img_1966:'',img_1976:'',img_1941:'',img_1956:'',img_1967:'',img_1926:'',img_1977:'',img_1978:'',img_1980:'',img_1953:'',img_1960:'',img_1961:'',img_1974:'',img_1934:'',img_1971:'',img_1965:'',img_1964:'',img_1963:'',img_1975:'',img_1951:'',img_1943:'',img_1952:'',img_1962:'',img_1979:'',img_1957:'',img_1958:'',img_1948:'',img_1949:'',img_1972:'',img_1950:'',img_1959:'',img_1973:'',img_1947:'',img_1942:'',img_1969:'',img_2007:'',img_2008:'',img_2009:'',img_2010:'',img_2011:'',img_2012:'',img_2013:'',img_2014:'',img_2015:'',img_2016:'',img_2017:'',img_2018:'',img_2019:'',img_2020:'',img_2021:'',img_2022:'',img_2023:'',img_2024:'',img_2025:'',img_2026:'',img_2027:'',img_2028:'',img_2029:'',img_2030:'',img_2031:'',img_2032:'',img_2053:'',img_2054:'',img_2055:'',img_2056:'',img_2057:'',img_2058:'',img_2059:'',img_2060:'',img_2061:'',img_2062:'',img_2063:'',img_2064:'',img_2065:'',img_2396:'',img_2397:'',img_2398:'',img_2399:'',img_2400:'',img_2401:'',img_2402:'',img_2403:'',img_2404:'',img_2405:'',img_2406:'',img_2407:'',img_2408:'',img_2409:'',img_2410:'',img_2411:'',img_2412:'',img_2413:'',img_2414:'',img_2415:'',img_2416:'',img_2417:'',img_2418:'',img_2419:'',img_2420:'',img_2421:''}, 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); })();