World

The Message God Has for You During Anxious Times

On July 27, 1971, Noël and I boarded a 707 to fly from New York to Munich, Germany. We believed God opened the door for us to go study at the University of Munich. I was 25 years old, had just graduated from Fuller Seminary the month before. God had turned my life around in seminary so that I was eager for studies not for their own sake but for Christ and his church.

I had written in my journal on July 12:

“My desire is to throw myself into the church and be employed by the Lord to do what he would in this day and through me. I am not alienated from her. I am in love with her. I want to teach in her and be taught in her. I want to be a channel of life for her and receive life through her. I want now to be about my studies in preparation, and I thank God for these times at home to see some needs — in the church and in myself. My how imperfect and weak I feel at home because I am not as loving as I ought to be. I am a long way off from holiness realized.”

The Promise of Isaiah 41:10

Now with that sense of desire to serve the church and that sense of weakness and imperfection I was in New York, 15 days later, ready to leave for Munich for three years. My father couldn’t be there to see us off because he was doing the work of an evangelist in another state. My mother and grandmother were there.

TRENDING: Watch: Rosenstein Cops Attitude During Testimony, So Gowdy Smokes Him

To give a sense of realism here, let me read from my journal entry two days later.

“We picked up mother and MaMohn and headed for New York. At about 2 pm we found Cargo Hanger 67 at Kennedy Airport where we unloaded our 400 pounds of extra luggage and paid $253 to have it shipped on our own flight. Then we went into Manhattan to see the town, and decided it would be preferable to sit in Radio City Music Hall than fight that crazy traffic and heat. From Radio City we called Daddy long distance to say goodbye. I felt so frustrated to make our goodbye appropriate. I came closer to crying there than when I left Mother and MaMohn at Pan Am. He gave me three passages to read: Isaiah 41:10Isaiah 50:72 Timothy 4:1–5. Noël and I read these together before going to bed tonight. My how I love Daddy. I think every time I am thrown into a new situation where I may be afraid or alone my mind turns to the kind of life Daddy has been called to live for almost 30 years. I love him for following through in that call. Oh how I pray that I will have the faith and confidence he has in our Lord for trying times.”

For three years in Germany, Isaiah 41:10 was on my lips and in my heart during anxious times more than any other verse. In fact, it became so instinctive to say it that today when my mind is neutral the spinning of the gears is in Isaiah 41:10.

I can remember riding my old-fashioned, secondhand, balloon-tire bike on the bumpy, cobblestone back streets of Munich along the Isar River on the way to a class where I might have to use my German in front of the other students, and saying over and over again to myself, “Fuerchte dich nicht, denn ich bin mit dir; shau dich nicht aenchstlich um, ich bin ja dein Gott. Ich staerke dich, ich helfe dir, ich stuetze dich mit der rechten hand meiner Gerechtigkeit.” And seeing God again and again and again come through for me.

Does this verse comfort you?

Passing the Promise to My Own Sons

And now I am a father with sons. And I rejoice that I can do for them what my father did for me. So last Wednesday evening just before Benjamin left for boot camp in Fort Jackson, South Carolina, we all sat down in the living room and I said, “There is a special verse I want to send with you, because my father sent it with me. It served me well and it will serve you well. ‘Fear not for I am with you. Be not dismayed for I am your God. I will strengthen you, I will help you, I will uphold you with my righteous right hand.’”

It’s the verse that God has used in my life more than any other to help me through times of stress and fear.

Two Commands Supported by Five Reasons

Let’s look at the verse, Isaiah 41:10, and then see how the preceding verses intensify the point of the verse. There are two commands in the verse not to fear and five pillars of fearlessness. “Fear not” is the first command at the beginning of the verse. And then the second is “do not anxiously look about you” (RSV: “do not be dismayed”).

RELATED: If You Die Tonight, Do You Know You’ll Go to Heaven?

As always in the Bible, there are reasons for the commands. Commands don’t hang in the air with no basis in reality. If God commands us to do something, there are good reasons to do it. And power comes from understanding and believing those reasons.

Five Pillars of Fearlessness

Here are the five reasons:

“For I am with you” — “Do not fear, for I am with you.”
“I am your God” — “Do not look anxiously about you, for I am your God.”
“I will strengthen you.”
“Surely I will help you.”
“Surely I will uphold you with my righteous right hand.”

Restated, the five pillars of fearlessness are:

God is with me;
God is my God;
God will strengthen me;
God will help me;
God will uphold me.

When God calls you to be free from fear as you do evangelism, as you take a test, as you face an interview, as you take a stand against an unjust business practice, as you confront someone with sin in their life, when you leave a secure position and take a risk in a new venture, when you face an operation or a treatment, when you lose a spouse or a friend — when God calls you to be free from fear (to overcome this natural emotion and have peace), he does not leave the command hanging in the air. He puts pillars under it. Five of them. That’s the nature of all biblical commands. They come with divine support.

Fear not, God is with you;
Fear not, God is your God;
Fear not, God will strengthen you;
Fear not, God will help you;
Fear not, God will uphold you.

The Key to Overcoming Fear

The key to overcoming fear is resting on the pillars of the promises of God. We’ll come back to these pillars in a moment. Look with me for a minute at the verses leading up to verse 10 to see how they intensify these promises and strengthen these pillars.

If the key to fearlessness is believing that God is your God and is with you and will strengthen you and help you and uphold you, then knowing the greatness of this God will intensify your faith and your fearlessness.

 is founder and teacher of desiringGod.org and chancellor of Bethlehem College and Seminary. For 33 years, he served as pastor of Bethlehem Baptist Church in Minneapolis. He is author of more than 50 books, including “Desiring God: Meditations of a Christian Hedonist” and most recently “Expository Exultation: Christian Preaching as Worship.”

A longer version of this article was published on desiringGod.org under the headline “Fear Not, I Am with You, I Am Your God.”

Facebook has greatly reduced the distribution of our stories in our readers’ newsfeeds and is instead promoting mainstream media sources. When you share to your friends, however, you greatly help distribute our content. Please take a moment and consider sharing this article with your friends and family. Thank you.

rn

"],"ampforwp_custom_content_editor_checkbox":[""],"_firefly_ad_dfp_account_id":[""],"_schema_ref":["494877"],"_firefly_ac1_size_mappings_-_screen_width_0":["944"],"_firefly_ac1_size_mappings_-_screen_width_1":["340"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_width_0":["336"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_height_0":["280"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_width_1":["300"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_height_1":["250"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_width_2":["320"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_height_2":["100"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_width_3":["320"],"_firefly_ac1_size_mappings_-_creative_sizes_1_-_height_3":["50"],"_firefly_ac1_size_mappings_-_screen_width_2":["1"],"_firefly_ac1_size_mappings_-_creative_sizes_2_-_width_0":["300"],"_firefly_ac1_size_mappings_-_creative_sizes_2_-_height_0":["250"],"_firefly_ac1_size_mappings_-_creative_sizes_2_-_width_1":["320"],"_firefly_ac1_size_mappings_-_creative_sizes_2_-_height_1":["100"],"_firefly_ac1_size_mappings_-_creative_sizes_2_-_width_2":["320"],"_firefly_ac1_size_mappings_-_creative_sizes_2_-_height_2":["50"],"_firefly_ac1_bidders_-_name_0":["indexExchange"],"_firefly_ac1_bidders_-_device_category_0":["mobile"],"_firefly_ac1_bidders_-_indexexchange_id_0":["5"],"_firefly_ac1_bidders_-_indexexchange_siteid_0":["193597"],"_firefly_ac1_bidders_-_audiencenetwork_placementid_0":[""],"_firefly_ac1_bidders_-_audiencenetwork_format_0":[""],"_firefly_ac1_bidders_-_sovrn_tagid_0":[""],"_firefly_ac1_bidders_-_appnexus_placementid_0":[""],"_firefly_ac1_bidders_-_onedisplay_placement_0":[""],"_firefly_ac1_bidders_-_onedisplay_network_0":[""],"_firefly_ac1_bidders_-_onedisplay_bidfloor_0":[""],"_firefly_ac1_bidders_-_adsparc_siteid_0":[""],"_firefly_ac1_bidders_-_adsparc_networkid_0":[""],"_firefly_ac1_bidders_-_onemobile_dcn_0":[""],"_firefly_ac1_bidders_-_onemobile_pos_0":[""],"_firefly_ac1_bidders_-_rubicon_accountid_0":[""],"_firefly_ac1_bidders_-_rubicon_siteid_0":[""],"_firefly_ac1_bidders_-_rubicon_zoneid_0":[""],"_firefly_ac1_bidders_-_criteo_zoneid_0":[""],"_firefly_ac1_bidders_-_rhythmone_placementid_0":[""],"_yoast_wpseo_focuskeywords":["[]"],"_firefly_ad_use_fixed_containers":["yes"],"_yst_prominent_words_version":["1"],"_firefly_top_size_mappings_-_screen_width_0":["800"],"_firefly_top_size_mappings_-_screen_width_1":["468"],"_firefly_top_size_mappings_-_creative_sizes_1_-_width_0":["336"],"_firefly_top_size_mappings_-_creative_sizes_1_-_height_0":["280"],"_firefly_top_size_mappings_-_creative_sizes_1_-_width_1":["300"],"_firefly_top_size_mappings_-_creative_sizes_1_-_height_1":["250"],"_firefly_top_size_mappings_-_creative_sizes_1_-_width_2":["320"],"_firefly_top_size_mappings_-_creative_sizes_1_-_height_2":["100"],"_firefly_top_size_mappings_-_creative_sizes_1_-_width_3":["320"],"_firefly_top_size_mappings_-_creative_sizes_1_-_height_3":["50"],"_firefly_top_size_mappings_-_creative_sizes_1_-_width_4":["468"],"_firefly_top_size_mappings_-_creative_sizes_1_-_height_4":["60"],"_firefly_top_size_mappings_-_screen_width_2":["336"],"_firefly_top_size_mappings_-_creative_sizes_2_-_width_0":["336"],"_firefly_top_size_mappings_-_creative_sizes_2_-_height_0":["280"],"_firefly_top_size_mappings_-_creative_sizes_2_-_width_1":["300"],"_firefly_top_size_mappings_-_creative_sizes_2_-_height_1":["250"],"_firefly_top_size_mappings_-_creative_sizes_2_-_width_2":["320"],"_firefly_top_size_mappings_-_creative_sizes_2_-_height_2":["100"],"_firefly_top_size_mappings_-_creative_sizes_2_-_width_3":["320"],"_firefly_top_size_mappings_-_creative_sizes_2_-_height_3":["50"],"_firefly_top_size_mappings_-_screen_width_3":["1"],"_firefly_top_size_mappings_-_creative_sizes_3_-_width_0":["300"],"_firefly_top_size_mappings_-_creative_sizes_3_-_height_0":["250"],"_firefly_top_size_mappings_-_creative_sizes_3_-_width_1":["320"],"_firefly_top_size_mappings_-_creative_sizes_3_-_height_1":["100"],"_firefly_top_size_mappings_-_creative_sizes_3_-_width_2":["320"],"_firefly_top_size_mappings_-_creative_sizes_3_-_height_2":["50"],"_firefly_top_bidders_-_name_0":["indexExchange"],"_firefly_top_bidders_-_device_category_0":["mobile"],"_firefly_top_bidders_-_indexexchange_id_0":["1"],"_firefly_top_bidders_-_indexexchange_siteid_0":["193593"],"_firefly_top_bidders_-_audiencenetwork_placementid_0":[null],"_firefly_top_bidders_-_audiencenetwork_format_0":[null],"_firefly_top_bidders_-_sovrn_tagid_0":[null],"_firefly_top_bidders_-_appnexus_placementid_0":[null],"_firefly_top_bidders_-_onedisplay_placement_0":[null],"_firefly_top_bidders_-_onedisplay_network_0":[null],"_firefly_top_bidders_-_onedisplay_bidfloor_0":[null],"_firefly_top_bidders_-_onemobile_dcn_0":[null],"_firefly_top_bidders_-_onemobile_pos_0":[null],"_firefly_top_bidders_-_rubicon_accountid_0":[null],"_firefly_top_bidders_-_rubicon_siteid_0":[null],"_firefly_top_bidders_-_rubicon_zoneid_0":[null],"_firefly_top_bidders_-_criteo_zoneid_0":[null],"_firefly_top_bidders_-_rhythmone_placementid_0":[null],"_firefly_top_bidders_-_justpremium_zone_0":[null],"_firefly_top_bidders_-_name_1":["audienceNetwork"],"_firefly_top_bidders_-_device_category_1":["mobile"],"_firefly_top_bidders_-_indexexchange_id_1":[null],"_firefly_top_bidders_-_indexexchange_siteid_1":[null],"_firefly_top_bidders_-_audiencenetwork_placementid_1":["1521975967886043_1695386880544950"],"_firefly_top_bidders_-_audiencenetwork_format_1":["fullwidth"],"_firefly_top_bidders_-_sovrn_tagid_1":[null],"_firefly_top_bidders_-_appnexus_placementid_1":[null],"_firefly_top_bidders_-_onedisplay_placement_1":[null],"_firefly_top_bidders_-_onedisplay_network_1":[null],"_firefly_top_bidders_-_onedisplay_bidfloor_1":[null],"_firefly_top_bidders_-_onemobile_dcn_1":[null],"_firefly_top_bidders_-_onemobile_pos_1":[null],"_firefly_top_bidders_-_rubicon_accountid_1":[null],"_firefly_top_bidders_-_rubicon_siteid_1":[null],"_firefly_top_bidders_-_rubicon_zoneid_1":[null],"_firefly_top_bidders_-_criteo_zoneid_1":[null],"_firefly_top_bidders_-_rhythmone_placementid_1":[null],"_firefly_top_bidders_-_justpremium_zone_1":[null],"_firefly_top_bidders_-_name_2":["appnexus"],"_firefly_top_bidders_-_device_category_2":["mobile"],"_firefly_top_bidders_-_indexexchange_id_2":[null],"_firefly_top_bidders_-_indexexchange_siteid_2":[null],"_firefly_top_bidders_-_audiencenetwork_placementid_2":[null],"_firefly_top_bidders_-_audiencenetwork_format_2":[null],"_firefly_top_bidders_-_sovrn_tagid_2":[null],"_firefly_top_bidders_-_appnexus_placementid_2":["13527790"],"_firefly_top_bidders_-_onedisplay_placement_2":[null],"_firefly_top_bidders_-_onedisplay_network_2":[null],"_firefly_top_bidders_-_onedisplay_bidfloor_2":[null],"_firefly_top_bidders_-_onemobile_dcn_2":[null],"_firefly_top_bidders_-_onemobile_pos_2":[null],"_firefly_top_bidders_-_rubicon_accountid_2":[null],"_firefly_top_bidders_-_rubicon_siteid_2":[null],"_firefly_top_bidders_-_rubicon_zoneid_2":[null],"_firefly_top_bidders_-_criteo_zoneid_2":[null],"_firefly_top_bidders_-_rhythmone_placementid_2":[null],"_firefly_top_bidders_-_justpremium_zone_2":[null],"_firefly_ic1_size_mappings_-_screen_width_0":["728"],"_firefly_ic1_size_mappings_-_screen_width_1":["1"],"_firefly_ic1_size_mappings_-_creative_sizes_1_-_width_0":["300"],"_firefly_ic1_size_mappings_-_creative_sizes_1_-_height_0":["250"],"_firefly_ic1_bidders_-_name_0":["indexExchange"],"_firefly_ic1_bidders_-_device_category_0":["mobile"],"_firefly_ic1_bidders_-_indexexchange_id_0":["2"],"_firefly_ic1_bidders_-_indexexchange_siteid_0":["193594"],"_firefly_ic1_bidders_-_audiencenetwork_placementid_0":[null],"_firefly_ic1_bidders_-_audiencenetwork_format_0":[null],"_firefly_ic1_bidders_-_sovrn_tagid_0":[null],"_firefly_ic1_bidders_-_appnexus_placementid_0":[null],"_firefly_ic1_bidders_-_onedisplay_placement_0":[null],"_firefly_ic1_bidders_-_onedisplay_network_0":[null],"_firefly_ic1_bidders_-_onedisplay_bidfloor_0":[null],"_firefly_ic1_bidders_-_onemobile_dcn_0":[null],"_firefly_ic1_bidders_-_onemobile_pos_0":[null],"_firefly_ic1_bidders_-_rubicon_accountid_0":[null],"_firefly_ic1_bidders_-_rubicon_siteid_0":[null],"_firefly_ic1_bidders_-_rubicon_zoneid_0":[null],"_firefly_ic1_bidders_-_criteo_zoneid_0":[null],"_firefly_ic1_bidders_-_rhythmone_placementid_0":[null],"_firefly_ic1_bidders_-_justpremium_zone_0":[null],"_firefly_ic1_bidders_-_name_1":["audienceNetwork"],"_firefly_ic1_bidders_-_device_category_1":["mobile"],"_firefly_ic1_bidders_-_indexexchange_id_1":[null],"_firefly_ic1_bidders_-_indexexchange_siteid_1":[null],"_firefly_ic1_bidders_-_audiencenetwork_placementid_1":["1521975967886043_1695358527214452"],"_firefly_ic1_bidders_-_audiencenetwork_format_1":["fullwidth"],"_firefly_ic1_bidders_-_sovrn_tagid_1":[null],"_firefly_ic1_bidders_-_appnexus_placementid_1":[null],"_firefly_ic1_bidders_-_onedisplay_placement_1":[null],"_firefly_ic1_bidders_-_onedisplay_network_1":[null],"_firefly_ic1_bidders_-_onedisplay_bidfloor_1":[null],"_firefly_ic1_bidders_-_onemobile_dcn_1":[null],"_firefly_ic1_bidders_-_onemobile_pos_1":[null],"_firefly_ic1_bidders_-_rubicon_accountid_1":[null],"_firefly_ic1_bidders_-_rubicon_siteid_1":[null],"_firefly_ic1_bidders_-_rubicon_zoneid_1":[null],"_firefly_ic1_bidders_-_criteo_zoneid_1":[null],"_firefly_ic1_bidders_-_rhythmone_placementid_1":[null],"_firefly_ic1_bidders_-_justpremium_zone_1":[null],"_firefly_ic1_bidders_-_name_2":["appnexus"],"_firefly_ic1_bidders_-_device_category_2":["mobile"],"_firefly_ic1_bidders_-_indexexchange_id_2":[null],"_firefly_ic1_bidders_-_indexexchange_siteid_2":[null],"_firefly_ic1_bidders_-_audiencenetwork_placementid_2":[null],"_firefly_ic1_bidders_-_audiencenetwork_format_2":[null],"_firefly_ic1_bidders_-_sovrn_tagid_2":[null],"_firefly_ic1_bidders_-_appnexus_placementid_2":["13527801"],"_firefly_ic1_bidders_-_onedisplay_placement_2":[null],"_firefly_ic1_bidders_-_onedisplay_network_2":[null],"_firefly_ic1_bidders_-_onedisplay_bidfloor_2":[null],"_firefly_ic1_bidders_-_onemobile_dcn_2":[null],"_firefly_ic1_bidders_-_onemobile_pos_2":[null],"_firefly_ic1_bidders_-_rubicon_accountid_2":[null],"_firefly_ic1_bidders_-_rubicon_siteid_2":[null],"_firefly_ic1_bidders_-_rubicon_zoneid_2":[null],"_firefly_ic1_bidders_-_criteo_zoneid_2":[null],"_firefly_ic1_bidders_-_rhythmone_placementid_2":[null],"_firefly_ic1_bidders_-_justpremium_zone_2":[null],"_firefly_ic2_size_mappings_-_screen_width_0":["728"],"_firefly_ic2_size_mappings_-_screen_width_1":["1"],"_firefly_ic2_size_mappings_-_creative_sizes_1_-_width_0":["300"],"_firefly_ic2_size_mappings_-_creative_sizes_1_-_height_0":["250"],"_firefly_ic2_bidders_-_name_0":["indexExchange"],"_firefly_ic2_bidders_-_device_category_0":["mobile"],"_firefly_ic2_bidders_-_indexexchange_id_0":["2"],"_firefly_ic2_bidders_-_indexexchange_siteid_0":["193594"],"_firefly_ic2_bidders_-_audiencenetwork_placementid_0":[null],"_firefly_ic2_bidders_-_audiencenetwork_format_0":[null],"_firefly_ic2_bidders_-_sovrn_tagid_0":[null],"_firefly_ic2_bidders_-_appnexus_placementid_0":[null],"_firefly_ic2_bidders_-_onedisplay_placement_0":[null],"_firefly_ic2_bidders_-_onedisplay_network_0":[null],"_firefly_ic2_bidders_-_onedisplay_bidfloor_0":[null],"_firefly_ic2_bidders_-_onemobile_dcn_0":[null],"_firefly_ic2_bidders_-_onemobile_pos_0":[null],"_firefly_ic2_bidders_-_rubicon_accountid_0":[null],"_firefly_ic2_bidders_-_rubicon_siteid_0":[null],"_firefly_ic2_bidders_-_rubicon_zoneid_0":[null],"_firefly_ic2_bidders_-_criteo_zoneid_0":[null],"_firefly_ic2_bidders_-_rhythmone_placementid_0":[null],"_firefly_ic2_bidders_-_justpremium_zone_0":[null],"_firefly_ic2_bidders_-_name_1":["appnexus"],"_firefly_ic2_bidders_-_device_category_1":["mobile"],"_firefly_ic2_bidders_-_indexexchange_id_1":[null],"_firefly_ic2_bidders_-_indexexchange_siteid_1":[null],"_firefly_ic2_bidders_-_audiencenetwork_placementid_1":[null],"_firefly_ic2_bidders_-_audiencenetwork_format_1":[null],"_firefly_ic2_bidders_-_sovrn_tagid_1":[null],"_firefly_ic2_bidders_-_appnexus_placementid_1":["13527809"],"_firefly_ic2_bidders_-_onedisplay_placement_1":[null],"_firefly_ic2_bidders_-_onedisplay_network_1":[null],"_firefly_ic2_bidders_-_onedisplay_bidfloor_1":[null],"_firefly_ic2_bidders_-_onemobile_dcn_1":[null],"_firefly_ic2_bidders_-_onemobile_pos_1":[null],"_firefly_ic2_bidders_-_rubicon_accountid_1":[null],"_firefly_ic2_bidders_-_rubicon_siteid_1":[null],"_firefly_ic2_bidders_-_rubicon_zoneid_1":[null],"_firefly_ic2_bidders_-_criteo_zoneid_1":[null],"_firefly_ic2_bidders_-_rhythmone_placementid_1":[null],"_firefly_ic2_bidders_-_justpremium_zone_1":[null],"_firefly_ic3_size_mappings_-_screen_width_0":["728"],"_firefly_ic3_size_mappings_-_screen_width_1":["1"],"_firefly_ic3_size_mappings_-_creative_sizes_1_-_width_0":["300"],"_firefly_ic3_size_mappings_-_creative_sizes_1_-_height_0":["250"],"_firefly_ic3_bidders_-_name_0":["indexExchange"],"_firefly_ic3_bidders_-_device_category_0":["mobile"],"_firefly_ic3_bidders_-_indexexchange_id_0":["3"],"_firefly_ic3_bidders_-_indexexchange_siteid_0":["193595"],"_firefly_ic3_bidders_-_audiencenetwork_placementid_0":[null],"_firefly_ic3_bidders_-_audiencenetwork_format_0":[null],"_firefly_ic3_bidders_-_sovrn_tagid_0":[null],"_firefly_ic3_bidders_-_appnexus_placementid_0":[null],"_firefly_ic3_bidders_-_onedisplay_placement_0":[null],"_firefly_ic3_bidders_-_onedisplay_network_0":[null],"_firefly_ic3_bidders_-_onedisplay_bidfloor_0":[null],"_firefly_ic3_bidders_-_onemobile_dcn_0":[null],"_firefly_ic3_bidders_-_onemobile_pos_0":[null],"_firefly_ic3_bidders_-_rubicon_accountid_0":[null],"_firefly_ic3_bidders_-_rubicon_siteid_0":[null],"_firefly_ic3_bidders_-_rubicon_zoneid_0":[null],"_firefly_ic3_bidders_-_criteo_zoneid_0":[null],"_firefly_ic3_bidders_-_rhythmone_placementid_0":[null],"_firefly_ic3_bidders_-_justpremium_zone_0":[null],"_firefly_ic3_bidders_-_name_1":["audienceNetwork"],"_firefly_ic3_bidders_-_device_category_1":["mobile"],"_firefly_ic3_bidders_-_indexexchange_id_1":[null],"_firefly_ic3_bidders_-_indexexchange_siteid_1":[null],"_firefly_ic3_bidders_-_audiencenetwork_placementid_1":["1521975967886043_1695385700545068"],"_firefly_ic3_bidders_-_audiencenetwork_format_1":["fullwidth"],"_firefly_ic3_bidders_-_sovrn_tagid_1":[null],"_firefly_ic3_bidders_-_appnexus_placementid_1":[null],"_firefly_ic3_bidders_-_onedisplay_placement_1":[null],"_firefly_ic3_bidders_-_onedisplay_network_1":[null],"_firefly_ic3_bidders_-_onedisplay_bidfloor_1":[null],"_firefly_ic3_bidders_-_onemobile_dcn_1":[null],"_firefly_ic3_bidders_-_onemobile_pos_1":[null],"_firefly_ic3_bidders_-_rubicon_accountid_1":[null],"_firefly_ic3_bidders_-_rubicon_siteid_1":[null],"_firefly_ic3_bidders_-_rubicon_zoneid_1":[null],"_firefly_ic3_bidders_-_criteo_zoneid_1":[null],"_firefly_ic3_bidders_-_rhythmone_placementid_1":[null],"_firefly_ic3_bidders_-_justpremium_zone_1":[null],"_firefly_ic3_bidders_-_name_2":["appnexus"],"_firefly_ic3_bidders_-_device_category_2":["mobile"],"_firefly_ic3_bidders_-_indexexchange_id_2":[null],"_firefly_ic3_bidders_-_indexexchange_siteid_2":[null],"_firefly_ic3_bidders_-_audiencenetwork_placementid_2":[null],"_firefly_ic3_bidders_-_audiencenetwork_format_2":[null],"_firefly_ic3_bidders_-_sovrn_tagid_2":[null],"_firefly_ic3_bidders_-_appnexus_placementid_2":["13527811"],"_firefly_ic3_bidders_-_onedisplay_placement_2":[null],"_firefly_ic3_bidders_-_onedisplay_network_2":[null],"_firefly_ic3_bidders_-_onedisplay_bidfloor_2":[null],"_firefly_ic3_bidders_-_onemobile_dcn_2":[null],"_firefly_ic3_bidders_-_onemobile_pos_2":[null],"_firefly_ic3_bidders_-_rubicon_accountid_2":[null],"_firefly_ic3_bidders_-_rubicon_siteid_2":[null],"_firefly_ic3_bidders_-_rubicon_zoneid_2":[null],"_firefly_ic3_bidders_-_criteo_zoneid_2":[null],"_firefly_ic3_bidders_-_rhythmone_placementid_2":[null],"_firefly_ic3_bidders_-_justpremium_zone_2":[null],"_firefly_ic4_size_mappings_-_screen_width_0":["728"],"_firefly_ic4_size_mappings_-_screen_width_1":["1"],"_firefly_ic4_size_mappings_-_creative_sizes_1_-_width_0":["300"],"_firefly_ic4_size_mappings_-_creative_sizes_1_-_height_0":["250"],"_firefly_ic4_bidders_-_name_0":["appnexus"],"_firefly_ic4_bidders_-_device_category_0":["mobile"],"_firefly_ic4_bidders_-_indexexchange_id_0":[null],"_firefly_ic4_bidders_-_indexexchange_siteid_0":[null],"_firefly_ic4_bidders_-_audiencenetwork_placementid_0":[null],"_firefly_ic4_bidders_-_audiencenetwork_format_0":[null],"_firefly_ic4_bidders_-_sovrn_tagid_0":[null],"_firefly_ic4_bidders_-_appnexus_placementid_0":["13527813"],"_firefly_ic4_bidders_-_onedisplay_placement_0":[null],"_firefly_ic4_bidders_-_onedisplay_network_0":[null],"_firefly_ic4_bidders_-_onedisplay_bidfloor_0":[null],"_firefly_ic4_bidders_-_onemobile_dcn_0":[null],"_firefly_ic4_bidders_-_onemobile_pos_0":[null],"_firefly_ic4_bidders_-_rubicon_accountid_0":[null],"_firefly_ic4_bidders_-_rubicon_siteid_0":[null],"_firefly_ic4_bidders_-_rubicon_zoneid_0":[null],"_firefly_ic4_bidders_-_criteo_zoneid_0":[null],"_firefly_ic4_bidders_-_rhythmone_placementid_0":[null],"_firefly_ic4_bidders_-_justpremium_zone_0":[null],"_firefly_hp1_size_mappings_-_screen_width_0":["1280"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_width_0":["728"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_height_0":["90"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_width_1":["468"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_height_1":["60"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_width_2":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_height_2":["100"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_width_3":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_0_-_height_3":["50"],"_firefly_hp1_size_mappings_-_screen_width_1":["500"],"_firefly_hp1_size_mappings_-_creative_sizes_1_-_width_0":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_1_-_height_0":["100"],"_firefly_hp1_size_mappings_-_creative_sizes_1_-_width_1":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_1_-_height_1":["50"],"_firefly_hp1_size_mappings_-_creative_sizes_1_-_width_2":["468"],"_firefly_hp1_size_mappings_-_creative_sizes_1_-_height_2":["60"],"_firefly_hp1_size_mappings_-_screen_width_2":["350"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_width_0":["336"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_height_0":["280"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_width_1":["300"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_height_1":["250"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_width_2":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_height_2":["100"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_width_3":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_2_-_height_3":["50"],"_firefly_hp1_size_mappings_-_screen_width_3":["1"],"_firefly_hp1_size_mappings_-_creative_sizes_3_-_width_0":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_3_-_height_0":["100"],"_firefly_hp1_size_mappings_-_creative_sizes_3_-_width_1":["320"],"_firefly_hp1_size_mappings_-_creative_sizes_3_-_height_1":["50"],"_firefly_hp1_size_mappings_-_creative_sizes_3_-_width_2":["300"],"_firefly_hp1_size_mappings_-_creative_sizes_3_-_height_2":["250"],"_firefly_sb2_size_mappings_-_screen_width_0":["944"],"_firefly_sb2_size_mappings_-_creative_sizes_0_-_width_0":["300"],"_firefly_sb2_size_mappings_-_creative_sizes_0_-_height_0":["600"],"_firefly_sb2_size_mappings_-_creative_sizes_0_-_width_1":["300"],"_firefly_sb2_size_mappings_-_creative_sizes_0_-_height_1":["250"],"_firefly_sb2_size_mappings_-_creative_sizes_0_-_width_2":["300"],"_firefly_sb2_size_mappings_-_creative_sizes_0_-_height_2":["870"],"_firefly_sb2_size_mappings_-_screen_width_1":["1"],"_firefly_sb2_bidders_-_name_0":["indexExchange"],"_firefly_sb2_bidders_-_device_category_0":["desktop"],"_firefly_sb2_bidders_-_indexexchange_id_0":["6"],"_firefly_sb2_bidders_-_indexexchange_siteid_0":["193598"],"_firefly_sb2_bidders_-_audiencenetwork_placementid_0":[null],"_firefly_sb2_bidders_-_audiencenetwork_format_0":[null],"_firefly_sb2_bidders_-_sovrn_tagid_0":[null],"_firefly_sb2_bidders_-_appnexus_placementid_0":[null],"_firefly_sb2_bidders_-_onedisplay_placement_0":[null],"_firefly_sb2_bidders_-_onedisplay_network_0":[null],"_firefly_sb2_bidders_-_onedisplay_bidfloor_0":[null],"_firefly_sb2_bidders_-_onemobile_dcn_0":[null],"_firefly_sb2_bidders_-_onemobile_pos_0":[null],"_firefly_sb2_bidders_-_rubicon_accountid_0":[null],"_firefly_sb2_bidders_-_rubicon_siteid_0":[null],"_firefly_sb2_bidders_-_rubicon_zoneid_0":[null],"_firefly_sb2_bidders_-_criteo_zoneid_0":[null],"_firefly_sb2_bidders_-_rhythmone_placementid_0":[null],"_firefly_sb2_bidders_-_justpremium_zone_0":[null],"_firefly_sb2_bidders_-_name_1":["appnexus"],"_firefly_sb2_bidders_-_device_category_1":["desktop"],"_firefly_sb2_bidders_-_indexexchange_id_1":[null],"_firefly_sb2_bidders_-_indexexchange_siteid_1":[null],"_firefly_sb2_bidders_-_audiencenetwork_placementid_1":[null],"_firefly_sb2_bidders_-_audiencenetwork_format_1":[null],"_firefly_sb2_bidders_-_sovrn_tagid_1":[null],"_firefly_sb2_bidders_-_appnexus_placementid_1":["13527815"],"_firefly_sb2_bidders_-_onedisplay_placement_1":[null],"_firefly_sb2_bidders_-_onedisplay_network_1":[null],"_firefly_sb2_bidders_-_onedisplay_bidfloor_1":[null],"_firefly_sb2_bidders_-_onemobile_dcn_1":[null],"_firefly_sb2_bidders_-_onemobile_pos_1":[null],"_firefly_sb2_bidders_-_rubicon_accountid_1":[null],"_firefly_sb2_bidders_-_rubicon_siteid_1":[null],"_firefly_sb2_bidders_-_rubicon_zoneid_1":[null],"_firefly_sb2_bidders_-_criteo_zoneid_1":[null],"_firefly_sb2_bidders_-_rhythmone_placementid_1":[null],"_firefly_sb2_bidders_-_justpremium_zone_1":[null],"_firefly_sb4_size_mappings_-_screen_width_0":["944"],"_firefly_sb4_size_mappings_-_creative_sizes_0_-_width_0":["300"],"_firefly_sb4_size_mappings_-_creative_sizes_0_-_height_0":["250"],"_firefly_sb4_size_mappings_-_screen_width_1":["1"],"_firefly_sb4_bidders_-_name_0":["indexExchange"],"_firefly_sb4_bidders_-_device_category_0":["desktop"],"_firefly_sb4_bidders_-_indexexchange_id_0":["7"],"_firefly_sb4_bidders_-_indexexchange_siteid_0":["193599"],"_firefly_sb4_bidders_-_audiencenetwork_placementid_0":[null],"_firefly_sb4_bidders_-_audiencenetwork_format_0":[null],"_firefly_sb4_bidders_-_sovrn_tagid_0":[null],"_firefly_sb4_bidders_-_appnexus_placementid_0":[null],"_firefly_sb4_bidders_-_onedisplay_placement_0":[null],"_firefly_sb4_bidders_-_onedisplay_network_0":[null],"_firefly_sb4_bidders_-_onedisplay_bidfloor_0":[null],"_firefly_sb4_bidders_-_onemobile_dcn_0":[null],"_firefly_sb4_bidders_-_onemobile_pos_0":[null],"_firefly_sb4_bidders_-_rubicon_accountid_0":[null],"_firefly_sb4_bidders_-_rubicon_siteid_0":[null],"_firefly_sb4_bidders_-_rubicon_zoneid_0":[null],"_firefly_sb4_bidders_-_criteo_zoneid_0":[null],"_firefly_sb4_bidders_-_rhythmone_placementid_0":[null],"_firefly_sb4_bidders_-_justpremium_zone_0":[null],"_firefly_sb4_bidders_-_name_1":["appnexus"],"_firefly_sb4_bidders_-_device_category_1":["desktop"],"_firefly_sb4_bidders_-_indexexchange_id_1":[null],"_firefly_sb4_bidders_-_indexexchange_siteid_1":[null],"_firefly_sb4_bidders_-_audiencenetwork_placementid_1":[null],"_firefly_sb4_bidders_-_audiencenetwork_format_1":[null],"_firefly_sb4_bidders_-_sovrn_tagid_1":[null],"_firefly_sb4_bidders_-_appnexus_placementid_1":["13527817"],"_firefly_sb4_bidders_-_onedisplay_placement_1":[null],"_firefly_sb4_bidders_-_onedisplay_network_1":[null],"_firefly_sb4_bidders_-_onedisplay_bidfloor_1":[null],"_firefly_sb4_bidders_-_onemobile_dcn_1":[null],"_firefly_sb4_bidders_-_onemobile_pos_1":[null],"_firefly_sb4_bidders_-_rubicon_accountid_1":[null],"_firefly_sb4_bidders_-_rubicon_siteid_1":[null],"_firefly_sb4_bidders_-_rubicon_zoneid_1":[null],"_firefly_sb4_bidders_-_criteo_zoneid_1":[null],"_firefly_sb4_bidders_-_rhythmone_placementid_1":[null],"_firefly_sb4_bidders_-_justpremium_zone_1":[null],"_firefly_ba1_custom_ads_-_code_0":[""],"_firefly_ba1_custom_ads_-_rendering_script_0":["var ff_ad_unit_script = document.createElement('script');rnff_ad_unit_script.async = 'async';rnff_ad_unit_script.type = 'text/javascript';rnff_ad_unit_script.dataset.connatixToken = '9db2a771-ce49-4bdb-b386-7b7e745f82e1';rnff_ad_unit_script.src = 'https://cdn.connatix.com/min/connatix.renderer.infeed.min.js';rndocument.getElementById('BA1').appendChild(ff_ad_unit_script);rnff_ad_unit_script = document.createElement('script');rnff_ad_unit_script.async = 'async';rnff_ad_unit_script.type = 'text/javascript';rnff_ad_unit_script.dataset.connatixToken = '1b613826-8b08-4c15-b029-768195ae4b10';rnff_ad_unit_script.src = 'https://cdn.connatix.com/min/connatix.renderer.infeed.min.js';rndocument.getElementById('BA1').appendChild(ff_ad_unit_script);"]};
var ff_current_page = 1;
var FF_JW_IN_IC2 = false;
var FF_REP_COUNT = 2;
var FF_EXCLUDE_ADS = [];

function getParameterByName( name ) {
name = name.replace( /[[]]/g, "\$&" );
var regex = new RegExp( "[?&]" + name + "(=([^&#]*)|&|#|$)" ),
results = regex.exec( window.location.href );
if( ! results ) return null;
if( ! results[2] ) return '';
return decodeURIComponent( results[2].replace( /+/g, " " ) );
}
function firefly_setTargeting() {
googletag.pubads().setTargeting("Site", ["http://www.westernjournal.com/ct"]);
googletag.pubads().setTargeting("Tag", ["Christianity", "faith"]);
googletag.pubads().setTargeting("Category", ["Real World"]);

googletag.pubads().setTargeting("URL", "/ct/the-message-god-has-for-you-during-a");
googletag.pubads().setTargeting("GoogleCompliant", "true");

if( typeof FIREFLY_AIRTV_RAND != 'undefined' && FIREFLY_AIRTV_RAND < 0.2 ) googletag.pubads().setTargeting("AIRTV", "true"); ['campaign','content','medium','source'].forEach( function( utm ) { googletag.pubads().setTargeting( 'utm_' + utm, getParameterByName( 'utm_' + utm ) ); } ); } function firefly_size_list_to_max_wh( size_list ) { let max_wh = [0, 0]; for( let i = 0; i < size_list.length; i++ ) { if( size_list[i][0] > max_wh[0] ) max_wh[0] = size_list[i][0];
if( size_list[i][1] > max_wh[1] ) max_wh[1] = size_list[i][1];
}
return max_wh;
}

var ffad_BB1_sizes = FF_EXCLUDE_ADS.indexOf( 'BB1' ) != -1 ? [] : [];
var ffad_Top_sizes = FF_EXCLUDE_ADS.indexOf( 'Top' ) != -1 ? [] : window.innerWidth >= 800 ? [] : window.innerWidth >= 468 ? [[336, 280], [300, 250], [320, 100], [320, 50], [468, 60]] : window.innerWidth >= 336 ? [[336, 280], [300, 250], [320, 100], [320, 50]] : window.innerWidth >= 1 ? [[300, 250], [320, 100], [320, 50]] : [];
var ffad_IC1_sizes = FF_EXCLUDE_ADS.indexOf( 'IC1' ) != -1 ? [] : window.innerWidth >= 728 ? [] : window.innerWidth >= 1 ? [[300, 250]] : [];
var ffad_IC2_sizes = FF_EXCLUDE_ADS.indexOf( 'IC2' ) != -1 ? [] : FF_JW_IN_IC2 ? [] : window.innerWidth >= 728 ? [] : window.innerWidth >= 1 ? [[300, 250]] : [];
var ffad_IC3_sizes = FF_EXCLUDE_ADS.indexOf( 'IC3' ) != -1 ? [] : window.innerWidth >= 728 ? [] : window.innerWidth >= 1 ? [[300, 250]] : [];
var ffad_REP_sizes = FF_EXCLUDE_ADS.indexOf( 'IC4' ) != -1 ? [] : window.innerWidth >= 728 ? [] : window.innerWidth >= 1 ? [[300, 250]] : [];
var ffad_SB1_sizes = FF_EXCLUDE_ADS.indexOf( 'SB1' ) != -1 ? [] : [];
var ffad_SB2_sizes = FF_EXCLUDE_ADS.indexOf( 'SB2' ) != -1 ? [] : window.innerWidth >= 944 ? [[300, 600], [300, 250], [300, 870]] : window.innerWidth >= 1 ? [] : [];
var ffad_SB3_sizes = FF_EXCLUDE_ADS.indexOf( 'SB3' ) != -1 ? [] : [];
var ffad_SB4_sizes = FF_EXCLUDE_ADS.indexOf( 'SB4' ) != -1 ? [] : window.innerWidth >= 944 ? [[300, 250]] : window.innerWidth >= 1 ? [] : [];
var ffad_BA1_sizes = FF_EXCLUDE_ADS.indexOf( 'BA1' ) != -1 ? [] : [];
var ffad_BB1 = false, ffad_BB1_displayed = true, ffad_Top = false, ffad_Top_displayed = true, ffad_IC1 = false, ffad_IC1_displayed = true, ffad_IC2 = false, ffad_IC2_displayed = true, ffad_IC3 = false, ffad_IC3_displayed = false, ffad_IC4 = false, ffad_IC4_displayed = false, ffad_SB1 = false, ffad_SB1_displayed = true, ffad_SB2 = false, ffad_SB2_displayed = true, ffad_SB3 = false, ffad_SB3_displayed = true, ffad_SB4 = false, ffad_SB4_displayed = false, ffad_BA1 = false, ffad_BA1_displayed = false;
for( var i = 0; i <= FF_REP_COUNT; i++ ) { window['ffad_REP_' + i] = false; window['ffad_REP_' + i + '_displayed'] = false; } var PREBID_TIMEOUT = ( window.innerWidth > 943 ? 900 : 900 );
var firefly_ad_lazy_load_threshold = 400;
var firefly_pbjs_ready = false;
var firefly_a9_ready = false;

var adUnits = [].concat(

ffad_BB1_sizes.length ?
[
{
firefly_name: 'BB1',
code: 'BB1',
sizes: ffad_BB1_sizes,
bids: [].concat()
}
]
: [],

ffad_Top_sizes.length ?
[
{
firefly_name: 'Top',
code: 'Top',
sizes: ffad_Top_sizes,
bids: [].concat(
window.innerWidth < 944 ? [ { bidder: 'indexExchange', params: { id: '1', siteID: '193593' } } ] : [], window.innerWidth < 944 ? [ { bidder: 'audienceNetwork', params: { placementId: '1521975967886043_1695386880544950', format: 'fullwidth' } } ] : [], window.innerWidth < 944 ? [ { bidder: 'appnexus', params: { placementId: '13527790' } } ] : []) } ] : [], ffad_IC1_sizes.length ? [ { firefly_name: 'IC1', code: 'IC1', sizes: ffad_IC1_sizes, bids: [].concat( window.innerWidth < 944 ? [ { bidder: 'indexExchange', params: { id: '2', siteID: '193594' } } ] : [], window.innerWidth < 944 ? [ { bidder: 'audienceNetwork', params: { placementId: '1521975967886043_1695358527214452', format: 'fullwidth' } } ] : [], window.innerWidth < 944 ? [ { bidder: 'appnexus', params: { placementId: '13527801' } } ] : []) } ] : [], ffad_IC2_sizes.length ? [ { firefly_name: 'IC2', code: 'IC2', sizes: ffad_IC2_sizes, bids: [].concat( window.innerWidth < 944 ? [ { bidder: 'indexExchange', params: { id: '2', siteID: '193594' } } ] : [], window.innerWidth < 944 ? [ { bidder: 'appnexus', params: { placementId: '13527809' } } ] : []) } ] : [], ffad_IC3_sizes.length ? [ { firefly_name: 'IC3', code: 'IC3', sizes: ffad_IC3_sizes, bids: [].concat( window.innerWidth < 944 ? [ { bidder: 'indexExchange', params: { id: '3', siteID: '193595' } } ] : [], window.innerWidth < 944 ? [ { bidder: 'audienceNetwork', params: { placementId: '1521975967886043_1695385700545068', format: 'fullwidth' } } ] : [], window.innerWidth < 944 ? [ { bidder: 'appnexus', params: { placementId: '13527811' } } ] : []) } ] : [], ffad_REP_sizes.length ? [ { firefly_name: 'IC4', code: 'IC4', sizes: ffad_REP_sizes, bids: [].concat( window.innerWidth < 944 ? [ { bidder: 'appnexus', params: { placementId: '13527813' } } ] : []) } ] : [], ffad_SB1_sizes.length ? [ { firefly_name: 'SB1', code: 'SB1', sizes: ffad_SB1_sizes, bids: [].concat() } ] : [], ffad_SB2_sizes.length ? [ { firefly_name: 'SB2', code: 'SB2', sizes: ffad_SB2_sizes, bids: [].concat( window.innerWidth >= 944 ?
[
{
bidder: 'indexExchange',
params: {
id: '6',
siteID: '193598'
}
}
]
: [],
window.innerWidth >= 944 ?
[
{
bidder: 'appnexus',
params: {
placementId: '13527815'
}
}
]
: [])
}
]
: [],

ffad_SB3_sizes.length ?
[
{
firefly_name: 'SB3',
code: 'SB3',
sizes: ffad_SB3_sizes,
bids: [].concat()
}
]
: [],

ffad_SB4_sizes.length ?
[
{
firefly_name: 'SB4',
code: 'SB4',
sizes: ffad_SB4_sizes,
bids: [].concat(
window.innerWidth >= 944 ?
[
{
bidder: 'indexExchange',
params: {
id: '7',
siteID: '193599'
}
}
]
: [],
window.innerWidth >= 944 ?
[
{
bidder: 'appnexus',
params: {
placementId: '13527817'
}
}
]
: [])
}
]
: [],

ffad_BA1_sizes.length ?
[
{
firefly_name: 'BA1',
code: 'BA1',
sizes: ffad_BA1_sizes,
bids: [].concat()
}
]
: []
);

var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];

pbjs.bidderSettings = {
sovrn: {
alwaysUseBid: false,
adserverTargeting: [
{
key: "hb_bidder",
val: function(bidResponse) {
return bidResponse.bidder;
}
},
{
key: "hb_adid",
val: function(bidResponse) {
return bidResponse.adId;
}
},
{
key: "hb_pb",
val: function(bidResponse) {
return bidResponse.pbHg;
}
}
]
}
}

pbjs.que.push(function() {
pbjs.setBidderSequence('random');

pbjs.addAdUnits(adUnits);
pbjs.requestBids({
bidsBackHandler: firefly_pbjs_bids_back
});
});

function firefly_pbjs_bids_back() {
if( firefly_a9_ready ) return sendAdserverRequest();
firefly_pbjs_ready = true;
}

function sendAdserverRequest() {
if (pbjs.adserverRequestSent) return;
pbjs.adserverRequestSent = true;
googletag.cmd.push(function() {

pbjs.que.push(function() {
apstag.setDisplayBids();
pbjs.setTargetingForGPTAsync();
// setTimeout(function() {
googletag.pubads().refresh([].concat(
ffad_BB1_sizes.length ?
[
ffad_BB1
]
: [],
ffad_Top_sizes.length ?
[
ffad_Top
]
: [],
ffad_IC1_sizes.length ?
[
ffad_IC1
]
: [],
ffad_IC2_sizes.length ?
[
ffad_IC2
]
: [],
ffad_SB1_sizes.length ?
[
ffad_SB1
]
: [],
ffad_SB2_sizes.length ?
[
ffad_SB2
]
: [],
ffad_SB3_sizes.length ?
[
ffad_SB3
]
: [] ));
// }, 20);
});
});
}

setTimeout(function() {
sendAdserverRequest();
}, PREBID_TIMEOUT);

(function () {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();

var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];

googletag.cmd.push(function() {
googletag.pubads().disableInitialLoad();

// ffad_wp = googletag.defineSlot('/101957818/WP_BG_LM', [1, 1], 'div-gpt-ad-1470678572133-0').addService(googletag.pubads());

if( ffad_BB1_sizes.length ) ffad_BB1 = googletag.defineSlot('/101957818/BB1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_BB1_sizes, 'BB1').addService(googletag.pubads());
if( ffad_Top_sizes.length ) ffad_Top = googletag.defineSlot('/101957818/Top_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_Top_sizes, 'Top').addService(googletag.pubads());
if( ffad_IC1_sizes.length ) ffad_IC1 = googletag.defineSlot('/101957818/IC1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_IC1_sizes, 'IC1').addService(googletag.pubads());
if( ffad_IC2_sizes.length ) ffad_IC2 = googletag.defineSlot('/101957818/IC2_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_IC2_sizes, 'IC2').addService(googletag.pubads());
if( ffad_IC3_sizes.length ) ffad_IC3 = googletag.defineSlot('/101957818/IC3_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_IC3_sizes, 'IC3').addService(googletag.pubads());
for( var i = 0; i < FF_REP_COUNT; i++ ) window['ffad_REP_' + i] = googletag.defineSlot('/101957818/IC4_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_REP_sizes, 'REP_' + i).addService(googletag.pubads());

if( ffad_SB1_sizes.length ) ffad_SB1 = googletag.defineSlot('/101957818/SB1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_SB1_sizes, 'SB1').addService(googletag.pubads());
if( ffad_SB2_sizes.length ) ffad_SB2 = googletag.defineSlot('/101957818/SB2_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_SB2_sizes, 'SB2').addService(googletag.pubads());
if( ffad_SB3_sizes.length ) ffad_SB3 = googletag.defineSlot('/101957818/SB3_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_SB3_sizes, 'SB3').addService(googletag.pubads());
if( ffad_SB4_sizes.length ) ffad_SB4 = googletag.defineSlot('/101957818/SB4_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_SB4_sizes, 'SB4').addService(googletag.pubads());
if( ffad_BA1_sizes.length ) ffad_BA1 = googletag.defineSlot('/101957818/BA1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', ffad_BA1_sizes, 'BA1').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
firefly_setTargeting();
googletag.pubads().setCentering(true);
googletag.enableServices();
});

var ffad_spot_im_displayed = false;
function firefly_lazy_load_check() {
(function(){

if( ffad_IC3_sizes.length && ! ffad_IC3_displayed ) {
if( checkAlmostVisible( document.getElementById( 'IC3' ), firefly_ad_lazy_load_threshold ) ) {
console.log( 'refreshing IC3' );
ffad_IC3_displayed = true;
googletag.pubads().refresh([ffad_IC3]);
}
else return;
}

for( var i = 0; i < FF_REP_COUNT; i++ ) { if( ffad_REP_sizes.length && ! window['ffad_REP_' + i + '_displayed'] ) { if( checkAlmostVisible( document.getElementById( 'REP_' + i ), firefly_ad_lazy_load_threshold ) ) { console.log( 'refreshing REP_' + i ); window['ffad_REP_' + i + '_displayed'] = true; googletag.pubads().refresh([window['ffad_REP_' + i]]); } else return; } } if( ! ffad_BA1_displayed ) { if( checkAlmostVisible( document.getElementById( 'BA1' ), firefly_ad_lazy_load_threshold ) ) { console.log( 'refreshing BA1' ); ffad_BA1_displayed = true; var ff_ad_unit_script = document.createElement('script'); ff_ad_unit_script.async = 'async'; ff_ad_unit_script.type = 'text/javascript'; ff_ad_unit_script.dataset.connatixToken = '9db2a771-ce49-4bdb-b386-7b7e745f82e1'; ff_ad_unit_script.src = 'https://cdn.connatix.com/min/connatix.renderer.infeed.min.js'; document.getElementById('BA1').appendChild(ff_ad_unit_script); ff_ad_unit_script = document.createElement('script'); ff_ad_unit_script.async = 'async'; ff_ad_unit_script.type = 'text/javascript'; ff_ad_unit_script.dataset.connatixToken = '1b613826-8b08-4c15-b029-768195ae4b10'; ff_ad_unit_script.src = 'https://cdn.connatix.com/min/connatix.renderer.infeed.min.js'; document.getElementById('BA1').appendChild(ff_ad_unit_script); } else return; } if( ! ffad_spot_im_displayed && checkAlmostVisible( document.getElementById( 'respond' ), firefly_ad_lazy_load_threshold ) ) { var ffrespond = document.getElementById( 'respond' ); var simscript1 = document.createElement( 'script' ); var simscript2 = document.createElement( 'script' ); simscript1.async = simscript2.async = 'async'; simscript1.type = simscript2.type = 'text/javascript'; simscript1.src = 'https://recirculation.spot.im/spot/' + ffsid; simscript2.src = 'https://launcher.spot.im/spot/' + ffsid; simscript2.dataset.spotimModule = 'spotim-launcher'; simscript2.dataset.postUrl = simscript2.dataset.facebookUrl = ffsurl; simscript2.dataset.postId = ffspid; ffrespond.appendChild( simscript1 ); ffrespond.appendChild( simscript2 ); ffad_spot_im_displayed = true; } })(); if( window.innerWidth > 943 ) {
(function(){
// var googletag = window.googletag || {};
// googletag.cmd = googletag.cmd || [];

if( ffad_SB4_sizes.length && ! ffad_SB4_displayed ) {
if( checkAlmostVisible( document.getElementById( 'SB4' ), firefly_ad_lazy_load_threshold ) ) {
console.log( 'refreshing SB4' );
ffad_SB4_displayed = true;
googletag.pubads().refresh([ffad_SB4]);
}
else return;
}

})();
}
}

!function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init:function(){q("i",arguments)},fetchBids:function(){q("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]};A=p.createElement(s);A.async=!0;A.src=t;g=p.getElementsByTagName(s)[0];g.parentNode.insertBefore(A,g)}("apstag",window,document,"script","//c.amazon-adsystem.com/aax2/apstag.js");

apstag.init({
pubID: '3479',
adServer: 'googletag',
bidTimeout: PREBID_TIMEOUT
});

apstag.fetchBids(
{
slots: [].concat(

ffad_BB1_sizes.length ?
[
{
slotID: 'BB1',
slotName: '/101957818/BB1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_BB1_sizes
}
]
: [],

ffad_Top_sizes.length ?
[
{
slotID: 'Top',
slotName: '/101957818/Top_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_Top_sizes
}
]
: [],

ffad_IC1_sizes.length ?
[
{
slotID: 'IC1',
slotName: '/101957818/IC1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_IC1_sizes
}
]
: [],

ffad_IC2_sizes.length ?
[
{
slotID: 'IC2',
slotName: '/101957818/IC2_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_IC2_sizes
}
]
: [],

ffad_IC3_sizes.length ?
[
{
slotID: 'IC3',
slotName: '/101957818/IC3_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_IC3_sizes
}
]
: [],

ffad_REP_sizes.length ?
[
{
slotID: 'IC4',
slotName: '/101957818/IC4_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_REP_sizes
}
]
: [],

ffad_SB1_sizes.length ?
[
{
slotID: 'SB1',
slotName: '/101957818/SB1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_SB1_sizes
}
]
: [],

ffad_SB2_sizes.length ?
[
{
slotID: 'SB2',
slotName: '/101957818/SB2_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_SB2_sizes
}
]
: [],

ffad_SB3_sizes.length ?
[
{
slotID: 'SB3',
slotName: '/101957818/SB3_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_SB3_sizes
}
]
: [],

ffad_SB4_sizes.length ?
[
{
slotID: 'SB4',
slotName: '/101957818/SB4_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_SB4_sizes
}
]
: [],

ffad_BA1_sizes.length ?
[
{
slotID: 'BA1',
slotName: '/101957818/BA1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '',
sizes: ffad_BA1_sizes
}
]
: []
)
},
function(bids) {
if( firefly_pbjs_ready ) return sendAdserverRequest();
firefly_a9_ready = true;
}
);

googletag.cmd.push(function () {
googletag.pubads().setTargeting("advelvet", (Math.floor(Math.random() * 20) + 1) + "");
});
var deviceDetect = function () {
if ((/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(navigator.userAgent.toLowerCase()))) return 3;//tablet
if ((/iphone|ipod|android|blackberry|opera|mini|windowssce|palm|smartphone|iemobile/i.test(navigator.userAgent.toLowerCase()))) return 1; //mobile
return 2;//desktop
};
var asyncLoad = function (url) {
var script = document.createElement('script');
script.async = true;
script.type = 'text/javascript';
script.src = url;
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(script, node);
};
var advelvet = {
timeout: 800,
adUnits: [].concat( ffad_BB1_sizes.length ? [{ path: '/101957818/BB1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_BB1_sizes }] : [],ffad_Top_sizes.length ? [{ path: '/101957818/Top_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_Top_sizes }] : [],ffad_IC1_sizes.length ? [{ path: '/101957818/IC1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_IC1_sizes }] : [],ffad_IC2_sizes.length ? [{ path: '/101957818/IC2_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_IC2_sizes }] : [],ffad_IC3_sizes.length ? [{ path: '/101957818/IC3_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_IC3_sizes }] : [],ffad_REP_sizes.length ? [{ path: '/101957818/IC4_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_REP_sizes }] : [],ffad_SB1_sizes.length ? [{ path: '/101957818/SB1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_SB1_sizes }] : [],ffad_SB2_sizes.length ? [{ path: '/101957818/SB2_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_SB2_sizes }] : [],ffad_SB3_sizes.length ? [{ path: '/101957818/SB3_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_SB3_sizes }] : [],ffad_SB4_sizes.length ? [{ path: '/101957818/SB4_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_SB4_sizes }] : [],ffad_BA1_sizes.length ? [{ path: '/101957818/BA1_CT' + ( window.innerWidth > 943 ? '_LGSX' : '_SMSX' ) + '', sizes: ffad_BA1_sizes }] : [] ),
device: deviceDetect(),
companyKey: "5a30fceb7021eC",
companyId: "liftablemedia"
};
advelvet.refresh = function () {
googletag.pubads().setTargeting("ade","TOUT");
};
var advelvetRefresh = function () {
if (advelvet.released) {
return;
}
advelvet.released = true;
googletag.cmd.push(function () {
advelvet.refresh();
});
};
function addSize(screen, size) {
return {'screen': screen, 'sizes': size};
}
var scriptUrl = (('https:' == document.location.protocol) ? 'https:' : 'http:') + '//advelvet-' + advelvet.companyId + '.global.ssl.fastly.net/v201?data=' + encodeURIComponent(JSON.stringify({
device: advelvet.device,
adUnits: advelvet.adUnits,
companyKey: advelvet.companyKey
}));
asyncLoad(scriptUrl);


Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

To Top