function thx(intVendor, strVendor, strLink, bService, bNextDayCashBack) { intVendor = parseInt(intVendor); if ($("sf_Cat")) { fsCatSpanString1 = $("sf_Cat").innerHTML; $("sf_Cat").innerHTML = fsCatSpanString2; } if ($("sf_Store")) { fsStrSpanString1 = $("sf_Store").innerHTML; $("sf_Store").innerHTML = fsStrSpanString2; } $("greenout").setStyles({'height':'100%','width':'100%','top':0,'left':0,'display':'block','position':'fixed'}); writeString = ""; if (bService == null) { strHash = window.location.hash; strHref = window.location.href; if (strHash == "") strRefURL = escape(strHref + "?prod=" + selID); else { strHref = strHref.replace(strHash, ""); strRefURL = escape(strHref + "?prod=" + selID); } } else strRefURL = escape(document.location.href); if (bNextDayCashBack) strDays = "tomorrow (or the next business day)"; else strDays = "within 7 business days (some exceptions apply and times vary by store)"; if (strMemberID == "") { writeString += "

To shop " + strVendor + " you must Login or Join.

"; writeString += "

"; } else if (intSecurity == "1" || intSecurity == "2") { writeString += "

Unactivated Account

"; writeString += "

Your account must be “Activated” and “Verified” to Shop Now at " + strVendor + ".

"; writeString += "

To “Activate” your account, please check your email account for an “Activation” email. Just click on the “Activation” link to activate your account.

"; writeString += "

For security purposes, you will not be able to shop until your account has been Activated and Verified.

"; writeString += "

If you need assistance or would like to expedite the process, feel free to contact us at: customerservice@greenbackstreet.com.

"; writeString += "

"; } else if (intSecurity == "3" || intSecurity == "4") { writeString += "

Unverified Account

"; writeString += "

Your account information must be “Verified” before you can shop through this site and receive cash back.

"; writeString += "

Please update the information in your profile. Some of the information you provided when you registered was not able to be verified by our systems.

"; writeString += "

If the account information in your profile is correct please contact customer service for assistance.

"; writeString += "

"; } else { writeString += "

WE’LL BE HERE WHEN YOU’RE DONE SHOPPING

"; writeString += "

To start shopping at " + strVendor + " select “Continue” below.*

"; writeString += "

Please note that while you are shopping, this window will remain open. When you’re done shopping or want to go to another store, just close out of the store you’re at and click back on the open window.

"; if (intVendor != 2797) { writeString += "

Cash Back rebates for your purchases at " + strVendor + " will be deposited into your account " + strDays + ".

"; writeString += "

IMPORTANT: Only coupons advertised on this site may be used; Cash Back may not be awarded if an outside coupon is used.

"; } writeString += "

*If the store you want to shop does not open, be sure your pop-up blockers are disabled.

"; if (strLink != "") writeString += "

"; else writeString += "

"; } $("tblmssg").innerHTML = writeString; $("frmThx").setStyles({'display':'block','visibility':'visible'}); } function closeOverlay() { $("greenout").setStyles({'display':'none'}); $("frmThx").setStyles({'display':'none','visibility':'hidden'}); if ($("sf_Cat")) $("sf_Cat").innerHTML = fsCatSpanString1; if ($("sf_Store")) $("sf_Store").innerHTML = fsStrSpanString1; }