





	
eGOFR={};
eGOFR.Rules={};
eGOFR.Conditions={},
eGOFR.ConditionsSortedArray=new Array(),/*To loop through all conditions in order*/
eGOFR.Banners={},
eGOFR.Templates={};	
eGOFR.INVITE_AUTO_CLOSE_INTERVAL = 60000;
eGOFR.REOFFER_IGNORE_INTERVAL = 300000;
eGOFR.REOFFER_ACCEPTED_INTERVAL = 0;
eGOFR.RETRY_SERVER_CHECK_INTERVAL = 120000;
eGOFR.MAXIMUM_TIME_ON_PAGE_IN_MILLISECONDS = 7200000;
eGOFR.SessionId = 134903812;
eGOFR.ENABLE_TRACE_LOGGING = false;
eGOFR.IS_OFFERS_LIMIT_PER_SESSION_ENABLE = 0;
eGOFR.OFFERS_LIMIT_PER_SESSION = -1;
eGOFR.PATCH_NO = "17.0.0.7.181512.0.36";
eGOFR.OffersURL = document.getElementById("eGainOffers").src;
eGOFR.OffersURL = eGOFR.OffersURL.substring(0, eGOFR.OffersURL.indexOf('/system/') + '/system/'.length);
eGOFR.ServletURL = eGOFR.OffersURL + 'Offers.egain'
eGOFR.EG_CUST_SEC = "true";

eGOFR.addScriptElement = function(nm, scrURL)
{
	var elem = document.getElementById(nm);
	if (elem)
	{
		/* this is required for single page offers support */
		elem.parentNode.removeChild(elem);
	}
	var headRef = document.getElementsByTagName("head")[0];
	el = document.createElement('script');
	el.id = nm;
	el.type = "text/javascript";
	headRef.appendChild(el);
	el.src =  eGOFR.OffersURL + scrURL;
}
eGOFR.setEgainCookie = function(name, value)
{
	document.cookie = name + "=" + escape(value) + (";path=/") + ((value === "true") ? ";secure" : "");
}

eGOFR.addScriptElement('egofrjs', "web/view/proactivesales/templates/egofrrulesengine.js?patch_no=17.0.0.7.181512.0.36");
eGOFR.addScriptElement('egofrhookdefjs', "web/view/proactivesales/templates/egpsserviceshookdef.js?patch_no=17.0.0.7.181512.0.36");
eGOFR.setEgainCookie('EG_CUST_SEC', eGOFR.EG_CUST_SEC);



eGOFR.Rules['1034'] ={'rule_id':'1034','rule_label':'','rule_name':'Payments+10+sec','bannerids':['1014'],'conjunction_op':'1','offertype_key':'1001','reoffer_on_reject':true,'is_max_reoffer_reject':true,'max_reoffer_reject':1,'reoffer_on_ignore':true,'is_max_reoffer_ignore':true,'max_reoffer_ignore':1,'reoffer_on_accept':false,'is_max_reoffer_accept':false,'max_reoffer_accept':0,'is_fixed':false,'is_not_counted_towards_limit':false,'is_offered_priority_chat':false,'service_type_key':'1001','action_type_name':'Chat Automatic','server_side_check':true,'contenturl_key':1001,'contenturl_name':'Payments','contenturl_label':'','design_context_id':'1013'};
eGOFR.Conditions['1014'] ={'condition_key':'1014','condition_order':'0','condition_type':'1002','psales_rule_id':'1034','condition_operand':'','condition_operator':'>','condition_value':'10'};
eGOFR.Banners['1014'] ={'banner_key':'1014','action_type_key':'1001','url':'https://connect.irs.gov/system/templates/chat/irs_us/index.html?entryPointId=1014&templateName=irs_us&ver=v11&locale=en-US&providerId=186A2','text':'<p align=\"center\"><font size=\"3\">\u200b<strong>Talk to us!</strong></font><br>Would you like to chat with an IRS Representative?</p>','style_key':'1001','z_index':'0','is_new_window':'1','template_keys':['1023'],'class_name':'egofr-bottom-right','window_left_position':0,'window_top_position':0,'window_height':0,'window_width':0,'ab_test_share':100,'psales_rule_id':1034};
eGOFR.Templates['1023'] ={'template_key':'1023','innerhtml':'<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css\"><div id = \"egofr-chat_irstest18-container\" class=\"<styleclassname>\"><i id = \"egofr-chat_irstest18-header\" class=\"fa fa-comment-o\"></i>&nbsp;<div id = \"egofr-chat_irstest18-content\"><bannertext></div><div class=\"egofr-chat_irstest18-btnForm\"><input type = \"button\" class = \"egofr-chat_irstest18-btnOK\" onclick = \"eGOFR.OnAccept(<bannerid>,<ruleid>,<agentid>)\" Value = \"YES\"><input type = \"button\" class = \"egofr-chat_irstest18-btnCancel\" onclick = \"eGOFR.OnReject(eGOFR.REJECT_ACTION,<bannerid>,<ruleid>)\" Value = \"NO\"></div><div id = \"egofr-chat_irstest18-footer\">&nbsp;</div></div','location':'chat_irstest18','type':'1','internal_name':'chat_irstest18','csspath':eGOFR.OffersURL+'offers/templates/chat_irstest18/1026/css/egpsoffer.css'};eGOFR.IsMultipleOfferAllowed = false; 
 if(typeof eGOFRPatternStore != 'undefined'){ eGOFRPatternStore("session" ,"https://www.irs.gov/payments/payment-plans-installment-agreements$EGOFR$https://www.irs.gov/payments$EGOFR$https://www.irs.gov/es/payments$EGOFR$https://www.irs.gov/es/payments/payment-plans-installment-agreements$EGOFR$.*/eauth/pub/logout1.jsp.*vaTest=true$EGOFR$.*/eauth/pub/logout1.jsp.*vaTest=avsloa3$EGOFR$.*/eauth/pub/logout1.jsp.*vaTest=avsloa2$EGOFR$.*/eauth/pub/logout1.jsp.*vaTest=pvloa3$EGOFR$.*/eauth/pub/logout1.jsp.*vaTest=pvloa2$EGOFR$.*/eauth/pub/registration/id_proofing.jsp.*hasError=1$EGOFR$.*/eauth/pub/registration/ide2_proofing.jsp.*hasError=1$EGOFR$.*/eauth/pub/registration/ide_proofing.jsp.*hasError=1$EGOFR$.*/eauth/pub/registration/id2_phone.jsp.*hasError=1$EGOFR$.*/eauth/pub/registration/id_phone.jsp.*hasError=1$EGOFR$https://punv730j.egeng.info/irs_va/id_proofing_error1_prod.html" ,"86400", "null")}


