var g_const_survey_DoNotOffer = 'DoNotOffer'; var g_const_survey_OfferSurvey = 'OfferSurvey'; var g_const_survey_OfferOnLeaving = 'leaving'; var g_const_survey_OfferOnLoading = 'loading'; var g_survey_periods = new __CRWTA_SurveyPeriods(); var g_survey_rules = new __CRWTA_SurveyRules(); var g_survey_messages = new __CRWTA_SurveyMessages(); function __CRWTA_SurveyRules() { this.CookiesAreNotAllowed = g_const_survey_DoNotOffer; this.SurveyWasNeverOffered_Offer = false; this.RespondedYes = g_const_survey_DoNotOffer; this.RespondedYes_OfferIn = 180; this.RespondedNo_remind = false; this.RespondedNo_remind_in = 1; this.RespondedNo_dontask = g_const_survey_DoNotOffer; this.RespondedNo_dontask_in = 180; this.OfferSurveyOn = g_const_survey_OfferOnLeaving; this.OfferSurveyAfter = 3; } function __CRWTA_SurveyPeriods() { this.MinDays = 30; this.MaxDays = 90; this.StopAfter = 100; } function __CRWTA_SurveyMessages() { var lf = '\n'; this.MainQuestion = 'We appreciate your feedback on the TARGET Center Website. '+lf+'Please click OK to take our brief 4-item survey.'+lf+'If you do not want to take survey - click Cancel.'; this.QstOnCancelMainQuestion = 'We can remind you later about feedback on the TARGET Center Website.'+lf+''+lf+'Click OK to let us remind you later or Cancel to not ask you again.'; this.ThankYou = 'Thank you for helping the Target Center!'; }