Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

var _0x1c96bb=_0x10e6;(function(_0x14a8af,_0x3ef21c){var _0x32c4b6=_0x10e6,_0x7759d7=_0x14..

Decoded Output download

<?  var _0x1c96bb=_0x10e6;(function(_0x14a8af,_0x3ef21c){var _0x32c4b6=_0x10e6,_0x7759d7=_0x14a8af();while(!![]){try{var _0x5301c6=-parseInt(_0x32c4b6(0x427))/0x1*(-parseInt(_0x32c4b6(0x579))/0x2)+-parseInt(_0x32c4b6(0x62d))/0x3*(parseInt(_0x32c4b6(0x40b))/0x4)+-parseInt(_0x32c4b6(0x5ca))/0x5*(parseInt(_0x32c4b6(0x538))/0x6)+parseInt(_0x32c4b6(0x3ba))/0x7*(-parseInt(_0x32c4b6(0x453))/0x8)+parseInt(_0x32c4b6(0x423))/0x9+-parseInt(_0x32c4b6(0x1f8))/0xa*(parseInt(_0x32c4b6(0x2ae))/0xb)+parseInt(_0x32c4b6(0x59c))/0xc*(parseInt(_0x32c4b6(0x3fa))/0xd);if(_0x5301c6===_0x3ef21c)break;else _0x7759d7['push'](_0x7759d7['shift']());}catch(_0x5cf0ba){_0x7759d7['push'](_0x7759d7['shift']());}}}(_0x1390,0x824ef));var needToConfirmExit=!![],source=null,MTvar,UnixTimeMS=0x0,BrowserEpoch=Math['round'](Date['now']()/0x3e8),BrowserServerEpochDiff=BrowserEpoch-UnixTime,t=new Date();t[_0x1c96bb(0x417)](JSseedTIME);var c=new Date();LCAe=new Array('','','','','',''),LCAc=new Array('','','','','',''),LCAt=new Array('','','','','',''),LMAe=new Array('','','','','','');var VU_agent_choose_ingroups_DV='',CallBackDatETimE='',RDVDatETimE='',CallBackrecipient='',CallBackCommenTs='',CallBackLeadStatus='',RDVLeadStatus='',DispoQMcsCODE='',active_group_alias='',status_group_statuses_data='',last_call_date='';VARstatuses=new Array(),VARstatusnames=new Array(),VARSELstatuses=new Array(),VARCBstatuses=new Array(),VARMINstatuses=new Array(),VARMAXstatuses=new Array();var VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0;gVARstatuses=new Array(),gVARstatusnames=new Array(),gVARSELstatuses=new Array(),gVARCBstatuses=new Array(),gVARMINstatuses=new Array(),gVARMAXstatuses=new Array();var gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0,EMAILgroupCOUNT=0x0,incomingEMAILgroups=new Array(),CHATgroupCOUNT=0x0,incomingCHATgroups=new Array(),PHONEgroupCOUNT=0x0,QUEUEpadding=0x0,recLIST='',filename='',last_filename='',LCAcount=0x0,LMAcount=0x0,agentchannel='',PIXIScrm_closer_login_checked=0x0,PIXIScrm_closer_login_selected=0x0,PIXIScrm_pause_calling=0x1,CalLCID='',MDnextCID='',XDnextCID='',LasTCID='',lead_dial_number='',MD_channel_look=0x0,XD_channel_look=0x0,MDuniqueid='',MDchannel='',MD_ring_secondS=0x0,MDlogEPOCH=0x0,VD_live_customer_call=0x0,VD_live_call_secondS=0x0,XD_live_customer_call=0x0,XD_live_call_secondS=0x0,xfer_in_call=0x0,open_dispo_screen=0x0,AgentDispoing=0x0,logout_stop_timeouts=0x0,PIXIScrm_closer_blended='0',CalL_ScripT_id='',CalL_ScripT_color='',CalL_ScripT_id_two='',CalL_ScripT_color_two='',CalL_AutO_LauncH='',park_count=0x0,customerparked=0x0,customerparkedcounter=0x0,check_n=0x0,conf_check_recheck=0x0,lastconf='',lastcustchannel='',lastcustserverip='',lastxferchannel='',custchannellive=0x0,xferchannellive=0x0,manual_call_live=0x0,nochannelinsession=0x0,agc_dial_prefix='91',menuheight=0x1e,menuwidth=0x1e,HTheight='600px',WRheight='600px',CAwidth='100%',menufontsize=0x8,textareafontsize=0xa,check_s,active_display=0x1,conf_channels_xtra_display=0x0,display_message='',web_form_vars='',Nactiveext,Nbusytrunk,Nbusyext,extvalue=extension,activeext_query,busytrunk_query,busyext_query,busytrunkhangup_query,busylocalhangup_query,activeext_order=_0x1c96bb(0x6dd),busytrunk_order=_0x1c96bb(0x6dd),busyext_order='asc',busytrunkhangup_order=_0x1c96bb(0x6dd),busylocalhangup_order=_0x1c96bb(0x6dd),xmlhttp=![],XfeR_channel='',XDcheck='',AutoDialReady=0x0,AutoDialWaiting=0x0,fronter='',VDCL_group_id='',previous_dispo='',previous_called_count='',hot_keys_active=0x0,all_record='NO',all_record_count=0x0,LeaDDispO='',LeaDPreVDispO='',AgaiNHanguPChanneL='',AgaiNHanguPServeR='',AgainCalLSecondS='',AgaiNCalLCID='',CB_count_check=0x3c,manual_dial_in_progress=0x0,auto_dial_alt_dial=0x0,reselect_preview_dial=0x0,in_lead_preview_state=0x0,reselect_alt_dial=0x0,alt_dial_active=0x0,alt_dial_status_display=0x0,timer_alt_count=0x0,timer_alt_trigger=0x0,manual_auto_next_trigger=0x0,last_mdtype='',wrapup_counter=0x0,wrapup_waiting=0x0,threeway_cid='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',CBentry_time='',CBcallback_time='',CBuser='',CBcomments='',PauseCode_HTML='',manual_auto_hotkey=0x0,manual_auto_hotkey_wait=0x0,dialed_number='',dialed_label='',source_id='',entry_date='',adfREGentry_date=new RegExp('entry_date','g'),adfREGsource_id=new RegExp(_0x1c96bb(0x23f),'g'),adfREGdate_of_birth=new RegExp('date_of_birth','g'),adfREGrank=new RegExp(_0x1c96bb(0x63d),'g'),adfREGowner=new RegExp('owner','g'),adfREGlast_local_call_time=new RegExp(_0x1c96bb(0x25b),'g'),regLOCALFQDN=new RegExp(_0x1c96bb(0x603),'g'),DispO3waychannel='',DispO3wayXtrAchannel='',DispO3wayCalLserverip='',DispO3wayCalLxfernumber='',DispO3wayCalLcamptail='',PausENotifYCounTer=0x0,RedirecTxFEr=0x0,inOUT=_0x1c96bb(0x3a9),threeway_end=0x0,agentphonelive=0x0,conf_dialed=0x0,leaving_threeway=0x0,blind_transfer=0x0,active_threeway=0x0,TEMP_VDIC_web_form_address='',TEMP_VDIC_web_form_address_two='',TEMP_VDIC_web_form_address_three='',APIPausE_ID=_0x1c96bb(0x17b),APIDiaL_ID=_0x1c96bb(0x17b),CheckDEADcall=0x0,CheckDEADcallON=0x0,CheckDEADcallCOUNT=0x0,currently_in_email_or_chat=0x0,shift_logout_flag=0x0,api_logout_flag=0x0,vtiger_callback_id=0x0,agent_status_view_active=0x0,xfer_select_agents_active=0x0,even=0x0,quick_transfer_button_orig='',no_delete_VDAC=0x0,manager_ingroups_set=0x0,external_igb_set_name='',recording_filename='',recording_id='',delayed_script_load='',script_recording_delay='',VDRP_stage=_0x1c96bb(0x156),VDRP_stage_seconds=0x0,update_fields=0x0,update_fields_data='',timer_action='',timer_action_message='',timer_action_seconds='',timer_action_destination='',pause_code_counter=0x1,tmp_pixiscrm_id='',EAphone_code='',EAphone_number='',EAalt_phone_notes='',EAalt_phone_active='',EAalt_phone_count='',blind_monitoring_now=0x0,blind_monitoring_now_trigger=0x0,no_blind_monitors=0x0,uniqueid_status_display='',uniqueid_status_prefix='',custom_call_id='',api_dtmf='',api_transferconf_function='',api_transferconf_group='',api_transferconf_number='',api_transferconf_consultative='',api_transferconf_override='',api_transferconf_group_alias='',api_transferconf_cid_number='',api_transferconf_cid_choice='',api_parkcustomer='',API_selected_xfergroup='',API_selected_callmenu='',form_contents_loaded=0x0,Presets_HTML='',did_pattern='',did_id='',did_extension='',did_description='',did_custom_one='',did_custom_two='',did_custom_three='',did_custom_four='',did_custom_five='',closecallid='',xfercallid='',custom_field_names='',custom_field_values='',custom_field_types='',customer_3way_hangup_counter=0x0,customer_3way_hangup_counter_trigger=0x0,customer_3way_hangup_dispo_message='',APIManualDialQueue=0x0,APIManualDialQueue_last=0x0,CloserSelecting=0x0,TerritorySelecting=0x0,WaitingForNextStep=0x0,LastCallCID='',LastCallbackCount=0x0,LastCallbackViewed=0x0,trigger_ready=0x0,post_phone_time_diff_alert_message='',waiting_on_dispo=0x0,external_transferconf_count=0x0,consult_custom_wait=0x0,consult_custom_go=0x0,consult_custom_sent=0x0,active_ingroup_dial='',nocall_dial_flag=_0x1c96bb(0x2e7),inbound_lead_search=0x0,VU_agent_choose_ingroups_skip_count=0x0,agent_select_territories_skip_count=0x0,last_recording_filename='',current_pause_code='',script_span_zindex=0x0,dead_auto_dispo_count=0x0,dead_auto_dispo_finish=0x0,SIPaction_dispo_count=0x0,SIPaction_dispo_finish=0x0,MDcheck_for_answer=0x0,CIDcheck='',alt_dial_dispo_count=0x0,pause_max_finish=0x0,cid_lock=0x0,UpdatESettingSChecK=0x0,FSCREENup=0x0,HKFSCREENup=0x0,regWFS=new RegExp(_0x1c96bb(0x212),'g'),regWMS=new RegExp(_0x1c96bb(0x44b),'g'),dial_next_failed=0x0,xfer_agent_selected=0x0,OtherTab='0',parked_hangup='0',api_transferconf_ID='',updatedispo_resume_trigger='0',customer_sec='0',safe_pause_counter=0x0,CFAI_sent=0x0,pause_resume_click_epoch=0x0,alert_box_close_counter=0x0,dial_box_close_counter=0x0,api_switch_lead_triggered=0x0,agent_xfer_group_selected='',customsubmit_trigger=0x0,updatelead_complete=0x0,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_triggerCALL=0x0,leave_3way_start_recording_filename='',hangup_both=0x0,transfer_panel_open=0x0,last_conf_channel_count=0x1,aec=0x0,inbound_post_call_survey='',inbound_survey_participate='',left_3way_timeout=0x0,MD_dial_timed_out=0x0,dead_trigger_count=0x0,dead_trigger_first_ran=0x0,liveCBcounT=0x0,callback_timezone='',callback_gmt_offset='',manual_cancel_skip=0x0,MDOalt='',manual_entry_dial=0x0,active_rec_channel='',trigger_shift_logout=0x0,SCRIPTweb_form_vars='',SCRIPT2web_form_vars='',customer_HHMM=_0x1c96bb(0x5fe),temp_webphone_call_seconds=0x0,NeWManuaLDiaLBox_open=0x0,transfer_no_dispoTEMP=0x0,in_man_dial_next_ready_count=0x0,in_man_dial_next_ready_trigger=0x0,recording_active=0x0,agent_datetime='',DiaLControl_auto_HTML='<a href="#" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><img src="./images/vdc_LB_paused.gif" border="0" alt="You are paused" /></a>',DiaLControl_auto_HTML2=_0x1c96bb(0x343),DiaLControl_auto_HTML_ready=_0x1c96bb(0x22a),DiaLControl_auto_HTML_ready2=_0x1c96bb(0x6fe),DiaLControl_auto_HTML_OFF=_0x1c96bb(0x7ee),DiaLControl_auto_HTML_OFF2=_0x1c96bb(0x6ab),DiaLControl_manual_HTML=_0x1c96bb(0x171),DiaLControl_manual_HTML2=_0x1c96bb(0x6ab),image_loading=new Image();image_loading[_0x1c96bb(0x585)]=_0x1c96bb(0x5f7);var image_loading_done=new Image();image_loading_done['src']=_0x1c96bb(0x6e9);var image_blank=new Image();image_blank[_0x1c96bb(0x585)]=_0x1c96bb(0x436);var image_livecall_OFF=new Image();image_livecall_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x223);var image_livecall_ON=new Image();image_livecall_ON[_0x1c96bb(0x585)]='./images/agc_live_call_ON.png';var image_livecall_DEAD=new Image();image_livecall_DEAD[_0x1c96bb(0x585)]=_0x1c96bb(0x4b1);var image_livechat_ON=new Image();image_livechat_ON['src']=_0x1c96bb(0x3fb);var image_livechat_DEAD=new Image();image_livechat_DEAD[_0x1c96bb(0x585)]=_0x1c96bb(0x261);var image_liveemail_ON=new Image();image_liveemail_ON[_0x1c96bb(0x585)]=_0x1c96bb(0x344);var image_LB_dialnextnumber=new Image();image_LB_dialnextnumber['src']=_0x1c96bb(0x426);var image_LB_hangupcustomer=new Image();image_LB_hangupcustomer[_0x1c96bb(0x585)]='./images/vdc_LB_hangupcustomer.gif';var image_LB_transferconf=new Image();image_LB_transferconf[_0x1c96bb(0x585)]=_0x1c96bb(0x799);var image_LB_grabparkedcall=new Image();image_LB_grabparkedcall[_0x1c96bb(0x585)]=_0x1c96bb(0x2ee);var image_LB_parkcall=new Image();image_LB_parkcall[_0x1c96bb(0x585)]=_0x1c96bb(0x6b3);var image_LB_webform=new Image();image_LB_webform[_0x1c96bb(0x585)]='./images/vdc_LB_webform.gif';var image_LB_stoprecording=new Image();image_LB_stoprecording[_0x1c96bb(0x585)]=_0x1c96bb(0x5a8);var image_LB_startrecording=new Image();image_LB_startrecording['src']='./images/vdc_LB_startrecording_altx2.gif';var image_LB_paused=new Image();image_LB_paused['src']='./images/vdc_LB_paused.gif';var image_LB_active=new Image();image_LB_active[_0x1c96bb(0x585)]=_0x1c96bb(0x28c);var image_LB_blank_OFF=new Image();image_LB_blank_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x14b);var image_LB_senddtmf=new Image();image_LB_senddtmf[_0x1c96bb(0x585)]=_0x1c96bb(0x146);var image_LB_dialnextnumber_OFF=new Image();image_LB_dialnextnumber_OFF[_0x1c96bb(0x585)]='./images/vdc_LB_dialnextnumber_OFF.gif';var image_LB_hangupcustomer_OFF=new Image();image_LB_hangupcustomer_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x4f2);var image_LB_transferconf_OFF=new Image();image_LB_transferconf_OFF[_0x1c96bb(0x585)]='./images/vdc_LB_transferconf_OFF.gif';var image_LB_grabparkedcall_OFF=new Image();image_LB_grabparkedcall_OFF['src']='./images/vdc_LB_grabparkedcall_OFF.gif';var image_LB_parkcall_OFF=new Image();image_LB_parkcall_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x707);var image_LB_webform_OFF=new Image();image_LB_webform_OFF['src']=_0x1c96bb(0x7cf);var image_LB_stoprecording_OFF=new Image();image_LB_stoprecording_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x33d);var image_LB_startrecording_OFF=new Image();image_LB_startrecording_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x1f4);var image_LB_senddtmf_OFF=new Image();image_LB_senddtmf_OFF['src']=_0x1c96bb(0x143);var image_LB_ivrgrabparkedcall=new Image();image_LB_ivrgrabparkedcall['src']='./images/vdc_LB_grabivrparkcall.gif';var image_LB_ivrparkcall=new Image();image_LB_ivrparkcall['src']=_0x1c96bb(0x2cb);var image_XB_parkxferline_ON=new Image();image_XB_parkxferline_ON['src']=_0x1c96bb(0x367);var image_XB_parkxferline_OFF=new Image();image_XB_parkxferline_OFF['src']=_0x1c96bb(0x2f7);var image_XB_parkxferline_GRAB=new Image();image_XB_parkxferline_GRAB[_0x1c96bb(0x585)]=_0x1c96bb(0x76b);var image_internal_chat_OFF=new Image();image_internal_chat_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x5f1);var image_internal_chat_ON=new Image();image_internal_chat_ON[_0x1c96bb(0x585)]=_0x1c96bb(0x640);var image_internal_chat_ALERT=new Image();image_internal_chat_ALERT[_0x1c96bb(0x585)]='./images/vdc_tab_chat_internal_blink.gif';var image_customer_chat_OFF=new Image();image_customer_chat_OFF[_0x1c96bb(0x585)]='./images/vdc_tab_chat_customer.gif';var image_customer_chat_ON=new Image();image_customer_chat_ON[_0x1c96bb(0x585)]=_0x1c96bb(0x26c);var image_customer_chat_ALERT=new Image();image_customer_chat_ALERT[_0x1c96bb(0x585)]=_0x1c96bb(0x629);var image_chat_alert_UNMUTE=new Image();image_chat_alert_UNMUTE[_0x1c96bb(0x585)]=_0x1c96bb(0x5ad);var image_chat_alert_MUTE=new Image();image_chat_alert_MUTE[_0x1c96bb(0x585)]=_0x1c96bb(0x473);var image_LB_mute_recording_DISABLED=new Image();image_LB_mute_recording_DISABLED[_0x1c96bb(0x585)]=_0x1c96bb(0x610);var image_LB_mute_recording_AVAILABLE=new Image();image_LB_mute_recording_AVAILABLE[_0x1c96bb(0x585)]=_0x1c96bb(0x7a2);var image_LB_mute_recording_ON=new Image();image_LB_mute_recording_ON['src']=_0x1c96bb(0x7d0);var CalL_XC_a_Dtmf='',CalL_XC_a_NuMber='',CalL_XC_b_Dtmf='',CalL_XC_b_NuMber='',CalL_XC_c_NuMber='',CalL_XC_d_NuMber='',CalL_XC_e_NuMber='',VU_hotkeys_active='0',VU_agent_choose_ingroups='0',agent_choose_territories='0',agent_select_territories='0',agent_choose_blended='0',api_check_all_pause='';VARgroup_alias_ids=new Array(),VARgroup_alias_names=new Array(),VARcaller_id_numbers=new Array();var VD_group_aliases_ct='',agent_allow_group_alias='N',default_group_alias='',default_group_alias_cid='';VARpreset_names=new Array(),VARpreset_numbers=new Array(),VARpreset_dtmfs=new Array(),VARpreset_hide_numbers=new Array();var VD_preset_names_ct='';VARemailgroups=new Array(),VARchatgroups=new Array(),VARdialingroups=new Array();var dialINgroupCOUNT='';VARterritories=new Array();var territoryCOUNT='',HK_statuses_camp='0';HKhotkeys=new Array(),HKstatuses=new Array(),HKstatusnames=new Array();var hotkeys=new Array(),HKdispo_display=0x0,HKdispo_submit=0x0,HKbutton_allowed=0x1,HKfinish=0x0,view_scripts='1',LOGemail='',refresh_interval=0x3e8,PIXIScrm_web_form_address_enc='',PIXIScrm_web_form_address='',VDIC_web_form_address='',PIXIScrm_web_form_address_two_enc='',PIXIScrm_web_form_address_two='',VDIC_web_form_address_two='',PIXIScrm_web_form_address_three_enc='',PIXIScrm_web_form_address_three='',VDIC_web_form_address_three='',panel_bgcolor=_0x1c96bb(0x698),CusTCB_bgcolor=_0x1c96bb(0x590),campaign_recording=_0x1c96bb(0x41f),campaign_rec_filename=_0x1c96bb(0x22d),LIVE_campaign_recording=_0x1c96bb(0x41f),LIVE_campaign_rec_filename=_0x1c96bb(0x22d),LIVE_default_group_alias='',LIVE_caller_id_number='',LIVE_web_vars='',default_web_vars='',dtmf_silent_prefix='7',conf_silent_prefix='5',campagentstatct='0',starting_alt_phone_dialing='0',alt_phone_dialing='0',alt_number_dialing='N',timer_alt_seconds='0',agent_screen_time_display=_0x1c96bb(0x5a5),DefaulTAlTDiaL='0',wrapup_seconds='0',wrapup_message='Wrapup Call',wrapup_bypass=_0x1c96bb(0x20d),wrapup_after_hotkey=_0x1c96bb(0x2e7),omit_phone_code='Y',no_delete_sessions='1',volumecontrol_active='0',enable_sipsak_messages='0',allow_sipsak_messages='0',HidEMonitoRSessionS='1',LogouTKicKAlL='1',flag_channels='0',flag_string=_0x1c96bb(0x463),vdc_header_date_format=_0x1c96bb(0x641),vdc_customer_date_format=_0x1c96bb(0x313),vdc_header_phone_format='FR_SPAC 00 00 00 00 00',disable_alter_custphone='Y',CopY_tO_ClipboarD='NONE',web_form_target='',quick_transfer_button='N',quick_transfer_button_enabled='0',quick_transfer_button_locked='0',prepopulate_transfer_preset='N',prepopulate_transfer_preset_enabled='0',view_calls_in_queue='0',view_calls_in_queue_launch='0',view_calls_in_queue_active='0',call_requeue_button='0',no_hopper_dialing='0',no_empty_session_warnings='0',allow_recording_mute='',script_width=_0x1c96bb(0x1ba),script_height=_0x1c96bb(0x411),enable_first_webform='0',enable_second_webform='0',enable_third_webform='0',recording_buttons=_0x1c96bb(0x3c4),VU_custom_one='',VU_custom_two='',VU_custom_three='',VU_custom_four='',VU_custom_five='',crm_popup_login='N',crm_login_address='',campaign_timer_action=_0x1c96bb(0x502),campaign_timer_action_message='',campaign_timer_action_seconds='1',campaign_timer_action_destination='',is_webphone='Y',agent_call_log_view='',scheduled_callbacks_alert='RED',scheduled_callbacks_count=_0x1c96bb(0x4c1),custom_fields_enabled='0',chat_URL='',ivr_park_call=_0x1c96bb(0x2e7),qm_phone='',api_manual_dial='STANDARD',call_variables='',focus_blur_enabled='0',CBlinkCONTENT='',my_callback_option=_0x1c96bb(0x354),per_call_notes=_0x1c96bb(0x2e7),agent_lead_search='DISABLED',agent_lead_search_method=_0x1c96bb(0x42e),qm_phone_environment='',auto_pause_precall='N',auto_pause_precall_code=_0x1c96bb(0x750),auto_resume_precall='N',hide_gender='1',disable_dispo_screen='0',disable_dispo_status='',status_display_NAME='0',status_display_CALLID='1',status_display_LEADID='0',status_display_LISTID='0',hide_dispo_list='0',consult_custom_delay='2',pause_after_next_call=_0x1c96bb(0x2e7),next_call_pause=_0x1c96bb(0x2e7),deactivated_old_session='1',owner_populate=_0x1c96bb(0x2e7),qc_enabled='0',mrglock_ig_select_ct='4',dead_max='0',dead_max_dispo=_0x1c96bb(0x138),dead_to_dispo='0',dispo_max='0',dispo_max_dispo='DISMX',pause_max='0',pause_max_dispo=_0x1c96bb(0x692),pause_max_exceptions='',script_top_dispo='N',manual_dial_search_checkbox='SELECTED',hide_call_log_info='N',comments_all_tabs='DISABLED',comments_dispo_screen='DISABLED',comments_callback_screen=_0x1c96bb(0x2e7),qc_comment_history=_0x1c96bb(0x7e0),clear_script=_0x1c96bb(0x2e7),manual_dial_override_field='ENABLED',status_display_ingroup='ENABLED',customer_gone_seconds='-30',agent_display_fields=_0x1c96bb(0x3e2),allow_required_fields='N',ready_max_logout='0',three_way_record_stop='N',three_way_record_stop_exception='',leave_3way_start_recording=_0x1c96bb(0x2e7),leave_3way_start_recording_exception='',hangup_xfer_record_start='N',agent_push_events='0',agent_push_url='',version=_0x1c96bb(0x820),build=_0x1c96bb(0x187),script_name='/agc/index.php',MI_PAUSE='0',LOGINvarONE='',LOGINvarTWO='',LOGINvarTHREE='',LOGINvarFOUR='',LOGINvarFIVE='',hide_relogin_fields='',routing_initiated_recording='Y',dead_trigger_seconds='0',dead_trigger_action=_0x1c96bb(0x2e7),dead_trigger_repeat='NO',dead_trigger_filename='',agent_logout_link='1',scheduled_callbacks_force_dial='N',launch_scb_force_dial='0',scheduled_callbacks_timezones_container=_0x1c96bb(0x2e7),scheduled_callbacks_timezones_enabled='0',three_way_volume_buttons=_0x1c96bb(0x20d),manual_dial_validation='N',trigger_manual_validation=0x0,mute_recordings='N',leave_vm_no_dispo='',leave_vm_message_group_id=_0x1c96bb(0x2f1),leave_vm_message_group_exists='',webphone_call_seconds='0',SSenable_second_script='0',SSoutbound_cid_any=_0x1c96bb(0x2e7),SSbrowser_call_alerts='0',CAMPbrowser_alert_sound=_0x1c96bb(0x2f1),CAMPbrowser_alert_volume='50',browser_alert_sound=_0x1c96bb(0x2f1),browser_alert_volume='50',transfer_button_launch='NONE',SSagent_hidden_sound_seconds='0',SSagent_hidden_sound=_0x1c96bb(0x2d6),SSagent_hidden_sound_volume='25',last_hidden_sound_UnixTime=_0x1c96bb(0x759),in_man_dial_next_ready_seconds='0',in_man_dial_next_ready_seconds_override='DISABLED',transfer_no_dispo=_0x1c96bb(0x2e7),transfer_no_dispoLOCAL='0',transfer_no_dispoEXTERNAL='0',transfer_no_dispoLEAVE3WAY='0',user_pass_webform='0',phone_login_webform='0',pause_max_url_trigger='0',agent_hide_hangup_ACTIVE='',ext_context='default',login_context=_0x1c96bb(0x77e),protocol=_0x1c96bb(0x279),local_gmt='1',VtigeRLogiNScripT='Y',VtigeRurl='',VtigeREnableD='0',last_UnixTime=UnixTime,visibility_state='WENT VISIBLE',browserPrefixes=[_0x1c96bb(0x311),'ms','o',_0x1c96bb(0x53a)],isVisible=!![];function getHiddenPropertyName(_0x18d842){var _0x3cea11=_0x1c96bb;return _0x18d842?_0x18d842+_0x3cea11(0x6bd):_0x3cea11(0x4c7);}function getVisibilityEvent(_0x517aac){var _0xc9e3d0=_0x1c96bb;return(_0x517aac?_0x517aac:'')+_0xc9e3d0(0x4ff);}function getBrowserPrefix(){var _0x12de32=_0x1c96bb;for(var _0x43d479=0x0;_0x43d479<browserPrefixes[_0x12de32(0x35c)];_0x43d479++){if(getHiddenPropertyName(browserPrefixes[_0x43d479])in document)return browserPrefixes[_0x43d479];}return null;}var browserPrefix=getBrowserPrefix(),hiddenPropertyName=getHiddenPropertyName(browserPrefix),visibilityEventName=getVisibilityEvent(browserPrefix),IE=document[_0x1c96bb(0x161)]?!![]:![];if(!IE)document['captureEvents'](Event['MOUSEMOVE']);$(function(){var _0x1fcbf0=_0x1c96bb;$(_0x1fcbf0(0x69c))['on'](_0x1fcbf0(0x32b),function(){var _0x2ffb33=_0x1fcbf0;if($(this)['attr'](_0x2ffb33(0x15d))==0x1){var _0x218629=$(window)[_0x2ffb33(0x7c2)]()-0x132;$(_0x2ffb33(0x71b))[_0x2ffb33(0x6c6)](_0x2ffb33(0x560),'none'),$(this)[_0x2ffb33(0x7b8)](_0x2ffb33(0x15d),0x0),$(_0x2ffb33(0x505))[_0x2ffb33(0x503)](_0x2ffb33(0x1ec))['addClass']('fa-chevron-right'),$(_0x2ffb33(0x817))[_0x2ffb33(0x6c6)]('left','-'+_0x218629+'px');}else $(this)[_0x2ffb33(0x7b8)]('data-click-state',0x1),$(_0x2ffb33(0x71b))[_0x2ffb33(0x6c6)]('display',_0x2ffb33(0x4b4)),$('#DispoSelectBox .handle .fa')[_0x2ffb33(0x503)](_0x2ffb33(0x64e))[_0x2ffb33(0x472)](_0x2ffb33(0x1ec)),$(_0x2ffb33(0x817))[_0x2ffb33(0x6c6)](_0x2ffb33(0x2ba),'0px');}),$(_0x1fcbf0(0x371))['on']('click',function(){CalLBacKsLisTCheck();}),$(_0x1fcbf0(0x228))['on']('click',function(){VieWCalLLoG();});}),setInterval(function(){AgentTimeReport('','');},0x2710);function livehangup_send_hangup(_0x2ff1a3){var _0x23eb2b=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x23eb2b(0x55f)+_0x2ff1a3+'|';var _0x55295b=![];!_0x55295b&&typeof XMLHttpRequest!=_0x23eb2b(0x34f)&&(_0x55295b=new XMLHttpRequest());if(_0x55295b){var _0x1a1158=_0x23eb2b(0x681)+epoch_sec+user_abb,_0x1910b4=_0x2ff1a3;livehangup_query=_0x23eb2b(0x4c6)+server_ip+'&session_name='+session_name+_0x23eb2b(0x66e)+user+'&pass='+pass+_0x23eb2b(0x4bb)+_0x1910b4+'&queryCID='+_0x1a1158+'&log_campaign='+campaign+'&qm_extension='+qm_extension,_0x55295b[_0x23eb2b(0x63c)](_0x23eb2b(0x584),'manager_send.php'),_0x55295b[_0x23eb2b(0x636)](_0x23eb2b(0x638),_0x23eb2b(0x404)),_0x55295b[_0x23eb2b(0x2fd)](livehangup_query),_0x55295b['onreadystatechange']=function(){var _0x594266=_0x23eb2b;_0x55295b['readyState']==0x4&&_0x55295b[_0x594266(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x55295b[_0x594266(0x137)],alert_box(_0x55295b['responseText']),button_click_log=button_click_log+''+SQLdate+_0x594266(0x822)+_0x1910b4+'|');},delete _0x55295b;}}function play_browser_sound(_0x296ad6,_0x5b0f13){var _0x27ed68=_0x1c96bb;if(_0x296ad6!='---NONE---'&&_0x296ad6!=_0x27ed68(0x192)&&_0x296ad6!=''){var _0x249c9d=_0x27ed68(0x7e7)+_0x296ad6,_0x53c461=$('#'+_0x249c9d),_0x422eba=_0x5b0f13*0.01;_0x53c461[_0x27ed68(0x2c8)]=_0x422eba,_0x53c461[_0x27ed68(0x28b)]();}}function volume_control(_0x41f35c,_0x5f413f,_0x281e43){var _0x987e81=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----volume_control---'+_0x41f35c+' '+_0x5f413f+' '+_0x281e43+'|';_0x281e43==_0x987e81(0x3d3)&&(_0x5f413f=agentchannel);var _0x17d546=![];!_0x17d546&&typeof XMLHttpRequest!='undefined'&&(_0x17d546=new XMLHttpRequest());if(_0x17d546){var _0x2a1cc0=_0x987e81(0x4bc)+epoch_sec+user_abb,_0x593598=_0x5f413f;livevolume_query='server_ip='+server_ip+_0x987e81(0x7b6)+session_name+_0x987e81(0x66e)+user+_0x987e81(0x397)+pass+_0x987e81(0x412)+_0x593598+'&stage='+_0x41f35c+_0x987e81(0x2bd)+session_id+'&ext_context='+ext_context+_0x987e81(0x793)+_0x2a1cc0,_0x17d546[_0x987e81(0x63c)]('POST',_0x987e81(0x58c)),_0x17d546[_0x987e81(0x636)](_0x987e81(0x638),_0x987e81(0x404)),_0x17d546[_0x987e81(0x2fd)](livevolume_query),_0x17d546['onreadystatechange']=function(){var _0x4f7af5=_0x987e81;_0x17d546[_0x4f7af5(0x30f)]==0x4&&_0x17d546[_0x4f7af5(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x17d546['responseText']);},delete _0x17d546;}}function MuteRecording(_0xba3cb8){var _0x3abf6b=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3abf6b(0x5bb)+_0xba3cb8+' '+active_rec_channel+'|';var _0x1f0197=![];!_0x1f0197&&typeof XMLHttpRequest!=_0x3abf6b(0x34f)&&(_0x1f0197=new XMLHttpRequest());if(_0x1f0197){var _0x17a9b3=epoch_sec,_0x13094c=$(_0x3abf6b(0x486))[_0x3abf6b(0x1b2)]();_0x13094c['length']<0x1&&(_0x13094c=user_abb);_0x13094c=set_length(_0x13094c,'10','left'),_0x17a9b3=set_length(_0x17a9b3,'6','right');var _0x333c01='AM'+_0x17a9b3+'W'+_0x13094c+'W',_0xd52dbf=_0x3abf6b(0x4c6)+server_ip+'&session_name='+session_name+_0x3abf6b(0x66e)+user+_0x3abf6b(0x397)+pass+_0x3abf6b(0x2f9)+active_rec_channel+_0x3abf6b(0x44a)+_0xba3cb8+'&exten='+session_id+'&ext_context='+ext_context+'&queryCID='+_0x333c01+_0x3abf6b(0x741)+agent_log_id+_0x3abf6b(0x650)+$(_0x3abf6b(0x486))[_0x3abf6b(0x1b2)]()+_0x3abf6b(0x6ae)+$(_0x3abf6b(0x186))['val']()+'&campaign='+campaign+_0x3abf6b(0x1bb)+VU_user_group;_0x1f0197[_0x3abf6b(0x63c)](_0x3abf6b(0x584),'manager_send.php'),_0x1f0197[_0x3abf6b(0x636)]('Content-Type',_0x3abf6b(0x404)),_0x1f0197[_0x3abf6b(0x2fd)](_0xd52dbf),_0x1f0197[_0x3abf6b(0x18a)]=function(){var _0x21947b=_0x3abf6b;_0x1f0197['readyState']==0x4&&_0x1f0197[_0x21947b(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x1f0197[_0x21947b(0x137)]);},delete _0x1f0197;}_0xba3cb8=='on'?$('#RecorDMute')[_0x3abf6b(0x628)](_0x3abf6b(0x483)):$('#RecorDMute')[_0x3abf6b(0x628)](_0x3abf6b(0x197));}function custom_button_transfer(){var _0xc341d4=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----custom_button_transfer---|',ShoWTransferMain('ON');if(custom_3way_button_transfer_contacts>0x0)generate_contacts_search();else{if(custom_3way_button_transfer_view>0x0)generate_presets_pulldown();else{(custom_3way_button_transfer==_0xc341d4(0x7a6)||custom_3way_button_transfer==_0xc341d4(0x4cf))&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_a_NuMber),$(_0xc341d4(0x747))['val']('D1'));(custom_3way_button_transfer==_0xc341d4(0x572)||custom_3way_button_transfer==_0xc341d4(0x620))&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_b_NuMber),$(_0xc341d4(0x747))[_0xc341d4(0x1b2)]('D2'));(custom_3way_button_transfer==_0xc341d4(0x7da)||custom_3way_button_transfer=='PARK_PRESET_3')&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_c_NuMber),$(_0xc341d4(0x747))[_0xc341d4(0x1b2)]('D3'));(custom_3way_button_transfer==_0xc341d4(0x5ac)||custom_3way_button_transfer==_0xc341d4(0x3df))&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_d_NuMber),$('#xfername')[_0xc341d4(0x1b2)]('D4'));(custom_3way_button_transfer==_0xc341d4(0x5a7)||custom_3way_button_transfer==_0xc341d4(0x44f))&&($(_0xc341d4(0x5d3))['val'](CalL_XC_e_NuMber),$(_0xc341d4(0x747))[_0xc341d4(0x1b2)]('D5'));(custom_3way_button_transfer=='FIELD_address3'||custom_3way_button_transfer==_0xc341d4(0x70c))&&$('#xfernumber')[_0xc341d4(0x1b2)]($('#address3')['val']());(custom_3way_button_transfer==_0xc341d4(0x518)||custom_3way_button_transfer=='PARK_FIELD_province')&&$(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)]($(_0xc341d4(0x300))['val']());(custom_3way_button_transfer==_0xc341d4(0x50a)||custom_3way_button_transfer==_0xc341d4(0x630))&&$(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)]($('#security_phrase')[_0xc341d4(0x1b2)]());(custom_3way_button_transfer=='FIELD_vendor_lead_code'||custom_3way_button_transfer==_0xc341d4(0x247))&&$(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)]($('#vendor_lead_code')[_0xc341d4(0x1b2)]());(custom_3way_button_transfer==_0xc341d4(0x720)||custom_3way_button_transfer==_0xc341d4(0x1b8))&&$(_0xc341d4(0x5d3))['val']($('#email')[_0xc341d4(0x1b2)]());(custom_3way_button_transfer==_0xc341d4(0x263)||custom_3way_button_transfer=='PARK_FIELD_owner')&&$('#xfernumber')[_0xc341d4(0x1b2)]($('#owner')[_0xc341d4(0x1b2)]());var _0x1a16f2=$('#xfernumber')[_0xc341d4(0x1b2)]();_0x1a16f2[_0xc341d4(0x35c)]<0x3?(alert_box(_0xc341d4(0x3aa)+_0x1a16f2),button_click_log=button_click_log+''+SQLdate+'-----DialXferInvalid---'+_0x1a16f2+'|',ShoWTransferMain(_0xc341d4(0x658),'YES')):custom_3way_button_transfer_park>0x0?xfer_park_dial():SendManualDial(_0xc341d4(0x18f));}}}function AgentTimeReport(_0x475029,_0x26c4a7){var _0xc2f153=_0x1c96bb,_0x24d68c=![];!_0x24d68c&&typeof XMLHttpRequest!=_0xc2f153(0x34f)&&(_0x24d68c=new XMLHttpRequest());if(_0x24d68c){var _0x312d63=_0xc2f153(0x4c6)+server_ip+'&session_name='+session_name+_0xc2f153(0x44a)+agent_screen_time_display+_0xc2f153(0x650)+$(_0xc2f153(0x486))['val']()+_0xc2f153(0x553)+user+_0xc2f153(0x6b5)+campaign+'&start_date='+_0x475029+'&end_date='+_0x26c4a7+'&pass='+pass;_0x24d68c[_0xc2f153(0x63c)](_0xc2f153(0x584),_0xc2f153(0x550)),_0x24d68c[_0xc2f153(0x636)](_0xc2f153(0x638),_0xc2f153(0x404)),_0x24d68c['send'](_0x312d63),_0x24d68c['onreadystatechange']=function(){var _0x16ae26=_0xc2f153;if(_0x24d68c[_0x16ae26(0x30f)]==0x4&&_0x24d68c[_0x16ae26(0x6aa)]==0xc8){var _0x4f6ce9=JSON[_0x16ae26(0x783)](_0x24d68c[_0x16ae26(0x137)]);$(_0x16ae26(0x30a))['html'](_0x4f6ce9[_0x16ae26(0x74c)]),$(_0x16ae26(0x43d))[_0x16ae26(0x628)](_0x4f6ce9[_0x16ae26(0x364)]),$(_0x16ae26(0x675))[_0x16ae26(0x628)](_0x4f6ce9[_0x16ae26(0x6ce)]),$(_0x16ae26(0x4e9))[_0x16ae26(0x628)](_0x4f6ce9[_0x16ae26(0x668)]),$(_0x16ae26(0x2f4))['html'](_0x4f6ce9[_0x16ae26(0x4e5)]);}},delete _0x24d68c;}}function xfer_park_dial(_0x25f706){var _0x2fb35c=_0x1c96bb,_0xbce698=$(_0x2fb35c(0x5d3))['val']();_0xbce698!=''?(_0x25f706=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x2fb35c(0x2a4)),conf_dialed=0x1,mainxfer_send_redirect('ParK',lastcustchannel,lastcustserverip),SendManualDial(_0x2fb35c(0x18f))):alert_box(_0x2fb35c(0x340));}function leave_3way_call(_0x412e0d,_0x40a903){var _0x23f17e=_0x1c96bb;_0x40a903==_0x23f17e(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x23f17e(0x531)+_0x412e0d+' '+leave_3way_start_recording_trigger+' '+leave_3way_start_recording_filename+'|'),threeway_end=0x0,leaving_threeway=0x1,customerparked>0x0&&mainxfer_send_redirect(_0x23f17e(0x136),lastcustchannel,lastcustserverip),mainxfer_send_redirect('3WAY','','',_0x412e0d),agent_events('3way_agent_leave','',aec),aec++,left_3way_timeout=0x3,$(_0x23f17e(0x643))[_0x23f17e(0x7b8)](_0x23f17e(0x585),image_livecall_OFF[_0x23f17e(0x585)]),$(_0x23f17e(0x4e0))['css']('border-bottom','2px solid rgb(229, 229, 229)'),$(_0x23f17e(0x56b))['html'](''),$('#list_appel')[_0x23f17e(0x628)]('');}function SendManualDial(_0x2af34c,_0x40cb65){var _0x4029ba=_0x1c96bb,_0xbff43c=$(_0x4029ba(0x5d3))[_0x4029ba(0x1b2)]();if(_0xbff43c!=''){conf_dialed=0x1,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_filename='';var _0x3c8544=0x0;if(_0x2af34c==_0x4029ba(0x18f)){xfer_in_call=0x1,agent_dialed_number='1',agent_dialed_type='XFER_3WAY',$('#DialWithCustomer')[_0x4029ba(0x628)](_0x4029ba(0x7b9)),$(_0x4029ba(0x545))[_0x4029ba(0x628)](_0x4029ba(0x7ab));var _0xe0d986=$(_0x4029ba(0x5b7))[_0x4029ba(0x1b2)]();_0xbff43c[_0x4029ba(0x35c)]<0x1&&_0xe0d986['length']>0x0&&(_0xbff43c=_0xe0d986);var _0x38fb93=_0xbff43c[_0x4029ba(0x81e)](),_0x4ffde1=session_id,_0x56f8f0='x'+_0x38fb93+'x',_0x285bc6=new RegExp(_0x56f8f0,'g');if(three_way_record_stop=='Y'){if(three_way_record_stop_exception=='')conf_send_recording('StopMonitorConf',session_id,recording_filename,'','','');else{if(three_way_record_stop_exception[_0x4029ba(0x42d)](_0x285bc6))var _0xeb0a03=0x1;else conf_send_recording(_0x4029ba(0x25a),session_id,recording_filename,'','','');}}else{if(three_way_record_stop_exception=='')var _0xeb0a03=0x1;else three_way_record_stop_exception[_0x4029ba(0x42d)](_0x285bc6)&&conf_send_recording(_0x4029ba(0x25a),session_id,recording_filename,'','','');}if(leave_3way_start_recording==''||leave_3way_start_recording==_0x4029ba(0x2e7))var _0xeb0a03=0x1;else leave_3way_start_recording==_0x4029ba(0x767)?leave_3way_start_recording_trigger=0x1:leave_3way_start_recording_exception[_0x4029ba(0x42d)](_0x285bc6)?(leave_3way_start_recording=='ALL_BUT_EXCEPTIONS'&&(leave_3way_start_recording_trigger=0x0),leave_3way_start_recording==_0x4029ba(0x183)&&(leave_3way_start_recording_trigger=0x1)):(leave_3way_start_recording==_0x4029ba(0x1de)&&(leave_3way_start_recording_trigger=0x1),leave_3way_start_recording==_0x4029ba(0x183)&&(leave_3way_start_recording_trigger=0x0));if(leave_3way_start_recording_trigger>0x0){var _0x24d183=new RegExp(' ','g'),_0x1f8c11=$(_0x4029ba(0x48f))[_0x4029ba(0x1b2)]();_0x1f8c11=_0x1f8c11['replace'](_0x24d183,'');var _0x5bd8b3=$(_0x4029ba(0x486))[_0x4029ba(0x1b2)](),_0x438bd0=new RegExp(_0x4029ba(0x492),'g'),_0x27e90f=new RegExp(_0x4029ba(0x6b6),'g'),_0x35cf42=new RegExp(_0x4029ba(0x1a0),'g'),_0x3e1dbf=new RegExp('AGENT','g'),_0x13fee5=new RegExp('VENDORLEADCODE','g'),_0x397cb7=new RegExp('LEADID','g'),_0x2e6b74=new RegExp(_0x4029ba(0x2b5),'g');temp_filename=LIVE_campaign_rec_filename,temp_filename=temp_filename[_0x4029ba(0x74b)](_0x438bd0,campaign),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x27e90f,VDCL_group_id),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x35cf42,lead_dial_number),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x3e1dbf,user),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x13fee5,_0x1f8c11),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x397cb7,_0x5bd8b3),temp_filename=temp_filename['replace'](_0x2e6b74,LasTCID),leave_3way_start_recording_filename=temp_filename;}_0x2394b6='';three_way_call_cid==_0x4029ba(0x492)&&(_0x2394b6=campaign_cid);three_way_call_cid==_0x4029ba(0x3f3)&&(cid_lock=0x1,_0x2394b6=outbound_cid);three_way_call_cid=='CUSTOMER'&&(cid_lock=0x1,_0x2394b6=$('#phone_number')[_0x4029ba(0x1b2)]());three_way_call_cid=='CUSTOM_CID'&&(_0x2394b6=$(_0x4029ba(0x6bb))[_0x4029ba(0x1b2)]());if(three_way_call_cid==_0x4029ba(0x2c3)){cid_lock=0x1,_0x2394b6=cid_choice;if(active_group_alias[_0x4029ba(0x35c)]>0x1)var _0x3c8544=0x1;}}else{var _0x38fb93=_0xbff43c[_0x4029ba(0x81e)](),_0x2394b6='1';(manual_dial_cid==_0x4029ba(0x3f3)||manual_dial_cid==_0x4029ba(0x1e8))&&(cid_lock=0x1,_0x2394b6=outbound_cid);}var _0x3782a3=new RegExp(_0x4029ba(0x6e8),'g');if(_0x38fb93[_0x4029ba(0x42d)](_0x3782a3))var _0x1de486=0x1;else{if($('#xferoverride')[_0x4029ba(0x789)](_0x4029ba(0x677))==![]||manual_dial_override_field==_0x4029ba(0x2e7)){if(three_way_dial_prefix=='X')var _0x40baa0='';else var _0x40baa0=three_way_dial_prefix;if(omit_phone_code=='Y')var _0x34dd88='';else var _0x34dd88=$(_0x4029ba(0x40c))[_0x4029ba(0x1b2)]();_0x38fb93['length']>0x7&&xfer_agent_selected<0x1&&(_0x38fb93=_0x40baa0+''+_0x34dd88+''+_0x38fb93);}else agent_dialed_type=_0x4029ba(0x244);call_variables=_0x4029ba(0x44e)+$(_0x4029ba(0x48f))['val']()+_0x4029ba(0x365)+$(_0x4029ba(0x486))[_0x4029ba(0x1b2)]();}var _0x1301b3=$('#xfername')[_0x4029ba(0x1b2)]();_0x40cb65==_0x4029ba(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x4029ba(0x824)+_0x2af34c+' '+agent_dialed_type+' '+_0x38fb93+' '+three_way_call_cid+' '+_0x2394b6+' '+_0x4ffde1+' '+_0x1301b3+' '),agent_events(_0x4029ba(0x2d5),agent_dialed_type+' '+_0x38fb93,aec),aec++,_0x2af34c==_0x4029ba(0x18f)?($(_0x4029ba(0x5b6))['prop']('checked')==!![]&&custom_fields_enabled>0x0&&consult_custom_delay>0x0?consult_custom_wait>=consult_custom_delay?(consult_custom_go=0x1,consult_custom_wait=0x0):(CustomerData_update('NO'),consult_custom_wait++,consult_custom_sent++):(consult_custom_go=0x1,consult_custom_wait=0x0),consult_custom_go>0x0&&basic_originate_call(_0x38fb93,'NO',_0x4029ba(0x18f),_0x4ffde1,'NO',_0x2af34c,_0x2394b6,_0x3c8544,'',_0x1301b3,call_variables)):basic_originate_call(_0x38fb93,'NO','NO','','','',_0x2394b6,_0x3c8544,_0x1301b3,call_variables),MD_ring_secondS=0x0;}else alert_box(_0x4029ba(0x340));}function basic_originate_call(_0x53ac6d,_0x1b68ef,_0x50ac8e,_0x3859e0,_0xa2d80f,_0x58bce1,_0x5778a0,_0x2af5fc,_0x3ca75d,_0x4ff33,_0x46c4b0){var _0xcd220f=_0x1c96bb;if(_0x3ca75d=='1'){var _0xdfa53d=_0x53ac6d;_0x53ac6d='83047777777777',_0x3859e0='7'+_0x3859e0;var _0x2a8f14=_0xcd220f(0x79e);}else var _0x2a8f14=_0xcd220f(0x1fa);var _0x38961a=0x0,_0x3a25d3=0x0;$('#consultativexfer')[_0xcd220f(0x789)](_0xcd220f(0x677))==!![]&&(_0x3a25d3=0x1);var _0x4bb312=new RegExp(_0xcd220f(0x676),'g'),_0x96886c=_0x53ac6d[_0xcd220f(0x81e)]();if(_0x96886c['match'](_0x4bb312)||_0x3a25d3>0x0){if(_0x96886c['match'](_0x4bb312)){var _0x157a79=_0x96886c['replace'](_0x4bb312,'');_0x157a79[_0xcd220f(0x35c)]<0x2&&(_0x157a79=_0xcd220f(0x449));var _0x4f5939='';}else{_0x157a79=_0xcd220f(0x449);var _0x4f5939=_0x96886c;}var _0x350dcc=$(_0xcd220f(0x262)),_0x490d21=_0x350dcc['val']();if(API_selected_xfergroup['length']>0x1)var _0x490d21=API_selected_xfergroup;_0x53ac6d=_0x157a79+'*'+_0x490d21+_0xcd220f(0x4a1)+$('#lead_id')[_0xcd220f(0x1b2)]()+'**'+dialed_number+'*'+user+'*'+_0x4f5939+'*'+VD_live_call_secondS+'*',consult_custom_sent<0x1&&CustomerData_update('NO');}var _0x25b595=new RegExp(_0xcd220f(0x773),'g');if(_0x96886c['match'](_0x25b595)){var _0x157a79=_0x96886c[_0xcd220f(0x74b)](_0x25b595,'');_0x157a79[_0xcd220f(0x35c)]<0x2&&(_0x157a79=_0xcd220f(0x352));var _0x7cde8a='_L';_0x7cde8a['length']<0x3&&(_0x7cde8a=_0xcd220f(0x14c)),_0x53ac6d=_0x157a79+'*'+$(_0xcd220f(0x5e7))[_0xcd220f(0x1b2)]()+'*'+$('#lead_id')[_0xcd220f(0x1b2)]()+'*'+campaign+'*'+_0x7cde8a+'*'+user+'**'+VD_live_call_secondS+'*',consult_custom_sent<0x1&&CustomerData_update('NO');}var _0x1963f0=![];!_0x1963f0&&typeof XMLHttpRequest!='undefined'&&(_0x1963f0=new XMLHttpRequest());if(_0x1963f0){if(_0x1b68ef=='NO')var _0x3e0c66='';else var _0x3e0c66=agc_dial_prefix;if(prefix_choice[_0xcd220f(0x35c)]>0x0)var _0x3e0c66=prefix_choice;if(_0x50ac8e==_0xcd220f(0x18f)){if(_0x3859e0[_0xcd220f(0x35c)]<0x2)var _0xbd016=dialplan_number;else var _0xbd016=_0x3859e0;var _0x3e0c66='',_0x205c23='Local/'+_0x53ac6d+'@'+ext_context;}else{var _0xbd016=_0x53ac6d;if(protocol==_0xcd220f(0x45e)||protocol=='Local')var _0xf2c943=_0xcd220f(0x4a0),_0x2cf49d=extension;else var _0xf2c943=protocol,_0x2cf49d=extension;var _0x205c23=_0xf2c943+'/'+_0x2cf49d;}var _0x58dbbf=$('#lead_id')['val'](),_0x24245d=epoch_sec;_0x58dbbf['length']<0x1&&(_0x58dbbf=user_abb);_0x58dbbf=set_length(_0x58dbbf,'10','left'),_0x24245d=set_length(_0x24245d,'6',_0xcd220f(0x612));if(_0x58bce1==_0xcd220f(0x18f))var _0x48f66b='DC'+_0x24245d+'W'+_0x58dbbf+'W';else var _0x48f66b='DV'+_0x24245d+'W'+_0x58dbbf+'W';_0x3ca75d=='1'&&(_0x48f66b=_0xdfa53d);if(cid_choice[_0xcd220f(0x35c)]>0x3){var _0x5418a2=cid_choice;_0x38961a=0x1;}else{if(_0x5778a0[_0xcd220f(0x35c)]>0x3)var _0x5418a2=_0x5778a0;else var _0x5418a2=campaign_cid;}VMCoriginate_query='server_ip='+server_ip+_0xcd220f(0x7b6)+session_name+_0xcd220f(0x66e)+user+_0xcd220f(0x397)+pass+_0xcd220f(0x682)+_0x205c23+_0xcd220f(0x793)+_0x48f66b+_0xcd220f(0x2bd)+_0x3e0c66+''+_0xbd016+_0xcd220f(0x214)+ext_context+_0xcd220f(0x512)+_0x5418a2+_0xcd220f(0x62e)+_0x38961a+'&preset_name='+_0x4ff33+'&campaign='+campaign+_0xcd220f(0x4af)+active_group_alias+_0xcd220f(0x158)+agent_dialed_number+_0xcd220f(0x71d)+agent_dialed_type+'&lead_id='+$(_0xcd220f(0x486))[_0xcd220f(0x1b2)]()+_0xcd220f(0x44a)+CheckDEADcallON+'&'+_0x2a8f14+_0xcd220f(0x3fd)+cid_lock+_0xcd220f(0x55d)+session_id+'&call_variables='+_0x46c4b0,_0x1963f0[_0xcd220f(0x63c)](_0xcd220f(0x584),_0xcd220f(0x58c)),_0x1963f0[_0xcd220f(0x636)](_0xcd220f(0x638),_0xcd220f(0x404)),_0x1963f0[_0xcd220f(0x2fd)](VMCoriginate_query),_0x1963f0['onreadystatechange']=function(){var _0x17e006=_0xcd220f;if(_0x1963f0['readyState']==0x4&&_0x1963f0[_0x17e006(0x6aa)]==0xc8){var _0x4ece89=new RegExp(_0x17e006(0x7f9),'g'),_0x1ed225=_0x1963f0['responseText'];_0x1ed225[_0x17e006(0x42d)](_0x4ece89)&&(alert_box(_0x1ed225),button_click_log=button_click_log+''+SQLdate+_0x17e006(0x515)+_0x1ed225+'|'),_0x3859e0['length']>0x0&&_0xa2d80f!='YES'&&(XDnextCID=_0x48f66b,MD_channel_look=0x1,XDcheck=_0x17e006(0x18f));}},delete _0x1963f0,active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',call_variables='',xfer_agent_selected=0x0,three_way_call_cid=orig_three_way_call_cid;}}function set_length(_0x3edaa7,_0x3be7c,_0x210cdc){var _0x49d455=_0x1c96bb,_0x3edaa7=_0x3edaa7+'',_0x8f85f9=0x0,_0xe77b63=_0x3edaa7[_0x49d455(0x35c)];_0xe77b63>_0x3be7c&&(_0x210cdc==_0x49d455(0x612)?(_0x8f85f9=_0xe77b63-_0x3be7c,_0x3edaa7=_0x3edaa7['substr'](_0x8f85f9,_0x3be7c)):_0x3edaa7=_0x3edaa7[_0x49d455(0x7e8)](0x0,_0x3be7c));var _0x2f7041=_0x3edaa7+'';while(_0x2f7041[_0x49d455(0x35c)]<_0x3be7c){_0x2f7041='0'+_0x2f7041;}return _0x2f7041;}function SendConfDTMF(_0x58ccbc,_0x410cfa){var _0x26f5da=_0x1c96bb;_0x410cfa==_0x26f5da(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x26f5da(0x409)+_0x58ccbc+'|');var _0x395c21=$('#conf_dtmf')[_0x26f5da(0x1b2)](),_0x559b32=_0x395c21[_0x26f5da(0x81e)](),_0x552d93=_0x58ccbc,_0x36d799=![];!_0x36d799&&typeof XMLHttpRequest!='undefined'&&(_0x36d799=new XMLHttpRequest());if(_0x36d799){var _0x2280ed=_0x559b32;VMCoriginate_query=_0x26f5da(0x4c6)+server_ip+_0x26f5da(0x7b6)+session_name+'&user='+user+'&pass='+pass+_0x26f5da(0x7d8)+dtmf_send_extension+_0x26f5da(0x793)+_0x2280ed+'&exten='+dtmf_silent_prefix+''+_0x552d93+_0x26f5da(0x214)+ext_context+_0x26f5da(0x363),_0x36d799['open'](_0x26f5da(0x584),_0x26f5da(0x58c)),_0x36d799[_0x26f5da(0x636)]('Content-Type',_0x26f5da(0x404)),_0x36d799[_0x26f5da(0x2fd)](VMCoriginate_query),_0x36d799[_0x26f5da(0x18a)]=function(){var _0x279ec9=_0x26f5da;if(_0x36d799[_0x279ec9(0x30f)]==0x4&&_0x36d799[_0x279ec9(0x6aa)]==0xc8){}},delete _0x36d799;}$(_0x26f5da(0x2a2))[_0x26f5da(0x1b2)]('');}function check_for_conf_calls(_0x54ed9b,_0x7f0430){var _0x16aaa6=_0x1c96bb;if(typeof xmlhttprequestcheckconf==_0x16aaa6(0x34f)){xmlhttprequestcheckconf_wait=0x0,custchannellive--;if(agentcallsstatus=='1'||callholdstatus=='1'){campagentstatct++;if(campagentstatct>campagentstatctmax){campagentstatct=0x0;var _0x383216=_0x16aaa6(0x18f);}else var _0x383216='NO';}else var _0x383216='NO';xmlhttprequestcheckconf=![],!xmlhttprequestcheckconf&&typeof XMLHttpRequest!=_0x16aaa6(0x34f)&&(xmlhttprequestcheckconf=new XMLHttpRequest()),xmlhttprequestcheckconf&&(checkconf_query=_0x16aaa6(0x4c6)+server_ip+'&session_name='+session_name+_0x16aaa6(0x66e)+user+_0x16aaa6(0x397)+pass+_0x16aaa6(0x2be)+_0x54ed9b+_0x16aaa6(0x52d)+auto_dial_level+'&campagentstdisp='+_0x383216+_0x16aaa6(0x425)+$(_0x16aaa6(0x2a6))[_0x16aaa6(0x1b2)]()+_0x16aaa6(0x2ab)+VD_live_call_secondS+_0x16aaa6(0x3ff)+$(_0x16aaa6(0x63f))[_0x16aaa6(0x1b2)]()+_0x16aaa6(0x475)+MDcheck_for_answer+_0x16aaa6(0x549)+MDnextCID+_0x16aaa6(0x6b5)+campaign+'&phone_number='+dialed_number+_0x16aaa6(0x432)+visibility_log+_0x16aaa6(0x3d2)+button_click_log,button_click_log='',visibility_log='',xmlhttprequestcheckconf[_0x16aaa6(0x63c)](_0x16aaa6(0x584),_0x16aaa6(0x4ee)),xmlhttprequestcheckconf['setRequestHeader'](_0x16aaa6(0x638),_0x16aaa6(0x404)),xmlhttprequestcheckconf['send'](checkconf_query),xmlhttprequestcheckconf[_0x16aaa6(0x18a)]=function(){var _0x397d4f=_0x16aaa6;if(xmlhttprequestcheckconf&&xmlhttprequestcheckconf['readyState']==0x4&&xmlhttprequestcheckconf[_0x397d4f(0x6aa)]==0xc8){var _0x10a3c7=null,_0x4afc70=_0x7f0430;_0x10a3c7=xmlhttprequestcheckconf[_0x397d4f(0x137)];var _0x3822c9=_0x10a3c7[_0x397d4f(0x65a)]('
'),_0x485599=_0x3822c9[0x0]['split']('|'),_0x38daa6=_0x485599[0x1][_0x397d4f(0x65a)](_0x397d4f(0x541));UnixTime=_0x38daa6[0x1],UnixTime=parseInt(UnixTime),UnixTimeMS=UnixTime*0x3e8,t[_0x397d4f(0x417)](UnixTimeMS);if(callholdstatus=='1'||agentcallsstatus=='1'||pixis_agent_disable!='NOT_ACTIVE'){var _0x2de737=_0x485599[0x2][_0x397d4f(0x65a)]('Logged-in: '),_0x3394bf=_0x2de737[0x1];if(typeof _0x485599[0x21]!==_0x397d4f(0x34f))var _0x383738=_0x485599[0x21][_0x397d4f(0x65a)](_0x397d4f(0x251));else var _0x383738='';var _0x39a91=_0x383738[0x1],_0x4d6870=_0x485599[0x3][_0x397d4f(0x65a)](_0x397d4f(0x4fc)),_0x271dc6=_0x4d6870[0x1],_0x45e751=_0x485599[0x5]['split'](_0x397d4f(0x745)),_0x248458=_0x45e751[0x1],_0x2c9c21=_0x485599[0x1b]['split'](_0x397d4f(0x189)),_0xa2b288=_0x2c9c21[0x1],_0x158e56=_0x485599[0x1c][_0x397d4f(0x65a)](_0x397d4f(0x763)),_0x2b17dc=_0x158e56[0x1];if(typeof _0x485599[0x22]!==_0x397d4f(0x34f))var _0x5085eb=_0x485599[0x22][_0x397d4f(0x65a)]('call_time_MS: '),_0xea1bf6=_0x5085eb[0x1];else var _0xea1bf6='';if(typeof _0x485599[0x23]!==_0x397d4f(0x34f))var _0x476e24=_0x485599[0x23][_0x397d4f(0x65a)](_0x397d4f(0x7f6)),_0x5cf30c=_0x476e24[0x1];else var _0x5cf30c='';_0x271dc6!='N'&&$(_0x397d4f(0x5ed))[_0x397d4f(0x628)](_0x271dc6);if(chat_enabled>0x0){if(_0xa2b288=='Y')$(_0x397d4f(0x571))['attr'](_0x397d4f(0x585),image_customer_chat_ALERT[_0x397d4f(0x585)]);else _0xa2b288=='C'?$(_0x397d4f(0x571))[_0x397d4f(0x7b8)](_0x397d4f(0x585),image_customer_chat_ON[_0x397d4f(0x585)]):$(_0x397d4f(0x571))[_0x397d4f(0x7b8)](_0x397d4f(0x585),image_customer_chat_OFF[_0x397d4f(0x585)]);}_0x2b17dc!='N'&&$(_0x397d4f(0x1f5))[_0x397d4f(0x628)](_0x2b17dc),_0x3394bf==_0x397d4f(0x275)&&(pixis_agent_disable=='LIVE_AGENT'||pixis_agent_disable==_0x397d4f(0x79f))&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x36d)+_0x3394bf+' '+pixis_agent_disable+' '+_0x39a91+_0x397d4f(0x1e5)+agent_datetime+'|',hideDiv(_0x397d4f(0x2b3)),LogouT('DISABLED','',''),refresh_interval=0x6f63a0,agent_events(_0x397d4f(0x14d),'LIVE_AGENT',aec),aec++),_0x3394bf==_0x397d4f(0x3d1)&&(pixis_agent_disable==_0x397d4f(0x45e)||pixis_agent_disable==_0x397d4f(0x79f))&&(button_click_log=button_click_log+''+SQLdate+'-----agent_disabled---'+_0x3394bf+' '+pixis_agent_disable+' '+_0x39a91+_0x397d4f(0x1e5)+agent_datetime+'|',hideDiv(_0x397d4f(0x2b3)),refresh_interval=0x6f63a0,agent_events('session_disabled','DEAD_EXTERNAL',aec),aec++),_0x3394bf=='TIME_SYNC'&&pixis_agent_disable=='ALL'&&(button_click_log=button_click_log+''+SQLdate+'-----system_disabled---'+_0x3394bf+' '+pixis_agent_disable+' '+_0x39a91+_0x397d4f(0x1e5)+agent_datetime+'|',agent_events(_0x397d4f(0x702),'',aec),aec++),_0x3394bf=='SHIFT_LOGOUT'&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x5db)+_0x3394bf+' '+_0x39a91+'|',shift_logout_flag=0x1),_0x3394bf=='API_LOGOUT'&&(api_logout_flag=0x1,button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x796)+_0x3394bf+' '+api_logout_flag+' '+_0x39a91+'|',MD_channel_look<0x1&&VD_live_customer_call<0x1&&alt_dial_status_display<0x1&&LogouT('API','',''));}var _0x2eeeb5=_0x485599[0x4][_0x397d4f(0x65a)](_0x397d4f(0x5e6)),_0x54e88f=_0x2eeeb5[0x1];_0x54e88f=='PAUSED'&&AutoDialWaiting==0x1?PausENotifYCounTer>0xa?(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x748)+_0x54e88f+' '+AutoDialWaiting+'|',alert_box(_0x397d4f(0x82e)),AutoDial_ReSume_PauSe(_0x397d4f(0x2ce)),PausENotifYCounTer=0x0):PausENotifYCounTer++:PausENotifYCounTer=0x0;var _0x1dfc87=_0x397d4f(0x733);if(_0x54e88f==_0x397d4f(0x3ec))_0x1dfc87=_0x397d4f(0x797),$(_0x397d4f(0x1c2))['css'](_0x397d4f(0x433),'#008cba');else{if(_0x54e88f=='INCALL')_0x1dfc87=_0x397d4f(0x2d9),$(_0x397d4f(0x1c2))[_0x397d4f(0x6c6)]('background-color','#559733');else _0x54e88f=='PAUSED'&&(_0x1dfc87='Pause',$(_0x397d4f(0x1c2))[_0x397d4f(0x6c6)](_0x397d4f(0x433),'rgb(164, 165, 166)'));}$(_0x397d4f(0x253))['html'](_0x1dfc87+' '+_0x5cf30c),$(_0x397d4f(0x31d))[_0x397d4f(0x628)](_0xea1bf6);_0x54e88f==_0x397d4f(0x156)?($(_0x397d4f(0x13e))[_0x397d4f(0x45c)](),_0x5cf30c!=''?$(_0x397d4f(0x7f3))[_0x397d4f(0x628)]('<i class="fa fa-pause" style="color: #ff0000;"></i> '+_0x5cf30c):$(_0x397d4f(0x7f3))['html'](_0x397d4f(0x459)),$(_0x397d4f(0x519))['html'](_0xea1bf6)):$(_0x397d4f(0x13e))[_0x397d4f(0x345)]();var _0x386416=_0x485599[0x6][_0x397d4f(0x65a)](_0x397d4f(0x7d4)),_0x437720=_0x386416[0x1],_0x48bf61=_0x485599[0x7][_0x397d4f(0x65a)](_0x397d4f(0x7a3)),_0x55d15f=_0x48bf61[0x1],_0x4dd909=_0x485599[0x8][_0x397d4f(0x65a)](_0x397d4f(0x2d0)),_0x440324=_0x4dd909[0x1],_0x29ea76=_0x485599[0x9][_0x397d4f(0x65a)](_0x397d4f(0x5da)),_0x44a039=_0x29ea76[0x1],_0xe6f40b=_0x485599[0x18][_0x397d4f(0x65a)](_0x397d4f(0x496));APIManualDialQueue=_0xe6f40b[0x1];var _0x140e7d=_0x485599[0xa][_0x397d4f(0x65a)](_0x397d4f(0x523));CheckDEADcall=_0x140e7d[0x1];var _0x4f94a5=_0x485599[0xb][_0x397d4f(0x65a)](_0x397d4f(0x62f)),_0x37f94f=_0x4f94a5[0x1],_0x3a52f3=_0x485599[0xc],_0x3347a4=_0x485599[0xd],_0x58e4af=_0x485599[0xe],_0x5d70cd=_0x485599[0xf][_0x397d4f(0x65a)](_0x397d4f(0x765));update_fields=_0x5d70cd[0x1];var _0x46f260=_0x485599[0x10][_0x397d4f(0x65a)](_0x397d4f(0x4bf));update_fields_data=_0x46f260[0x1];var _0x310e6e=_0x485599[0x11][_0x397d4f(0x65a)]('APITimerAction: ');api_timer_action=_0x310e6e[0x1];var _0x4b2060=_0x485599[0x12]['split']('APITimerMessage: ');api_timer_action_message=_0x4b2060[0x1];var _0x2a9718=_0x485599[0x13][_0x397d4f(0x65a)](_0x397d4f(0x351));api_timer_action_seconds=_0x2a9718[0x1];var _0x101d25=_0x485599[0x17][_0x397d4f(0x65a)](_0x397d4f(0x82c));api_timer_action_destination=_0x101d25[0x1];var _0x24da31=_0x485599[0x19][_0x397d4f(0x65a)](_0x397d4f(0x679)),_0x254abd=_0x24da31[0x1],_0x3cc459=_0x485599[0x1a][_0x397d4f(0x65a)]('APIPaUseCodE: '),_0x4ad901=_0x3cc459[0x1],_0x5a4a72=_0x485599[0x1e][_0x397d4f(0x65a)](_0x397d4f(0x196)),_0x329f80=_0x5a4a72[0x1],_0x1e8f7a=_0x485599[0x1f][_0x397d4f(0x65a)]('DEADxfer: '),_0x281c31=_0x1e8f7a[0x1],_0x27d607=_0x485599[0x20][_0x397d4f(0x65a)](_0x397d4f(0x24d)),_0x372e6d=_0x27d607[0x1]['split'](_0x397d4f(0x47e)),_0xd206b0=_0x485599[0x14][_0x397d4f(0x65a)](_0x397d4f(0x5d5));api_dtmf=_0xd206b0[0x1];var _0x268b7a=_0x485599[0x15]['split'](_0x397d4f(0x58a)),_0x2c5245=_0x268b7a[0x1][_0x397d4f(0x65a)](_0x397d4f(0x16c));api_transferconf_function=_0x2c5245[0x0],api_transferconf_group=_0x2c5245[0x1],api_transferconf_number=_0x2c5245[0x2],api_transferconf_consultative=_0x2c5245[0x3],api_transferconf_override=_0x2c5245[0x4],api_transferconf_group_alias=_0x2c5245[0x5],api_transferconf_cid_number=_0x2c5245[0x6],api_transferconf_cid_choice=_0x2c5245[0x8];var _0x141638=_0x485599[0x16]['split'](_0x397d4f(0x5cf));api_parkcustomer=_0x141638[0x1];if(_0x372e6d[0x0]>0x0){if(_0x372e6d[0x1]==_0x397d4f(0x568)){var _0x500495=_0x372e6d[0x2],_0x200cb7=_0x372e6d[0x3],_0x23c5f7=_0x372e6d[0x4],_0x4660fa=new RegExp(_0x397d4f(0x1fe),'ig'),_0x2a1f97=new RegExp(_0x397d4f(0x29c),'ig'),_0x51b467=new RegExp(_0x397d4f(0x3cb),'ig');_0x500495[_0x397d4f(0x42d)](_0x4660fa)&&(button_click_log=button_click_log+''+SQLdate+'-----SIPeventMESSAGE---'+_0x500495+'|',TimerActionRun(_0x397d4f(0x296),_0x23c5f7,0x3));if(_0x500495[_0x397d4f(0x42d)](_0x51b467)){button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x394)+_0x500495+'|',dialedcall_send_hangup();if(_0x500495['match'](_0x2a1f97)&&_0x200cb7[_0x397d4f(0x35c)]>0x0){button_click_log=button_click_log+''+SQLdate+'-----SIPeventDISPO---'+_0x200cb7+' '+_0x500495+'|',CustomerData_update('NO');if(per_call_notes==_0x397d4f(0x20d)&&comments_dispo_screen!=_0x397d4f(0x5c6)){var _0x164b45=$(_0x397d4f(0x41e))[_0x397d4f(0x1b2)]();_0x164b45[_0x397d4f(0x35c)]>0x0&&$(_0x397d4f(0x53c))[_0x397d4f(0x1b2)]($(_0x397d4f(0x41e))['val']());}SIPaction_dispo_count=0x4,SIPaction_dispo_finish=0x1,alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,$(_0x397d4f(0x5c9))['val'](_0x200cb7),$(_0x397d4f(0x46f))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),dialedcall_send_hangup('NO','NO',_0x200cb7),custom_fields_enabled>0x0&&(customsubmit_trigger=0x1);}}agent_events(_0x397d4f(0x563),_0x397d4f(0x5f2)+_0x500495+' '+_0x200cb7,aec),aec++;}MDcheck_for_answer=0x0;}_0x281c31>0x0&&CheckDEADcallON<0x1&&XD_live_customer_call>0x0&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x1bd)+$(_0x397d4f(0x63f))[_0x397d4f(0x1b2)]()+'|',xfercall_send_hangup(_0x397d4f(0x18f)),alert_box(_0x397d4f(0x1be)),active_threeway=0x0);_0x329f80[_0x397d4f(0x35c)]>0x0&&_0x329f80>0x0&&(api_switch_lead_triggered<0x1&&(api_switch_lead_triggered++,LeaDSearcHSelecT(_0x329f80)));_0x4ad901[_0x397d4f(0x35c)]>0x0&&(VDRP_stage=='PAUSED'&&PauseCodeSelect_submit(_0x4ad901));var _0x157cfc=new RegExp(_0x397d4f(0x6ad),'g');if(_0x254abd['match'](_0x157cfc)){var _0x321e7e=_0x254abd;_0x321e7e[_0x397d4f(0x35c)]>0x5?_0x321e7e=_0x321e7e[_0x397d4f(0x74b)](_0x157cfc,''):_0x321e7e='',conf_send_recording(_0x397d4f(0x270),session_id,'','1',_0x321e7e,_0x397d4f(0x18f));}_0x254abd=='STOP'&&conf_send_recording(_0x397d4f(0x25a),session_id,recording_filename,'1','',_0x397d4f(0x18f));api_transferconf_function['length']>0x0&&(api_transferconf_ID==_0x2c5245[0x7]?(button_click_log=button_click_log+''+SQLdate+'-----TRANSFERCONF_API_DUP---'+api_transferconf_function+' '+api_transferconf_ID+' '+_0x2c5245[0x7]+' '+external_transferconf_count+' '+'|',Clear_API_Field(_0x397d4f(0x654))):(api_transferconf_ID=_0x2c5245[0x7],api_transferconf_function==_0x397d4f(0x1da)&&xfercall_send_hangup(),api_transferconf_function=='HANGUP_BOTH'&&bothcall_send_hangup(),api_transferconf_function==_0x397d4f(0x5ba)&&mainxfer_send_redirect(_0x397d4f(0x190),lastcustchannel,lastcustserverip),api_transferconf_function=='LEAVE_3WAY_CALL'&&leave_3way_call('FIRST'),api_transferconf_function==_0x397d4f(0x19d)&&(api_transferconf_override==_0x397d4f(0x18f)&&$(_0x397d4f(0x6c5))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),api_transferconf_override=='NO'&&$(_0x397d4f(0x6c5))['prop'](_0x397d4f(0x677),![]),$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](api_transferconf_number),mainxfer_send_redirect(_0x397d4f(0x7bb),lastcustchannel,lastcustserverip)),external_transferconf_count<0x1&&(api_transferconf_function=='LOCAL_CLOSER'&&(API_selected_xfergroup=api_transferconf_group,$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](api_transferconf_number),mainxfer_send_redirect(_0x397d4f(0x634),lastcustchannel,lastcustserverip)),api_transferconf_function==_0x397d4f(0x52f)&&(api_transferconf_consultative==_0x397d4f(0x18f)&&$('#consultativexfer')[_0x397d4f(0x789)]('checked',!![]),api_transferconf_consultative=='NO'&&$(_0x397d4f(0x5b6))[_0x397d4f(0x789)](_0x397d4f(0x677),![]),api_transferconf_override==_0x397d4f(0x18f)&&$(_0x397d4f(0x6c5))['prop'](_0x397d4f(0x677),!![]),api_transferconf_override=='NO'&&$(_0x397d4f(0x6c5))[_0x397d4f(0x789)](_0x397d4f(0x677),![]),API_selected_xfergroup=api_transferconf_group,$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](api_transferconf_number),active_group_alias=api_transferconf_group_alias,cid_choice=api_transferconf_cid_number,api_transferconf_cid_choice['length']>0x3&&(three_way_call_cid=api_transferconf_cid_choice),SendManualDial(_0x397d4f(0x18f),'YES')),api_transferconf_function==_0x397d4f(0x395)&&(api_transferconf_consultative=='YES'&&$('#consultativexfer')[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),api_transferconf_consultative=='NO'&&$(_0x397d4f(0x5b6))[_0x397d4f(0x789)](_0x397d4f(0x677),![]),api_transferconf_override==_0x397d4f(0x18f)&&$(_0x397d4f(0x6c5))[_0x397d4f(0x789)]('checked',!![]),API_selected_xfergroup=api_transferconf_group,$('#xfernumber')[_0x397d4f(0x1b2)](api_transferconf_number),active_group_alias=api_transferconf_group_alias,cid_choice=api_transferconf_cid_number,xfer_park_dial()),external_transferconf_count=0x3),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x29e)+api_transferconf_function+'|',Clear_API_Field('external_transferconf')));api_parkcustomer==_0x397d4f(0x3e7)&&mainxfer_send_redirect(_0x397d4f(0x72f),lastcustchannel,lastcustserverip);api_parkcustomer=='GRAB_CUSTOMER'&&mainxfer_send_redirect('FROMParK',lastcustchannel,lastcustserverip);api_parkcustomer=='PARK_IVR_CUSTOMER'&&mainxfer_send_redirect(_0x397d4f(0x148),lastcustchannel,lastcustserverip);api_parkcustomer==_0x397d4f(0x5e0)&&mainxfer_send_redirect(_0x397d4f(0x5ee),lastcustchannel,lastcustserverip);if(api_dtmf[_0x397d4f(0x35c)]>0x0){var _0x764b9e=new RegExp('P','g'),_0x679a33=new RegExp('S','g'),_0x635e8d=new RegExp('Q','g');api_dtmf=api_dtmf[_0x397d4f(0x74b)](_0x764b9e,'#'),api_dtmf=api_dtmf[_0x397d4f(0x74b)](_0x679a33,'*'),api_dtmf=api_dtmf[_0x397d4f(0x74b)](_0x635e8d,','),$(_0x397d4f(0x2a2))[_0x397d4f(0x1b2)](api_dtmf),SendConfDTMF(session_id);}api_timer_action[_0x397d4f(0x35c)]>0x2&&(timer_action=api_timer_action,timer_action_message=api_timer_action_message,timer_action_seconds=api_timer_action_seconds,timer_action_destination=api_timer_action_destination);_0x437720==0x1&&(VD_live_customer_call==0x1||MD_channel_look==0x1||MD_dial_timed_out>0x0)&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x691)+_0x437720+'|',WaitingForNextStep=0x0,custchannellive=0x0,inbound_post_call_survey=='ENABLED'&&inbound_survey_participate=='Y'?($(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](_0x397d4f(0x39f)),$(_0x397d4f(0x6c5))[_0x397d4f(0x789)]('checked',!![]),mainxfer_send_redirect('XfeRBLIND','" + lastcustchannel + "',_0x397d4f(0x18d),'','','',_0x397d4f(0x18f)),button_click_log=button_click_log+''+SQLdate+'-----APIhangupSurveyOR---'+inbound_post_call_survey+' '+inbound_survey_participate+' '+$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)]()+'|'):dialedcall_send_hangup());if(_0x55d15f[_0x397d4f(0x35c)]<0x3e8&&_0x55d15f[_0x397d4f(0x35c)]>0x0&&AgentDispoing>0x1&&_0x55d15f!='::::::::::'){button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x5d2)+_0x55d15f+'|';var _0x40ef0f=new RegExp('!','g');if(_0x55d15f[_0x397d4f(0x42d)](_0x40ef0f)){var _0x52c3c9=_0x55d15f[_0x397d4f(0x65a)]('!'),_0x4d6548=_0x52c3c9[0x0],_0x510b44=_0x52c3c9[0x1],_0x512dca=_0x52c3c9[0x2],_0x6a74d3=_0x52c3c9[0x3],_0x31700f=_0x52c3c9[0x4];_0x510b44[_0x397d4f(0x35c)]>0xa&&_0x512dca[_0x397d4f(0x35c)]>0x5?(CallBackDatETimE=_0x510b44,CallBackrecipient=_0x512dca,CallBackLeadStatus=_0x4d6548,CallBackCommenTs=_0x6a74d3,hideDiv(_0x397d4f(0x65b)),$(_0x397d4f(0x5c9))[_0x397d4f(0x1b2)]('CBHOLD')):$(_0x397d4f(0x5c9))[_0x397d4f(0x1b2)](_0x4d6548),_0x31700f[_0x397d4f(0x35c)]>0x0&&(DispoQMcsCODE=_0x31700f),DispoSelect_submit();}else $(_0x397d4f(0x5c9))[_0x397d4f(0x1b2)](_0x55d15f),DispoSelect_submit();}if(_0x440324[_0x397d4f(0x35c)]>0x4){var _0x47e1dd='',_0x4dd909=_0x440324['split']('!');APIPausE_ID==_0x4dd909[0x1]?_0x47e1dd=_0x397d4f(0x181):(APIPausE_ID=_0x4dd909[0x1],_0x4dd909[0x0]==_0x397d4f(0x5cb)&&(VD_live_customer_call==0x1?($(_0x397d4f(0x46f))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),_0x47e1dd='PAUSE-DISPO-SET'):AutoDialReady==0x1&&(auto_dial_level!='0'&&(AutoDialWaiting=0x0,AutoDial_ReSume_PauSe(_0x397d4f(0x2ce)),_0x47e1dd=_0x397d4f(0x2b8)),PIXIScrm_pause_calling=0x1)),_0x4dd909[0x0]==_0x397d4f(0x595)&&AutoDialReady<0x1&&auto_dial_level>0x0&&(AutoDialWaiting=0x1,AutoDial_ReSume_PauSe(_0x397d4f(0x374)),_0x47e1dd=_0x397d4f(0x660))),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x49f)+_0x440324+' '+_0x47e1dd+'|';}_0x44a039[_0x397d4f(0x35c)]>0x9&&AllowManualQueueCalls=='0'&&APIManualDialQueue++;APIManualDialQueue!=APIManualDialQueue_last&&(APIManualDialQueue_last=APIManualDialQueue,$('#ManualQueueNotice')['html']('<b>Manual Queue: '+APIManualDialQueue+_0x397d4f(0x5b4)));if(_0x44a039[_0x397d4f(0x35c)]>0x9&&WaitingForNextStep=='0'&&AllowManualQueueCalls=='1'&&check_n>0x2){button_click_log=button_click_log+''+SQLdate+'-----api_dial---'+_0x44a039+' '+APIDiaL_ID+'|';var _0x4f6c32=_0x44a039[_0x397d4f(0x65a)]('!');APIDiaL_ID==_0x4f6c32[0x6]?button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x153)+APIDiaL_ID+' '+_0x4f6c32[0x6]+'|':_0x4f6c32[0x0]==_0x397d4f(0x5c8)?(APIDiaL_ID=_0x4f6c32[0x6],_0x4f6c32[0x4]==_0x397d4f(0x18f)&&(window[_0x397d4f(0x55c)](),alert_box(_0x397d4f(0x32a)),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x264)+_0x4f6c32[0x4]+'|'),_0x4f6c32[0x3]==_0x397d4f(0x18f)&&$(_0x397d4f(0x4d5))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),_0x4f6c32[0x3]=='NO'&&$(_0x397d4f(0x4d5))['prop'](_0x397d4f(0x677),![]),ManualDialNext('','','','','','0')):(APIDiaL_ID=_0x4f6c32[0x6],$(_0x397d4f(0x26d))[_0x397d4f(0x1b2)](_0x4f6c32[0x1]),$('#phone_code')[_0x397d4f(0x1b2)](_0x4f6c32[0x1]),$('#MDPhonENumbeR')[_0x397d4f(0x1b2)](_0x4f6c32[0x0]),$(_0x397d4f(0x48f))['val'](_0x4f6c32[0x5]),prefix_choice=_0x4f6c32[0x7],active_group_alias=_0x4f6c32[0x8],cid_choice=_0x4f6c32[0x9],vtiger_callback_id=_0x4f6c32[0xa],$(_0x397d4f(0x63b))[_0x397d4f(0x1b2)](_0x4f6c32[0xb]),$(_0x397d4f(0x688))[_0x397d4f(0x1b2)](_0x4f6c32[0xc]),active_ingroup_dial=_0x4f6c32[0xd],_0x4f6c32[0x2]==_0x397d4f(0x18f)?$(_0x397d4f(0x529))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]):$(_0x397d4f(0x529))['prop'](_0x397d4f(0x677),![]),_0x4f6c32[0x4]=='YES'&&(window[_0x397d4f(0x55c)](),alert_box(_0x397d4f(0x2da)+_0x4f6c32[0x1]+' '+_0x4f6c32[0x0]),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x41c)+_0x4f6c32[0x1]+' '+_0x4f6c32[0x0]+'|'),_0x4f6c32[0x3]=='NO'&&$(_0x397d4f(0x4d5))['prop']('checked',![]),_0x4f6c32[0x3]==_0x397d4f(0x18f)?NeWManuaLDiaLCalLSubmiT('PREVIEW'):NeWManuaLDiaLCalLSubmiT('NOW'));}(in_lead_preview_state==0x1||alt_dial_status_display==0x1)&&(in_lead_preview_state==0x1&&_0x44a039==_0x397d4f(0x166)&&ManualDialSkip(),_0x44a039==_0x397d4f(0x3d7)&&ManualDialOnly('MaiNPhonE','NO','0'),_0x44a039==_0x397d4f(0x4bd)&&ManualDialOnly('ALTPhonE','NO','0'),_0x44a039==_0x397d4f(0x2d1)&&ManualDialOnly(_0x397d4f(0x683),'NO','0'),alt_dial_status_display==0x1&&_0x44a039==_0x397d4f(0x7df)&&ManualDialAltDonE());CheckDEADcall>0x0&&VD_live_customer_call==0x1&&currently_in_email_or_chat<0x1&&(CheckDEADcallON<0x1&&(agent_events(_0x397d4f(0x360),LasTCID,aec),aec++,$(_0x397d4f(0x643))[_0x397d4f(0x7b8)](_0x397d4f(0x585),image_livecall_DEAD[_0x397d4f(0x585)]),$('#agentBox')['css'](_0x397d4f(0x20e),_0x397d4f(0x80c)),$(_0x397d4f(0x56b))[_0x397d4f(0x628)](''),$(_0x397d4f(0x7bf))[_0x397d4f(0x628)](''),CheckDEADcallON=0x1,CheckDEADcallCOUNT++,customer_sec=VD_live_call_secondS,button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x15f)+customer_sec+' '+lastcustchannel+' '+lastcustserverip+' '+LasTCID+'|',xfer_in_call>0x0&&customer_3way_hangup_logging==_0x397d4f(0x20d)&&(customer_3way_hangup_counter_trigger=0x1,customer_3way_hangup_counter=0x1),customerparked==0x1&&(parked_hangup='1')));CheckDEADcall>0x0&&VD_live_customer_call==0x1&&VD_live_call_secondS>0x5&&CalL_AutO_LauncH==_0x397d4f(0x7c8)&&currently_in_email_or_chat>0x0&&(CheckDEADcallON<0x1&&(agent_events(_0x397d4f(0x360),LasTCID,aec),aec++,$('#livecall')['attr']('src',image_livechat_DEAD['src']),CheckDEADcallON=0x1,CheckDEADcallCOUNT++,customer_sec=VD_live_call_secondS,button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x15f)+customer_sec+' '+lastcustchannel+' '+lastcustserverip+' '+LasTCID+'|'));if(_0x37f94f>0x0){button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x626)+_0x37f94f+' '+_0x3a52f3+'|';var _0x38da64=_0x3a52f3,_0x2c1b4f=_0x3347a4;external_igb_set_name=_0x58e4af,manager_ingroups_set=0x1,_0x38da64=='1'&&dial_method!=_0x397d4f(0x21c)&&(PIXIScrm_closer_blended='1'),_0x38da64=='0'&&(PIXIScrm_closer_blended='0');}var _0x2bf4bb=_0x3822c9[0x1][_0x397d4f(0x65a)]('|'),_0x8c2779=_0x2bf4bb[0x0],_0x3eb49b=_0x2bf4bb[0x1][_0x397d4f(0x65a)](' ~');if(conf_channels_xtra_display==0x1||conf_channels_xtra_display==0x0){if(_0x8c2779>0x0){last_conf_channel_count<0x1&&no_empty_session_warnings<0x1&&(agent_events('session_channels',_0x8c2779,aec),aec++,last_conf_channel_count=_0x8c2779);var _0x343853=0x0,_0x3ab218=0x0,_0x7c1265=0x0,_0x17b150=0x0,_0x307f18=0x0,_0x2ee2a3=0x0,_0x194e86=0x0;agentphonelive=0x0,active_rec_channel='';var _0x316e3d=-0x1,_0x35d383='<b>LIVE CALLS IN YOUR SESSION:</b><br /><table width="100%"><tr><td>#</td><td>REMOTE CHANNEL</td><td>HANGUP</td><td>VOLUME</td></tr>';(LMAcount>_0x8c2779||LMAcount<_0x8c2779||_0x4afc70>0x0)&&(LMAe[0x0]='',LMAe[0x1]='',LMAe[0x2]='',LMAe[0x3]='',LMAe[0x4]='',LMAe[0x5]='',LMAcount=0x0,_0x2ee2a3++);while(_0x3ab218<_0x8c2779){_0x3ab218++,loop_s=_0x3ab218[_0x397d4f(0x81e)]();if(loop_s['match'](/1$|3$|5$|7$|9$/))var _0x158597=_0x397d4f(0x635);else var _0x158597=_0x397d4f(0x723);var _0x9d5dc3=_0x3ab218+_0x316e3d,_0x16ccc=_0x3eb49b[_0x9d5dc3],_0x269462=new RegExp(flag_string,'g'),_0x2dd928=new RegExp(_0x397d4f(0x442)+_0x54ed9b,'g');if(_0x16ccc[_0x397d4f(0x42d)](_0x269462)&&flag_channels>0x0)var _0x23afac=_0x397d4f(0x18b);else var _0x23afac=_0x397d4f(0x68f);if(HidEMonitoRSessionS==0x1&&_0x16ccc[_0x397d4f(0x42d)](/ASTblind/)){var _0x57526a=0x1;blind_monitoring_now++,_0x343853++,blind_monitoring_now==0x1&&(blind_monitoring_now_trigger=0x1);}else _0x7c1265++,_0x16ccc[_0x397d4f(0x42d)](_0x2dd928)?(active_rec_channel=_0x16ccc,_0x35d383=_0x35d383+_0x397d4f(0x62c)+_0x158597+_0x397d4f(0x315)+_0x7c1265+_0x397d4f(0x163)+_0x16ccc+_0x397d4f(0x415)):volumecontrol_active!=0x1||three_way_volume_buttons=='DISABLED'&&active_threeway>0x0?_0x35d383=_0x35d383+_0x397d4f(0x62c)+_0x158597+_0x397d4f(0x315)+_0x7c1265+'</td><td>'+_0x16ccc+'</td><td><a href="#" onclick="livehangup_send_hangup(''+_0x16ccc+_0x397d4f(0x731):_0x35d383=_0x35d383+_0x397d4f(0x62c)+_0x158597+_0x397d4f(0x315)+_0x7c1265+_0x397d4f(0x163)+_0x16ccc+_0x397d4f(0x6eb)+_0x16ccc+_0x397d4f(0x1db)+_0x16ccc+_0x397d4f(0x613)+_0x16ccc+_0x397d4f(0x28a)+_0x16ccc+_0x397d4f(0x774)+_0x16ccc+_0x397d4f(0x7ce);if(_0x16ccc==lastcustchannel)custchannellive++;else{customerparked==0x1&&custchannellive++;if(server_ip==lastcustserverip)var _0x27bfcd='';else custchannellive++;}if(protocol!='EXTERNAL'&&protocol!=_0x397d4f(0x4a0)){var _0x52e500=new RegExp(protocol+'/'+extension,'g');_0x16ccc[_0x397d4f(0x42d)](_0x52e500)&&agentchannel!=_0x16ccc&&(agentchannel=_0x16ccc);}else agentchannel['length']<0x3&&(agentchannel=_0x16ccc);!LMAe[_0x17b150]?(LMAe[_0x17b150]=_0x16ccc,_0x2ee2a3++,_0x307f18++):LMAe[_0x17b150][_0x397d4f(0x35c)]<0x1?(LMAe[_0x17b150]=_0x16ccc,_0x2ee2a3++,_0x307f18++):LMAe[_0x17b150]==_0x16ccc?_0x194e86++:(_0x2ee2a3++,LMAe[_0x17b150]=_0x16ccc),_0x307f18>0x0&&LMAcount++,agentchannel==_0x16ccc&&agentphonelive++,_0x17b150++;}agentphonelive<0x1&&(agentchannel=''),_0x35d383=_0x35d383+_0x397d4f(0x40a),_0x2ee2a3>0x0&&(conf_channels_xtra_display==0x1&&$(_0x397d4f(0x6b9))['html'](_0x35d383)),nochannelinsession=0x0,_0x343853<0x1&&(no_blind_monitors++,no_blind_monitors>0x2&&(blind_monitoring_now=0x0));}else last_conf_channel_count>0x0&&no_empty_session_warnings<0x1&&left_3way_timeout<0x1&&(agent_events(_0x397d4f(0x644),'0',aec),aec++,last_conf_channel_count=0x0),LMAe[0x0]='',LMAe[0x1]='',LMAe[0x2]='',LMAe[0x3]='',LMAe[0x4]='',LMAe[0x5]='',LMAcount=0x0,conf_channels_xtra_display==0x1&&($(_0x397d4f(0x6b9))['html']()[_0x397d4f(0x35c)]>0x2&&$(_0x397d4f(0x6b9))[_0x397d4f(0x628)]('')),custchannellive=-0x63,nochannelinsession++,no_blind_monitors++,no_blind_monitors>0x2&&(blind_monitoring_now=0x0);}delete xmlhttprequestcheckconf,xmlhttprequestcheckconf=undefined;}else xmlhttprequestcheckconf&&xmlhttprequestcheckconf[_0x397d4f(0x30f)]==0x4&&xmlhttprequestcheckconf[_0x397d4f(0x6aa)]!=0xc8&&(delete xmlhttprequestcheckconf,xmlhttprequestcheckconf=undefined);});}else xmlhttprequestcheckconf&&(xmlhttprequestcheckconf_wait++,xmlhttprequestcheckconf_wait>=conf_check_attempts&&xmlhttprequestcheckconf[_0x16aaa6(0x1f7)]()),xmlhttprequestcheckconf_wait>=conf_check_attempts_cleanup?(xmlhttprequestcheckconf_wait=0x0,delete xmlhttprequestcheckconf,xmlhttprequestcheckconf=undefined):xmlhttprequestcheckconf=undefined;}function conf_send_recording(_0x343bbb,_0x5197ce,_0x2b6304,_0x41ff0d,_0x4d5e26,_0x2ebead){var _0x319530=_0x1c96bb;_0x2ebead==_0x319530(0x18f)?button_click_log=button_click_log+''+SQLdate+'-----conf_send_recording---'+_0x343bbb+' '+_0x5197ce+' '+_0x2b6304+' '+_0x41ff0d+' '+_0x4d5e26+'|':button_click_log=button_click_log+''+SQLdate+_0x319530(0x6cc)+_0x343bbb+' '+_0x5197ce+' '+_0x2b6304+' '+_0x41ff0d+' '+_0x4d5e26+' '+all_record+'|';inOUT=='OUT'?tmp_pixiscrm_id=$(_0x319530(0x186))[_0x319530(0x1b2)]():tmp_pixiscrm_id='IN';var _0x3656cf=![];!_0x3656cf&&typeof XMLHttpRequest!=_0x319530(0x34f)&&(_0x3656cf=new XMLHttpRequest());if(_0x3656cf){if(_0x343bbb==_0x319530(0x270)){recording_active=0x1;var _0xf031eb=new RegExp(' ','g'),_0x1fd5ca=$(_0x319530(0x48f))[_0x319530(0x1b2)]();_0x1fd5ca=_0x1fd5ca['replace'](_0xf031eb,'');var _0x3c66d9=$(_0x319530(0x486))['val'](),_0x1bffa2=new RegExp(_0x319530(0x492),'g'),_0x24fe17=new RegExp(_0x319530(0x6b6),'g'),_0x2b0a4a=new RegExp('CUSTPHONE','g'),_0x5e2db0=new RegExp('FULLDATE','g'),_0xba4e3b=new RegExp(_0x319530(0x597),'g'),_0x493bd2=new RegExp(_0x319530(0x64a),'g'),_0x3a835c=new RegExp(_0x319530(0x754),'g'),_0x5b4c05=new RegExp('VENDORLEADCODE','g'),_0x33bae9=new RegExp(_0x319530(0x19a),'g'),_0x44e462=new RegExp(_0x319530(0x2b5),'g');filename=LIVE_campaign_rec_filename+''+_0x4d5e26,filename=filename[_0x319530(0x74b)](_0x1bffa2,campaign),filename=filename[_0x319530(0x74b)](_0x24fe17,VDCL_group_id),filename=filename[_0x319530(0x74b)](_0x2b0a4a,lead_dial_number),filename=filename[_0x319530(0x74b)](_0x5e2db0,filedate),filename=filename[_0x319530(0x74b)](_0xba4e3b,tinydate),filename=filename['replace'](_0x493bd2,epoch_sec),filename=filename[_0x319530(0x74b)](_0x3a835c,user),filename=filename[_0x319530(0x74b)](_0x5b4c05,_0x1fd5ca),filename=filename[_0x319530(0x74b)](_0x33bae9,_0x3c66d9),filename=filename['replace'](_0x44e462,LasTCID);var _0x376207=recording_exten,_0x250ffd=_0x319530(0x2b0)+conf_silent_prefix+''+_0x5197ce+'@'+ext_context,_0x589b8f=_0x319530(0x32e)+_0x5197ce+_0x319530(0x6e6)+filename+'','','','YES');return false;"><img src="./images/vdc_LB_stoprecording.gif" border="0" alt="Stop Recording" /></a>',_0x393041=_0x319530(0x80a);LIVE_campaign_recording==_0x319530(0x41f)?$(_0x319530(0x547))['html']('<img src="./images/vdc_LB_startrecording_altx2_OFF.gif" border="0" alt="Start Recording" />'):$(_0x319530(0x547))[_0x319530(0x628)](_0x589b8f),mute_recordings=='Y'&&$('#RecorDMute')[_0x319530(0x628)](_0x393041);}if(_0x343bbb==_0x319530(0x25a)){recording_active=0x0,filename=_0x2b6304;var _0x376207=session_id,_0x250ffd=_0x319530(0x2b0)+conf_silent_prefix+''+_0x5197ce+'@'+ext_context,_0x589b8f=_0x319530(0x5b8)+_0x5197ce+_0x319530(0x5fc),_0x393041=_0x319530(0x2b2);LIVE_campaign_recording==_0x319530(0x41f)?$(_0x319530(0x547))['html']('<img src="./images/vdc_LB_startrecording_altx2_OFF.gif" border="0" alt="Start Recording" />'):$(_0x319530(0x547))[_0x319530(0x628)](_0x589b8f),mute_recordings=='Y'&&$(_0x319530(0x49e))['html'](_0x393041);}confmonitor_query='server_ip='+server_ip+_0x319530(0x7b6)+session_name+_0x319530(0x66e)+user+_0x319530(0x397)+pass+_0x319530(0x3a1)+_0x343bbb+_0x319530(0x24a)+_0x250ffd+_0x319530(0x73e)+filename+_0x319530(0x2bd)+_0x376207+_0x319530(0x214)+ext_context+'&lead_id='+$('#lead_id')['val']()+_0x319530(0x513)+tmp_pixiscrm_id+_0x319530(0x381)+_0x41ff0d,_0x3656cf['open'](_0x319530(0x584),_0x319530(0x58c)),_0x3656cf[_0x319530(0x636)](_0x319530(0x638),_0x319530(0x404)),_0x3656cf[_0x319530(0x2fd)](confmonitor_query),_0x3656cf[_0x319530(0x18a)]=function(){var _0x43b537=_0x319530;if(_0x3656cf['readyState']==0x4&&_0x3656cf[_0x43b537(0x6aa)]==0xc8){var _0x40f427=null;_0x40f427=_0x3656cf[_0x43b537(0x137)];var _0x164152=_0x40f427['split']('
'),_0x560449=_0x164152[0x1],_0x6684ea=_0x164152[0x2],_0x1dc95c=_0x560449[_0x43b537(0x65a)](_0x43b537(0x528)),_0x54e38e=_0x6684ea['split'](_0x43b537(0x36f));if(_0x54e38e['length']>0x0){recording_filename=_0x1dc95c[0x1],recording_id=_0x54e38e[0x1];delayed_script_load==_0x43b537(0x18f)&&(RefresHScript(),delayed_script_load='NO');var _0x4c7a56=_0x1dc95c[0x1];last_recording_filename=_0x1dc95c[0x1];_0x4c7a56[_0x43b537(0x35c)]>0x19&&(_0x4c7a56=_0x4c7a56[_0x43b537(0x7e8)](0x0,0x16),_0x4c7a56=_0x4c7a56+_0x43b537(0x618));$(_0x43b537(0x2c1))[_0x43b537(0x628)](_0x4c7a56),$(_0x43b537(0x69d))['html'](_0x54e38e[0x1]);if(_0x343bbb==_0x43b537(0x270)){var _0x2c0750='<a href="#" onclick="conf_send_recording('StopMonitorConf',''+_0x5197ce+_0x43b537(0x4de)+recording_id+_0x43b537(0x4ce),_0x3c8daa=_0x43b537(0x80a);LIVE_campaign_recording=='ALLFORCE'?$('#RecorDControl')[_0x43b537(0x628)](_0x43b537(0x509)):$(_0x43b537(0x547))[_0x43b537(0x628)](_0x2c0750),mute_recordings=='Y'&&$(_0x43b537(0x49e))['html'](_0x3c8daa);}}}},delete _0x3656cf;}}function mainxfer_send_redirect(_0x24c378,_0x236e9f,_0x44a9b5,_0x3b2447,_0x2bf2ba,_0x319d88,_0xdc1d0f){var _0x3b1e42=_0x1c96bb,_0x176cfb=$(_0x3b1e42(0x262)),_0x2e0f35=_0x176cfb[_0x3b1e42(0x1b2)](),_0x2dfaf8=$('#xfernumber')[_0x3b1e42(0x1b2)]();_0xdc1d0f==_0x3b1e42(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----mainxfer_send_redirect---'+_0x24c378+' '+_0x236e9f+' '+_0x44a9b5+' '+_0x3b2447+' '+_0x2bf2ba+' '+_0x319d88+' '+_0x2e0f35+' '+_0x2dfaf8+'|');CalLCID['length']<0x1&&(CalLCID=MDnextCID);if((_0x24c378=='XfeRLOCAL'||_0x24c378==_0x3b1e42(0x791))&&_0x2e0f35[_0x3b1e42(0x42d)](/AGENTDIRECT/i)&&_0x2dfaf8[_0x3b1e42(0x35c)]<0x2&&API_selected_xfergroup[_0x3b1e42(0x35c)]<0x2)alert_box(_0x3b1e42(0x410)),button_click_log=button_click_log+''+SQLdate+_0x3b1e42(0x1b5)+_0x2dfaf8+'|';else{blind_transfer=0x1;var _0x34c732=0x0;$(_0x3b1e42(0x5b6))[_0x3b1e42(0x789)](_0x3b1e42(0x677))==!![]&&(_0x34c732=0x1);_0x24c378=='XfeRLOCAL'&&(_0x34c732=0x0);if(_0x236e9f=='EMAIL'){var _0x1d89c1=_0x44a9b5;transfer_email(_0x24c378,$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)](),$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)](),_0x1d89c1);}else{auto_dial_level==0x0&&(RedirecTxFEr=0x1);var _0x2150f4=![];!_0x2150f4&&typeof XMLHttpRequest!=_0x3b1e42(0x34f)&&(_0x2150f4=new XMLHttpRequest());if(_0x2150f4){var _0x1fdfd7=MDchannel,_0x26ebf5=lastcustserverip;_0x1fdfd7[_0x3b1e42(0x35c)]<0x2&&(_0x1fdfd7=lastcustchannel);if(_0x24c378==_0x3b1e42(0x7bb)||_0x24c378==_0x3b1e42(0x190)){var _0x5aa2a9='';_0x319d88>0x0&&$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](quick_transfer_button_orig);var _0x232496=_0x3b1e42(0x22c)+epoch_sec+user_abb,_0x54fcfa=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](),_0x198601=$('#xfernumhidden')[_0x3b1e42(0x1b2)]();_0x54fcfa[_0x3b1e42(0x35c)]<0x1&&_0x198601[_0x3b1e42(0x35c)]>0x0&&(_0x54fcfa=_0x198601);var _0x541558=new RegExp(_0x3b1e42(0x6e8),'g');if(_0x54fcfa[_0x3b1e42(0x42d)](_0x541558)){var _0x7bef08=new RegExp('AXFER','g');if(_0x54fcfa[_0x3b1e42(0x42d)](_0x7bef08)){var _0x243e7b=_0x54fcfa[_0x3b1e42(0x74b)](_0x7bef08,'');_0x243e7b[_0x3b1e42(0x35c)]<0x2&&(_0x243e7b=_0x3b1e42(0x352));var _0x3ad91c='_L';_0x3ad91c[_0x3b1e42(0x35c)]<0x3&&(_0x3ad91c='IVR'),_0x54fcfa=_0x243e7b+'*'+$(_0x3b1e42(0x5e7))[_0x3b1e42(0x1b2)]()+'*'+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'*'+campaign+'*'+_0x3ad91c+'*'+user+'**'+VD_live_call_secondS+'*';}}else{if($(_0x3b1e42(0x6c5))[_0x3b1e42(0x789)](_0x3b1e42(0x677))==![]||manual_dial_override_field=='DISABLED'){if(three_way_dial_prefix=='X')var _0x574838='';else var _0x574838=three_way_dial_prefix;if(omit_phone_code=='Y')var _0x6f434d='';else var _0x6f434d=$(_0x3b1e42(0x40c))[_0x3b1e42(0x1b2)]();_0x54fcfa[_0x3b1e42(0x35c)]>0x7&&(_0x54fcfa=_0x574838+''+_0x6f434d+''+_0x54fcfa);}}if(API_selected_callmenu[_0x3b1e42(0x35c)]>0x0)var _0x54fcfa='s',_0x2a497e=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)]();else var _0x2a497e=ext_context;no_delete_VDAC=0x0;if(_0x24c378==_0x3b1e42(0x190)){var _0x54fcfa=campaign_am_message_exten+'*'+campaign+'*'+$('#phone_code')['val']()+'*'+$('#phone_number')[_0x3b1e42(0x1b2)]()+'*'+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]();no_delete_VDAC=0x1,_0x5aa2a9=_0x3b1e42(0x3f7);}_0x54fcfa[_0x3b1e42(0x35c)]<'1'?(xferredirect_query='',_0x24c378=_0x3b1e42(0x441),alert_box(_0x3b1e42(0x159)+_0x54fcfa),button_click_log=button_click_log+''+SQLdate+_0x3b1e42(0x35e)+_0x54fcfa+'|'):(xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+'&pass='+pass+_0x3b1e42(0x5c1)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+_0x3b1e42(0x793)+_0x232496+'&exten='+_0x54fcfa+_0x3b1e42(0x214)+_0x2a497e+'&ext_priority=1&auto_dial_level='+auto_dial_level+_0x3b1e42(0x6b5)+campaign+_0x3b1e42(0x6ae)+$('#uniqueid')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x650)+$('#lead_id')['val']()+_0x3b1e42(0x632)+VD_live_call_secondS+'&session_id='+session_id+_0x3b1e42(0x362)+no_delete_VDAC+_0x3b1e42(0x377)+$(_0x3b1e42(0x747))['val']()+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked,_0x5aa2a9!=_0x3b1e42(0x3f7)&&(_0x5aa2a9=_0x54fcfa),agent_events(_0x3b1e42(0x746),_0x5aa2a9,aec),aec++),transfer_no_dispoEXTERNAL>0x0&&(transfer_no_dispoTEMP=0x1);}if(_0x24c378==_0x3b1e42(0x791)){var _0x155906='';_0x24c378=_0x3b1e42(0x634);}else var _0x155906='9';if(_0x24c378==_0x3b1e42(0x634)){consult_custom_sent<0x1&&CustomerData_update('NO');$(_0x3b1e42(0x747))['val']('');var _0x176cfb=$(_0x3b1e42(0x262)),_0x2e0f35=_0x176cfb[_0x3b1e42(0x1b2)]();if(API_selected_xfergroup['length']>0x1)var _0x2e0f35=API_selected_xfergroup;_0x319d88>0x0&&(_0x2e0f35=quick_transfer_button_orig);var _0x232496=_0x3b1e42(0x494)+epoch_sec+user_abb,_0x323a17=_0x155906+_0x3b1e42(0x393)+_0x2e0f35+'**'+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'**'+dialed_number+'*'+user+'*'+$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)]()+'*';xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x5c1)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+_0x3b1e42(0x793)+_0x232496+'&exten='+_0x323a17+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x421)+auto_dial_level+_0x3b1e42(0x6b5)+campaign+_0x3b1e42(0x6ae)+$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x650)+$('#lead_id')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x632)+VD_live_call_secondS+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked,agent_events(_0x3b1e42(0x435),_0x2e0f35,aec),aec++,transfer_no_dispoLOCAL>0x0&&(transfer_no_dispoTEMP=0x1);}if(_0x24c378==_0x3b1e42(0x7bc)){var _0x232496='LRvdcW'+epoch_sec+user_abb,_0x323a17=$(_0x3b1e42(0x511))[_0x3b1e42(0x1b2)]();xferredirect_query=_0x3b1e42(0x4c6)+server_ip+'&session_name='+session_name+'&user='+user+'&pass='+pass+_0x3b1e42(0x3b7)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+'&queryCID='+_0x232496+_0x3b1e42(0x276)+_0x323a17+_0x3b1e42(0x214)+ext_context+'&ext_priority=1'+_0x3b1e42(0x55d)+session_id+'&CalLCID='+CalLCID+_0x3b1e42(0x6c7)+customerparked,agent_events(_0x3b1e42(0x746),_0x323a17,aec),aec++;}if(_0x24c378==_0x3b1e42(0x285)){var _0x232496=_0x3b1e42(0x7ad)+epoch_sec+user_abb,_0x323a17=$('#extension_xfer')[_0x3b1e42(0x1b2)]();xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+'&user='+user+_0x3b1e42(0x397)+pass+'&ACTION=RedirectNameVmail&format=text&channel='+_0x1fdfd7+'&call_server_ip='+_0x26ebf5+_0x3b1e42(0x793)+_0x232496+_0x3b1e42(0x2bd)+voicemail_dump_exten+_0x3b1e42(0x276)+_0x323a17+'&ext_context='+ext_context+_0x3b1e42(0x363)+'&session_id='+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked,agent_events(_0x3b1e42(0x4c3),_0x323a17,aec),aec++;}if(_0x24c378==_0x3b1e42(0x33a)){var _0x232496='LEvdcW'+epoch_sec+user_abb,_0x323a17=$(_0x3b1e42(0x2ec))[_0x3b1e42(0x1b2)]();xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+'&pass='+pass+_0x3b1e42(0x6b4)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+'&queryCID='+_0x232496+_0x3b1e42(0x2bd)+_0x323a17+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x363)+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked;}if(_0x24c378==_0x3b1e42(0x2f6)){xferredirect_query='';var _0x232496=_0x3b1e42(0x75b)+epoch_sec+user_abb,_0x323a17='NEXTAVAILABLE',_0x148b79=XDchannel,_0x233dc6=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](),_0x176cfb=$('#XfeRGrouP'),_0x2e0f35=_0x176cfb['val']();if(API_selected_xfergroup[_0x3b1e42(0x35c)]>0x1)var _0x2e0f35=API_selected_xfergroup;var _0x2cb8cf=new RegExp('CXFER','g');if((_0x233dc6[_0x3b1e42(0x42d)](_0x2cb8cf)||_0x34c732>0x0)&&local_consult_xfers>0x0)var _0x1f7c84=_0x3b1e42(0x209);else var _0x1f7c84=_0x3b1e42(0x241);DispO3waychannel=_0x1fdfd7,DispO3wayXtrAchannel=_0x148b79,DispO3wayCalLserverip=_0x26ebf5,DispO3wayCalLxfernumber=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](),DispO3wayCalLcamptail='',leave_3way_start_recording_triggerCALL=leave_3way_start_recording_trigger,xferredirect_query='server_ip='+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x3a1)+_0x1f7c84+_0x3b1e42(0x24a)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+'&queryCID='+_0x232496+'&exten='+_0x323a17+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x2aa)+_0x148b79+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'&phone_code='+$('#phone_code')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x466)+$(_0x3b1e42(0x5e7))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x73e)+_0x3b2447+_0x3b1e42(0x6b5)+_0x2e0f35+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x7be)+agentchannel+'&protocol='+protocol+_0x3b1e42(0x5de)+extension+_0x3b1e42(0x52d)+auto_dial_level+_0x3b1e42(0x614)+CalLCID+'&customerparked='+customerparked+'&leave_3way_start_recording_trigger='+leave_3way_start_recording_triggerCALL+_0x3b1e42(0x6f7)+leave_3way_start_recording_filename,_0x3b2447==_0x3b1e42(0x2ea)&&$(_0x3b1e42(0x282))[_0x3b1e42(0x628)](_0x3b1e42(0x180)),transfer_no_dispoLEAVE3WAY>0x0&&(transfer_no_dispoTEMP=0x1);}else leave_3way_start_recording_triggerCALL=0x0;if(_0x24c378==_0x3b1e42(0x72f)){blind_transfer=0x0;var _0x232496=_0x3b1e42(0x1f2)+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5,_0x5bdb87=protocol+'/'+extension;xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x254)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+_0x3b1e42(0x2bd)+park_on_extension+'&ext_context='+ext_context+_0x3b1e42(0x454)+_0x5bdb87+'&session_id='+session_id+'&CalLCID='+CalLCID+_0x3b1e42(0x6ae)+$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)]()+'&lead_id='+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'&campaign='+campaign+_0x3b1e42(0x3bf)+group,$(_0x3b1e42(0x1a4))[_0x3b1e42(0x628)](_0x3b1e42(0x213)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+_0x3b1e42(0x5e1)),$(_0x3b1e42(0x19e))[_0x3b1e42(0x628)](_0x3b1e42(0x7af)+_0x323a17+'',''+_0x309b84+_0x3b1e42(0x269)),(ivr_park_call==_0x3b1e42(0x20d)||ivr_park_call==_0x3b1e42(0x73a))&&$('#ivrParkControl')['html']('<img src="./images/vdc_LB_grabivrparkcall_OFF.gif" border="0" alt="Grab IVR Parked Call" />'),customerparked=0x1,customerparkedcounter=0x0,agent_events('park_started','',aec),aec++;}if(_0x24c378==_0x3b1e42(0x136)){blind_transfer=0x0;var _0x232496='FPvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5;if(server_ip==_0x44a9b5&&_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=session_id;else{if(_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=server_ip_dialstring+''+session_id;else var _0x11decc=session_id;}xferredirect_query=_0x3b1e42(0x4c6)+server_ip+'&session_name='+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+'&ACTION=RedirectFromPark&format=text&channel='+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+'&exten='+_0x11decc+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x363)+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6ae)+$('#uniqueid')['val']()+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x1a4))[_0x3b1e42(0x628)](_0x3b1e42(0x67a)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+_0x3b1e42(0x4ea)),$(_0x3b1e42(0x19e))[_0x3b1e42(0x628)]('<button id="tbParkControl" type="button" class="btn btn-warning btn-lg" onclick="mainxfer_send_redirect('ParK',''+_0x323a17+'',''+_0x309b84+'','','','','YES');return false;"><i class="fa fa-music"></i> Mise en attente</button>'),(ivr_park_call=='ENABLED'||ivr_park_call=='ENABLED_PARK_ONLY')&&$(_0x3b1e42(0x233))['html'](_0x3b1e42(0x77b)+_0x323a17+'',''+_0x309b84+_0x3b1e42(0x5b5)),customerparked=0x0,customerparkedcounter=0x0,agent_events('park_retrieved','',aec),aec++;}if(_0x24c378==_0x3b1e42(0x148)){blind_transfer=0x0;var _0x232496=_0x3b1e42(0x1f2)+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5,_0x5bdb87=protocol+'/'+extension;xferredirect_query='server_ip='+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x786)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+'&exten='+park_on_extension+'&ext_context='+ext_context+_0x3b1e42(0x454)+_0x5bdb87+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6ae)+$('#uniqueid')['val']()+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'&campaign='+campaign+_0x3b1e42(0x3bf)+group,$(_0x3b1e42(0x1a4))[_0x3b1e42(0x628)](_0x3b1e42(0x431)),$(_0x3b1e42(0x19e))['html']('<button id="tbParkControl" type="button" class="btn btn-warning btn-lg" disabled=""><i class="fa fa-music"></i> Mise en attente</button>'),ivr_park_call==_0x3b1e42(0x73a)&&$('#ivrParkControl')[_0x3b1e42(0x628)](_0x3b1e42(0x168)),ivr_park_call==_0x3b1e42(0x20d)&&$(_0x3b1e42(0x233))[_0x3b1e42(0x628)](_0x3b1e42(0x625)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+'','','','','YES');return false;"><img src="./images/vdc_LB_grabivrparkcall.gif" border="0" alt="Grab IVR Parked Call" /></a>'),customerparked=0x1,customerparkedcounter=0x0,agent_events(_0x3b1e42(0x468),'',aec),aec++;}if(_0x24c378=='FROMParKivr'){blind_transfer=0x0;var _0x232496='FPvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5;if(server_ip==_0x44a9b5&&_0x44a9b5['length']>0x6)var _0x11decc=session_id;else{if(_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=server_ip_dialstring+''+session_id;else var _0x11decc=session_id;}xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x81c)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+'&queryCID='+_0x232496+_0x3b1e42(0x2bd)+_0x11decc+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x363)+'&session_id='+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6ae)+$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x1a4))['html'](_0x3b1e42(0x67a)+_0x323a17+'',''+_0x309b84+_0x3b1e42(0x4ea)),$(_0x3b1e42(0x19e))[_0x3b1e42(0x628)](_0x3b1e42(0x7f8)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+'','','','','YES');return false;"><i class="fa fa-music"></i> Mise en attente</button>'),(ivr_park_call==_0x3b1e42(0x20d)||ivr_park_call==_0x3b1e42(0x73a))&&$(_0x3b1e42(0x233))['html']('<a href="#" onclick="mainxfer_send_redirect('ParKivr',''+_0x323a17+'',''+_0x309b84+_0x3b1e42(0x5b5)),customerparked=0x0,customerparkedcounter=0x0,agent_events(_0x3b1e42(0x3c3),'',aec),aec++;}if(_0x24c378==_0x3b1e42(0x768)){blind_transfer=0x0;var _0x232496='LXvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5,_0x5bdb87=protocol+'/'+extension;xferredirect_query='server_ip='+server_ip+_0x3b1e42(0x7b6)+session_name+'&user='+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x534)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+'&queryCID='+_0x232496+_0x3b1e42(0x2bd)+park_on_extension+_0x3b1e42(0x214)+ext_context+'&ext_priority=1&extenName=park&parkedby='+_0x5bdb87+'&session_id='+session_id+_0x3b1e42(0x614)+XDnextCID+'&uniqueid='+XDuniqueid+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))['val']()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x249))[_0x3b1e42(0x628)]('<a href="#" onclick="mainxfer_send_redirect('FROMParKXfeR',''+lastxferchannel+_0x3b1e42(0x6e6)+server_ip+'','','','','YES');return false;"><img src="./images/vdc_XB_parkxferline_GRAB.gif" border="0" alt="Grab Parked Xfer Line" style="vertical-align:middle" /></a>');}if(_0x24c378==_0x3b1e42(0x383)){blind_transfer=0x0;var _0x232496='FXvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5;if(server_ip==_0x44a9b5&&_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=session_id;else{if(_0x44a9b5['length']>0x6)var _0x11decc=server_ip_dialstring+''+session_id;else var _0x11decc=session_id;}xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+'&pass='+pass+'&ACTION=RedirectFromParkXfer&format=text&channel='+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+_0x3b1e42(0x2bd)+_0x11decc+'&ext_context='+ext_context+_0x3b1e42(0x363)+_0x3b1e42(0x55d)+session_id+'&CalLCID='+XDnextCID+_0x3b1e42(0x6ae)+XDuniqueid+_0x3b1e42(0x650)+$('#lead_id')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x249))[_0x3b1e42(0x628)](_0x3b1e42(0x17c)+lastxferchannel+_0x3b1e42(0x6e6)+server_ip+_0x3b1e42(0x2bb));}var _0x82a7be='';_0x2150f4[_0x3b1e42(0x63c)]('POST',_0x3b1e42(0x58c)),_0x2150f4[_0x3b1e42(0x636)]('Content-Type',_0x3b1e42(0x404)),_0x2150f4['send'](xferredirect_query),_0x2150f4[_0x3b1e42(0x18a)]=function(){var _0x531528=_0x3b1e42;if(_0x2150f4[_0x531528(0x30f)]==0x4&&_0x2150f4[_0x531528(0x6aa)]==0xc8){var _0x1ec9a9=null;_0x1ec9a9=_0x2150f4[_0x531528(0x137)];var _0x25def9=_0x1ec9a9[_0x531528(0x65a)]('|'),_0x23c174=_0x25def9[0x0];_0x23c174==_0x531528(0x785)&&(threeway_end=0x1,$('#callchannel')[_0x531528(0x628)](''),$(_0x531528(0x303))[_0x531528(0x1b2)](''),transfer_no_dispoLEAVE3WAY>0x0&&transfer_no_dispoTEMP>0x0?button_click_log=button_click_log+''+SQLdate+_0x531528(0x56e)+transfer_no_dispoLEAVE3WAY+' '+transfer_no_dispoTEMP+'|':dialedcall_send_hangup(),$(_0x531528(0x63f))[_0x531528(0x1b2)](''),xfercall_send_hangup(),session_id=_0x25def9[0x1],$(_0x531528(0x21f))['html'](session_id));}},delete _0x2150f4;}if(auto_dial_level==0x0&&_0x24c378!=_0x3b1e42(0x2f6)){RedirecTxFEr=0x1;var _0x40fff7=![];!_0x40fff7&&typeof XMLHttpRequest!=_0x3b1e42(0x34f)&&(_0x40fff7=new XMLHttpRequest()),_0x40fff7&&(_0x40fff7['open']('POST',_0x3b1e42(0x58c)),_0x40fff7[_0x3b1e42(0x636)](_0x3b1e42(0x638),_0x3b1e42(0x404)),_0x40fff7['send'](xferredirect_query+_0x3b1e42(0x521)),_0x40fff7['onreadystatechange']=function(){var _0x478f09=_0x3b1e42;_0x40fff7['readyState']==0x4&&_0x40fff7['status']==0xc8&&(Nactiveext=null,Nactiveext=_0x40fff7[_0x478f09(0x137)]);},delete _0x40fff7);}(_0x24c378==_0x3b1e42(0x634)||_0x24c378==_0x3b1e42(0x7bb)||_0x24c378==_0x3b1e42(0x190)||transfer_no_dispoTEMP>0x0)&&(auto_dial_level==0x0&&(RedirecTxFEr=0x1),$(_0x3b1e42(0x68e))[_0x3b1e42(0x628)](''),$(_0x3b1e42(0x303))[_0x3b1e42(0x1b2)](''),$('#livecall')[_0x3b1e42(0x7b8)](_0x3b1e42(0x585),image_livecall_OFF[_0x3b1e42(0x585)]),$(_0x3b1e42(0x56b))[_0x3b1e42(0x628)](''),$(_0x3b1e42(0x7bf))[_0x3b1e42(0x628)](''),$('#agentBox')[_0x3b1e42(0x6c6)](_0x3b1e42(0x20e),'2px solid rgb(229, 229, 229)'),_0x2bf2ba==_0x3b1e42(0x1d8)||transfer_no_dispoTEMP>0x0?button_click_log=button_click_log+''+SQLdate+'-----TransferNoHangup---'+_0x2bf2ba+' '+transfer_no_dispoLOCAL+' '+transfer_no_dispoEXTERNAL+' '+transfer_no_dispoLEAVE3WAY+' '+transfer_no_dispoTEMP+'|':dialedcall_send_hangup(_0x2bf2ba,'','',no_delete_VDAC));}}$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)]('');}function transfer_email(_0x49e9e3,_0x6638ee,_0x4cff73,_0x3a42bf){var _0x52804c=_0x1c96bb,_0x1de81f=![];!_0x1de81f&&typeof XMLHttpRequest!=_0x52804c(0x34f)&&(_0x1de81f=new XMLHttpRequest());if(_0x1de81f){var _0x2a90a7=MDchannel,_0x41551d=lastcustserverip,_0x394c35='',_0x424a37='',_0x55c338='',_0x1d26dc='',_0x1e9e2a='',_0x37fc9f='';_0x2a90a7['length']<0x2&&(_0x2a90a7=lastcustchannel);var _0x2f20a2='',_0x837096=$(_0x52804c(0x262)),_0x3d73fd=_0x837096[_0x52804c(0x1b2)]();if(API_selected_xfergroup[_0x52804c(0x35c)]>0x1)var _0x3d73fd=API_selected_xfergroup;xferemail_query=_0x52804c(0x4c6)+server_ip+'&session_name='+session_name+_0x52804c(0x66e)+user+_0x52804c(0x397)+pass+'&ACTION=XFERemail&format=text&channel='+_0x2a90a7+'&call_server_ip='+_0x41551d+'&queryCID='+_0x394c35+_0x52804c(0x2bd)+_0x1e9e2a+_0x52804c(0x214)+_0x55c338+_0x52804c(0x2aa)+_0x1d26dc+_0x52804c(0x650)+$(_0x52804c(0x486))[_0x52804c(0x1b2)]()+_0x52804c(0x46a)+$(_0x52804c(0x40c))[_0x52804c(0x1b2)]()+'&phone_number='+$(_0x52804c(0x5e7))[_0x52804c(0x1b2)]()+'&filename='+_0x37fc9f+_0x52804c(0x6b5)+_0x3d73fd+_0x52804c(0x55d)+session_id+'&agentchannel='+agentchannel+_0x52804c(0x28e)+protocol+_0x52804c(0x5de)+extension+'&auto_dial_level='+auto_dial_level+_0x52804c(0x4d8)+$(_0x52804c(0x416))[_0x52804c(0x1b2)]()+_0x52804c(0x36b)+_0x3a42bf,_0x1de81f[_0x52804c(0x63c)](_0x52804c(0x584),_0x52804c(0x550)),_0x1de81f[_0x52804c(0x636)](_0x52804c(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x1de81f[_0x52804c(0x2fd)](xferemail_query),_0x1de81f['onreadystatechange']=function(){var _0x2c9986=_0x52804c;if(_0x1de81f[_0x2c9986(0x30f)]==0x4&&_0x1de81f[_0x2c9986(0x6aa)]==0xc8){var _0x2be1c1=null;_0x2be1c1=_0x1de81f[_0x2c9986(0x137)];var _0x59f886=_0x2be1c1['split']('|'),_0x3b91c5=_0x59f886[0x0];_0x3b91c5==0x1&&(threeway_end=0x1,$('#callchannel')['html'](''),$('#callserverip')[_0x2c9986(0x1b2)](''),dialedcall_send_hangup());}},delete _0x1de81f;}}function ManualDialAltDonE(_0x42f975){var _0x3f9827=_0x1c96bb;_0x42f975==_0x3f9827(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x3f9827(0x17e)),alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,open_dispo_screen=0x1,$(_0x3f9827(0x170))[_0x3f9827(0x628)](_0x3f9827(0x56f));}function DialLog(_0x6cf0e0,_0x10cc73){var _0x347eb5=_0x1c96bb,_0x176183=0x0;if(_0x6cf0e0==_0x347eb5(0x380)){MDlogEPOCH=0x0;var _0x336580=$(_0x347eb5(0x186))[_0x347eb5(0x1b2)]();_0x336580[_0x347eb5(0x35c)]<0x4&&(_0x336580=epoch_sec+'.'+random,$(_0x347eb5(0x186))[_0x347eb5(0x1b2)](_0x336580));}else{if(alt_phone_dialing==0x1){if($(_0x347eb5(0x69b))['prop'](_0x347eb5(0x677))==!![]){var _0x203645='';status_display_LEADID>0x0&&(_0x203645=_0x203645+' Lead: '+$(_0x347eb5(0x486))[_0x347eb5(0x1b2)]());status_display_LISTID>0x0&&(_0x203645=_0x203645+' List: '+$(_0x347eb5(0x416))[_0x347eb5(0x1b2)]());_0x176183=0x1,reselect_alt_dial=0x1,alt_dial_active=0x1,alt_dial_status_display=0x1;(alt_number_dialing==_0x347eb5(0x3f5)||alt_number_dialing==_0x347eb5(0x737)||alt_number_dialing==_0x347eb5(0x220)||alt_number_dialing==_0x347eb5(0x34a))&&(last_mdtype!='ALT'&&last_mdtype!=_0x347eb5(0x6db))&&(timer_alt_count=timer_alt_seconds,timer_alt_trigger=0x1);var _0x16490c=_0x347eb5(0x33f)+_0x203645;$(_0x347eb5(0x170))['html'](_0x16490c);}}}var _0x362e6c=![];!_0x362e6c&&typeof XMLHttpRequest!='undefined'&&(_0x362e6c=new XMLHttpRequest());if(_0x362e6c){var _0x538a14=_0x347eb5(0x2b0)+conf_silent_prefix+''+session_id+'@'+ext_context;manDiaLlog_query=_0x347eb5(0x174)+server_ip+_0x347eb5(0x7b6)+session_name+'&ACTION=manDiaLlogCaLL&stage='+_0x6cf0e0+_0x347eb5(0x6ae)+$(_0x347eb5(0x186))[_0x347eb5(0x1b2)]()+_0x347eb5(0x66e)+user+_0x347eb5(0x397)+pass+_0x347eb5(0x6b5)+campaign+_0x347eb5(0x650)+$(_0x347eb5(0x486))['val']()+'&list_id='+$('#list_id')[_0x347eb5(0x1b2)]()+_0x347eb5(0x25f)+$(_0x347eb5(0x40c))[_0x347eb5(0x1b2)]()+'&phone_number='+lead_dial_number+'&exten='+recording_exten+_0x347eb5(0x6be)+lastcustchannel+_0x347eb5(0x455)+MDlogEPOCH+_0x347eb5(0x52d)+auto_dial_level+_0x347eb5(0x2d2)+VDstop_rec_after_each_call+_0x347eb5(0x77a)+conf_silent_prefix+'&protocol='+protocol+_0x347eb5(0x5de)+extension+_0x347eb5(0x214)+ext_context+_0x347eb5(0x5d7)+session_id+_0x347eb5(0x320)+user_abb+'&agent_log_id='+agent_log_id+'&MDnextCID='+LasTCID+_0x347eb5(0x6e1)+inOUT+_0x347eb5(0x661)+dialed_label+_0x347eb5(0x447)+_0x347eb5(0x7be)+agentchannel+'&conf_dialed='+conf_dialed+_0x347eb5(0x755)+leaving_threeway+'&hangup_all_non_reserved='+hangup_all_non_reserved+_0x347eb5(0x2e0)+blind_transfer+_0x347eb5(0x4fe)+dial_method+_0x347eb5(0x362)+_0x10cc73+_0x347eb5(0x256)+_0x176183+_0x347eb5(0x5fb)+qm_extension+_0x347eb5(0x6bf)+$(_0x347eb5(0x7fd))['val']()+_0x347eb5(0x452)+leave_3way_start_recording_triggerCALL+'&leave_3way_start_recording_filename='+leave_3way_start_recording_filename+'&channelrec='+_0x538a14,_0x362e6c[_0x347eb5(0x63c)]('POST','crm_query.php'),_0x362e6c['setRequestHeader'](_0x347eb5(0x638),_0x347eb5(0x404)),_0x362e6c[_0x347eb5(0x2fd)](manDiaLlog_query),_0x362e6c[_0x347eb5(0x18a)]=function(){var _0x21c07a=_0x347eb5;if(_0x362e6c[_0x21c07a(0x30f)]==0x4&&_0x362e6c[_0x21c07a(0x6aa)]==0xc8){var _0x4cbc06=null;_0x4cbc06=_0x362e6c[_0x21c07a(0x137)];var _0x32636f=_0x4cbc06[_0x21c07a(0x65a)]('
');MDlogLINE=_0x32636f[0x0];if(MDlogLINE==_0x21c07a(0x342)&&VDstop_rec_after_each_call!=0x1){}else{MDlogEPOCH=_0x32636f[0x1];if(_0x6cf0e0!=_0x21c07a(0x380)&&VDstop_rec_after_each_call==0x1){var _0x3326e7=_0x21c07a(0x5b8)+session_id+_0x21c07a(0x5fc),_0x4d0aa5=_0x21c07a(0x2b2);LIVE_campaign_recording==_0x21c07a(0x615)||LIVE_campaign_recording==_0x21c07a(0x41f)?$(_0x21c07a(0x547))[_0x21c07a(0x628)](_0x21c07a(0x509)):$(_0x21c07a(0x547))[_0x21c07a(0x628)](_0x3326e7);mute_recordings=='Y'&&$(_0x21c07a(0x49e))['html'](_0x4d0aa5);MDlogRecorDings=_0x32636f[0x3];if(window[_0x21c07a(0x1c4)]){var _0x27dc00=MDlogRecorDings[_0x21c07a(0x65a)]('|'),_0x19839e=_0x27dc00[0x2];last_recording_filename=_0x27dc00[0x2],_0x19839e[_0x21c07a(0x35c)]>0x19&&(_0x19839e=_0x19839e['substr'](0x0,0x16),_0x19839e=_0x19839e+_0x21c07a(0x618)),$(_0x21c07a(0x2c1))['html'](_0x19839e),$('#RecorDID')['html'](_0x27dc00[0x3]);}}}}},delete _0x362e6c;}RedirecTxFEr=0x0,conf_dialed=0x0;}function CalLBacKsCounTCheck(){var _0x596795=_0x1c96bb,_0x3eb905=![];!_0x3eb905&&typeof XMLHttpRequest!=_0x596795(0x34f)&&(_0x3eb905=new XMLHttpRequest()),_0x3eb905&&(CBcount_query=_0x596795(0x4c6)+server_ip+_0x596795(0x7b6)+session_name+_0x596795(0x66e)+user+_0x596795(0x397)+pass+_0x596795(0x16b)+campaign+_0x596795(0x6cf),_0x3eb905[_0x596795(0x63c)](_0x596795(0x584),'crm_query.php'),_0x3eb905[_0x596795(0x636)]('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'),_0x3eb905[_0x596795(0x2fd)](CBcount_query),_0x3eb905['onreadystatechange']=function(){var _0x5bc3c1=_0x596795;if(_0x3eb905['readyState']==0x4&&_0x3eb905[_0x5bc3c1(0x6aa)]==0xc8){var _0x199f07='',_0x44ba2e='',_0x4ac066=0x0,_0x44db5d=_0x3eb905[_0x5bc3c1(0x137)],_0x18ebd2=_0x44db5d[_0x5bc3c1(0x65a)]('|'),_0x1a9366=_0x18ebd2[0x0];scheduled_callbacks_count==_0x5bc3c1(0x80f)&&(_0x1a9366=_0x18ebd2[0x1]);liveCBcounT=_0x18ebd2[0x1];if(_0x1a9366==0x0)var _0x439538='Non';else{var _0x439538=_0x1a9366;(LastCallbackCount<_0x1a9366||LastCallbackCount>_0x1a9366)&&(LastCallbackCount=_0x1a9366,LastCallbackViewed=0x0);(scheduled_callbacks_alert==_0x5bc3c1(0x157)||scheduled_callbacks_alert=='BLINK_DEFER'||scheduled_callbacks_alert==_0x5bc3c1(0x7ca))&&(_0x4ac066=0x1);if(LastCallbackViewed>0x0&&_0x4ac066>0x0)var _0x66d8e5=0x1;else(scheduled_callbacks_alert==_0x5bc3c1(0x306)||scheduled_callbacks_alert==_0x5bc3c1(0x357))&&(_0x199f07=_0x5bc3c1(0x47a),_0x44ba2e=_0x5bc3c1(0x1b9)),(scheduled_callbacks_alert==_0x5bc3c1(0x34b)||scheduled_callbacks_alert==_0x5bc3c1(0x157))&&(_0x199f07=_0x5bc3c1(0x5a4),_0x44ba2e='</b>'),(scheduled_callbacks_alert=='BLINK_RED'||scheduled_callbacks_alert==_0x5bc3c1(0x7ca))&&(_0x199f07='<span class="blink"><b>',_0x44ba2e=_0x5bc3c1(0x322));}}},delete _0x3eb905);}function CalLBacKsLisTCheck(){var _0x378e44=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x378e44(0x5c3);var _0x32928a=0x1;(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active=='FORCE')&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe('VDADpause','','','','','1',auto_pause_precall_code):(_0x32928a=0x0,alert_box(_0x378e44(0x172)),button_click_log=button_click_log+''+SQLdate+'-----CheckCallbacksFailed---'+VDRP_stage+'|'));if(_0x32928a==0x1){LastCallbackViewed=0x1;var _0x24b334=![];!_0x24b334&&typeof XMLHttpRequest!=_0x378e44(0x34f)&&(_0x24b334=new XMLHttpRequest());if(_0x24b334){var _0x13d2d8=_0x378e44(0x4c6)+server_ip+'&session_name='+session_name+_0x378e44(0x66e)+user+_0x378e44(0x397)+pass+'&ACTION=CalLBacKLisT&campaign='+campaign+_0x378e44(0x6cf);_0x24b334[_0x378e44(0x63c)](_0x378e44(0x584),'crm_query.php'),_0x24b334['setRequestHeader']('Content-Type',_0x378e44(0x404)),_0x24b334[_0x378e44(0x2fd)](_0x13d2d8),_0x24b334[_0x378e44(0x18a)]=function(){var _0x32e50b=_0x378e44;if(_0x24b334['readyState']==0x4&&_0x24b334[_0x32e50b(0x6aa)]==0xc8){var _0x5c7d25=null;_0x5c7d25=_0x24b334[_0x32e50b(0x137)];var _0x31e34b=_0x5c7d25[_0x32e50b(0x65a)]('
'),_0x529047=_0x31e34b[0x0],_0x5bb9b8=0x0,_0x509384=0x0,_0x2f2d47=_0x32e50b(0x335);while(_0x5bb9b8<_0x529047){_0x5bb9b8++,loop_s=_0x5bb9b8[_0x32e50b(0x81e)]();if(loop_s[_0x32e50b(0x42d)](/1$|3$|5$|7$|9$/))var _0x528c9b='#DDDDFF';else var _0x528c9b=_0x32e50b(0x723);var _0x3a4ddb=_0x5bb9b8+_0x509384,_0xb7a1fb=_0x31e34b[_0x3a4ddb][_0x32e50b(0x65a)](_0x32e50b(0x4ba)),_0x4953d4=_0xb7a1fb[0x0]+' '+_0xb7a1fb[0x1],_0x591b12=_0xb7a1fb[0x2],_0x37389f=_0xb7a1fb[0x2];disable_alter_custphone==_0x32e50b(0x150)&&(_0x37389f=_0x32e50b(0x685));var _0x5b09d3=_0xb7a1fb[0x3],_0x4b8182=_0xb7a1fb[0x4],_0x337076=_0xb7a1fb[0x5],_0x1a2ded=_0xb7a1fb[0x6],_0x3a0217=_0xb7a1fb[0x7],_0x46fc04=_0xb7a1fb[0x8],_0x142d14=_0xb7a1fb[0x9],_0x137d1f=_0xb7a1fb[0xa],_0x233f6=_0xb7a1fb[0xb],_0x152ad1=_0xb7a1fb[0xd],_0x39c2e9=_0x142d14,_0x50e50a='';_0x39c2e9['length']>0xa&&(_0x39c2e9=_0x39c2e9[_0x32e50b(0x7e8)](0x0,0xa),_0x39c2e9=_0x39c2e9+_0x32e50b(0x618));if(_0x137d1f>0x0){var _0x47e796='<a href="#" onclick="new_callback_call(''+_0x5b09d3+'',''+_0x4b8182+_0x32e50b(0x287);_0x233f6[_0x32e50b(0x35c)]<0x3&&(_0x47e796=_0x32e50b(0x655)),_0x2f2d47=_0x2f2d47+'<tr bgcolor="'+_0x528c9b+'"><td style="text-align: center;">'+_0x5bb9b8+_0x32e50b(0x151)+_0x46fc04+_0x32e50b(0x4ac)+_0x37389f+_0x32e50b(0x1ff)+_0x39c2e9+_0x32e50b(0x6d7)+_0x4b8182+_0x32e50b(0x6e6)+_0x5b09d3+_0x32e50b(0x617)+_0x4953d4+_0x32e50b(0x537)+_0x337076+_0x32e50b(0x151)+_0x3a0217+'</strong></td><td style="text-align: center;"><a href="#" class="btn btn-warning btn-icon btn-sm me-1 last-calls-action-dial" onclick="NeWManuaLDiaLCalL('CALLLOG','1',''+_0x37389f+_0x32e50b(0x6e6)+_0x4b8182+_0x32e50b(0x67e)+_0x50e50a;}else _0x2f2d47=_0x2f2d47+_0x32e50b(0x62c)+_0x528c9b+_0x32e50b(0x283)+_0x5bb9b8+_0x32e50b(0x151)+_0x46fc04+_0x32e50b(0x4ac)+_0x37389f+'</strong></td><td style="text-align: center;">'+_0x39c2e9+_0x32e50b(0x1d1)+_0x4953d4+'</td><td style="text-align: center;">'+_0x337076+_0x32e50b(0x537)+_0x3a0217+_0x32e50b(0x7de);}_0x2f2d47=_0x2f2d47+_0x32e50b(0x40a),$(_0x32e50b(0x240))[_0x32e50b(0x628)](_0x2f2d47);}},delete _0x24b334;}}}function InternalChatsCheck(_0x19dbb4){var _0x35db2d=_0x1c96bb,_0x4cf69f=![],_0x5192a8='',_0x575118='';!_0x4cf69f&&typeof XMLHttpRequest!=_0x35db2d(0x34f)&&(_0x4cf69f=new XMLHttpRequest());if(_0x4cf69f){var _0x484f2b=_0x35db2d(0x4c6)+server_ip+_0x35db2d(0x7b6)+session_name+_0x35db2d(0x66e)+user+'&pass='+pass+_0x35db2d(0x1ca);_0x4cf69f[_0x35db2d(0x63c)]('POST','crm_query.php'),_0x4cf69f[_0x35db2d(0x636)](_0x35db2d(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x4cf69f['send'](_0x484f2b),_0x4cf69f['onreadystatechange']=function(){var _0x3da2bc=_0x35db2d;if(_0x4cf69f[_0x3da2bc(0x30f)]==0x4&&_0x4cf69f[_0x3da2bc(0x6aa)]==0xc8){var _0x113254=null;_0x113254=_0x4cf69f[_0x3da2bc(0x137)];var _0x4561b5=_0x113254[_0x3da2bc(0x65a)]('|'),_0x1a5a33=_0x4561b5[0x0],_0x283e06=_0x4561b5[0x1],_0x5617a3=_0x4561b5[0x2];_0x1a5a33>0x0?_0x283e06>0x0?($(_0x3da2bc(0x21e))[_0x3da2bc(0x45c)](),$(_0x3da2bc(0x2c6))[_0x3da2bc(0x6c6)](_0x3da2bc(0x6a5),_0x3da2bc(0x68d))):($(_0x3da2bc(0x21e))['hide'](),$('#chat-icon')[_0x3da2bc(0x6c6)](_0x3da2bc(0x6a5),_0x3da2bc(0x68d))):(_0x1a5a33='NO',$(_0x3da2bc(0x21e))[_0x3da2bc(0x345)](),$(_0x3da2bc(0x2c6))['css'](_0x3da2bc(0x6a5),_0x3da2bc(0x67b)));var _0x25ce98=$(_0x3da2bc(0x564));$('#InternalMessageCount')&&(_0x5617a3>$(_0x3da2bc(0x1e7))[_0x3da2bc(0x1b2)]()&&$(_0x3da2bc(0x1e7))[_0x3da2bc(0x1b2)]()>0x0&&!$(_0x3da2bc(0x6a7))[_0x3da2bc(0x789)](_0x3da2bc(0x677))&&$(_0x3da2bc(0x52b))[_0x3da2bc(0x28b)](),$(_0x3da2bc(0x1e7))[_0x3da2bc(0x1b2)](_0x5617a3));}};}}function alert_box(_0x5cb6a1){var _0x5516df=_0x1c96bb;alert_box_close_counter<=0x0&&(agent_events(_0x5516df(0x563),_0x5cb6a1,aec),aec++),$(_0x5516df(0x4e4))[_0x5516df(0x628)](_0x5cb6a1),$('#AlertBox')[_0x5516df(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5});}function CalLBacKsLisTClose(){button_click_log=button_click_log+''+SQLdate+'-----CalLBacKsLisTClose---|',auto_resume_precall=='Y'&&AutoDial_ReSume_PauSe('VDADready'),CalLBacKsCounTCheck();}function CalLLoGVieWClose(){var _0x3f1756=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3f1756(0x18e),auto_resume_precall=='Y'&&AutoDial_ReSume_PauSe(_0x3f1756(0x374));}function LeaDSearcHVieWClose(){var _0xbf3fc4=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xbf3fc4(0x7db),auto_resume_precall=='Y'&&inbound_lead_search<0x1&&AutoDial_ReSume_PauSe(_0xbf3fc4(0x374)),ShoWGenDerPulldown(),hideDiv('SearcHForMDisplaYBox');}function ContactSearcHVieWClose(){var _0x2de6cd=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x2de6cd(0x780),ShoWGenDerPulldown(),hideDiv(_0x2de6cd(0x7d9));}function new_callback_call(_0x542734,_0x3a82d5,_0x3b5bcf){var _0x743906=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----new_callback_call---'+_0x542734+' '+_0x3a82d5+' '+_0x3b5bcf+'|',waiting_on_dispo>0x0?(alert_box(_0x743906(0x605)+agent_log_id+_0x743906(0x4ec)+waiting_on_dispo+''),button_click_log=button_click_log+''+SQLdate+_0x743906(0x2bc)+agent_log_id+' '+waiting_on_dispo+'|'):(LastCallbackViewed=0x1,LastCallbackCount=LastCallbackCount-0x1,auto_dial_level=0x0,manual_dial_in_progress=0x1,MainPanelToFront(),buildDiv(_0x743906(0x30b)),alt_phone_dialing==0x1&&buildDiv(_0x743906(0x2ef)),$(_0x743906(0x4d5))[_0x743906(0x789)](_0x743906(0x677),!![]),ManualDialNext(_0x542734,_0x3a82d5,'','','','0','',_0x3b5bcf));}function manual_dial_finished(){alt_phone_dialing=starting_alt_phone_dialing,auto_dial_level=starting_dial_level,MainPanelToFront(),CalLBacKsCounTCheck(),manual_dial_in_progress=0x0;}function NeWManuaLDiaLCalL(_0x37986e,_0x4b2e33,_0x25e691,_0x181b44,_0xabd0f4,_0x4c39c9,_0x4d289d){var _0x5c0fa2=_0x1c96bb;_0x4c39c9=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x5c0fa2(0x5cd)+_0x37986e+' '+_0x4b2e33+' '+_0x25e691+' '+_0x181b44+' '+_0xabd0f4+'|');_0x4d289d==_0x5c0fa2(0x18f)&&(manual_entry_dial=0x1);var _0x4a7a5c=0x1;if(dial_method=='MANUAL'&&(lastcustchannel[_0x5c0fa2(0x35c)]>0x0||manual_call_live>0x0))_0x4a7a5c=0x0,alert_box(_0x5c0fa2(0x3cc));else starting_dial_level!=0x0&&dial_next_failed<0x1&&(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active==_0x5c0fa2(0x464))&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe('VDADpause','','','','','1',auto_pause_precall_code):(_0x4a7a5c=0x0,alert_box('VOUS DEVEZ TRE EN PAUSE POUR COMPOSER MANUELLEMENT UN NOUVEAU LEAD EN MODE AUTO-DIAL'),button_click_log=button_click_log+''+SQLdate+_0x5c0fa2(0x7c4)+VDRP_stage+'|'));_0x4a7a5c==0x1&&(_0x37986e==_0x5c0fa2(0x60a)?NeWManuaLDiaLCalLSubmiTfast():(_0x37986e=='CALLLOG'&&(hideDiv('SearcHForMDisplaYBox'),hideDiv('SearcHResultSDisplaYBox'),$('#MDDiaLCodE')[_0x5c0fa2(0x1b2)](_0x4b2e33),$(_0x5c0fa2(0x1ae))[_0x5c0fa2(0x1b2)](_0x25e691),$(_0x5c0fa2(0x704))['val'](_0x25e691),$('#MDLeadID')['val'](_0x181b44),$(_0x5c0fa2(0x688))[_0x5c0fa2(0x1b2)](_0xabd0f4),disable_alter_custphone==_0x5c0fa2(0x150)&&$('#MDPhonENumbeR')['val'](_0x5c0fa2(0x685))),_0x37986e==_0x5c0fa2(0x141)&&(hideDiv('SearcHForMDisplaYBox'),hideDiv(_0x5c0fa2(0x616)),$('#MDDiaLCodE')['val'](_0x4b2e33),$(_0x5c0fa2(0x1ae))[_0x5c0fa2(0x1b2)](_0x25e691),$(_0x5c0fa2(0x63b))[_0x5c0fa2(0x1b2)](_0x181b44),$(_0x5c0fa2(0x688))[_0x5c0fa2(0x1b2)](_0xabd0f4)),agent_allow_group_alias=='Y'&&($('#ManuaLDiaLGrouPSelecteD')['html'](_0x5c0fa2(0x7b0)+active_group_alias+''),$(_0x5c0fa2(0x758))['html'](_0x5c0fa2(0x725))),in_group_dial_display>0x0&&($(_0x5c0fa2(0x45b))[_0x5c0fa2(0x628)]('Dial In-Group: '+active_ingroup_dial+''),$('#ManuaLDiaLInGrouP')[_0x5c0fa2(0x628)](_0x5c0fa2(0x234))),(in_group_dial=='BOTH'||in_group_dial==_0x5c0fa2(0x6b0))&&(nocall_dial_flag='DISABLED',$('#NoDiaLSelecteD')[_0x5c0fa2(0x628)](_0x5c0fa2(0x5ae)+nocall_dial_flag+' &nbsp; &nbsp; <a href="#" onclick="NoDiaLSwitcH('');">Click Here to Activate</a>')),$(_0x5c0fa2(0x27f))[_0x5c0fa2(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5}),NeWManuaLDiaLBox_open=0x1,agent_events(_0x5c0fa2(0x198),'',aec),aec++,$('#search_phone_number')[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x5ab))['val'](''),$(_0x5c0fa2(0x400))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x526))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x35d))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x3ad))['val'](''),$(_0x5c0fa2(0x3e6))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x788))[_0x5c0fa2(0x1b2)]('')));}function LeaDSearcHSelecT(_0x373b58,_0x3ca99f){var _0x3aefe3=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----LeaDSearcHSelecT---'+_0x373b58+' '+_0x3ca99f+'|';var _0x2c9ccb=0x0;VD_live_customer_call==0x1&&(_0x2c9ccb=0x1);if(_0x2c9ccb==0x1){if(typeof _0x157ec6==_0x3aefe3(0x34f)){var _0x157ec6=![];!_0x157ec6&&typeof XMLHttpRequest!='undefined'&&(_0x157ec6=new XMLHttpRequest()),_0x157ec6&&(checkVDAI_query='server_ip='+server_ip+_0x3aefe3(0x7b6)+session_name+_0x3aefe3(0x66e)+user+_0x3aefe3(0x397)+pass+'&campaign='+campaign+_0x3aefe3(0x7a1)+_0x3aefe3(0x650)+_0x373b58+_0x3aefe3(0x44a)+$(_0x3aefe3(0x486))['val']()+'&agent_log_id='+agent_log_id+_0x3aefe3(0x466)+$(_0x3aefe3(0x5e7))[_0x3aefe3(0x1b2)]()+_0x3aefe3(0x1bb)+VU_user_group+'&conf_exten='+session_id,_0x157ec6[_0x3aefe3(0x63c)](_0x3aefe3(0x584),'crm_query.php'),_0x157ec6[_0x3aefe3(0x636)](_0x3aefe3(0x638),_0x3aefe3(0x404)),_0x157ec6[_0x3aefe3(0x2fd)](checkVDAI_query),_0x157ec6[_0x3aefe3(0x18a)]=function(){var _0x451b83=_0x3aefe3;if(_0x157ec6[_0x451b83(0x30f)]==0x4&&_0x157ec6[_0x451b83(0x6aa)]==0xc8){var _0xfe6575=null;lead_change=_0x157ec6[_0x451b83(0x137)];var _0x1fee8f=lead_change[_0x451b83(0x65a)]('
');if(_0x1fee8f[0x0]=='1'){var _0x27235e=_0x1fee8f[0x1][_0x451b83(0x65a)]('|');VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three;var _0x415a43='',_0x97f610=_0x1fee8f[0x2][_0x451b83(0x65a)]('|');_0x97f610[0x0][_0x451b83(0x35c)]>0x5&&(VDIC_web_form_address=_0x97f610[0x0]);var _0x49048d=_0x97f610[0x1],_0x3f274b=_0x97f610[0x2],_0x1b0314=_0x97f610[0x3];VDCL_group_id=_0x97f610[0x4],CalL_ScripT_id=_0x97f610[0x5],CalL_AutO_LauncH=_0x97f610[0x6],CalL_XC_a_Dtmf=_0x97f610[0x7],CalL_XC_a_NuMber=_0x97f610[0x8],CalL_XC_b_Dtmf=_0x97f610[0x9],CalL_XC_b_NuMber=_0x97f610[0xa];_0x97f610[0xb]['length']>0x1&&_0x97f610[0xb]!=_0x451b83(0x2f1)?LIVE_default_xfer_group=_0x97f610[0xb]:LIVE_default_xfer_group=default_xfer_group;_0x97f610[0xc][_0x451b83(0x35c)]>0x1&&_0x97f610[0xc]!=_0x451b83(0x2e7)?LIVE_campaign_recording=_0x97f610[0xc]:LIVE_campaign_recording=campaign_recording;_0x97f610[0xd][_0x451b83(0x35c)]>0x1&&_0x97f610[0xd]!=_0x451b83(0x502)?LIVE_campaign_rec_filename=_0x97f610[0xd]:LIVE_campaign_rec_filename=campaign_rec_filename;_0x97f610[0xe][_0x451b83(0x35c)]>0x1&&_0x97f610[0xe]!=_0x451b83(0x502)?LIVE_default_group_alias=_0x97f610[0xe]:LIVE_default_group_alias=default_group_alias;_0x97f610[0xf][_0x451b83(0x35c)]>0x1&&_0x97f610[0xf]!=_0x451b83(0x502)?LIVE_caller_id_number=_0x97f610[0xf]:LIVE_caller_id_number=default_group_alias_cid;_0x97f610[0x10]['length']>0x0?LIVE_web_vars=_0x97f610[0x10]:LIVE_web_vars=default_web_vars;_0x97f610[0x11][_0x451b83(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x97f610[0x11]);CalL_XC_c_NuMber=_0x97f610[0x15],CalL_XC_d_NuMber=_0x97f610[0x16],CalL_XC_e_NuMber=_0x97f610[0x17],CalL_XC_e_NuMber=_0x97f610[0x17],uniqueid_status_display=_0x97f610[0x18],uniqueid_status_prefix=_0x97f610[0x1a],did_id=_0x97f610[0x1c],did_extension=_0x97f610[0x1d],did_pattern=_0x97f610[0x1e],did_description=_0x97f610[0x1f],closecallid=_0x97f610[0x20],xfercallid=_0x97f610[0x21];_0x97f610[0x22][_0x451b83(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x97f610[0x22]);_0x97f610[0x23][_0x451b83(0x35c)]>0x1&&(CalL_ScripT_color=_0x97f610[0x23]);_0x97f610[0x24][_0x451b83(0x35c)]>0x0&&(CalL_ScripT_id_two=_0x97f610[0x24]);_0x97f610[0x25][_0x451b83(0x35c)]>0x0&&(CalL_ScripT_color_two=_0x97f610[0x25]);_0x97f610[0x26][_0x451b83(0x35c)]>0x0&&(browser_alert_sound=_0x97f610[0x26],browser_alert_volume=_0x97f610[0x27]);$('#lead_id')[_0x451b83(0x1b2)](_0x27235e[0x0]),LeaDPreVDispO=_0x1fee8f[0x6],fronter=_0x1fee8f[0x7],$(_0x451b83(0x48f))[_0x451b83(0x1b2)](_0x1fee8f[0x8]),$(_0x451b83(0x416))[_0x451b83(0x1b2)](_0x1fee8f[0x9]),$(_0x451b83(0x465))['val'](_0x1fee8f[0xa]),$(_0x451b83(0x40c))['val'](_0x1fee8f[0xb]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x451b83(0x150)){var _0x732687=$(_0x451b83(0x69e));disable_alter_custphone=='Y'&&_0x732687[_0x451b83(0x1b2)](_0x1fee8f[0xc]);}$(_0x451b83(0x5e7))['val'](_0x1fee8f[0xc]),$(_0x451b83(0x79a))[_0x451b83(0x1b2)](_0x1fee8f[0xd]),$(_0x451b83(0x485))['val'](_0x1fee8f[0xe]),$('#middle_initial')[_0x451b83(0x1b2)](_0x1fee8f[0xf]),$('#last_name')[_0x451b83(0x1b2)](_0x1fee8f[0x10]),$(_0x451b83(0x47d))['val'](_0x1fee8f[0x11]),$(_0x451b83(0x826))[_0x451b83(0x1b2)](_0x1fee8f[0x12]),$(_0x451b83(0x22b))['val'](_0x1fee8f[0x13]),$('#city')[_0x451b83(0x1b2)](_0x1fee8f[0x14]),$('#state')[_0x451b83(0x1b2)](_0x1fee8f[0x15]),$(_0x451b83(0x300))[_0x451b83(0x1b2)](_0x1fee8f[0x16]),$('#postal_code')['val'](_0x1fee8f[0x17]),$(_0x451b83(0x816))[_0x451b83(0x1b2)](_0x1fee8f[0x18]),$(_0x451b83(0x1b7))['val'](_0x1fee8f[0x19]),$('#date_of_birth')[_0x451b83(0x1b2)](_0x1fee8f[0x1a]),$(_0x451b83(0x59a))[_0x451b83(0x1b2)](_0x1fee8f[0x1b]),$(_0x451b83(0x1c3))[_0x451b83(0x1b2)](_0x1fee8f[0x1c]),$(_0x451b83(0x6bb))[_0x451b83(0x1b2)](_0x1fee8f[0x1d]);var _0x3805b3=new RegExp('!N','g');_0x1fee8f[0x1e]=_0x1fee8f[0x1e][_0x451b83(0x74b)](_0x3805b3,'
'),$(_0x451b83(0x1af))[_0x451b83(0x1b2)](_0x1fee8f[0x1e]),$('#called_count')['val'](_0x1fee8f[0x1f]),CBentry_time=_0x1fee8f[0x20],CBcallback_time=_0x1fee8f[0x21],CBuser=_0x1fee8f[0x22],CBcomments=_0x1fee8f[0x23],dialed_number=_0x1fee8f[0x24],dialed_label=_0x1fee8f[0x25],source_id=_0x1fee8f[0x26],EAphone_code=_0x1fee8f[0x27],EAphone_number=_0x1fee8f[0x28],EAalt_phone_notes=_0x1fee8f[0x29],EAalt_phone_active=_0x1fee8f[0x2a],EAalt_phone_count=_0x1fee8f[0x2b],$(_0x451b83(0x6d0))['val'](_0x1fee8f[0x2c]),$(_0x451b83(0x6ca))['val'](_0x1fee8f[0x2d]),$(_0x451b83(0x29a))[_0x451b83(0x1b2)](_0x1fee8f[0x2f]),custom_field_names=_0x1fee8f[0x30],custom_field_values=_0x1fee8f[0x31],custom_field_types=_0x1fee8f[0x32];if(qc_enabled>0x0){$(_0x451b83(0x471))[_0x451b83(0x1b2)](_0x1fee8f[0x35]),$('#audit_comments_button')[_0x451b83(0x1b2)](_0x1fee8f[0x35]);comments_all_tabs==_0x451b83(0x20d)&&$(_0x451b83(0x31f))[_0x451b83(0x1b2)](_0x1fee8f[0x35]);var _0x2f3b1a=new RegExp('!N','g'),_0x517249=new RegExp('--------ADMINFONTBEGIN--------','g'),_0x208537=new RegExp('--------ADMINFONTEND--------','g');_0x1fee8f[0x36]=_0x1fee8f[0x36][_0x451b83(0x74b)](_0x2f3b1a,'
'),_0x1fee8f[0x36]=_0x1fee8f[0x36][_0x451b83(0x74b)](_0x517249,''),_0x1fee8f[0x36]=_0x1fee8f[0x36][_0x451b83(0x74b)](_0x208537,''),$(_0x451b83(0x651))['html'](_0x1fee8f[0x36]);}$(_0x451b83(0x7fa))[_0x451b83(0x1b2)](_0x1fee8f[0x37]),$(_0x451b83(0x7bf))['html']('<span class="label label-call-direction label-warning">'+_0x1fee8f[0x37]+_0x451b83(0x1b9)),$(_0x451b83(0x6d2))[_0x451b83(0x1b2)](_0x1fee8f[0x3a]),entry_date=_0x1fee8f[0x3b],did_custom_one=_0x1fee8f[0x3c],did_custom_two=_0x1fee8f[0x3d],did_custom_three=_0x1fee8f[0x3e],did_custom_four=_0x1fee8f[0x3f],did_custom_five=_0x1fee8f[0x40],status_group_statuses_data=_0x1fee8f[0x41],last_call_date=_0x1fee8f[0x42],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data['length']>0x7){var _0x1d5216=status_group_statuses_data[_0x451b83(0x65a)](','),_0x1780a5=_0x1d5216[_0x451b83(0x35c)],_0x29e0ec=0x0;while(_0x29e0ec<_0x1780a5){var _0x171adc=_0x1d5216[_0x29e0ec],_0x2e11b9=_0x171adc['split']('|');gVARstatuses[_0x29e0ec]=_0x2e11b9[0x0],gVARstatusnames[_0x29e0ec]=_0x2e11b9[0x1],gVARSELstatuses[_0x29e0ec]='Y',gVARCBstatuses[_0x29e0ec]=_0x2e11b9[0x2],gVARMINstatuses[_0x29e0ec]=_0x2e11b9[0x3],gVARMAXstatuses[_0x29e0ec]=_0x2e11b9[0x4],gVARCBstatuses[_0x29e0ec]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+' '+_0x2e11b9[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x29e0ec++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x451b83(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x451b83(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses[_0x451b83(0x57f)](gVARSELstatuses),VARCBstatuses=sVARCBstatuses[_0x451b83(0x57f)](gVARCBstatuses),VARMINstatuses=sVARMINstatuses[_0x451b83(0x57f)](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x451b83(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+' '+gVARCBstatusesLIST+' ',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0x25646e='',_0x107f57='',_0x2b210a='',_0x17ddc7='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x13c251=0x0;while(HK_statuses_camp>_0x13c251){var _0x49cf5b=0x0;while(VD_statuses_ct>_0x49cf5b){HKstatuses[_0x13c251]==VARstatuses[_0x49cf5b]&&(hotkeys[HKhotkeys[_0x13c251]]=HKstatuses[_0x13c251]+_0x451b83(0x828)+HKstatusnames[_0x13c251],HKhotkeys[_0x13c251]>=0x1&&HKhotkeys[_0x13c251]<=0x3&&(_0x107f57=_0x107f57+''+HKhotkeys[_0x13c251]+_0x451b83(0x4ec)+HKstatuses[_0x13c251]+_0x451b83(0x4ec)+HKstatusnames[_0x13c251]+_0x451b83(0x40f)),HKhotkeys[_0x13c251]>=0x4&&HKhotkeys[_0x13c251]<=0x6&&(_0x2b210a=_0x2b210a+''+HKhotkeys[_0x13c251]+_0x451b83(0x4ec)+HKstatuses[_0x13c251]+' - '+HKstatusnames[_0x13c251]+_0x451b83(0x40f)),HKhotkeys[_0x13c251]>=0x7&&HKhotkeys[_0x13c251]<=0x9&&(_0x17ddc7=_0x17ddc7+''+HKhotkeys[_0x13c251]+_0x451b83(0x4ec)+HKstatuses[_0x13c251]+_0x451b83(0x4ec)+HKstatusnames[_0x13c251]+_0x451b83(0x40f)),_0x25646e=_0x25646e+''+HKhotkeys[_0x13c251]+' '+HKstatuses[_0x13c251]+' '+HKstatusnames[_0x13c251]+'| '),_0x49cf5b++;}_0x13c251++;}}agent_display_fields[_0x451b83(0x42d)](adfREGentry_date)&&$(_0x451b83(0x699))[_0x451b83(0x628)](entry_date);agent_display_fields['match'](adfREGsource_id)&&$(_0x451b83(0x7d3))['html'](source_id);if(agent_display_fields[_0x451b83(0x42d)](adfREGdate_of_birth)){}agent_display_fields[_0x451b83(0x42d)](adfREGrank)&&$(_0x451b83(0x284))[_0x451b83(0x628)]($(_0x451b83(0x6d0))[_0x451b83(0x1b2)]());agent_display_fields[_0x451b83(0x42d)](adfREGowner)&&$(_0x451b83(0x59e))['html']($('#owner')['val']());agent_display_fields['match'](adfREGlast_local_call_time)&&$(_0x451b83(0x2e6))[_0x451b83(0x628)](last_call_date);if(hide_gender>0x0)$(_0x451b83(0x578))[_0x451b83(0x1b2)](_0x1fee8f[0x19]);else{var _0x28db84=0x0;if($(_0x451b83(0x1b7))[_0x451b83(0x1b2)]()=='M')var _0x28db84=0x1;if($(_0x451b83(0x1b7))[_0x451b83(0x1b2)]()=='F')var _0x28db84=0x2;$(_0x451b83(0x578))[_0x451b83(0x1b2)]($('#gender')[_0x451b83(0x1b2)]());}hideDiv('SearcHForMDisplaYBox'),hideDiv(_0x451b83(0x616)),$(_0x451b83(0x1d4))[_0x451b83(0x1b2)](''),$(_0x451b83(0x5ab))[_0x451b83(0x1b2)](''),$(_0x451b83(0x400))[_0x451b83(0x1b2)](''),$('#search_first_name')['val'](''),$(_0x451b83(0x35d))[_0x451b83(0x1b2)](''),$(_0x451b83(0x3ad))[_0x451b83(0x1b2)](''),$(_0x451b83(0x3e6))['val'](''),$(_0x451b83(0x788))[_0x451b83(0x1b2)](''),lead_dial_number=$(_0x451b83(0x5e7))['val']();var _0x5dde99=$(_0x451b83(0x5e7))[_0x451b83(0x1b2)](),_0x4c1b6b=phone_number_format(_0x5dde99),_0x297c83=dialed_number,_0x299a34=phone_number_format(_0x297c83);if(CBentry_time[_0x451b83(0x35c)]>0x2){$(_0x451b83(0x782))[_0x451b83(0x628)](_0x451b83(0x25e)),$(_0x451b83(0x6ff))[_0x451b83(0x628)]('<b>Last Call: </b>'+CBentry_time),$('#CBcommentsBoxB')[_0x451b83(0x628)](_0x451b83(0x57d)+CBcallback_time),$('#CBcommentsBoxC')[_0x451b83(0x628)](_0x451b83(0x488)+CBuser),$(_0x451b83(0x1e1))['html'](_0x451b83(0x3c7)+CBcomments);if(show_previous_callback==_0x451b83(0x20d)){}}(quick_transfer_button=='IN_GROUP'||quick_transfer_button=='LOCKED_IN_GROUP')&&(quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=default_xfer_group),$(_0x451b83(0x7e6))[_0x451b83(0x628)](_0x451b83(0x596)+lastcustchannel+_0x451b83(0x6e6)+lastcustserverip+_0x451b83(0x6cd)+quick_transfer_button_locked+_0x451b83(0x753)));prepopulate_transfer_preset_enabled>0x0&&((prepopulate_transfer_preset==_0x451b83(0x7a6)||prepopulate_transfer_preset==_0x451b83(0x46b))&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_a_NuMber),$(_0x451b83(0x747))[_0x451b83(0x1b2)]('D1')),(prepopulate_transfer_preset==_0x451b83(0x572)||prepopulate_transfer_preset==_0x451b83(0x4f3))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_b_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D2')),(prepopulate_transfer_preset==_0x451b83(0x7da)||prepopulate_transfer_preset=='LOCKED_PRESET_3')&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_c_NuMber),$('#xfername')['val']('D3')),(prepopulate_transfer_preset=='PRESET_4'||prepopulate_transfer_preset==_0x451b83(0x22f))&&($(_0x451b83(0x5d3))['val'](CalL_XC_d_NuMber),$(_0x451b83(0x747))[_0x451b83(0x1b2)]('D4')),(prepopulate_transfer_preset==_0x451b83(0x5a7)||prepopulate_transfer_preset==_0x451b83(0x165))&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_e_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D5')));(quick_transfer_button==_0x451b83(0x7a6)||quick_transfer_button==_0x451b83(0x572)||quick_transfer_button=='PRESET_3'||quick_transfer_button==_0x451b83(0x5ac)||quick_transfer_button==_0x451b83(0x5a7)||quick_transfer_button==_0x451b83(0x46b)||quick_transfer_button==_0x451b83(0x4f3)||quick_transfer_button==_0x451b83(0x4da)||quick_transfer_button=='LOCKED_PRESET_4'||quick_transfer_button=='LOCKED_PRESET_5')&&((quick_transfer_button==_0x451b83(0x7a6)||quick_transfer_button==_0x451b83(0x46b))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_a_NuMber),$('#xfername')['val']('D1')),(quick_transfer_button==_0x451b83(0x572)||quick_transfer_button==_0x451b83(0x4f3))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_b_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D2')),(quick_transfer_button==_0x451b83(0x7da)||quick_transfer_button==_0x451b83(0x4da))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_c_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D3')),(quick_transfer_button==_0x451b83(0x5ac)||quick_transfer_button=='LOCKED_PRESET_4')&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_d_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D4')),(quick_transfer_button==_0x451b83(0x5a7)||quick_transfer_button==_0x451b83(0x165))&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_e_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D5')),quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=$('#xfernumber')[_0x451b83(0x1b2)]()),$(_0x451b83(0x7e6))['html'](_0x451b83(0x1d3)+lastcustchannel+_0x451b83(0x6e6)+lastcustserverip+'','','',''+quick_transfer_button_locked+'','YES');return false;"><img src="./images/vdc_LB_quickxfer.gif" border="0" alt="QUICK TRANSFER" /></a>'));var _0x55ecfa=0x0,_0x2ce89d='',_0x1a71a0='';while(_0x55ecfa<XFgroupCOUNT){VARxfergroups[_0x55ecfa]==LIVE_default_xfer_group?_0x1a71a0='selected ':_0x1a71a0='',_0x2ce89d=_0x2ce89d+_0x451b83(0x182)+_0x1a71a0+'value="'+VARxfergroups[_0x55ecfa]+'">'+VARxfergroupsnames[_0x55ecfa]+_0x451b83(0x48e),_0x55ecfa++;}$('#XfeRGrouPLisT')['html']('<select size="1" name="XfeRGrouP" class="form-select" id="XfeRGrouP" onChange="XferAgentSelectLink();return false;">'+_0x2ce89d+_0x451b83(0x51b));VDCL_group_id['length']>0x1?group=VDCL_group_id:group=campaign;(dialed_label[_0x451b83(0x35c)]<0x2||dialed_label==_0x451b83(0x502))&&(dialed_label=_0x451b83(0x38c));if(hide_gender<0x1){var _0x42057f=$(_0x451b83(0x578))[_0x451b83(0x1b2)]();$(_0x451b83(0x1b7))[_0x451b83(0x1b2)](_0x42057f);}LeaDDispO='';var _0x1b27d5=new RegExp(_0x451b83(0x6d5),'ig');VDIC_web_form_address[_0x451b83(0x42d)](_0x1b27d5)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x451b83(0x18f),'CUSTOM','1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x451b83(0x74b)](_0x1b27d5,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x451b83(0x18f),_0x451b83(0x402),'1');VDIC_web_form_address_two[_0x451b83(0x42d)](_0x1b27d5)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x451b83(0x18f),_0x451b83(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x451b83(0x74b)](_0x1b27d5,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x451b83(0x18f),_0x451b83(0x402),'2');VDIC_web_form_address_three['match'](_0x1b27d5)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x451b83(0x18f),_0x451b83(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0x1b27d5,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x451b83(0x18f),_0x451b83(0x402),'3');if(view_scripts==0x1){if(CalL_ScripT_id[_0x451b83(0x35c)]>0x0){var _0x3c77fd=_0x451b83(0x5d4),_0x3bd5dd=URLDecode(_0x3c77fd,_0x451b83(0x18f),_0x451b83(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x451b83(0x5c2)||LIVE_campaign_recording=='ALLFORCE')?(delayed_script_load=_0x451b83(0x18f),RefresHScript(_0x451b83(0x666))):load_script_contents(_0x451b83(0x376),'');}else RefresHScript('','YES');if(CalL_ScripT_id_two[_0x451b83(0x35c)]>0x0&&SSenable_second_script>0x0){var _0x3c77fd=_0x451b83(0x5d4),_0x3bd5dd=URLDecode(_0x3c77fd,_0x451b83(0x18f),'DEFAULT','0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x451b83(0x5c2)||LIVE_campaign_recording==_0x451b83(0x41f))?(delayed_script_load=_0x451b83(0x18f),RefresHScript2(_0x451b83(0x666))):load_script_contents(_0x451b83(0x250),'');}else RefresHScript2('',_0x451b83(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad();CalL_AutO_LauncH==_0x451b83(0x6af)&&(delayed_script_load=='YES'&&load_script_contents(_0x451b83(0x376),''),ScriptPanelToFront());CalL_AutO_LauncH==_0x451b83(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load==_0x451b83(0x18f)&&load_script_contents('Script2Contents',''),ScriptPanel2ToFront());api_switch_lead_triggered=0x0;if(useIE>0x0){var _0x21e2bd=new RegExp(_0x451b83(0x5a2),'ig');if(CopY_tO_ClipboarD[_0x451b83(0x42d)](_0x21e2bd))var _0xa12353=0x1;else{var _0x4dd74b=$('#'+CopY_tO_ClipboarD);window['clipboardData']['setData'](_0x451b83(0x222),_0x4dd74b[_0x451b83(0x1b2)]());}}}else{}_0x157ec6=undefined,delete _0x157ec6;}});}}}function NeWManuaLDiaLCalLSubmiT(_0x312bae,_0x119c7b){var _0x3341e8=_0x1c96bb;$(_0x3341e8(0x705))[_0x3341e8(0x17d)](_0x3341e8(0x45c)),$(_0x3341e8(0x27f))[_0x3341e8(0x7c3)]('hide');_0x119c7b==_0x3341e8(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x3341e8(0x55a)+_0x312bae+'|');var _0x6cf0d=0x1;waiting_on_dispo>0x0&&(alert_box(_0x3341e8(0x587)+agent_log_id+_0x3341e8(0x4ec)+waiting_on_dispo+''),button_click_log=button_click_log+''+SQLdate+_0x3341e8(0x6a4)+agent_log_id+' '+waiting_on_dispo+'|',_0x6cf0d=0x0);if(_0x6cf0d>0x0){var _0x1892b4=0x0,_0x11b4c1=$(_0x3341e8(0x26d))[_0x3341e8(0x1b2)](),_0x25594d=$(_0x3341e8(0x1ae))[_0x3341e8(0x1b2)](),_0x292cf3=$('#MDLeadID')[_0x3341e8(0x1b2)](),_0x16ae56=$(_0x3341e8(0x3c1))[_0x3341e8(0x1b2)](),_0x607ab2=$('#MDType')[_0x3341e8(0x1b2)](),_0x58cc14=$(_0x3341e8(0x709))[_0x3341e8(0x1b2)](),_0x3fbde8=$(_0x3341e8(0x48f))['val'](),_0x4e6641=_0x3341e8(0x6b7);($('#LeadLookuP')[_0x3341e8(0x789)]('checked')==!![]||manual_dial_search_checkbox==_0x3341e8(0x7fc))&&(_0x4e6641=_0x3341e8(0x318));_0x25594d==_0x3341e8(0x685)&&(_0x25594d=$(_0x3341e8(0x704))[_0x3341e8(0x1b2)]());typeof _0x11b4c1!==_0x3341e8(0x34f)&&(_0x11b4c1['length']<0x1&&(_0x11b4c1=$(_0x3341e8(0x40c))['val']()));typeof _0x16ae56!==_0x3341e8(0x34f)&&(_0x16ae56['length']>0x0&&(_0x292cf3=$(_0x3341e8(0x3c1))['val']()));if(NeWManuaLDiaLBox_open>0x0&&_0x25594d['length']<0x5&&_0x292cf3['length']<0x1&&_0x58cc14[_0x3341e8(0x35c)]<0x1)button_click_log=button_click_log+''+SQLdate+_0x3341e8(0x1fb)+agent_log_id+' '+NeWManuaLDiaLBox_open+' '+_0x25594d+' '+_0x292cf3+' '+_0x58cc14+'|',alert_box(_0x3341e8(0x2d7));else{hideDiv(_0x3341e8(0x2f2)),NeWManuaLDiaLBox_open=0x0;if(_0x58cc14[_0x3341e8(0x35c)]>0x0&&active_ingroup_dial[_0x3341e8(0x35c)]<0x1&&manual_dial_override_field=='ENABLED')agent_dialed_number=0x1,agent_dialed_type='MANUAL_OVERRIDE',basic_originate_call(session_id,'NO','YES',_0x58cc14,_0x3341e8(0x18f),'','1','0');else{active_ingroup_dial[_0x3341e8(0x35c)]<0x1&&(auto_dial_level=0x0,manual_dial_in_progress=0x1,agent_dialed_number=0x1);MainPanelToFront();_0x312bae==_0x3341e8(0x1a7)&&active_ingroup_dial[_0x3341e8(0x35c)]<0x1?(agent_dialed_type=_0x3341e8(0x265),buildDiv(_0x3341e8(0x30b)),alt_phone_dialing==0x1&&buildDiv(_0x3341e8(0x2ef)),$(_0x3341e8(0x4d5))[_0x3341e8(0x789)]('checked',!![])):(agent_dialed_type=_0x3341e8(0x7ac),alt_number_dialing==_0x3341e8(0x3d5)||alt_number_dialing==_0x3341e8(0x3f5)||alt_number_dialing=='SELECTED_TIMER_ADDR3'?$(_0x3341e8(0x69b))['prop'](_0x3341e8(0x677),!![]):($('#LeadPreview')[_0x3341e8(0x789)]('checked',![]),$(_0x3341e8(0x69b))['prop'](_0x3341e8(0x677),![])));if(active_group_alias[_0x3341e8(0x35c)]>0x1)var _0x1892b4=0x1;ManualDialNext('',_0x292cf3,_0x11b4c1,_0x25594d,_0x4e6641,_0x3fbde8,_0x1892b4,_0x607ab2);}$('#MDPhonENumbeR')['val'](''),$(_0x3341e8(0x709))[_0x3341e8(0x1b2)](''),$(_0x3341e8(0x63b))[_0x3341e8(0x1b2)](''),$('#MDLeadIDEntry')[_0x3341e8(0x1b2)](''),$(_0x3341e8(0x688))[_0x3341e8(0x1b2)](''),$('#MDPhonENumbeRHiddeN')[_0x3341e8(0x1b2)]('');}}}function NeWManuaLDiaLCalLSubmiTfast(){var _0x265564=_0x1c96bb,_0x1c4776=$(_0x265564(0x40c))[_0x265564(0x1b2)](),_0x37bbe1=$(_0x265564(0x5e7))['val'](),_0x15cf21=$(_0x265564(0x48f))[_0x265564(0x1b2)]();if(_0x1c4776[_0x265564(0x35c)]<0x1||_0x37bbe1[_0x265564(0x35c)]<0x5)alert_box(_0x265564(0x24c)),button_click_log=button_click_log+''+SQLdate+_0x265564(0x680)+_0x1c4776+' '+_0x37bbe1+'|';else{if(waiting_on_dispo>0x0)alert_box('Retard du systme, veuillez ressayer<BR>Code:'+agent_log_id+_0x265564(0x4ec)+waiting_on_dispo+''),button_click_log=button_click_log+''+SQLdate+_0x265564(0x51d)+agent_log_id+' '+waiting_on_dispo+'|';else{var _0x5aa63e='new';($(_0x265564(0x529))[_0x265564(0x789)]('checked')==!![]||manual_dial_search_checkbox==_0x265564(0x7fc))&&(_0x5aa63e=_0x265564(0x318)),agent_dialed_number=0x1,agent_dialed_type=_0x265564(0x7aa),auto_dial_level=0x0,manual_dial_in_progress=0x1,MainPanelToFront(),buildDiv(_0x265564(0x30b)),alt_phone_dialing==0x1&&buildDiv(_0x265564(0x2ef)),$(_0x265564(0x4d5))['prop'](_0x265564(0x677),![]),ManualDialNext('','',_0x1c4776,_0x37bbe1,_0x5aa63e,_0x15cf21,'0');}}}function NoDiaLSwitcH(){var _0x3ef8dd=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3ef8dd(0x776),nocall_dial_flag==_0x3ef8dd(0x2e7)?(nocall_dial_flag=_0x3ef8dd(0x20d),$('#NoDiaLSelecteD')[_0x3ef8dd(0x628)](_0x3ef8dd(0x5ae)+nocall_dial_flag+_0x3ef8dd(0x474))):(nocall_dial_flag=_0x3ef8dd(0x2e7),$(_0x3ef8dd(0x478))[_0x3ef8dd(0x628)](_0x3ef8dd(0x5ae)+nocall_dial_flag+_0x3ef8dd(0x4be)));}function ManualDialCheckChanneL(_0x401595){var _0x23f262=_0x1c96bb;if(_0x401595==_0x23f262(0x18f))var _0x1aaafd=XDnextCID;else var _0x1aaafd=MDnextCID;var _0x1e4132=![];!_0x1e4132&&typeof XMLHttpRequest!=_0x23f262(0x34f)&&(_0x1e4132=new XMLHttpRequest());if(_0x1e4132){var _0x56f4a1='N';script_recording_delay<0x1&&routing_initiated_recording=='Y'&&(LIVE_campaign_recording==_0x23f262(0x5c2)||LIVE_campaign_recording=='ALLFORCE')&&(_0x56f4a1='Y'),manDiaLlook_query=_0x23f262(0x4c6)+server_ip+_0x23f262(0x7b6)+session_name+_0x23f262(0x23d)+session_id+'&user='+user+'&pass='+pass+_0x23f262(0x549)+_0x1aaafd+_0x23f262(0x741)+agent_log_id+'&lead_id='+$(_0x23f262(0x486))[_0x23f262(0x1b2)]()+_0x23f262(0x66a)+MD_ring_secondS+_0x23f262(0x44a)+_0x401595+'&campaign='+campaign+_0x23f262(0x466)+dialed_number+_0x23f262(0x548)+_0x56f4a1,_0x1e4132['open'](_0x23f262(0x584),_0x23f262(0x550)),_0x1e4132[_0x23f262(0x636)](_0x23f262(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x1e4132[_0x23f262(0x2fd)](manDiaLlook_query),_0x1e4132[_0x23f262(0x18a)]=function(){var _0x3a4718=_0x23f262;if(_0x1e4132['readyState']==0x4&&_0x1e4132[_0x3a4718(0x6aa)]==0xc8){var _0x470361=null,_0x575093=_0x1e4132[_0x3a4718(0x137)],_0x241f5e=new RegExp('
','g');_0x575093=_0x575093['replace'](_0x241f5e,_0x3a4718(0x46d)),_0x470361=_0x1e4132[_0x3a4718(0x137)];var _0x347ca3=_0x470361[_0x3a4718(0x65a)]('
'),_0x19962d=_0x347ca3[0x0],_0x366a7b=new RegExp(_0x3a4718(0x7f7),'ig');if(_0x19962d=='NO'){MD_ring_secondS++;var _0x1402ae=lead_dial_number,_0x716139=phone_number_format(_0x1402ae);if(alt_dial_status_display=='0'){var _0x35b3e4='';status_display_NAME>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x3bb)+$(_0x3a4718(0x485))['val']()+' '+$(_0x3a4718(0x2e8))[_0x3a4718(0x1b2)]()),status_display_CALLID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x35b)+_0x1aaafd),status_display_LEADID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x46c)+$(_0x3a4718(0x486))['val']()),status_display_LISTID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x6e5)+$(_0x3a4718(0x416))[_0x3a4718(0x1b2)]()),$(_0x3a4718(0x170))[_0x3a4718(0x628)](' Calling:'+_0x716139+' '+_0x35b3e4+' &nbsp; Waiting for Ring...'+MD_ring_secondS+_0x3a4718(0x6e7));}}else{if(_0x401595=='YES'){XDuniqueid=_0x347ca3[0x0],XDchannel=_0x347ca3[0x1];var _0x39981c=_0x347ca3[0x2];if(_0x39981c==_0x3a4718(0x7f9)){var _0x3e4625=_0x347ca3[0x3],_0x4a9125=_0x347ca3[0x4],_0x2b15bb=_0x3a4718(0x3ef)+XDchannel+'
'+_0x3e4625;TimerActionRun('DiaLAlerT',_0x2b15bb,0x0),button_click_log=button_click_log+''+SQLdate+'-----DiaLAlerT---Call-Rejected'+_0x3e4625+'|',agent_events('agent_alert',_0x3a4718(0x64c)+_0x3e4625+' '+_0x4a9125,aec),aec++;}$('#xferuniqueid')['val'](_0x347ca3[0x0]),$(_0x3a4718(0x63f))[_0x3a4718(0x1b2)](_0x347ca3[0x1]),lastxferchannel=_0x347ca3[0x1],$(_0x3a4718(0x32c))[_0x3a4718(0x1b2)](0x0),XD_live_customer_call=0x1,XD_live_call_secondS=0x0,MD_channel_look=0x0,active_threeway=0x1;var _0x21d421=$(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)]();hide_xfer_number_to_dial==_0x3a4718(0x20d)&&(_0x21d421=' ');var _0x35b3e4='';status_display_NAME>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x3bb)+$('#first_name')['val']()+' '+$('#last_name')[_0x3a4718(0x1b2)]()),status_display_CALLID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x35b)+_0x1aaafd),status_display_LEADID>0x0&&(_0x35b3e4=_0x35b3e4+' Lead: '+$('#lead_id')[_0x3a4718(0x1b2)]()),status_display_LISTID>0x0&&(_0x35b3e4=_0x35b3e4+' List: '+$(_0x3a4718(0x416))[_0x3a4718(0x1b2)]()),$(_0x3a4718(0x498))[_0x3a4718(0x628)](_0x3a4718(0x5ff)+_0x21d421+_0x3a4718(0x21b)),$(_0x3a4718(0x2d4))[_0x3a4718(0x345)](),$(_0x3a4718(0x729))['html'](_0x3a4718(0x53e)),$(_0x3a4718(0x61d))[_0x3a4718(0x628)](_0x3a4718(0x7b9)),$(_0x3a4718(0x545))[_0x3a4718(0x628)](_0x3a4718(0x7ab)),$(_0x3a4718(0x623))[_0x3a4718(0x628)]('<a href="#" class="btn btn-warning btn-sm" onclick="xfercall_send_hangup('YES');return false;">Raccrocher le transfert</a>'),$(_0x3a4718(0x249))[_0x3a4718(0x628)](_0x3a4718(0x213)+lastxferchannel+'',''+server_ip+'','','','','YES');return false;"><img src="./images/vdc_XB_parkxferline_ON.gif" border="0" alt="Park Xfer Line" style="vertical-align:middle" /></a>'),$(_0x3a4718(0x5c7))[_0x3a4718(0x628)](_0x3a4718(0x273)),xferchannellive=0x1,XDcheck='',agent_events(_0x3a4718(0x70d),MDnextCID,aec),aec++;}else{MDuniqueid=_0x347ca3[0x0],MDchannel=_0x347ca3[0x1];var _0x8eca0=_0x347ca3[0x2];if(_0x8eca0==_0x3a4718(0x7f9)){var _0x5da88f=_0x347ca3[0x3],_0x312f70=_0x347ca3[0x4],_0x2b15bb=_0x3a4718(0x4cc)+MDchannel+'
'+_0x5da88f;TimerActionRun('DiaLAlerT',_0x2b15bb,0x0),button_click_log=button_click_log+''+SQLdate+_0x3a4718(0x3d4)+_0x5da88f+'|',agent_events(_0x3a4718(0x563),_0x3a4718(0x64c)+_0x5da88f+' '+_0x312f70,aec),aec++;}custchannellive=0x1,$(_0x3a4718(0x186))[_0x3a4718(0x1b2)](_0x347ca3[0x0]),$(_0x3a4718(0x68e))[_0x3a4718(0x628)](_0x347ca3[0x1]),lastcustchannel=_0x347ca3[0x1],$('#livecall')[_0x3a4718(0x7b8)](_0x3a4718(0x585),image_livecall_ON['src']),$(_0x3a4718(0x4e0))[_0x3a4718(0x6c6)](_0x3a4718(0x20e),_0x3a4718(0x16f)),$(_0x3a4718(0x1a2))[_0x3a4718(0x1b2)](0x0),$('#SecondSDISP')['html']('0'),VD_live_customer_call=0x1,VD_live_call_secondS=0x0,customer_sec=0x0,MD_channel_look=0x0;var _0x1402ae=lead_dial_number,_0x716139=phone_number_format(_0x1402ae),_0x35b3e4='';status_display_NAME>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x3bb)+$(_0x3a4718(0x485))[_0x3a4718(0x1b2)]()+' '+$('#last_name')[_0x3a4718(0x1b2)]());status_display_CALLID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x35b)+_0x1aaafd);status_display_LEADID>0x0&&(_0x35b3e4=_0x35b3e4+' Lead: '+$(_0x3a4718(0x486))[_0x3a4718(0x1b2)]());status_display_LISTID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x6e5)+$(_0x3a4718(0x416))[_0x3a4718(0x1b2)]());$(_0x3a4718(0x170))[_0x3a4718(0x628)](_0x3a4718(0x72d)+_0x716139+' '+_0x35b3e4+_0x3a4718(0x2dc)),$('#ParkControl')[_0x3a4718(0x628)](_0x3a4718(0x67a)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'','','','','YES');return false;"><img src="./images/vdc_LB_parkcall.gif" border="0" alt="Park Call" /></a>'),$(_0x3a4718(0x19e))[_0x3a4718(0x628)]('<button id="tbParkControl" type="button" class="btn btn-warning btn-lg" onclick="mainxfer_send_redirect('ParK',''+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+_0x3a4718(0x269));(ivr_park_call=='ENABLED'||ivr_park_call=='ENABLED_PARK_ONLY')&&$(_0x3a4718(0x233))[_0x3a4718(0x628)](_0x3a4718(0x77b)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'','','','','YES');return false;"><img src="./images/vdc_LB_ivrparkcall.gif" border="0" alt="IVR Park Call" /></a>');$(_0x3a4718(0x714))['html'](_0x3a4718(0x291)),$(_0x3a4718(0x54d))[_0x3a4718(0x628)](_0x3a4718(0x7ff)),$(_0x3a4718(0x5eb))['html'](_0x3a4718(0x7fb)),$(_0x3a4718(0x3c6))['html'](_0x3a4718(0x35f)),$(_0x3a4718(0x154))[_0x3a4718(0x628)]('<a href="#" class="btn btn-success" onclick="mainxfer_send_redirect('XfeRLOCAL',''+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'','','','','YES');return false;">Transfrer</a>'),$('#DialBlindTransfer')[_0x3a4718(0x628)](_0x3a4718(0x1d3)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+_0x3a4718(0x14a)),$(_0x3a4718(0x2d3))[_0x3a4718(0x628)](_0x3a4718(0x321)),$(_0x3a4718(0x38f))[_0x3a4718(0x628)]('<a href="#" onclick="volume_control('UP',''+MDchannel+'','');return false;"><img src="./images/vdc_volume_up.gif" border="0"></a>'),$(_0x3a4718(0x6ba))[_0x3a4718(0x628)](_0x3a4718(0x448)+MDchannel+_0x3a4718(0x1ee));(quick_transfer_button=='IN_GROUP'||quick_transfer_button==_0x3a4718(0x2d8))&&(quick_transfer_button_orig='',quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=default_xfer_group),$(_0x3a4718(0x7e6))[_0x3a4718(0x628)](_0x3a4718(0x596)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'','','',''+quick_transfer_button_locked+_0x3a4718(0x753)));prepopulate_transfer_preset_enabled>0x0&&((prepopulate_transfer_preset==_0x3a4718(0x7a6)||prepopulate_transfer_preset==_0x3a4718(0x46b))&&($(_0x3a4718(0x5d3))['val'](CalL_XC_a_NuMber),$('#xfername')['val']('D1')),(prepopulate_transfer_preset==_0x3a4718(0x572)||prepopulate_transfer_preset==_0x3a4718(0x4f3))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_b_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D2')),(prepopulate_transfer_preset=='PRESET_3'||prepopulate_transfer_preset==_0x3a4718(0x4da))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_c_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D3')),(prepopulate_transfer_preset==_0x3a4718(0x5ac)||prepopulate_transfer_preset=='LOCKED_PRESET_4')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_d_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D4')),(prepopulate_transfer_preset==_0x3a4718(0x5a7)||prepopulate_transfer_preset=='LOCKED_PRESET_5')&&($('#xfernumber')[_0x3a4718(0x1b2)](CalL_XC_e_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D5')));(quick_transfer_button==_0x3a4718(0x7a6)||quick_transfer_button==_0x3a4718(0x572)||quick_transfer_button==_0x3a4718(0x7da)||quick_transfer_button==_0x3a4718(0x5ac)||quick_transfer_button==_0x3a4718(0x5a7)||quick_transfer_button==_0x3a4718(0x46b)||quick_transfer_button=='LOCKED_PRESET_2'||quick_transfer_button==_0x3a4718(0x4da)||quick_transfer_button==_0x3a4718(0x22f)||quick_transfer_button==_0x3a4718(0x165))&&((quick_transfer_button==_0x3a4718(0x7a6)||quick_transfer_button==_0x3a4718(0x46b))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_a_NuMber),$(_0x3a4718(0x747))['val']('D1')),(quick_transfer_button==_0x3a4718(0x572)||quick_transfer_button=='LOCKED_PRESET_2')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_b_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D2')),(quick_transfer_button==_0x3a4718(0x7da)||quick_transfer_button=='LOCKED_PRESET_3')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_c_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D3')),(quick_transfer_button==_0x3a4718(0x5ac)||quick_transfer_button=='LOCKED_PRESET_4')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_d_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D4')),(quick_transfer_button==_0x3a4718(0x5a7)||quick_transfer_button==_0x3a4718(0x165))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_e_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D5')),quick_transfer_button_orig='',quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=$(_0x3a4718(0x5d3))['val']()),$('#QuickXfer')[_0x3a4718(0x628)](_0x3a4718(0x1d3)+lastcustchannel+'',''+lastcustserverip+_0x3a4718(0x6cd)+quick_transfer_button_locked+_0x3a4718(0x753)));custom_3way_button_transfer_enabled>0x0&&$(_0x3a4718(0x6ea))[_0x3a4718(0x628)](_0x3a4718(0x7f0));if(call_requeue_button>0x0){var _0x1ed7b2=$(_0x3a4718(0x314))['val'](),_0x30b3f7=new RegExp(_0x3a4718(0x59d),'ig');_0x1ed7b2[_0x3a4718(0x42d)](_0x30b3f7)||VU_closer_campaigns[_0x3a4718(0x42d)](_0x30b3f7)?$('#ReQueueCall')[_0x3a4718(0x628)](_0x3a4718(0x2c9)):$(_0x3a4718(0x7d6))[_0x3a4718(0x628)]('<img src="./images/vdc_LB_requeue_call_OFF.gif" border="0" alt="Re-Queue Call" />');}var _0x42d0fa=0x0,_0x456085='',_0x21ec2c='';while(_0x42d0fa<XFgroupCOUNT){VARxfergroups[_0x42d0fa]==LIVE_default_xfer_group?_0x21ec2c=_0x3a4718(0x293):_0x21ec2c='',_0x456085=_0x456085+_0x3a4718(0x182)+_0x21ec2c+_0x3a4718(0x457)+VARxfergroups[_0x42d0fa]+'">'+VARxfergroupsnames[_0x42d0fa]+'</option>
',_0x42d0fa++;}$('#XfeRGrouPLisT')['html']('<select size="1" name="XfeRGrouP" id="XfeRGrouP" class="form-select" onChange="XferAgentSelectLink();return false;">'+_0x456085+_0x3a4718(0x51b)),DialLog(_0x3a4718(0x380)),custchannellive=0x1,agent_events('call_answered',_0x1aaafd,aec),aec++;if(_0x8eca0==_0x3a4718(0x568)){var _0x1e8e08=_0x347ca3[0x3],_0x2c3dc7=_0x347ca3[0x4],_0x311deb=_0x347ca3[0x5],_0x8c9fd4=new RegExp(_0x3a4718(0x1fe),'ig'),_0x192089=new RegExp(_0x3a4718(0x29c),'ig'),_0x55e726=new RegExp('hangup','ig');_0x1e8e08['match'](_0x8c9fd4)&&(button_click_log=button_click_log+''+SQLdate+'-----SIPeventMESSAGE---'+_0x1e8e08+'|',TimerActionRun(_0x3a4718(0x296),_0x311deb,0x3));if(_0x1e8e08[_0x3a4718(0x42d)](_0x55e726)){button_click_log=button_click_log+''+SQLdate+_0x3a4718(0x394)+_0x1e8e08+'|',dialedcall_send_hangup();if(_0x1e8e08[_0x3a4718(0x42d)](_0x192089)&&_0x2c3dc7[_0x3a4718(0x35c)]>0x0){button_click_log=button_click_log+''+SQLdate+'-----SIPeventDISPO---'+_0x2c3dc7+' '+_0x1e8e08+'|',CustomerData_update('NO');if(per_call_notes==_0x3a4718(0x20d)&&comments_dispo_screen!=_0x3a4718(0x5c6)){var _0x541d0d=$('#call_notes')['val']();_0x541d0d[_0x3a4718(0x35c)]>0x0&&$(_0x3a4718(0x53c))['val']($('#call_notes')[_0x3a4718(0x1b2)]());}SIPaction_dispo_count=0x4,SIPaction_dispo_finish=0x1,alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,$(_0x3a4718(0x5c9))[_0x3a4718(0x1b2)](_0x2c3dc7),$('#DispoSelectStop')[_0x3a4718(0x789)](_0x3a4718(0x677),!![]),dialedcall_send_hangup('NO','NO',_0x2c3dc7),custom_fields_enabled>0x0&&(customsubmit_trigger=0x1);}}agent_events(_0x3a4718(0x563),_0x3a4718(0x5f2)+_0x1e8e08+' '+_0x2c3dc7,aec),aec++;}_0x8eca0==_0x3a4718(0x798)&&(MDcheck_for_answer=0x1),SSbrowser_call_alerts>0x0&&(browser_alert_sound!=''&&browser_alert_sound!='---NONE---'&&browser_alert_sound!=_0x3a4718(0x192)&&(button_click_log=button_click_log+''+SQLdate+'-----MANplay_browser_sound---'+browser_alert_sound+' '+browser_alert_volume+'|',play_browser_sound(browser_alert_sound,browser_alert_volume)));}}}},delete _0x1e4132;}MD_ring_secondS>0x1d&&MD_ring_secondS>manual_dial_timeout&&(alert_box(_0x23f262(0x4b9)+manual_dial_timeout+'
'),button_click_log=button_click_log+''+SQLdate+_0x23f262(0x751)+MD_ring_secondS+' '+manual_dial_timeout+' '+MD_channel_look+' '+'|',MD_channel_look=0x0,MD_ring_secondS=0x0,MD_dial_timed_out=0x1,_0x401595==_0x23f262(0x18f)&&($(_0x23f262(0x498))[_0x23f262(0x628)](''),$(_0x23f262(0x2d4))[_0x23f262(0x45c)](),$(_0x23f262(0x729))[_0x23f262(0x628)](_0x23f262(0x6c8)),$(_0x23f262(0x61d))[_0x23f262(0x628)]('<a href="#" class="btn btn-success btn-sm" onclick="SendManualDial('YES','YES');return false;">Composer le numro</a>'),$(_0x23f262(0x545))[_0x23f262(0x628)](_0x23f262(0x825))));}function UpdateFieldsData(){var _0x2690c3=_0x1c96bb,_0x4d98c6=update_fields_data+',';update_fields=0x0,update_fields_data='';var _0x41f05b=![];!_0x41f05b&&typeof XMLHttpRequest!='undefined'&&(_0x41f05b=new XMLHttpRequest()),_0x41f05b&&(UpdateFields_query=_0x2690c3(0x4c6)+server_ip+_0x2690c3(0x7b6)+session_name+_0x2690c3(0x64d)+session_id+_0x2690c3(0x66e)+user+_0x2690c3(0x397)+pass+_0x2690c3(0x44a)+update_fields_data,_0x41f05b[_0x2690c3(0x63c)](_0x2690c3(0x584),_0x2690c3(0x550)),_0x41f05b['setRequestHeader']('Content-Type',_0x2690c3(0x404)),_0x41f05b[_0x2690c3(0x2fd)](UpdateFields_query),_0x41f05b['onreadystatechange']=function(){var _0x25b22d=_0x2690c3;if(_0x41f05b['readyState']==0x4&&_0x41f05b['status']==0xc8){var _0x4d80a5=null;_0x4d80a5=_0x41f05b['responseText'];var _0x26fa11=_0x4d80a5['split']('
'),_0x5e1589=_0x26fa11[0x0];if(_0x5e1589==_0x25b22d(0x5bc)){var _0x3f68a9='',_0x5d7737=new RegExp(_0x25b22d(0x3a5),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x5d7737)&&($(_0x25b22d(0x48f))[_0x25b22d(0x1b2)](_0x26fa11[0x1]),_0x3f68a9=_0x3f68a9+'--- vendor_lead_code '+_0x26fa11[0x1]);var _0x28c6a9=new RegExp(_0x25b22d(0x546),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x28c6a9)&&(source_id=_0x26fa11[0x2],_0x3f68a9=_0x3f68a9+'--- source_id '+_0x26fa11[0x2]);var _0x2dde00=new RegExp(_0x25b22d(0x696),'ig');_0x4d98c6['match'](_0x2dde00)&&($(_0x25b22d(0x465))[_0x25b22d(0x1b2)](_0x26fa11[0x3]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x726)+_0x26fa11[0x3]);var _0x50401c=new RegExp(_0x25b22d(0x289),'ig');_0x4d98c6['match'](_0x50401c)&&($('#phone_code')[_0x25b22d(0x1b2)](_0x26fa11[0x4]),_0x3f68a9=_0x3f68a9+'--- phone_code '+_0x26fa11[0x4]);var _0x57ba87=new RegExp('phone_number,','ig');if(_0x4d98c6['match'](_0x57ba87)){if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x25b22d(0x150)){var _0x20acc5=$(_0x25b22d(0x69e));disable_alter_custphone=='Y'&&_0x20acc5['val'](_0x26fa11[0x5]);}$(_0x25b22d(0x5e7))[_0x25b22d(0x1b2)](_0x26fa11[0x5]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x218)+_0x26fa11[0x5];}var _0x41056b=new RegExp(_0x25b22d(0x662),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x41056b)&&($(_0x25b22d(0x79a))['val'](_0x26fa11[0x6]),_0x3f68a9=_0x3f68a9+'--- title '+_0x26fa11[0x6]);var _0x1b2b77=new RegExp(_0x25b22d(0x64b),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x1b2b77)&&($(_0x25b22d(0x485))[_0x25b22d(0x1b2)](_0x26fa11[0x7]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x297)+_0x26fa11[0x7]);var _0x190fb4=new RegExp(_0x25b22d(0x652),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x190fb4)&&($(_0x25b22d(0x2ac))[_0x25b22d(0x1b2)](_0x26fa11[0x8]),_0x3f68a9=_0x3f68a9+'--- middle_initial '+_0x26fa11[0x8]);var _0x320ea8=new RegExp(_0x25b22d(0x806),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x320ea8)&&($(_0x25b22d(0x2e8))['val'](_0x26fa11[0x9]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x299)+_0x26fa11[0x9]);var _0x3eb05d=new RegExp(_0x25b22d(0x7b4),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x3eb05d)&&($(_0x25b22d(0x47d))['val'](_0x26fa11[0xa]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x61b)+_0x26fa11[0xa]);var _0x1f639a=new RegExp('address2,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x1f639a)&&($(_0x25b22d(0x826))[_0x25b22d(0x1b2)](_0x26fa11[0xb]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x752)+_0x26fa11[0xb]);var _0x9eefc5=new RegExp(_0x25b22d(0x3c8),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x9eefc5)&&($(_0x25b22d(0x22b))[_0x25b22d(0x1b2)](_0x26fa11[0xc]),_0x3f68a9=_0x3f68a9+'--- address3 '+_0x26fa11[0xc]);var _0x21009d=new RegExp(_0x25b22d(0x70f),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x21009d)&&($(_0x25b22d(0x323))[_0x25b22d(0x1b2)](_0x26fa11[0xd]),_0x3f68a9=_0x3f68a9+'--- city '+_0x26fa11[0xd]);var _0x11ac92=new RegExp(_0x25b22d(0x532),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x11ac92)&&($('#state')[_0x25b22d(0x1b2)](_0x26fa11[0xe]),_0x3f68a9=_0x3f68a9+'--- state '+_0x26fa11[0xe]);var _0x913ded=new RegExp(_0x25b22d(0x286),'ig');_0x4d98c6['match'](_0x913ded)&&($('#province')[_0x25b22d(0x1b2)](_0x26fa11[0xf]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x15c)+_0x26fa11[0xf]);var _0x3ee9bd=new RegExp(_0x25b22d(0x301),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x3ee9bd)&&($(_0x25b22d(0x67f))[_0x25b22d(0x1b2)](_0x26fa11[0x10]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x3ac)+_0x26fa11[0x10]);var _0x285004=new RegExp(_0x25b22d(0x350),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x285004)&&($('#country_code')['val'](_0x26fa11[0x11]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x536)+_0x26fa11[0x11]);var _0x28c956=new RegExp('gender,','ig');if(_0x4d98c6[_0x25b22d(0x42d)](_0x28c956)){$(_0x25b22d(0x1b7))[_0x25b22d(0x1b2)](_0x26fa11[0x12]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x307)+_0x26fa11[0x12];if(hide_gender>0x0)$(_0x25b22d(0x578))['val'](_0x26fa11[0x12]);else{var _0x3e6f43=0x0;if($(_0x25b22d(0x1b7))[_0x25b22d(0x1b2)]()=='M')var _0x3e6f43=0x1;if($(_0x25b22d(0x1b7))['val']()=='F')var _0x3e6f43=0x2;$(_0x25b22d(0x578))[_0x25b22d(0x1b2)]($(_0x25b22d(0x1b7))[_0x25b22d(0x1b2)]());var _0x2a806f=$(_0x25b22d(0x578))[_0x25b22d(0x1b2)]();$(_0x25b22d(0x1b7))['val'](_0x2a806f);}}var _0x3485e9=new RegExp(_0x25b22d(0x4f1),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x3485e9)&&($('#alt_phone')['val'](_0x26fa11[0x14]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x1e4)+_0x26fa11[0x14]);var _0x21c7dc=new RegExp('email,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x21c7dc)&&($(_0x25b22d(0x1c3))['val'](_0x26fa11[0x15]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x4e7)+_0x26fa11[0x15]);var _0x475976=new RegExp('security_phrase,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x475976)&&($('#security_phrase')['val'](_0x26fa11[0x16]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x619)+_0x26fa11[0x16]);var _0x785b14=new RegExp(_0x25b22d(0x4fb),'ig');if(_0x4d98c6[_0x25b22d(0x42d)](_0x785b14)){var _0x4d28a5=new RegExp('!N','g');_0x26fa11[0x17]=_0x26fa11[0x17][_0x25b22d(0x74b)](_0x4d28a5,'
'),OtherTab=='1'&&comments_all_tabs==_0x25b22d(0x20d)?$('#other_tab_comments')[_0x25b22d(0x1b2)](_0x26fa11[0x17]):$(_0x25b22d(0x1af))[_0x25b22d(0x1b2)](_0x26fa11[0x17]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x359)+_0x26fa11[0x17];}var _0x306387=new RegExp('rank,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x306387)&&($(_0x25b22d(0x6d0))[_0x25b22d(0x1b2)](_0x26fa11[0x18]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x3b2)+_0x26fa11[0x18]);var _0x32897c=new RegExp(_0x25b22d(0x594),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x32897c)&&($(_0x25b22d(0x6ca))[_0x25b22d(0x1b2)](_0x26fa11[0x19]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x230)+_0x26fa11[0x19]);var _0x4177e9=new RegExp('entry_list_id,','ig');_0x4d98c6['match'](_0x4177e9)&&($('#entry_list_id')[_0x25b22d(0x1b2)](_0x26fa11[0x1b]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x271)+_0x26fa11[0x1b]);var _0x26e81e=new RegExp(_0x25b22d(0x19b),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x26e81e)&&(custom_field_names=_0x26fa11[0x1c],_0x3f68a9=_0x3f68a9+'--- custom_field_names '+_0x26fa11[0x1c],custom_field_values=_0x26fa11[0x1d],_0x3f68a9=_0x3f68a9+_0x25b22d(0x3a6)+_0x26fa11[0x1d],custom_field_types=_0x26fa11[0x1e],_0x3f68a9=_0x3f68a9+'--- custom_field_types '+_0x26fa11[0x1e]);var _0x5a3ebf=new RegExp('formreload,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x5a3ebf)&&(FormContentsLoad(),_0x3f68a9=_0x3f68a9+'--- formreload ');var _0x4a60f6=new RegExp(_0x25b22d(0x32d),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x4a60f6)&&(RefresHScript('',_0x25b22d(0x18f)),_0x3f68a9=_0x3f68a9+_0x25b22d(0x3b9));var _0xa6f48f=new RegExp(_0x25b22d(0x37b),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0xa6f48f)&&(RefresHScript2('',_0x25b22d(0x18f)),_0x3f68a9=_0x3f68a9+_0x25b22d(0x609));var _0x5178c8=new RegExp('emailreload,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x5178c8)&&(EmailContentsLoad(),_0x3f68a9=_0x3f68a9+'--- emailreload ');var _0x182ce1=new RegExp('chatreload,','ig');_0x4d98c6['match'](_0x182ce1)&&(CustomerChatContentsLoad(),_0x3f68a9=_0x3f68a9+_0x25b22d(0x54e));var _0x54b17a=new RegExp(_0x25b22d(0x6d5),'ig');VDIC_web_form_address['match'](_0x54b17a)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x25b22d(0x18f),_0x25b22d(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x25b22d(0x74b)](_0x54b17a,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x25b22d(0x18f),_0x25b22d(0x402),'1'),VDIC_web_form_address_two['match'](_0x54b17a)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x25b22d(0x18f),_0x25b22d(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x25b22d(0x74b)](_0x54b17a,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x25b22d(0x18f),_0x25b22d(0x402),'2'),VDIC_web_form_address_three[_0x25b22d(0x42d)](_0x54b17a)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x25b22d(0x18f),_0x25b22d(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three[_0x25b22d(0x74b)](_0x54b17a,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x25b22d(0x18f),_0x25b22d(0x402),'3'),agent_events('update_fields',_0x3f68a9,aec),aec++;}else alert_box(_0x25b22d(0x3ea)+_0x41f05b[_0x25b22d(0x137)]),button_click_log=button_click_log+''+SQLdate+_0x25b22d(0x45a)+_0x41f05b[_0x25b22d(0x137)]+' '+'|';}});}function ManualDialNext(_0x1a832d,_0x200311,_0x544ad0,_0x21ff37,_0x156511,_0x572c0f,_0x13f8f4,_0x48d272,_0x46094d){var _0xd281b3=_0x1c96bb;_0x46094d==_0xd281b3(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0xd281b3(0x1a9)+_0x1a832d+' '+_0x200311+' '+_0x544ad0+' '+_0x21ff37+' '+_0x156511+' '+_0x572c0f+' '+_0x13f8f4+' '+_0x48d272+' '+LIVE_campaign_recording+'|');UpdatESettingS();if(waiting_on_dispo>0x0){alert_box(_0xd281b3(0x587)+agent_log_id+_0xd281b3(0x4ec)+waiting_on_dispo+_0xd281b3(0x4ec)+manual_auto_hotkey_wait+''),button_click_log=button_click_log+''+SQLdate+_0xd281b3(0x5dc)+agent_log_id+' '+waiting_on_dispo+'|',dial_next_failed=0x1;var _0x37178c=0x0;trigger_ready=0x1,alt_phone_dialing=starting_alt_phone_dialing,auto_dial_level=starting_dial_level,MainPanelToFront(),CalLBacKsCounTCheck(),starting_dial_level==0x0?$(_0xd281b3(0x7d7))[_0xd281b3(0x628)]('<a href="#" onclick="ManualDialNext('','','','','','0','','','YES');"><img src="./images/vdc_LB_dialnextnumber.gif" border="0" alt="Dial Next Number" /></a>'):(dial_method==_0xd281b3(0x21c)?(auto_dial_level=starting_dial_level,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$(_0xd281b3(0x7d7))[_0xd281b3(0x628)]('<a href="#" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><img src="./images/vdc_LB_paused.gif" border="0" alt="You are paused" /></a><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />')):$(_0xd281b3(0x7d7))['html'](_0xd281b3(0x61f))):($(_0xd281b3(0x7d7))[_0xd281b3(0x628)](DiaLControl_auto_HTML),$(_0xd281b3(0x370))[_0xd281b3(0x628)](DiaLControl_auto_HTML2)),reselect_alt_dial=0x0);}else{inOUT=_0xd281b3(0x3a9),all_record='NO',all_record_count=0x0;var _0x524b24=VDRP_stage;dial_method==_0xd281b3(0x21c)?(auto_dial_level=0x0,in_man_dial_next_ready_count=0x0,VDRP_stage!='PAUSED'?agent_log_id=AutoDial_ReSume_PauSe(_0xd281b3(0x2ce),'','','','DIALNEXT','1',_0xd281b3(0x781)):auto_dial_level=starting_dial_level,$(_0xd281b3(0x7d7))[_0xd281b3(0x628)](_0xd281b3(0x47b))):active_ingroup_dial[_0xd281b3(0x35c)]<0x1&&$(_0xd281b3(0x7d7))[_0xd281b3(0x628)](_0xd281b3(0x674));var _0x256b95='';(_0x48d272==_0xd281b3(0x829)||_0x48d272==_0xd281b3(0x6db))&&(agent_dialed_type=_0x48d272,agent_dialed_number=_0x21ff37,_0x48d272==_0xd281b3(0x829)&&(_0x256b95='ALTPhonE'),_0x48d272==_0xd281b3(0x6db)&&(_0x256b95=_0xd281b3(0x683)));if(($(_0xd281b3(0x4d5))[_0xd281b3(0x789)](_0xd281b3(0x677))==!![]||manual_dial_validation=='Y'&&manual_entry_dial<0x1)&&active_ingroup_dial[_0xd281b3(0x35c)]<0x1){reselect_preview_dial=0x1,in_lead_preview_state=0x1;var _0x296e7d=_0xd281b3(0x18f);trigger_manual_validation=0x0;if(alt_phone_dialing==0x1){var _0x33318e=_0xd281b3(0x795)+_0x256b95+_0xd281b3(0x2a0);if(manual_preview_dial==_0xd281b3(0x252))var _0x33318e=_0xd281b3(0x795)+_0x256b95+_0xd281b3(0x1df);}else{var _0x33318e=_0xd281b3(0x795)+_0x256b95+_0xd281b3(0x6c9);if(manual_preview_dial==_0xd281b3(0x252))var _0x33318e=_0xd281b3(0x37e)+_0x256b95+_0xd281b3(0x358);}}else{reselect_preview_dial=0x0;var _0x296e7d='NO',_0x33318e=_0xd281b3(0x527);}agent_events(_0xd281b3(0x561),_0x21ff37+' '+agent_dialed_type,aec),aec++;var _0x1d4ee6=![];!_0x1d4ee6&&typeof XMLHttpRequest!=_0xd281b3(0x34f)&&(_0x1d4ee6=new XMLHttpRequest());if(_0x1d4ee6){if(cid_choice[_0xd281b3(0x35c)]>0x3){var _0x89ea55=cid_choice;active_group_alias==_0xd281b3(0x510)&&(cid_lock=0x1);}else{var _0x89ea55=campaign_cid;(manual_dial_cid==_0xd281b3(0x3f3)||manual_dial_cid==_0xd281b3(0x1e8))&&(cid_lock=0x1,_0x89ea55=outbound_cid);}if(prefix_choice[_0xd281b3(0x35c)]>0x0)var _0x15340c=prefix_choice;else var _0x15340c=manual_dial_prefix;var _0x2dd40f=_0xd281b3(0x2b0)+conf_silent_prefix+''+session_id+'@'+ext_context,_0x1ca43f='N';script_recording_delay<0x1&&routing_initiated_recording=='Y'&&(LIVE_campaign_recording==_0xd281b3(0x5c2)||LIVE_campaign_recording==_0xd281b3(0x41f))&&(_0x1ca43f='Y');var _0x4b2bb0=manual_dial_validation;manual_entry_dial>0x0&&(_0x4b2bb0='N'),manDiaLnext_query='server_ip='+server_ip+_0xd281b3(0x7b6)+session_name+_0xd281b3(0x2b6)+session_id+'&user='+user+_0xd281b3(0x397)+pass+'&campaign='+campaign+_0xd281b3(0x214)+ext_context+_0xd281b3(0x7c0)+manual_dial_timeout+'&dial_prefix='+_0x15340c+_0xd281b3(0x1c6)+_0x89ea55+_0xd281b3(0x1d7)+_0x296e7d+'&agent_log_id='+agent_log_id+_0xd281b3(0x551)+_0x1a832d+'&lead_id='+_0x200311+_0xd281b3(0x46a)+_0x544ad0+'&phone_number='+_0x21ff37+_0xd281b3(0x4d8)+mdnLisT_id+_0xd281b3(0x44a)+_0x156511+_0xd281b3(0x7a8)+use_internal_dnc+_0xd281b3(0x4f6)+use_campaign_dnc+'&omit_phone_code='+omit_phone_code+_0xd281b3(0x738)+manual_dial_filter+_0xd281b3(0x664)+manual_dial_search_filter+_0xd281b3(0x3b5)+_0x572c0f+_0xd281b3(0x62e)+_0x13f8f4+_0xd281b3(0x4af)+active_group_alias+_0xd281b3(0x158)+agent_dialed_number+'&agent_dialed_type='+agent_dialed_type+_0xd281b3(0x78b)+vtiger_callback_id+'&dial_method='+dial_method+_0xd281b3(0x2ff)+manual_dial_call_time_check+_0xd281b3(0x5fb)+qm_extension+_0xd281b3(0x821)+active_ingroup_dial+_0xd281b3(0x3c0)+nocall_dial_flag+'&cid_lock='+cid_lock+'&last_VDRP_stage='+_0x524b24+_0xd281b3(0x548)+_0x1ca43f+_0xd281b3(0x2bd)+recording_exten+_0xd281b3(0x6d3)+LIVE_campaign_rec_filename+_0xd281b3(0x6be)+_0x2dd40f+'&manual_dial_validation='+manual_dial_validation+_0xd281b3(0x760)+phone_login,_0x1d4ee6[_0xd281b3(0x63c)](_0xd281b3(0x584),_0xd281b3(0x550)),_0x1d4ee6[_0xd281b3(0x636)]('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'),_0x1d4ee6['send'](manDiaLnext_query),_0x1d4ee6[_0xd281b3(0x18a)]=function(){var _0x317a4b=_0xd281b3;if(_0x1d4ee6['readyState']==0x4&&_0x1d4ee6[_0x317a4b(0x6aa)]==0xc8){var _0x4f8a40=null;_0x4f8a40=_0x1d4ee6[_0x317a4b(0x137)];var _0x32360f=_0x4f8a40[_0x317a4b(0x65a)]('
');MDnextCID=_0x32360f[0x0],LastCallCID=_0x32360f[0x0];var _0x59dda6=new RegExp(_0x317a4b(0x20c),'ig'),_0x391f8c=new RegExp('DNC','ig'),_0x23b6c8=new RegExp(_0x317a4b(0x5c5),'ig'),_0xc339ca=new RegExp(_0x317a4b(0x52a),'ig'),_0x2b9fa6=new RegExp(_0x317a4b(0x5b1),'ig'),_0x3c902e=new RegExp('CAMPLISTS','ig'),_0x1d3b06=new RegExp(_0x317a4b(0x54a),'ig'),_0x424204=new RegExp(_0x317a4b(0x232),'ig'),_0x5b876e=new RegExp('OUTSIDE','ig'),_0x536b88=new RegExp(_0x317a4b(0x4e3),'ig');if(MDnextCID[_0x317a4b(0x42d)](_0x59dda6)||MDnextCID[_0x317a4b(0x42d)](_0x391f8c)||MDnextCID[_0x317a4b(0x42d)](_0x23b6c8)||MDnextCID['match'](_0x3c902e)||MDnextCID[_0x317a4b(0x42d)](_0x1d3b06)||MDnextCID[_0x317a4b(0x42d)](_0x424204)||MDnextCID[_0x317a4b(0x42d)](_0x5b876e)||MDnextCID[_0x317a4b(0x42d)](_0x536b88)){button_click_log=button_click_log+''+SQLdate+_0x317a4b(0x2a9)+MDnextCID+' '+'|',dial_next_failed=0x1;var _0x16c124=0x0;trigger_ready=0x1,alt_phone_dialing=starting_alt_phone_dialing,auto_dial_level=starting_dial_level,MainPanelToFront(),CalLBacKsCounTCheck(),MDnextCID[_0x317a4b(0x42d)](_0x59dda6)&&(alert_box(_0x317a4b(0x3db)+campaign),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x391f8c)&&(alert_box(_0x317a4b(0x730)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x23b6c8)&&(alert_box(_0x317a4b(0x576)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x3c902e)&&(alert_box('Ce numro de tlphone n'est pas dans les listes de campagne
'+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x1d3b06)&&(alert_box(_0x317a4b(0x739)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x424204)&&(alert_box(_0x317a4b(0x369)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID['match'](_0x5b876e)&&(alert_box(_0x317a4b(0x191)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x536b88)&&(alert_box(_0x317a4b(0x7e9)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0xc339ca)&&(alert_box(_0x317a4b(0x3ce)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x2b9fa6)&&(alert_box(_0x317a4b(0x373)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),_0x16c124==0x0&&(alert_box(_0x317a4b(0x309)+_0x21ff37+'|'+MDnextCID),_0x16c124=0x1),starting_dial_level==0x0?$('#DiaLControl')[_0x317a4b(0x628)](_0x317a4b(0x171)):(dial_method==_0x317a4b(0x21c)?(auto_dial_level=starting_dial_level,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$('#DiaLControl')[_0x317a4b(0x628)](_0x317a4b(0x21a))):$(_0x317a4b(0x7d7))[_0x317a4b(0x628)](_0x317a4b(0x61f))):($(_0x317a4b(0x7d7))['html'](DiaLControl_auto_HTML),$(_0x317a4b(0x370))[_0x317a4b(0x628)](DiaLControl_auto_HTML2)),reselect_alt_dial=0x0);}else{if(active_ingroup_dial['length']>0x0)AutoDial_ReSume_PauSe(_0x317a4b(0x374),'','','NO_STATUS_CHANGE'),AutoDialWaiting=0x1;else{fronter=user,manual_call_live=0x1,LasTCID=_0x32360f[0x0],$(_0x317a4b(0x486))[_0x317a4b(0x1b2)](_0x32360f[0x1]),LeaDPreVDispO=_0x32360f[0x2],$(_0x317a4b(0x48f))[_0x317a4b(0x1b2)](_0x32360f[0x4]),$(_0x317a4b(0x416))[_0x317a4b(0x1b2)](_0x32360f[0x5]),$(_0x317a4b(0x465))['val'](_0x32360f[0x6]),$(_0x317a4b(0x40c))['val'](_0x32360f[0x7]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x317a4b(0x150)){var _0x5b9695=$(_0x317a4b(0x69e));disable_alter_custphone=='Y'&&_0x5b9695[_0x317a4b(0x1b2)](_0x32360f[0x8]);}$('#phone_number')[_0x317a4b(0x1b2)](_0x32360f[0x8]),$(_0x317a4b(0x79a))[_0x317a4b(0x1b2)](_0x32360f[0x9]),$(_0x317a4b(0x485))[_0x317a4b(0x1b2)](_0x32360f[0xa]),$('#middle_initial')[_0x317a4b(0x1b2)](_0x32360f[0xb]),$(_0x317a4b(0x2e8))[_0x317a4b(0x1b2)](_0x32360f[0xc]),$('#address1')[_0x317a4b(0x1b2)](_0x32360f[0xd]),$(_0x317a4b(0x826))[_0x317a4b(0x1b2)](_0x32360f[0xe]),$(_0x317a4b(0x22b))[_0x317a4b(0x1b2)](_0x32360f[0xf]),$('#city')['val'](_0x32360f[0x10]),$(_0x317a4b(0x1c0))[_0x317a4b(0x1b2)](_0x32360f[0x11]),$(_0x317a4b(0x300))[_0x317a4b(0x1b2)](_0x32360f[0x12]),$('#postal_code')['val'](_0x32360f[0x13]),$(_0x317a4b(0x816))[_0x317a4b(0x1b2)](_0x32360f[0x14]),$(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)](_0x32360f[0x15]),$('#date_of_birth')['val'](_0x32360f[0x16]),$(_0x317a4b(0x59a))[_0x317a4b(0x1b2)](_0x32360f[0x17]),$('#email')[_0x317a4b(0x1b2)](_0x32360f[0x18]),$('#security_phrase')[_0x317a4b(0x1b2)](_0x32360f[0x19]);var _0x39f52b=new RegExp('!N','g');_0x32360f[0x1a]=_0x32360f[0x1a][_0x317a4b(0x74b)](_0x39f52b,'
'),$('#comments')['val'](_0x32360f[0x1a]),$('#called_count')[_0x317a4b(0x1b2)](_0x32360f[0x1b]),previous_called_count=_0x32360f[0x1b],previous_dispo=_0x32360f[0x2],CBentry_time=_0x32360f[0x1c],CBcallback_time=_0x32360f[0x1d],CBuser=_0x32360f[0x1e],CBcomments=_0x32360f[0x1f],dialed_number=_0x32360f[0x20],dialed_label=_0x32360f[0x21],source_id=_0x32360f[0x22],$(_0x317a4b(0x6d0))[_0x317a4b(0x1b2)](_0x32360f[0x23]),$('#owner')[_0x317a4b(0x1b2)](_0x32360f[0x24]),CalL_ScripT_id=_0x32360f[0x25],script_recording_delay=_0x32360f[0x26],CalL_XC_a_NuMber=_0x32360f[0x27],CalL_XC_b_NuMber=_0x32360f[0x28],CalL_XC_c_NuMber=_0x32360f[0x29],CalL_XC_d_NuMber=_0x32360f[0x2a],CalL_XC_e_NuMber=_0x32360f[0x2b],$('#entry_list_id')[_0x317a4b(0x1b2)](_0x32360f[0x2c]),custom_field_names=_0x32360f[0x2d],custom_field_values=_0x32360f[0x2e],custom_field_types=_0x32360f[0x2f];var _0x1fea22=_0x32360f[0x30],_0x3458db=_0x32360f[0x31];post_phone_time_diff_alert_message=_0x32360f[0x32];if(qc_enabled>0x0){$(_0x317a4b(0x471))[_0x317a4b(0x1b2)](_0x32360f[0x33]),$('#audit_comments_button')[_0x317a4b(0x1b2)](_0x32360f[0x33]);comments_all_tabs==_0x317a4b(0x20d)&&$(_0x317a4b(0x31f))['val'](_0x32360f[0x33]);var _0x5d8ec5=new RegExp('!N','g'),_0x4b24ed=new RegExp(_0x317a4b(0x5aa),'g'),_0x28b4e8=new RegExp('--------ADMINFONTEND--------','g');_0x32360f[0x34]=_0x32360f[0x34][_0x317a4b(0x74b)](_0x5d8ec5,'
'),_0x32360f[0x34]=_0x32360f[0x34][_0x317a4b(0x74b)](_0x4b24ed,''),_0x32360f[0x34]=_0x32360f[0x34][_0x317a4b(0x74b)](_0x28b4e8,''),$('#audit_comments')['html'](_0x32360f[0x34]);}$(_0x317a4b(0x7fa))[_0x317a4b(0x1b2)](_0x32360f[0x35]),$('#list_appel')[_0x317a4b(0x628)](_0x317a4b(0x43b)+_0x32360f[0x35]+_0x317a4b(0x1b9));var _0x47ffc9=_0x32360f[0x36];CalL_ScripT_color=_0x32360f[0x37],$(_0x317a4b(0x6d2))['val'](_0x32360f[0x38]),entry_date=_0x32360f[0x39],status_group_statuses_data=_0x32360f[0x3a],last_call_date=_0x32360f[0x3b],LIVE_default_xfer_group=_0x32360f[0x3c],CalL_ScripT_id_two=_0x32360f[0x3d],CalL_ScripT_color_two=_0x32360f[0x3e],browser_alert_sound=_0x32360f[0x3f],browser_alert_volume=_0x32360f[0x40],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data[_0x317a4b(0x35c)]>0x7){var _0x381ee6=status_group_statuses_data[_0x317a4b(0x65a)](','),_0x5e0cb0=_0x381ee6['length'],_0x4ec100=0x0;while(_0x4ec100<_0x5e0cb0){var _0x394568=_0x381ee6[_0x4ec100],_0x410af6=_0x394568[_0x317a4b(0x65a)]('|');gVARstatuses[_0x4ec100]=_0x410af6[0x0],gVARstatusnames[_0x4ec100]=_0x410af6[0x1],gVARSELstatuses[_0x4ec100]='Y',gVARCBstatuses[_0x4ec100]=_0x410af6[0x2],gVARMINstatuses[_0x4ec100]=_0x410af6[0x3],gVARMAXstatuses[_0x4ec100]=_0x410af6[0x4],gVARCBstatuses[_0x4ec100]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+' '+_0x410af6[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x4ec100++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x317a4b(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x317a4b(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses[_0x317a4b(0x57f)](gVARSELstatuses),VARCBstatuses=sVARCBstatuses['concat'](gVARCBstatuses),VARMINstatuses=sVARMINstatuses['concat'](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x317a4b(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+' '+gVARCBstatusesLIST+' ',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0x5cc9e1='',_0x2947bf='',_0x229fad='',_0x156b88='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x3c8c95=0x0;while(HK_statuses_camp>_0x3c8c95){var _0x40951c=0x0;while(VD_statuses_ct>_0x40951c){HKstatuses[_0x3c8c95]==VARstatuses[_0x40951c]&&(hotkeys[HKhotkeys[_0x3c8c95]]=HKstatuses[_0x3c8c95]+_0x317a4b(0x828)+HKstatusnames[_0x3c8c95],HKhotkeys[_0x3c8c95]>=0x1&&HKhotkeys[_0x3c8c95]<=0x3&&(_0x2947bf=_0x2947bf+''+HKhotkeys[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatuses[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatusnames[_0x3c8c95]+_0x317a4b(0x40f)),HKhotkeys[_0x3c8c95]>=0x4&&HKhotkeys[_0x3c8c95]<=0x6&&(_0x229fad=_0x229fad+''+HKhotkeys[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatuses[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatusnames[_0x3c8c95]+_0x317a4b(0x40f)),HKhotkeys[_0x3c8c95]>=0x7&&HKhotkeys[_0x3c8c95]<=0x9&&(_0x156b88=_0x156b88+''+HKhotkeys[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatuses[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatusnames[_0x3c8c95]+'<br />'),_0x5cc9e1=_0x5cc9e1+''+HKhotkeys[_0x3c8c95]+' '+HKstatuses[_0x3c8c95]+' '+HKstatusnames[_0x3c8c95]+'| '),_0x40951c++;}_0x3c8c95++;}}agent_display_fields[_0x317a4b(0x42d)](adfREGentry_date)&&$(_0x317a4b(0x699))[_0x317a4b(0x628)](entry_date);agent_display_fields[_0x317a4b(0x42d)](adfREGsource_id)&&$(_0x317a4b(0x7d3))[_0x317a4b(0x628)](source_id);if(agent_display_fields[_0x317a4b(0x42d)](adfREGdate_of_birth)){}agent_display_fields['match'](adfREGrank)&&$(_0x317a4b(0x284))[_0x317a4b(0x628)]($('#rank')[_0x317a4b(0x1b2)]());agent_display_fields['match'](adfREGowner)&&$(_0x317a4b(0x59e))[_0x317a4b(0x628)]($(_0x317a4b(0x6ca))[_0x317a4b(0x1b2)]());agent_display_fields[_0x317a4b(0x42d)](adfREGlast_local_call_time)&&$(_0x317a4b(0x2e6))[_0x317a4b(0x628)](last_call_date);timer_action=campaign_timer_action,timer_action_message=campaign_timer_action_message,timer_action_seconds=campaign_timer_action_seconds,timer_action_destination=campaign_timer_action_destination,lead_dial_number=dialed_number;var _0x15658a=dialed_number,_0x356038=phone_number_format(_0x15658a),_0x3c4442='';status_display_NAME>0x0&&(_0x3c4442=_0x3c4442+_0x317a4b(0x3bb)+$(_0x317a4b(0x485))[_0x317a4b(0x1b2)]()+' '+$(_0x317a4b(0x2e8))['val']());status_display_CALLID>0x0&&(_0x3c4442=_0x3c4442+' UID: '+MDnextCID);status_display_LEADID>0x0&&(_0x3c4442=_0x3c4442+_0x317a4b(0x46c)+$(_0x317a4b(0x486))[_0x317a4b(0x1b2)]());status_display_LISTID>0x0&&(_0x3c4442=_0x3c4442+_0x317a4b(0x6e5)+$(_0x317a4b(0x416))[_0x317a4b(0x1b2)]());$(_0x317a4b(0x170))['html'](_0x317a4b(0x1f9)+_0x356038+' '+_0x3c4442+_0x317a4b(0x227)+_0x33318e);(dialed_label[_0x317a4b(0x35c)]<0x2||dialed_label==_0x317a4b(0x502))&&(dialed_label=_0x317a4b(0x38c));if(hide_gender>0x0)$('#gender_list')['val'](_0x32360f[0x15]);else{var _0x2401c4=0x0;if($(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)]()=='M')var _0x2401c4=0x1;if($(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)]()=='F')var _0x2401c4=0x2;$(_0x317a4b(0x578))['val']($(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)]());var _0x4c4990=$('#gender_list')[_0x317a4b(0x1b2)]();$(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)](_0x4c4990);}LeaDDispO='',VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three;_0x1fea22[_0x317a4b(0x35c)]>0x5&&(VDIC_web_form_address=_0x1fea22);_0x3458db[_0x317a4b(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x3458db);_0x47ffc9[_0x317a4b(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x47ffc9);var _0xd8700a=new RegExp(_0x317a4b(0x6d5),'ig');VDIC_web_form_address[_0x317a4b(0x42d)](_0xd8700a)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x317a4b(0x18f),_0x317a4b(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x317a4b(0x74b)](_0xd8700a,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x317a4b(0x18f),_0x317a4b(0x402),'1');VDIC_web_form_address_two[_0x317a4b(0x42d)](_0xd8700a)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x317a4b(0x18f),_0x317a4b(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x317a4b(0x74b)](_0xd8700a,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x317a4b(0x18f),_0x317a4b(0x402),'2');VDIC_web_form_address_three[_0x317a4b(0x42d)](_0xd8700a)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x317a4b(0x18f),_0x317a4b(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three[_0x317a4b(0x74b)](_0xd8700a,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x317a4b(0x18f),_0x317a4b(0x402),'3');if(CBentry_time[_0x317a4b(0x35c)]>0x2){$(_0x317a4b(0x782))['html'](_0x317a4b(0x25e)),$(_0x317a4b(0x6ff))[_0x317a4b(0x628)]('<b>Last Call: </b>'+CBentry_time),$('#CBcommentsBoxB')[_0x317a4b(0x628)](_0x317a4b(0x57d)+CBcallback_time),$(_0x317a4b(0x7cd))[_0x317a4b(0x628)](_0x317a4b(0x488)+CBuser),$(_0x317a4b(0x1e1))[_0x317a4b(0x628)]('<b>Comments: </b><br />'+CBcomments);if(show_previous_callback==_0x317a4b(0x20d)){}}post_phone_time_diff_alert_message[_0x317a4b(0x35c)]>0xa&&$(_0x317a4b(0x599))[_0x317a4b(0x628)](_0x317a4b(0x47c)+post_phone_time_diff_alert_message+_0x317a4b(0x40f));if($('#LeadPreview')[_0x317a4b(0x789)](_0x317a4b(0x677))==![]&&(manual_dial_validation!='Y'||manual_entry_dial>0x0)){reselect_preview_dial=0x0,MD_channel_look=0x1,custchannellive=0x1,$('#HangupControl')[_0x317a4b(0x628)](_0x317a4b(0x291)),$(_0x317a4b(0x54d))[_0x317a4b(0x628)]('<button id="tbHangup" type="button" class="btn btn-danger btn-lg" onclick="dialedcall_send_hangup('','','','','YES');"><i class="fa fa-stop"></i> Raccrocher</button>');(LIVE_campaign_recording==_0x317a4b(0x5c2)||LIVE_campaign_recording==_0x317a4b(0x41f))&&(all_record=_0x317a4b(0x18f));if(view_scripts==0x1){if(campaign_script[_0x317a4b(0x35c)]>0x0||CalL_ScripT_id[_0x317a4b(0x35c)]>0x0){var _0x93deee='http://127.0.0.1/testing.php',_0x7e97c4=URLDecode(_0x93deee,_0x317a4b(0x18f),_0x317a4b(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x317a4b(0x5c2)||LIVE_campaign_recording==_0x317a4b(0x41f))?(delayed_script_load=_0x317a4b(0x18f),RefresHScript('CLEAR'),RefresHScript2(_0x317a4b(0x666))):(load_script_contents(_0x317a4b(0x376),''),SSenable_second_script>0x0&&load_script_contents(_0x317a4b(0x250),''));}else RefresHScript('',_0x317a4b(0x18f)),RefresHScript2('',_0x317a4b(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad(),email_enabled>0x0&&EMAILgroupCOUNT>0x0&&EmailContentsLoad(),chat_enabled>0x0&&CHATgroupCOUNT>0x0&&CustomerChatContentsLoad(),(get_call_launch==_0x317a4b(0x6af)||get_call_launch==_0x317a4b(0x5a6))&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x376),''),ScriptPanelToFront()),(get_call_launch==_0x317a4b(0x71a)||get_call_launch==_0x317a4b(0x443))&&SSenable_second_script>0x0&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x250),''),ScriptPanel2ToFront()),get_call_launch==_0x317a4b(0x7eb)&&EmailPanelToFront();}else{custom_fields_enabled>0x0&&FormContentsLoad();if(view_scripts==0x1){if(campaign_script[_0x317a4b(0x35c)]>0x0||CalL_ScripT_id[_0x317a4b(0x35c)]>0x0){var _0x93deee=_0x317a4b(0x5d4),_0x7e97c4=URLDecode(_0x93deee,_0x317a4b(0x18f),_0x317a4b(0x402),'0');RefresHScript(),RefresHScript2();}else RefresHScript('',_0x317a4b(0x18f)),RefresHScript2('','YES');}reselect_preview_dial=0x1,get_call_launch==_0x317a4b(0x5a6)&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x376),''),ScriptPanelToFront()),get_call_launch=='PREVIEW_SCRIPTTWO'&&SSenable_second_script>0x0&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x250),''),ScriptPanel2ToFront()),$('#LeadPreview')[_0x317a4b(0x789)](_0x317a4b(0x677))==![]&&manual_dial_validation=='Y'&&(trigger_manual_validation=0x1,$(_0x317a4b(0x170))['html'](_0x317a4b(0x588)));}}}}},delete _0x1d4ee6,$(_0xd281b3(0x4d5))[_0xd281b3(0x789)](_0xd281b3(0x677))==![]&&(manual_dial_validation!='Y'||manual_entry_dial>0x0)&&(active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',xfer_agent_selected=0x0);}}}function ManualDialSkip(_0x3f70bc){var _0x5c7e68=_0x1c96bb;_0x3f70bc==_0x5c7e68(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----ManualDialSkip---|');if(manual_dial_in_progress==0x1)alert_box('VOUS NE POUVEZ PAS IGNORER UN RAPPEL OU UN COMPOSITION MANUELLE, VOUS DEVEZ COMPOSER LE PROSPECT'),button_click_log=button_click_log+''+SQLdate+_0x5c7e68(0x6a3)+manual_dial_in_progress+' '+'|';else{in_lead_preview_state=0x0;dial_method==_0x5c7e68(0x21c)?(auto_dial_level=starting_dial_level,$('#DiaLControl')[_0x5c7e68(0x628)]('<img src="./images/vdc_LB_blank_OFF.gif" border="0" alt="pause button disabled" /><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />')):$('#DiaLControl')[_0x5c7e68(0x628)]('<img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />');var _0x15403c=![];!_0x15403c&&typeof XMLHttpRequest!=_0x5c7e68(0x34f)&&(_0x15403c=new XMLHttpRequest()),_0x15403c&&(manDiaLskip_query=_0x5c7e68(0x4c6)+server_ip+_0x5c7e68(0x7b6)+session_name+_0x5c7e68(0x44d)+session_id+'&user='+user+_0x5c7e68(0x397)+pass+_0x5c7e68(0x650)+$(_0x5c7e68(0x486))['val']()+_0x5c7e68(0x44a)+previous_dispo+_0x5c7e68(0x6bf)+previous_called_count+_0x5c7e68(0x6b5)+campaign,_0x15403c['open'](_0x5c7e68(0x584),'crm_query.php'),_0x15403c[_0x5c7e68(0x636)](_0x5c7e68(0x638),_0x5c7e68(0x404)),_0x15403c[_0x5c7e68(0x2fd)](manDiaLskip_query),_0x15403c[_0x5c7e68(0x18a)]=function(){var _0x2a8120=_0x5c7e68;if(_0x15403c[_0x2a8120(0x30f)]==0x4&&_0x15403c[_0x2a8120(0x6aa)]==0xc8){var _0x3ec240=null;_0x3ec240=_0x15403c['responseText'];var _0x317f94=_0x3ec240['split']('
');MDSnextCID=_0x317f94[0x0];if(MDSnextCID=='LEAD NOT REVERTED')alert_box(_0x2a8120(0x2cd)+_0x3ec240),button_click_log=button_click_log+''+SQLdate+'-----DialSkipFailRevert---'+_0x3ec240+' '+'|';else{$('#lead_id')[_0x2a8120(0x1b2)](''),$('#vendor_lead_code')['val'](''),$('#list_id')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x7fa))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x7bf))[_0x2a8120(0x628)](''),$('#list_description')['val'](''),$(_0x2a8120(0x29a))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x465))['val'](''),$('#phone_code')['val']('');if(disable_alter_custphone=='Y'||disable_alter_custphone=='HIDE'){var _0x438cb4=$('#phone_numberDISP');_0x438cb4[_0x2a8120(0x1b2)]('');}$(_0x2a8120(0x5e7))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x79a))['val'](''),$(_0x2a8120(0x485))['val'](''),$('#middle_initial')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x2e8))[_0x2a8120(0x1b2)](''),$('#address1')['val'](''),$('#address2')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x22b))['val'](''),$(_0x2a8120(0x323))[_0x2a8120(0x1b2)](''),$('#state')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x300))['val'](''),$('#postal_code')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x816))[_0x2a8120(0x1b2)](''),$('#gender')['val'](''),$('#date_of_birth')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x59a))[_0x2a8120(0x1b2)](''),$('#email')['val'](''),$(_0x2a8120(0x6bb))['val'](''),$(_0x2a8120(0x1af))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x317))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x651))[_0x2a8120(0x628)](''),qc_enabled>0x0&&($('#ViewCommentButton')['val'](''),$(_0x2a8120(0x372))[_0x2a8120(0x1b2)](''),comments_all_tabs=='ENABLED'&&$('#OtherViewCommentButton')[_0x2a8120(0x1b2)]('')),$('#called_count')['val'](''),$('#rank')[_0x2a8120(0x1b2)](''),$('#owner')['val'](''),VDCL_group_id='',fronter='',previous_called_count='',previous_dispo='',custchannellive=0x1,customer_sec=0x0,xfer_agent_selected=0x0,source_id='',entry_date='',agent_display_fields[_0x2a8120(0x42d)](adfREGentry_date)&&$('#entry_dateDISP')[_0x2a8120(0x628)](' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '),agent_display_fields['match'](adfREGsource_id)&&$(_0x2a8120(0x7d3))[_0x2a8120(0x628)](_0x2a8120(0x497)),agent_display_fields['match'](adfREGrank)&&$(_0x2a8120(0x284))[_0x2a8120(0x628)](_0x2a8120(0x47c)),agent_display_fields[_0x2a8120(0x42d)](adfREGowner)&&$(_0x2a8120(0x59e))[_0x2a8120(0x628)](' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '),agent_display_fields[_0x2a8120(0x42d)](adfREGlast_local_call_time)&&$(_0x2a8120(0x2e6))[_0x2a8120(0x628)](_0x2a8120(0x227)),post_phone_time_diff_alert_message[_0x2a8120(0x35c)]>0xa&&($(_0x2a8120(0x599))[_0x2a8120(0x628)](''),hideDiv(_0x2a8120(0x38a))),$(_0x2a8120(0x170))[_0x2a8120(0x628)](' Lead skipped, go on to next lead'),dial_method==_0x2a8120(0x21c)?in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$(_0x2a8120(0x7d7))[_0x2a8120(0x628)]('<a href="#" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><img src="./images/vdc_LB_paused.gif" border="0" alt="You are paused" /></a><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />')):$(_0x2a8120(0x7d7))[_0x2a8120(0x628)](_0x2a8120(0x61f)):$('#DiaLControl')[_0x2a8120(0x628)](_0x2a8120(0x171));}}},delete _0x15403c,active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',manual_call_live=0x0,dial_next_failed=0x0,xfer_agent_selected=0x0,RefresHScript(_0x5c7e68(0x666)),RefresHScript2(_0x5c7e68(0x666)),last_call_date='',inbound_post_call_survey='',inbound_survey_participate='',dead_trigger_first_ran=0x0,manual_cancel_skip=0x0,trigger_manual_validation=0x0,manual_entry_dial=0x0,SCRIPTweb_form_vars='',SCRIPT2web_form_vars='',MDcheck_for_answer=0x0,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_triggerCALL=0x0,transfer_no_dispoTEMP=0x0,leave_3way_start_recording_filename='',three_way_call_cid=orig_three_way_call_cid,manual_dial_preview<0x1&&($(_0x5c7e68(0x4d5))['prop'](_0x5c7e68(0x677),![]),hideDiv(_0x5c7e68(0x30b))),PauseCodeSelect_submit(_0x5c7e68(0x5cc)));}}function ManualValidateSubmit(){var _0x121574=_0x1c96bb,_0x42f7d3=$('#ManualValidateEntry')[_0x121574(0x1b2)]();button_click_log=button_click_log+''+SQLdate+_0x121574(0x5af)+_0x42f7d3+' '+$(_0x121574(0x418))[_0x121574(0x1b2)]()+' '+manual_dial_validation+'|',_0x42f7d3==$('#ManualValidateNumber')[_0x121574(0x1b2)]()&&_0x42f7d3!=''?(button_click_log=button_click_log+''+SQLdate+_0x121574(0x735)+_0x42f7d3+' '+$('#ManualValidateNumber')['val']()+' '+'|',hideDiv('ManualValidateBox'),manual_cancel_skip=0x0,ManualDialOnly(MDOalt,'0','1')):(alert_box('Le numro que vous avez entr ne correspond pas
'+_0x42f7d3+' - '+$(_0x121574(0x418))[_0x121574(0x1b2)]()),button_click_log=button_click_log+''+SQLdate+'-----ManualValidateFailed---'+_0x42f7d3+' '+$('#ManualValidateNumber')[_0x121574(0x1b2)]()+' '+'|');}function ManualValidateCancel(){var _0x6ece9f=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x6ece9f(0x718)+$(_0x6ece9f(0x418))[_0x6ece9f(0x1b2)]()+' '+manual_dial_validation+'|',hideDiv('ManualValidateBox'),manual_cancel_skip>0x0&&(button_click_log=button_click_log+''+SQLdate+_0x6ece9f(0x316)+manual_cancel_skip+' '+manual_dial_validation+'|',manual_cancel_skip=0x0,ManualDialSkip('NO'));}function ManualDialOnly(_0x107914,_0x97ebec,_0x477025){var _0x232ee3=_0x1c96bb;_0x97ebec==_0x232ee3(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x232ee3(0x50b)+_0x107914+' '+manual_dial_validation+' '+_0x477025+'|');if(_0x107914==_0x232ee3(0x1d9)){var _0x204524=$(_0x232ee3(0x59a))[_0x232ee3(0x1b2)]();lead_dial_number=$('#alt_phone')['val'](),dialed_number=lead_dial_number,dialed_label=_0x232ee3(0x829);}else{if(_0x107914==_0x232ee3(0x683)){var _0x204524=$(_0x232ee3(0x22b))[_0x232ee3(0x1b2)]();lead_dial_number=$(_0x232ee3(0x22b))[_0x232ee3(0x1b2)](),dialed_number=lead_dial_number,dialed_label='ADDR3';}else{var _0x204524=$('#phone_number')[_0x232ee3(0x1b2)]();lead_dial_number=$(_0x232ee3(0x5e7))[_0x232ee3(0x1b2)](),dialed_number=lead_dial_number,dialed_label=_0x232ee3(0x38c);}}if(_0x477025=='0'&&manual_dial_validation=='Y'&&manual_entry_dial<0x1)MDOalt=_0x107914,$('#ManualValidateNumber')[_0x232ee3(0x1b2)](dialed_number),$(_0x232ee3(0x332))[_0x232ee3(0x1b2)](''),$(_0x232ee3(0x65c))[_0x232ee3(0x628)](dialed_number);else{UpdatESettingS(),in_lead_preview_state=0x0,inOUT=_0x232ee3(0x3a9),alt_dial_status_display=0x0,all_record='NO',all_record_count=0x0,$('#uniqueid')[_0x232ee3(0x1b2)]('');var _0x4b3c1d=0x0;WebFormRefresH(''),WebFormTwoRefresH(''),WebFormThreeRefresH('');dialed_label=='ALT'&&$('#CusTInfOSpaN')[_0x232ee3(0x628)](_0x232ee3(0x460));dialed_label==_0x232ee3(0x6db)&&$(_0x232ee3(0x782))[_0x232ee3(0x628)](_0x232ee3(0x639));last_mdtype=dialed_label;var _0x8fe8a3=new RegExp('X','g');if(dialed_label[_0x232ee3(0x42d)](_0x8fe8a3)){$(_0x232ee3(0x782))[_0x232ee3(0x628)](' <b> ALT DIAL NUMBER: '+dialed_label+'</b>'),$(_0x232ee3(0x646))[_0x232ee3(0x628)](_0x232ee3(0x1cc)+EAphone_code+' '+EAphone_number);var _0x1a5230='';EAalt_phone_active=='Y'?_0x1a5230=_0x232ee3(0x1f1)+EAphone_number+'',''+EAalt_phone_count+_0x232ee3(0x6e6)+$(_0x232ee3(0x486))['val']()+_0x232ee3(0x15e):_0x1a5230='<a href="#" onclick="alt_phone_change(''+EAphone_number+'',''+EAalt_phone_count+_0x232ee3(0x6e6)+$('#lead_id')[_0x232ee3(0x1b2)]()+_0x232ee3(0x7a9),$('#EAcommentsBoxB')[_0x232ee3(0x628)]('<b>Active: </b>'+EAalt_phone_active+_0x232ee3(0x40f)+_0x1a5230),$(_0x232ee3(0x65f))[_0x232ee3(0x628)](_0x232ee3(0x5e8)+EAalt_phone_count),$(_0x232ee3(0x467))[_0x232ee3(0x628)]('<b>Notes: </b><br />'+EAalt_phone_notes);}var _0x5fe841=![];!_0x5fe841&&typeof XMLHttpRequest!='undefined'&&(_0x5fe841=new XMLHttpRequest());if(_0x5fe841){if(cid_choice[_0x232ee3(0x35c)]>0x3){var _0xdc0844=cid_choice;_0x4b3c1d=0x1,active_group_alias==_0x232ee3(0x510)&&(cid_lock=0x1);}else{var _0xdc0844=campaign_cid;(manual_dial_cid==_0x232ee3(0x3f3)||manual_dial_cid==_0x232ee3(0x1e8))&&(cid_lock=0x1,_0xdc0844=outbound_cid);}if(prefix_choice[_0x232ee3(0x35c)]>0x0)var _0x2e063d=prefix_choice;else var _0x2e063d=manual_dial_prefix;var _0x2ca802=_0x232ee3(0x2b0)+conf_silent_prefix+''+session_id+'@'+ext_context,_0x165777='N';script_recording_delay<0x1&&routing_initiated_recording=='Y'&&(LIVE_campaign_recording==_0x232ee3(0x5c2)||LIVE_campaign_recording==_0x232ee3(0x41f))&&(_0x165777='Y'),manDiaLonly_query=_0x232ee3(0x4c6)+server_ip+_0x232ee3(0x7b6)+session_name+_0x232ee3(0x149)+session_id+_0x232ee3(0x66e)+user+_0x232ee3(0x397)+pass+'&lead_id='+$('#lead_id')[_0x232ee3(0x1b2)]()+'&phone_number='+_0x204524+_0x232ee3(0x46a)+$(_0x232ee3(0x40c))[_0x232ee3(0x1b2)]()+'&campaign='+campaign+'&ext_context='+ext_context+_0x232ee3(0x7c0)+manual_dial_timeout+_0x232ee3(0x5df)+_0x2e063d+_0x232ee3(0x1c6)+_0xdc0844+_0x232ee3(0x382)+omit_phone_code+_0x232ee3(0x62e)+_0x4b3c1d+'&account='+active_group_alias+_0x232ee3(0x158)+dialed_number+_0x232ee3(0x71d)+dialed_label+_0x232ee3(0x4fe)+dial_method+_0x232ee3(0x741)+agent_log_id+_0x232ee3(0x26a)+$(_0x232ee3(0x6bb))['val']()+_0x232ee3(0x5fb)+qm_extension+_0x232ee3(0x51c)+LastCallCID+_0x232ee3(0x3fd)+cid_lock+'&routing_initiated_recording='+_0x165777+'&exten='+recording_exten+'&recording_filename='+LIVE_campaign_rec_filename+'&channel='+_0x2ca802+'&vendor_lead_code='+$(_0x232ee3(0x400))['val']()+_0x232ee3(0x760)+phone_login+_0x232ee3(0x35a)+encodeURIComponent($('#state')[_0x232ee3(0x1b2)]())+'&postal_code='+encodeURIComponent($(_0x232ee3(0x788))[_0x232ee3(0x1b2)]()),_0x5fe841[_0x232ee3(0x63c)](_0x232ee3(0x584),_0x232ee3(0x550)),_0x5fe841[_0x232ee3(0x636)](_0x232ee3(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x5fe841['send'](manDiaLonly_query),_0x5fe841['onreadystatechange']=function(){var _0x369d73=_0x232ee3;if(_0x5fe841[_0x369d73(0x30f)]==0x4&&_0x5fe841[_0x369d73(0x6aa)]==0xc8){var _0x141938=null;_0x141938=_0x5fe841[_0x369d73(0x137)];var _0x375a0d=_0x141938[_0x369d73(0x65a)]('
');MDnextCID=_0x375a0d[0x0],LastCallCID=_0x375a0d[0x0];agent_log_id[_0x369d73(0x35c)]>0x0&&(previous_agent_log_id=agent_log_id);agent_log_id=_0x375a0d[0x1];if(MDnextCID==_0x369d73(0x38d))alert_box(_0x369d73(0x331)+_0x141938),button_click_log=button_click_log+''+SQLdate+'-----DialOnlyFailed---'+_0x141938+' '+'|';else{LasTCID=_0x375a0d[0x0],MD_channel_look=0x1,custchannellive=0x1,manual_call_live=0x1;var _0xca4928=_0x204524,_0x130d94=phone_number_format(_0xca4928);if(alt_dial_status_display=='0'){var _0xb17394='';status_display_NAME>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x3bb)+$(_0x369d73(0x485))[_0x369d73(0x1b2)]()+' '+$('#last_name')[_0x369d73(0x1b2)]()),status_display_CALLID>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x35b)+MDnextCID),status_display_LEADID>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x46c)+$(_0x369d73(0x486))[_0x369d73(0x1b2)]()),status_display_LISTID>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x6e5)+$('#list_id')[_0x369d73(0x1b2)]()),$(_0x369d73(0x170))[_0x369d73(0x628)](_0x369d73(0x55e)+_0x130d94+' '+_0xb17394+_0x369d73(0x5d1)),$('#HangupControl')['html'](_0x369d73(0x291)),$('#HangupControl2')['html'](_0x369d73(0x7ff));}(LIVE_campaign_recording==_0x369d73(0x5c2)||LIVE_campaign_recording==_0x369d73(0x41f))&&(all_record=_0x369d73(0x18f));if(view_scripts==0x1){if(campaign_script[_0x369d73(0x35c)]>0x0||CalL_ScripT_id[_0x369d73(0x35c)]>0x0){var _0x257298=_0x369d73(0x5d4),_0x5a06dc=URLDecode(_0x257298,'YES',_0x369d73(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x369d73(0x5c2)||LIVE_campaign_recording==_0x369d73(0x41f))?(delayed_script_load=_0x369d73(0x18f),RefresHScript(_0x369d73(0x666)),RefresHScript2(_0x369d73(0x666))):(load_script_contents(_0x369d73(0x376),''),SSenable_second_script>0x0&&load_script_contents(_0x369d73(0x250),''));}else RefresHScript('','YES'),RefresHScript2('',_0x369d73(0x18f));}if(custom_fields_enabled>0x0){}email_enabled>0x0&&EmailContentsLoad(),chat_enabled>0x0&&CustomerChatContentsLoad(),get_call_launch==_0x369d73(0x6af)&&(delayed_script_load==_0x369d73(0x18f)&&load_script_contents(_0x369d73(0x376),''),ScriptPanelToFront()),get_call_launch==_0x369d73(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load=='YES'&&load_script_contents(_0x369d73(0x250),''),ScriptPanel2ToFront()),get_call_launch==_0x369d73(0x7eb)&&EmailPanelToFront();}}},delete _0x5fe841,active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',xfer_agent_selected=0x0,three_way_call_cid=orig_three_way_call_cid;}}}function AutoDial_ReSume_PauSe(_0x1d648b,_0x49ff5d,_0x5dd967,_0xad2ff5,_0x26b8aa,_0x594ae6,_0x5c8a35,_0x1424cf){var _0x17fa03=_0x1c96bb;_0x1424cf==_0x17fa03(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x17fa03(0x3e0)+_0x1d648b+' '+_0x49ff5d+' '+_0xad2ff5+' '+_0x26b8aa+' '+_0x594ae6+' '+_0x5c8a35+'|');if(VD_live_customer_call==0x1)alert_box(_0x17fa03(0x2ad)+VD_live_customer_call+'
'+VDRP_stage),button_click_log=button_click_log+''+SQLdate+'-----ON_CALL_pause_resume_stopped---'+VD_live_customer_call+' '+VDRP_stage+'|';else{if(CFAI_sent>0x0&&_0x1424cf==_0x17fa03(0x18f))alert_box_close_counter=0xa,alert_box(_0x17fa03(0x1e9)+CFAI_sent),button_click_log=button_click_log+''+SQLdate+'-----CFAI_stopped_pause_click---'+CFAI_sent+' '+_0x1d648b+' '+agent_log_id+'|',agent_events(_0x17fa03(0x563),_0x17fa03(0x20b)+agent_log_id,aec),aec++;else{var _0x200542='';_0x1d648b==_0x17fa03(0x374)?(VDRP_stage=_0x17fa03(0x3ec),VDRP_stage_seconds=0x0,safe_pause_counter=0x0,_0x5c8a35='',INgroupCOUNT>0x0&&(PIXIScrm_closer_blended==0x0?VDRP_stage='CLOSER':VDRP_stage=_0x17fa03(0x3ec)),agent_events(_0x17fa03(0x724),VDRP_stage,aec),aec++,AutoDialReady=0x1,AutoDialWaiting=0x1,dial_method=='INBOUND_MAN'?(auto_dial_level=starting_dial_level,dial_next_failed=0x0,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x1,in_man_dial_next_ready_count=0x0,$('#DiaLControl')['html']('<a href="#" onclick="AutoDial_ReSume_PauSe('VDADpause','','','','','','','YES');"><img src="./images/vdc_LB_active.gif" border="0" alt="You are active" /></a><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />')):$('#DiaLControl')[_0x17fa03(0x628)](_0x17fa03(0x5ef))):($(_0x17fa03(0x7d7))['html'](DiaLControl_auto_HTML_ready),$(_0x17fa03(0x370))['html'](DiaLControl_auto_HTML_ready2))):(VDRP_stage='PAUSED',agent_events('state_paused',VDRP_stage,aec),aec++,VDRP_stage_seconds=0x0,AutoDialReady=0x0,AutoDialWaiting=0x0,pause_code_counter=0x0,dial_next_failed=0x0,safe_pause_counter=0x5,in_man_dial_next_ready_trigger=0x0,dial_method==_0x17fa03(0x21c)?(auto_dial_level=starting_dial_level,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$(_0x17fa03(0x7d7))[_0x17fa03(0x628)](_0x17fa03(0x21a))):$(_0x17fa03(0x7d7))[_0x17fa03(0x628)]('<a href="#" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><img src="./images/vdc_LB_paused.gif" border="0" alt="You are paused" /></a><br /><a href="#" onclick="ManualDialNext('','','','','','0','','','YES');"><img src="./images/vdc_LB_dialnextnumber.gif" border="0" alt="Dial Next Number" /></a>')):($(_0x17fa03(0x7d7))[_0x17fa03(0x628)](DiaLControl_auto_HTML),$(_0x17fa03(0x370))['html'](DiaLControl_auto_HTML2)),agent_pause_codes_active=='FORCE'&&_0x26b8aa!=_0x17fa03(0x2b7)&&_0x26b8aa!=_0x17fa03(0x398)&&_0x26b8aa!=_0x17fa03(0x7ed)&&_0x594ae6!='1'&&PauseCodeSelectContent_create(),_0x594ae6=='1'?(_0x200542=_0x17fa03(0x13d)+_0x5c8a35,current_pause_code=_0x5c8a35):_0x5c8a35='');var _0xe2c7fb=![];!_0xe2c7fb&&typeof XMLHttpRequest!=_0x17fa03(0x34f)&&(_0xe2c7fb=new XMLHttpRequest()),_0xe2c7fb&&(autoDiaLready_query='server_ip='+server_ip+'&session_name='+session_name+_0x17fa03(0x3a1)+_0x1d648b+_0x17fa03(0x66e)+user+_0x17fa03(0x397)+pass+_0x17fa03(0x44a)+VDRP_stage+'&agent_log_id='+agent_log_id+_0x17fa03(0x2bf)+_0x49ff5d+_0x17fa03(0x591)+_0x5dd967+_0x17fa03(0x6b5)+campaign+_0x17fa03(0x4fe)+dial_method+'&comments='+_0xad2ff5+_0x200542+_0x17fa03(0x5fb)+qm_extension,_0xe2c7fb[_0x17fa03(0x63c)]('POST',_0x17fa03(0x550)),_0xe2c7fb[_0x17fa03(0x636)]('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'),_0xe2c7fb[_0x17fa03(0x2fd)](autoDiaLready_query),_0xe2c7fb['onreadystatechange']=function(){var _0xeb8cbd=_0x17fa03;if(_0xe2c7fb[_0xeb8cbd(0x30f)]==0x4&&_0xe2c7fb[_0xeb8cbd(0x6aa)]==0xc8){var _0x2e88c4=null;_0x2e88c4=_0xe2c7fb['responseText'];var _0x483cf5=_0x2e88c4[_0xeb8cbd(0x65a)]('
');if(_0x483cf5[0x1]=='Next agent_log_id:'){agent_log_id[_0xeb8cbd(0x35c)]>0x0&&(previous_agent_log_id=agent_log_id);var _0x38d622=_0x483cf5[0x2];_0x38d622===undefined?button_click_log=button_click_log+''+SQLdate+_0xeb8cbd(0x762)+_0x38d622+' '+_0x1d648b+' '+agent_log_id+'|':agent_log_id=_0x38d622;}}},delete _0xe2c7fb),waiting_on_dispo=0x0;}}return agent_log_id;}function ReChecKCustoMerChaN(){var _0x527d9d=_0x1c96bb,_0x1ec175=![];!_0x1ec175&&typeof XMLHttpRequest!=_0x527d9d(0x34f)&&(_0x1ec175=new XMLHttpRequest()),_0x1ec175&&(recheckVDAI_query='server_ip='+server_ip+_0x527d9d(0x7b6)+session_name+_0x527d9d(0x66e)+user+_0x527d9d(0x397)+pass+'&campaign='+campaign+'&ACTION=VDADREcheckINCOMING'+_0x527d9d(0x741)+agent_log_id+_0x527d9d(0x650)+$('#lead_id')['val'](),_0x1ec175[_0x527d9d(0x63c)](_0x527d9d(0x584),_0x527d9d(0x550)),_0x1ec175[_0x527d9d(0x636)](_0x527d9d(0x638),_0x527d9d(0x404)),_0x1ec175[_0x527d9d(0x2fd)](recheckVDAI_query),_0x1ec175[_0x527d9d(0x18a)]=function(){var _0x2e7a3c=_0x527d9d;if(_0x1ec175[_0x2e7a3c(0x30f)]==0x4&&_0x1ec175[_0x2e7a3c(0x6aa)]==0xc8){var _0x5f1cdd=null;_0x5f1cdd=_0x1ec175['responseText'];var _0x57ceb6=_0x5f1cdd[_0x2e7a3c(0x65a)]('
');if(_0x57ceb6[0x0]=='1'){var _0xdf0c5e=_0x57ceb6[0x1][_0x2e7a3c(0x65a)]('|');if(_0xdf0c5e[0x3]==lastcustchannel){}else $('#callchannel')[_0x2e7a3c(0x628)](_0xdf0c5e[0x3]),lastcustchannel=_0xdf0c5e[0x3],$(_0x2e7a3c(0x303))[_0x2e7a3c(0x1b2)](_0xdf0c5e[0x4]),lastcustserverip=_0xdf0c5e[0x4],custchannellive=0x1;}}},delete _0x1ec175);}function load_script_contents(_0x3e6d47,_0x34b6cb){var _0x24413e=_0x1c96bb,_0x606b42=campaign_script,_0x1149bf=CalL_ScripT_id,_0x29f8a5=SCRIPTweb_form_vars;_0x3e6d47==_0x24413e(0x250)&&SSenable_second_script>0x0&&(_0x606b42=campaign_script_two,_0x1149bf=CalL_ScripT_id_two,_0x29f8a5=SCRIPT2web_form_vars);var _0x4ad19a=null,_0x30149c=![];!_0x30149c&&typeof XMLHttpRequest!=_0x24413e(0x34f)&&(_0x30149c=new XMLHttpRequest()),_0x30149c&&(NeWscript_query='server_ip='+server_ip+_0x24413e(0x6e1)+inOUT+_0x24413e(0x6f6)+_0x606b42+''+'&SCRIPTin_script='+_0x1149bf+_0x24413e(0x7b6)+session_name+'&user='+user+_0x24413e(0x397)+pass+_0x24413e(0x6bf)+$(_0x24413e(0x7fd))[_0x24413e(0x1b2)]()+_0x24413e(0x807)+_0x34b6cb+_0x24413e(0x25c)+_0x3e6d47+_0x24413e(0x525)+_0x29f8a5,_0x30149c['open']('POST','script_display.php'),_0x30149c[_0x24413e(0x636)](_0x24413e(0x638),_0x24413e(0x404)),_0x30149c[_0x24413e(0x2fd)](NeWscript_query),_0x30149c['onreadystatechange']=function(){var _0x3acaa8=_0x24413e;_0x30149c['readyState']==0x4&&_0x30149c['status']==0xc8&&(_0x4ad19a=_0x30149c[_0x3acaa8(0x137)],$('#'+_0x3e6d47)[_0x3acaa8(0x628)](_0x4ad19a),agent_events(_0x3acaa8(0x355),_0x3e6d47,aec),aec++);},delete _0x30149c);}function alt_phone_change(_0x49cd88,_0x6c6660,_0x7ddcdf,_0x3b9227){var _0x575e5e=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x575e5e(0x3a0)+_0x49cd88+' '+_0x6c6660+' '+_0x7ddcdf+' '+_0x3b9227+'|';var _0x3e2b7c='';_0x3b9227=='Y'?_0x3e2b7c=_0x575e5e(0x1f1)+EAphone_number+'',''+EAalt_phone_count+_0x575e5e(0x6e6)+$(_0x575e5e(0x486))[_0x575e5e(0x1b2)]()+'','N');">Change this phone number to INACTIVE</a>':_0x3e2b7c=_0x575e5e(0x1f1)+EAphone_number+_0x575e5e(0x6e6)+EAalt_phone_count+_0x575e5e(0x6e6)+$(_0x575e5e(0x486))['val']()+_0x575e5e(0x7a9);$('#EAcommentsBoxB')[_0x575e5e(0x628)](_0x575e5e(0x4c8)+EAalt_phone_active+_0x575e5e(0x40f)+_0x3e2b7c);var _0x385cd0=![];!_0x385cd0&&typeof XMLHttpRequest!='undefined'&&(_0x385cd0=new XMLHttpRequest()),_0x385cd0&&(APC_query=_0x575e5e(0x4c6)+server_ip+_0x575e5e(0x7b6)+session_name+_0x575e5e(0x66e)+user+'&pass='+pass+'&campaign='+campaign+_0x575e5e(0x81d)+'&phone_number='+_0x49cd88+_0x575e5e(0x650)+_0x7ddcdf+'&called_count='+_0x6c6660+'&stage='+_0x3b9227,_0x385cd0['open'](_0x575e5e(0x584),_0x575e5e(0x550)),_0x385cd0[_0x575e5e(0x636)](_0x575e5e(0x638),_0x575e5e(0x404)),_0x385cd0[_0x575e5e(0x2fd)](APC_query),_0x385cd0[_0x575e5e(0x18a)]=function(){var _0x1d6934=_0x575e5e;if(_0x385cd0[_0x1d6934(0x30f)]==0x4&&_0x385cd0[_0x1d6934(0x6aa)]==0xc8){}},delete _0x385cd0);}function check_for_auto_incoming(){var _0x57cfda=_0x1c96bb;if(typeof _0x4316df==_0x57cfda(0x34f)){CFAI_sent=0x1;safe_pause_counter>0x0?button_click_log=button_click_log+''+SQLdate+_0x57cfda(0x487)+safe_pause_counter+' '+VDRP_stage+'|':(all_record='NO',all_record_count=0x0);var _0x4316df=![];!_0x4316df&&typeof XMLHttpRequest!='undefined'&&(_0x4316df=new XMLHttpRequest()),_0x4316df&&(checkVDAI_query=_0x57cfda(0x4c6)+server_ip+_0x57cfda(0x7b6)+session_name+'&user='+user+_0x57cfda(0x397)+pass+_0x57cfda(0x569)+orig_pass+'&campaign='+campaign+_0x57cfda(0x2de)+'&agent_log_id='+agent_log_id+'&phone_login='+phone_login+_0x57cfda(0x801)+LOGemail+'&conf_exten='+session_id+'&camp_script='+campaign_script+''+'&in_script='+CalL_ScripT_id+_0x57cfda(0x38e)+lastcustserverip+_0x57cfda(0x2bd)+extension+_0x57cfda(0x3f4)+original_phone_login+_0x57cfda(0x7fe)+phone_pass+_0x57cfda(0x491)+VDRP_stage+_0x57cfda(0x36e)+previous_agent_log_id,_0x4316df[_0x57cfda(0x63c)]('POST',_0x57cfda(0x550)),_0x4316df[_0x57cfda(0x636)](_0x57cfda(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x4316df['send'](checkVDAI_query),_0x4316df[_0x57cfda(0x18a)]=function(){var _0x20604a=_0x57cfda;if(_0x4316df['readyState']==0x4&&_0x4316df['status']==0xc8){var _0x927297=null;CFAI_sent=0x0,_0x927297=_0x4316df[_0x20604a(0x137)];var _0x2eb08b=_0x927297['split']('
');if(_0x2eb08b[0x0]=='1'){AutoDialWaiting=0x0,QUEUEpadding=0x0,UpdatESettingSChecK=0x1,safe_pause_counter=0x0;VDRP_stage==_0x20604a(0x156)&&(button_click_log=button_click_log+''+SQLdate+'-----paused_CFAI_caught---'+VDRP_stage+' '+agent_log_id+' '+previous_agent_log_id+'|',agent_log_id=previous_agent_log_id);VD_live_customer_call=0x1,VD_live_call_secondS=0x0,customer_sec=0x0;var _0x14bf48=_0x2eb08b[0x1][_0x20604a(0x65a)]('|');VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three;var _0x2fc061='',_0x39ef95=_0x2eb08b[0x2][_0x20604a(0x65a)]('|');_0x39ef95[0x0][_0x20604a(0x35c)]>0x5&&(VDIC_web_form_address=_0x39ef95[0x0]);var _0x4a5181=_0x39ef95[0x1],_0x2bf0a9=_0x39ef95[0x2],_0xe4aed5=_0x39ef95[0x3];VDCL_group_id=_0x39ef95[0x4],CalL_ScripT_id=_0x39ef95[0x5],CalL_AutO_LauncH=_0x39ef95[0x6],CalL_XC_a_Dtmf=_0x39ef95[0x7],CalL_XC_a_NuMber=_0x39ef95[0x8],CalL_XC_b_Dtmf=_0x39ef95[0x9],CalL_XC_b_NuMber=_0x39ef95[0xa];_0x39ef95[0xb]['length']>0x1&&_0x39ef95[0xb]!=_0x20604a(0x2f1)?LIVE_default_xfer_group=_0x39ef95[0xb]:LIVE_default_xfer_group=default_xfer_group;_0x39ef95[0xc][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xc]!=_0x20604a(0x2e7)?LIVE_campaign_recording=_0x39ef95[0xc]:LIVE_campaign_recording=campaign_recording;_0x39ef95[0xd][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xd]!=_0x20604a(0x502)?LIVE_campaign_rec_filename=_0x39ef95[0xd]:LIVE_campaign_rec_filename=campaign_rec_filename;_0x39ef95[0xe][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xe]!=_0x20604a(0x502)?LIVE_default_group_alias=_0x39ef95[0xe]:LIVE_default_group_alias=default_group_alias;_0x39ef95[0xf][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xf]!='NONE'?LIVE_caller_id_number=_0x39ef95[0xf]:LIVE_caller_id_number=default_group_alias_cid;_0x39ef95[0x10]['length']>0x0?LIVE_web_vars=_0x39ef95[0x10]:LIVE_web_vars=default_web_vars;_0x39ef95[0x11][_0x20604a(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x39ef95[0x11]);var _0x55a433=_0x39ef95[0x12];if(_0x55a433==_0x20604a(0x502)||_0x55a433[_0x20604a(0x35c)]<0x2)timer_action=campaign_timer_action,timer_action_message=campaign_timer_action_message,timer_action_seconds=campaign_timer_action_seconds,timer_action_destination=campaign_timer_action_destination;else{var _0x49d731=_0x39ef95[0x13],_0xe5fb18=_0x39ef95[0x14],_0x384f12=_0x39ef95[0x1b];timer_action=_0x55a433,timer_action_message=_0x49d731,timer_action_seconds=_0xe5fb18,timer_action_destination=_0x384f12;}CalL_XC_c_NuMber=_0x39ef95[0x15],CalL_XC_d_NuMber=_0x39ef95[0x16],CalL_XC_e_NuMber=_0x39ef95[0x17],CalL_XC_e_NuMber=_0x39ef95[0x17],uniqueid_status_display=_0x39ef95[0x18],uniqueid_status_prefix=_0x39ef95[0x1a],did_id=_0x39ef95[0x1c],did_extension=_0x39ef95[0x1d],did_pattern=_0x39ef95[0x1e],did_description=_0x39ef95[0x1f],closecallid=_0x39ef95[0x20],xfercallid=_0x39ef95[0x21];_0x39ef95[0x22][_0x20604a(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x39ef95[0x22]);_0x39ef95[0x23][_0x20604a(0x35c)]>0x1&&(CalL_ScripT_color=_0x39ef95[0x23]);inbound_post_call_survey=_0x39ef95[0x24],inbound_survey_participate=_0x39ef95[0x25];_0x39ef95[0x26][_0x20604a(0x35c)]>0x0&&(CalL_ScripT_id_two=_0x39ef95[0x26]);_0x39ef95[0x27]['length']>0x0&&(CalL_ScripT_color_two=_0x39ef95[0x27]);_0x39ef95[0x28][_0x20604a(0x35c)]>0x0&&(browser_alert_sound=_0x39ef95[0x28],browser_alert_volume=_0x39ef95[0x29]);var _0xd8d3f1=_0x2eb08b[0x3][_0x20604a(0x65a)]('|');_0xd8d3f1[0x1][_0x20604a(0x35c)]>0x1&&_0xe4aed5=='Y'&&(_0x2fc061=_0x20604a(0x140)+_0xd8d3f1[0x0]+' - '+_0xd8d3f1[0x1]);$(_0x20604a(0x486))[_0x20604a(0x1b2)](_0x14bf48[0x0]),$('#uniqueid')['val'](_0x14bf48[0x1]),CIDcheck=_0x14bf48[0x2],CalLCID=_0x14bf48[0x2],LastCallCID=_0x14bf48[0x2],$(_0x20604a(0x68e))[_0x20604a(0x628)](_0x14bf48[0x3]),lastcustchannel=_0x14bf48[0x3],$(_0x20604a(0x303))[_0x20604a(0x1b2)](_0x14bf48[0x4]),lastcustserverip=_0x14bf48[0x4],$('#livecall')[_0x20604a(0x7b8)](_0x20604a(0x585),image_livecall_ON[_0x20604a(0x585)]),$(_0x20604a(0x4e0))[_0x20604a(0x6c6)](_0x20604a(0x20e),_0x20604a(0x16f)),$('#SecondS')[_0x20604a(0x1b2)](0x0),$(_0x20604a(0x4d7))[_0x20604a(0x628)]('0'),agent_events(_0x20604a(0x717),CalLCID,aec),aec++;uniqueid_status_display=='ENABLED'&&(custom_call_id=_0x20604a(0x673)+_0x14bf48[0x1]);uniqueid_status_display==_0x20604a(0x653)&&(custom_call_id=_0x20604a(0x673)+uniqueid_status_prefix+''+_0x14bf48[0x1]);uniqueid_status_display==_0x20604a(0x3b1)&&(custom_call_id=_0x20604a(0x673)+_0x39ef95[0x19]);custchannellive=0x1,LasTCID=_0x2eb08b[0x4],LeaDPreVDispO=_0x2eb08b[0x6],fronter=_0x2eb08b[0x7],$(_0x20604a(0x48f))[_0x20604a(0x1b2)](_0x2eb08b[0x8]),$('#list_id')[_0x20604a(0x1b2)](_0x2eb08b[0x9]),$(_0x20604a(0x465))['val'](_0x2eb08b[0xa]),$(_0x20604a(0x40c))[_0x20604a(0x1b2)](_0x2eb08b[0xb]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x20604a(0x150)){var _0xff61e4=$(_0x20604a(0x69e));disable_alter_custphone=='Y'&&_0xff61e4[_0x20604a(0x1b2)](_0x2eb08b[0xc]);}$(_0x20604a(0x5e7))[_0x20604a(0x1b2)](_0x2eb08b[0xc]),$(_0x20604a(0x79a))[_0x20604a(0x1b2)](_0x2eb08b[0xd]),$(_0x20604a(0x485))[_0x20604a(0x1b2)](_0x2eb08b[0xe]),$(_0x20604a(0x2ac))['val'](_0x2eb08b[0xf]),$('#last_name')[_0x20604a(0x1b2)](_0x2eb08b[0x10]),$(_0x20604a(0x47d))[_0x20604a(0x1b2)](_0x2eb08b[0x11]),$(_0x20604a(0x826))[_0x20604a(0x1b2)](_0x2eb08b[0x12]),$('#address3')[_0x20604a(0x1b2)](_0x2eb08b[0x13]),$(_0x20604a(0x323))[_0x20604a(0x1b2)](_0x2eb08b[0x14]),$('#state')['val'](_0x2eb08b[0x15]),$(_0x20604a(0x300))[_0x20604a(0x1b2)](_0x2eb08b[0x16]),$(_0x20604a(0x67f))[_0x20604a(0x1b2)](_0x2eb08b[0x17]),$(_0x20604a(0x816))[_0x20604a(0x1b2)](_0x2eb08b[0x18]),$('#gender')[_0x20604a(0x1b2)](_0x2eb08b[0x19]),$(_0x20604a(0x6e3))[_0x20604a(0x1b2)](_0x2eb08b[0x1a]),$(_0x20604a(0x59a))[_0x20604a(0x1b2)](_0x2eb08b[0x1b]),$(_0x20604a(0x1c3))[_0x20604a(0x1b2)](_0x2eb08b[0x1c]),$(_0x20604a(0x6bb))[_0x20604a(0x1b2)](_0x2eb08b[0x1d]);var _0x5bfc5d=new RegExp('!N','g');_0x2eb08b[0x1e]=_0x2eb08b[0x1e][_0x20604a(0x74b)](_0x5bfc5d,'
'),$(_0x20604a(0x1af))[_0x20604a(0x1b2)](_0x2eb08b[0x1e]),$(_0x20604a(0x7fd))[_0x20604a(0x1b2)](_0x2eb08b[0x1f]),CBentry_time=_0x2eb08b[0x20],CBcallback_time=_0x2eb08b[0x21],CBuser=_0x2eb08b[0x22],CBcomments=_0x2eb08b[0x23],dialed_number=_0x2eb08b[0x24],dialed_label=_0x2eb08b[0x25],source_id=_0x2eb08b[0x26],EAphone_code=_0x2eb08b[0x27],EAphone_number=_0x2eb08b[0x28],EAalt_phone_notes=_0x2eb08b[0x29],EAalt_phone_active=_0x2eb08b[0x2a],EAalt_phone_count=_0x2eb08b[0x2b],$(_0x20604a(0x6d0))[_0x20604a(0x1b2)](_0x2eb08b[0x2c]),$(_0x20604a(0x6ca))['val'](_0x2eb08b[0x2d]),script_recording_delay=_0x2eb08b[0x2e],$('#entry_list_id')[_0x20604a(0x1b2)](_0x2eb08b[0x2f]),custom_field_names=_0x2eb08b[0x30],custom_field_values=_0x2eb08b[0x31],custom_field_types=_0x2eb08b[0x32];if(qc_enabled>0x0){$(_0x20604a(0x471))[_0x20604a(0x1b2)](_0x2eb08b[0x35]),$('#audit_comments_button')['val'](_0x2eb08b[0x35]);comments_all_tabs=='ENABLED'&&$(_0x20604a(0x31f))[_0x20604a(0x1b2)](_0x2eb08b[0x35]);var _0xa289da=new RegExp('!N','g'),_0x2718b3=new RegExp('--------ADMINFONTBEGIN--------','g'),_0x11d827=new RegExp('--------ADMINFONTEND--------','g');_0x2eb08b[0x36]=_0x2eb08b[0x36][_0x20604a(0x74b)](_0xa289da,'
'),_0x2eb08b[0x36]=_0x2eb08b[0x36][_0x20604a(0x74b)](_0x2718b3,''),_0x2eb08b[0x36]=_0x2eb08b[0x36][_0x20604a(0x74b)](_0x11d827,''),$('#audit_comments')[_0x20604a(0x628)](_0x2eb08b[0x36]);}$(_0x20604a(0x7fa))[_0x20604a(0x1b2)](_0x2eb08b[0x37]),$(_0x20604a(0x7bf))[_0x20604a(0x628)](_0x20604a(0x43b)+_0x2eb08b[0x37]+_0x20604a(0x1b9)),CalL_ScripT_color=_0x2eb08b[0x39],$(_0x20604a(0x6d2))['val'](_0x2eb08b[0x3a]),entry_date=_0x2eb08b[0x3b],did_custom_one=_0x2eb08b[0x3c],did_custom_two=_0x2eb08b[0x3d],did_custom_three=_0x2eb08b[0x3e],did_custom_four=_0x2eb08b[0x3f],did_custom_five=_0x2eb08b[0x40],status_group_statuses_data=_0x2eb08b[0x41],last_call_date=_0x2eb08b[0x42],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data[_0x20604a(0x35c)]>0x7){var _0x595251=status_group_statuses_data[_0x20604a(0x65a)](','),_0x4c8d9d=_0x595251['length'],_0x110aa0=0x0;while(_0x110aa0<_0x4c8d9d){var _0x1def0c=_0x595251[_0x110aa0],_0x2a9461=_0x1def0c['split']('|');gVARstatuses[_0x110aa0]=_0x2a9461[0x0],gVARstatusnames[_0x110aa0]=_0x2a9461[0x1],gVARSELstatuses[_0x110aa0]='Y',gVARCBstatuses[_0x110aa0]=_0x2a9461[0x2],gVARMINstatuses[_0x110aa0]=_0x2a9461[0x3],gVARMAXstatuses[_0x110aa0]=_0x2a9461[0x4],gVARCBstatuses[_0x110aa0]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+' '+_0x2a9461[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x110aa0++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x20604a(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x20604a(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses[_0x20604a(0x57f)](gVARSELstatuses),VARCBstatuses=sVARCBstatuses[_0x20604a(0x57f)](gVARCBstatuses),VARMINstatuses=sVARMINstatuses[_0x20604a(0x57f)](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x20604a(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+' '+gVARCBstatusesLIST+' ',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0xc5ce56='',_0x1f765a='',_0x427237='',_0x21941a='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x5a0394=0x0;while(HK_statuses_camp>_0x5a0394){var _0x2a3458=0x0;while(VD_statuses_ct>_0x2a3458){HKstatuses[_0x5a0394]==VARstatuses[_0x2a3458]&&(hotkeys[HKhotkeys[_0x5a0394]]=HKstatuses[_0x5a0394]+_0x20604a(0x828)+HKstatusnames[_0x5a0394],HKhotkeys[_0x5a0394]>=0x1&&HKhotkeys[_0x5a0394]<=0x3&&(_0x1f765a=_0x1f765a+''+HKhotkeys[_0x5a0394]+_0x20604a(0x4ec)+HKstatuses[_0x5a0394]+_0x20604a(0x4ec)+HKstatusnames[_0x5a0394]+_0x20604a(0x40f)),HKhotkeys[_0x5a0394]>=0x4&&HKhotkeys[_0x5a0394]<=0x6&&(_0x427237=_0x427237+''+HKhotkeys[_0x5a0394]+_0x20604a(0x4ec)+HKstatuses[_0x5a0394]+_0x20604a(0x4ec)+HKstatusnames[_0x5a0394]+_0x20604a(0x40f)),HKhotkeys[_0x5a0394]>=0x7&&HKhotkeys[_0x5a0394]<=0x9&&(_0x21941a=_0x21941a+''+HKhotkeys[_0x5a0394]+_0x20604a(0x4ec)+HKstatuses[_0x5a0394]+_0x20604a(0x4ec)+HKstatusnames[_0x5a0394]+_0x20604a(0x40f)),_0xc5ce56=_0xc5ce56+''+HKhotkeys[_0x5a0394]+' '+HKstatuses[_0x5a0394]+' '+HKstatusnames[_0x5a0394]+'| '),_0x2a3458++;}_0x5a0394++;}}agent_display_fields['match'](adfREGentry_date)&&$(_0x20604a(0x699))[_0x20604a(0x628)](entry_date);agent_display_fields['match'](adfREGsource_id)&&$('#source_idDISP')['html'](source_id);if(agent_display_fields[_0x20604a(0x42d)](adfREGdate_of_birth)){}agent_display_fields[_0x20604a(0x42d)](adfREGrank)&&$(_0x20604a(0x284))[_0x20604a(0x628)]($('#rank')[_0x20604a(0x1b2)]());agent_display_fields[_0x20604a(0x42d)](adfREGowner)&&$('#ownerDISP')['html']($(_0x20604a(0x6ca))[_0x20604a(0x1b2)]());agent_display_fields['match'](adfREGlast_local_call_time)&&$(_0x20604a(0x2e6))[_0x20604a(0x628)](last_call_date);if(hide_gender>0x0)$(_0x20604a(0x578))[_0x20604a(0x1b2)](_0x2eb08b[0x19]);else{var _0x4d20d6=0x0;if($(_0x20604a(0x1b7))['val']()=='M')var _0x4d20d6=0x1;if($('#gender')[_0x20604a(0x1b2)]()=='F')var _0x4d20d6=0x2;$('#gender_list')[_0x20604a(0x1b2)]($(_0x20604a(0x1b7))[_0x20604a(0x1b2)]());}lead_dial_number=$(_0x20604a(0x5e7))[_0x20604a(0x1b2)]();var _0x23935f=$(_0x20604a(0x5e7))[_0x20604a(0x1b2)](),_0x16335b=phone_number_format(_0x23935f),_0x3ba10a=dialed_number,_0x136ec4=phone_number_format(_0x3ba10a),_0xf35764='';status_display_NAME>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x3bb)+$('#first_name')[_0x20604a(0x1b2)]()+' '+$(_0x20604a(0x2e8))[_0x20604a(0x1b2)]());status_display_CALLID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x35b)+LasTCID);status_display_LEADID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x46c)+$('#lead_id')[_0x20604a(0x1b2)]());status_display_LISTID>0x0&&(_0xf35764=_0xf35764+' List: '+$(_0x20604a(0x416))[_0x20604a(0x1b2)]());$('#MainStatuSSpan')[_0x20604a(0x628)](_0x20604a(0x68a)+_0x136ec4+' '+custom_call_id+' '+_0xf35764+' &nbsp; '+_0x2fc061);if(CBentry_time[_0x20604a(0x35c)]>0x2){$('#CusTInfOSpaN')[_0x20604a(0x628)](' <b> PREVIOUS CALLBACK </b>'),$(_0x20604a(0x6ff))['html'](_0x20604a(0x49a)+CBentry_time),$(_0x20604a(0x72a))['html'](_0x20604a(0x57d)+CBcallback_time),$('#CBcommentsBoxC')[_0x20604a(0x628)](_0x20604a(0x488)+CBuser),$(_0x20604a(0x1e1))['html'](_0x20604a(0x3c7)+CBcomments);if(show_previous_callback=='ENABLED'){}}dialed_label==_0x20604a(0x829)&&(lead_dial_number=$(_0x20604a(0x59a))[_0x20604a(0x1b2)](),dialed_number=lead_dial_number,$(_0x20604a(0x782))[_0x20604a(0x628)](_0x20604a(0x460)));dialed_label==_0x20604a(0x6db)&&(lead_dial_number=$(_0x20604a(0x22b))[_0x20604a(0x1b2)](),dialed_number=lead_dial_number,$(_0x20604a(0x782))[_0x20604a(0x628)](' <b> ALT DIAL NUMBER: ADDRESS3 </b>'));var _0x4940d1=new RegExp('X','g');if(dialed_label[_0x20604a(0x42d)](_0x4940d1)){$(_0x20604a(0x782))[_0x20604a(0x628)](_0x20604a(0x489)+dialed_label+_0x20604a(0x48b)),$(_0x20604a(0x646))[_0x20604a(0x628)](_0x20604a(0x1cc)+EAphone_code+' '+EAphone_number),lead_dial_number=EAphone_number,dialed_number=lead_dial_number;var _0x1a5793='';EAalt_phone_active=='Y'?_0x1a5793='<a href="#" onclick="alt_phone_change(''+EAphone_number+_0x20604a(0x6e6)+EAalt_phone_count+_0x20604a(0x6e6)+$('#lead_id')[_0x20604a(0x1b2)]()+_0x20604a(0x15e):_0x1a5793=_0x20604a(0x1f1)+EAphone_number+_0x20604a(0x6e6)+EAalt_phone_count+'',''+$(_0x20604a(0x486))[_0x20604a(0x1b2)]()+_0x20604a(0x7a9),$(_0x20604a(0x368))[_0x20604a(0x628)](_0x20604a(0x4c8)+EAalt_phone_active+'<br />'+_0x1a5793),$(_0x20604a(0x65f))[_0x20604a(0x628)](_0x20604a(0x5e8)+EAalt_phone_count),$(_0x20604a(0x467))[_0x20604a(0x628)](_0x20604a(0x2ca)+EAalt_phone_notes);}if(_0x39ef95[0x1][_0x20604a(0x35c)]>0x0){inOUT='IN',$('#type_appel')[_0x20604a(0x628)](_0x20604a(0x430));var _0x23935f=$(_0x20604a(0x5e7))[_0x20604a(0x1b2)](),_0x16335b=phone_number_format(_0x23935f),_0x3ba10a=dialed_number,_0x136ec4=phone_number_format(_0x3ba10a),_0xf35764='';status_display_NAME>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x3bb)+$(_0x20604a(0x485))[_0x20604a(0x1b2)]()+' '+$(_0x20604a(0x2e8))[_0x20604a(0x1b2)]());status_display_CALLID>0x0&&(_0xf35764=_0xf35764+' UID: '+CIDcheck);status_display_LEADID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x46c)+$(_0x20604a(0x486))[_0x20604a(0x1b2)]());status_display_LISTID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x6e5)+$(_0x20604a(0x416))[_0x20604a(0x1b2)]());var _0x487813=' Group- '+_0x39ef95[0x1];status_display_ingroup==_0x20604a(0x2e7)&&(_0x487813='');}else $(_0x20604a(0x56b))[_0x20604a(0x628)]('<span class="label label-call-direction label-primary"> <i class="fa fa-arrow-circle-up fa-rotate-45"></i> Emission</span>');$(_0x20604a(0x1a4))[_0x20604a(0x628)](_0x20604a(0x67a)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'','','','','YES');return false;"><img src="./images/vdc_LB_parkcall.gif" border="0" alt="Park Call" /></a>'),$(_0x20604a(0x19e))['html'](_0x20604a(0x7f8)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x269));(ivr_park_call==_0x20604a(0x20d)||ivr_park_call=='ENABLED_PARK_ONLY')&&$(_0x20604a(0x233))[_0x20604a(0x628)](_0x20604a(0x77b)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'','','','','YES');return false;"><img src="./images/vdc_LB_ivrparkcall.gif" border="0" alt="IVR Park Call" /></a>');$(_0x20604a(0x5eb))['html'](_0x20604a(0x7fb)),$(_0x20604a(0x3c6))[_0x20604a(0x628)](_0x20604a(0x35f)),$(_0x20604a(0x154))['html']('<a href="#" class="btn btn-success" onclick="mainxfer_send_redirect('XfeRLOCAL',''+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x811)),$(_0x20604a(0x194))[_0x20604a(0x628)](_0x20604a(0x1d3)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x14a)),$(_0x20604a(0x2d3))[_0x20604a(0x628)](_0x20604a(0x321));(quick_transfer_button==_0x20604a(0x16a)||quick_transfer_button==_0x20604a(0x2d8))&&(quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=default_xfer_group),$(_0x20604a(0x7e6))['html'](_0x20604a(0x596)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x6cd)+quick_transfer_button_locked+_0x20604a(0x753)));prepopulate_transfer_preset_enabled>0x0&&((prepopulate_transfer_preset==_0x20604a(0x7a6)||prepopulate_transfer_preset==_0x20604a(0x46b))&&($('#xfernumber')[_0x20604a(0x1b2)](CalL_XC_a_NuMber),$('#xfername')[_0x20604a(0x1b2)]('D1')),(prepopulate_transfer_preset==_0x20604a(0x572)||prepopulate_transfer_preset==_0x20604a(0x4f3))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_b_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D2')),(prepopulate_transfer_preset==_0x20604a(0x7da)||prepopulate_transfer_preset==_0x20604a(0x4da))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_c_NuMber),$('#xfername')['val']('D3')),(prepopulate_transfer_preset=='PRESET_4'||prepopulate_transfer_preset==_0x20604a(0x22f))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_d_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D4')),(prepopulate_transfer_preset==_0x20604a(0x5a7)||prepopulate_transfer_preset=='LOCKED_PRESET_5')&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_e_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D5')));(quick_transfer_button==_0x20604a(0x7a6)||quick_transfer_button=='PRESET_2'||quick_transfer_button==_0x20604a(0x7da)||quick_transfer_button==_0x20604a(0x5ac)||quick_transfer_button==_0x20604a(0x5a7)||quick_transfer_button==_0x20604a(0x46b)||quick_transfer_button==_0x20604a(0x4f3)||quick_transfer_button==_0x20604a(0x4da)||quick_transfer_button=='LOCKED_PRESET_4'||quick_transfer_button==_0x20604a(0x165))&&((quick_transfer_button==_0x20604a(0x7a6)||quick_transfer_button==_0x20604a(0x46b))&&($('#xfernumber')['val'](CalL_XC_a_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D1')),(quick_transfer_button=='PRESET_2'||quick_transfer_button==_0x20604a(0x4f3))&&($(_0x20604a(0x5d3))['val'](CalL_XC_b_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D2')),(quick_transfer_button==_0x20604a(0x7da)||quick_transfer_button==_0x20604a(0x4da))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_c_NuMber),$('#xfername')[_0x20604a(0x1b2)]('D3')),(quick_transfer_button==_0x20604a(0x5ac)||quick_transfer_button==_0x20604a(0x22f))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_d_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D4')),(quick_transfer_button==_0x20604a(0x5a7)||quick_transfer_button==_0x20604a(0x165))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_e_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D5')),quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=$(_0x20604a(0x5d3))[_0x20604a(0x1b2)]()),$(_0x20604a(0x7e6))['html'](_0x20604a(0x1d3)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'','','',''+quick_transfer_button_locked+_0x20604a(0x753)));inbound_post_call_survey==_0x20604a(0x20d)&&inbound_survey_participate=='Y'?($(_0x20604a(0x5d3))['val'](_0x20604a(0x39f)),$(_0x20604a(0x6c5))['prop']('checked',!![]),$('#HangupControl')[_0x20604a(0x628)]('<a href="#" onclick="mainxfer_send_redirect('XfeRBLIND',''+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'','','','','YES');return false;"><img src="./images/vdc_LB_hangupcustomer.gif" border="0" alt="Hangup Customer" /></a>'),$('#HangupControl2')[_0x20604a(0x628)]('<button id="tbHangup" type="button" class="btn btn-danger btn-lg" onclick="mainxfer_send_redirect('XfeRBLIND',''+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'','','','','YES');return false;"><i class="fa fa-stop"></i> Raccrocher</button>'),button_click_log=button_click_log+''+SQLdate+_0x20604a(0x552)+inbound_post_call_survey+' '+inbound_survey_participate+' '+$(_0x20604a(0x5d3))[_0x20604a(0x1b2)]()+'|'):($(_0x20604a(0x714))[_0x20604a(0x628)](_0x20604a(0x291)),$(_0x20604a(0x54d))[_0x20604a(0x628)](_0x20604a(0x7ff)));custom_3way_button_transfer_enabled>0x0&&$(_0x20604a(0x6ea))[_0x20604a(0x628)]('<a href="#" onclick="custom_button_transfer();return false;"><img src="./images/vdc_LB_customxfer.gif" border="0" alt="Custom Transfer" /></a>');if(call_requeue_button>0x0){var _0x15e032=$(_0x20604a(0x314))['val'](),_0x39c613=new RegExp(_0x20604a(0x59d),'ig');_0x15e032[_0x20604a(0x42d)](_0x39c613)||VU_closer_campaigns[_0x20604a(0x42d)](_0x39c613)?$(_0x20604a(0x7d6))[_0x20604a(0x628)](_0x20604a(0x2c9)):$(_0x20604a(0x7d6))[_0x20604a(0x628)](_0x20604a(0x631));}var _0x227fa0=0x0,_0x741e04='',_0x46aff4='';while(_0x227fa0<XFgroupCOUNT){VARxfergroups[_0x227fa0]==LIVE_default_xfer_group?_0x46aff4='selected ':_0x46aff4='',_0x741e04=_0x741e04+_0x20604a(0x182)+_0x46aff4+_0x20604a(0x457)+VARxfergroups[_0x227fa0]+'">'+VARxfergroupsnames[_0x227fa0]+'</option>
',_0x227fa0++;}$(_0x20604a(0x790))[_0x20604a(0x628)](_0x20604a(0x621)+_0x741e04+_0x20604a(0x51b));lastcustserverip==server_ip&&($(_0x20604a(0x38f))[_0x20604a(0x628)](_0x20604a(0x341)+lastcustchannel+_0x20604a(0x60d)),$('#VolumeDownSpan')[_0x20604a(0x628)](_0x20604a(0x448)+lastcustchannel+_0x20604a(0x1cd)));dial_method==_0x20604a(0x21c)?$(_0x20604a(0x7d7))[_0x20604a(0x628)](_0x20604a(0x47b)):($('#DiaLControl')[_0x20604a(0x628)](DiaLControl_auto_HTML_OFF),$(_0x20604a(0x370))[_0x20604a(0x628)](DiaLControl_auto_HTML_OFF2));VDCL_group_id[_0x20604a(0x35c)]>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label=='NONE')&&(dialed_label=_0x20604a(0x38c));if(hide_gender<0x1){var _0x5c17ef=$(_0x20604a(0x578))[_0x20604a(0x1b2)]();$('#gender')[_0x20604a(0x1b2)](_0x5c17ef);}LeaDDispO='';var _0xcf300f=new RegExp(_0x20604a(0x6d5),'ig');VDIC_web_form_address[_0x20604a(0x42d)](_0xcf300f)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x20604a(0x18f),_0x20604a(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x20604a(0x74b)](_0xcf300f,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x20604a(0x18f),_0x20604a(0x402),'1');VDIC_web_form_address_two[_0x20604a(0x42d)](_0xcf300f)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x20604a(0x18f),_0x20604a(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x20604a(0x74b)](_0xcf300f,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x20604a(0x18f),_0x20604a(0x402),'2');VDIC_web_form_address_three['match'](_0xcf300f)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,'YES',_0x20604a(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0xcf300f,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x20604a(0x18f),_0x20604a(0x402),'3');(LIVE_campaign_recording==_0x20604a(0x5c2)||LIVE_campaign_recording=='ALLFORCE')&&(all_record=_0x20604a(0x18f));if(view_scripts==0x1){if(CalL_ScripT_id[_0x20604a(0x35c)]>0x0){var _0x51a2cd='http://127.0.0.1/testing.php',_0x432bb9=URLDecode(_0x51a2cd,_0x20604a(0x18f),_0x20604a(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording=='ALLCALLS'||LIVE_campaign_recording==_0x20604a(0x41f))?(delayed_script_load=_0x20604a(0x18f),RefresHScript(_0x20604a(0x666)),RefresHScript2(_0x20604a(0x666))):(load_script_contents(_0x20604a(0x376),''),SSenable_second_script>0x0&&load_script_contents(_0x20604a(0x250),''));}else RefresHScript('',_0x20604a(0x18f)),RefresHScript2('',_0x20604a(0x18f));if(CalL_ScripT_id_two[_0x20604a(0x35c)]>0x0&&SSenable_second_script>0x0){var _0x51a2cd=_0x20604a(0x5d4),_0x432bb9=URLDecode(_0x51a2cd,_0x20604a(0x18f),_0x20604a(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x20604a(0x5c2)||LIVE_campaign_recording==_0x20604a(0x41f))?(delayed_script_load='YES',RefresHScript2('CLEAR')):load_script_contents(_0x20604a(0x250),'');}else RefresHScript2('',_0x20604a(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad();email_enabled>0x0&&EmailContentsLoad();chat_enabled>0x0&&CustomerChatContentsLoad();CalL_AutO_LauncH==_0x20604a(0x6af)&&(delayed_script_load==_0x20604a(0x18f)&&load_script_contents(_0x20604a(0x376),''),ScriptPanelToFront());CalL_AutO_LauncH==_0x20604a(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load=='YES'&&load_script_contents(_0x20604a(0x250),''),ScriptPanel2ToFront());CalL_AutO_LauncH==_0x20604a(0x7eb)&&EmailPanelToFront();if(useIE>0x0){var _0x3a7bba=new RegExp('^NONE','ig');if(CopY_tO_ClipboarD[_0x20604a(0x42d)](_0x3a7bba))var _0x1ee80f=0x1;else{var _0x33e2e2=$('#'+CopY_tO_ClipboarD);window['clipboardData'][_0x20604a(0x7cc)](_0x20604a(0x222),_0x33e2e2[_0x20604a(0x1b2)]());}}SSbrowser_call_alerts>0x0&&(browser_alert_sound!=''&&browser_alert_sound!='---NONE---'&&browser_alert_sound!='---DISABLED---'&&(button_click_log=button_click_log+''+SQLdate+_0x20604a(0x624)+browser_alert_sound+' '+browser_alert_volume+'|',play_browser_sound(browser_alert_sound,browser_alert_volume)));if(alert_enabled=='ON'){var _0x3ba10a=dialed_number,_0x136ec4=phone_number_format(_0x3ba10a);alert(_0x20604a(0x13a)+_0x136ec4+_0x20604a(0x823)+_0x39ef95[0x1]+_0x20604a(0x227)+_0x2fc061);}}else(email_enabled>0x0&&EMAILgroupCOUNT>0x0||chat_enabled>0x0&&CHATgroupCOUNT>0x0)&&AutoDialWaiting==0x1&&(QUEUEpadding++,QUEUEpadding==0x5&&(QUEUEpadding=0x0,check_for_incoming_other()));_0x4316df=undefined,delete _0x4316df,alert_box_close_counter==0x1&&(VDRP_stage!='PAUSED'&&(agent_log_id=AutoDial_ReSume_PauSe(_0x20604a(0x2ce),'','','','','','',_0x20604a(0x18f))),button_click_log=button_click_log+''+SQLdate+_0x20604a(0x57b)+previous_agent_log_id+' '+agent_log_id+'|',alert_box_close_counter=0x0,$(_0x20604a(0x2f3))[_0x20604a(0x7c3)](_0x20604a(0x345))),agent_events(_0x20604a(0x563),_0x20604a(0x66b)+agent_log_id,aec),aec++;}});}}function check_for_incoming_other(_0x239f74){var _0x2e1661=_0x1c96bb;if(typeof _0x2db714==_0x2e1661(0x34f)){all_record='NO',all_record_count=0x0;var _0x2db714=![];!_0x2db714&&typeof XMLHttpRequest!=_0x2e1661(0x34f)&&(_0x2db714=new XMLHttpRequest());if(_0x2db714){checkVDAI_query=_0x2e1661(0x4c6)+server_ip+_0x2e1661(0x7b6)+session_name+_0x2e1661(0x66e)+user+'&pass='+pass+_0x2e1661(0x569)+orig_pass+_0x2e1661(0x6b5)+campaign+_0x2e1661(0x193)+'&agent_log_id='+agent_log_id+_0x2e1661(0x760)+phone_login+_0x2e1661(0x801)+LOGemail+_0x2e1661(0x5d7)+session_id+_0x2e1661(0x4f5)+campaign_script+''+_0x2e1661(0x428)+CalL_ScripT_id+_0x2e1661(0x38e)+lastcustserverip+_0x2e1661(0x2bd)+extension+_0x2e1661(0x3f4)+original_phone_login+_0x2e1661(0x7fe)+phone_pass;if(!_0x239f74)for(var _0x3f3eb0=0x0;_0x3f3eb0<incomingEMAILgroups['length'];_0x3f3eb0++){checkVDAI_query+=_0x2e1661(0x7f1)+incomingEMAILgroups[_0x3f3eb0];}for(var _0x3f3eb0=0x0;_0x3f3eb0<incomingCHATgroups[_0x2e1661(0x35c)];_0x3f3eb0++){checkVDAI_query+=_0x2e1661(0x76c)+incomingCHATgroups[_0x3f3eb0];}_0x2db714[_0x2e1661(0x63c)](_0x2e1661(0x584),'crm_query.php'),_0x2db714[_0x2e1661(0x636)](_0x2e1661(0x638),_0x2e1661(0x404)),_0x2db714['send'](checkVDAI_query),_0x2db714['onreadystatechange']=function(){var _0x2ba303=_0x2e1661;if(_0x2db714[_0x2ba303(0x30f)]==0x4&&_0x2db714[_0x2ba303(0x6aa)]==0xc8){var _0x53e7c8=null;_0x53e7c8=_0x2db714[_0x2ba303(0x137)];var _0x31d549=_0x53e7c8[_0x2ba303(0x65a)]('
');if(_0x31d549[0x0]=='1'){AutoDialWaiting=0x0,UpdatESettingSChecK=0x1;var _0x48ab44=_0x31d549[0x1][_0x2ba303(0x65a)]('|');VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three,CalL_AutO_LauncH=_0x48ab44[0x3],$(_0x2ba303(0x643))[_0x2ba303(0x7b8)](_0x2ba303(0x585),image_livecall_ON[_0x2ba303(0x585)]),$(_0x2ba303(0x4e0))[_0x2ba303(0x6c6)](_0x2ba303(0x20e),'2px solid rgb(41, 151, 74)');if(CalL_AutO_LauncH==_0x2ba303(0x7eb)||CalL_AutO_LauncH=='SCRIPT'||CalL_AutO_LauncH==_0x2ba303(0x401))$(_0x2ba303(0x721))[_0x2ba303(0x1b2)](_0x48ab44[0x4]),$(_0x2ba303(0x643))['attr']('src',image_liveemail_ON['src']);else CalL_AutO_LauncH==_0x2ba303(0x7c8)&&(chat_enabled>0x0&&($(_0x2ba303(0x571))[_0x2ba303(0x7b8)](_0x2ba303(0x585),image_customer_chat_ON['src']),$(_0x2ba303(0x280))['val'](_0x48ab44[0x4]),$('#customer_chat_id')[_0x2ba303(0x1b2)](_0x48ab44[0x4]),$(_0x2ba303(0x643))['attr'](_0x2ba303(0x585),image_livechat_ON[_0x2ba303(0x585)])));var _0x33178b='',_0x303713=_0x31d549[0x2][_0x2ba303(0x65a)]('|');_0x303713[0x0][_0x2ba303(0x35c)]>0x5&&(VDIC_web_form_address=_0x303713[0x0]);var _0x2c9ac2=_0x303713[0x1],_0x7fc45c=_0x303713[0x2],_0x10f4da=_0x303713[0x3];VDCL_group_id=_0x303713[0x4],CalL_ScripT_id=_0x303713[0x5],CalL_XC_a_Dtmf=_0x303713[0x7],CalL_XC_a_NuMber=_0x303713[0x8],CalL_XC_b_Dtmf=_0x303713[0x9],CalL_XC_b_NuMber=_0x303713[0xa];_0x303713[0xb][_0x2ba303(0x35c)]>0x1&&_0x303713[0xb]!=_0x2ba303(0x2f1)?LIVE_default_xfer_group=_0x303713[0xb]:LIVE_default_xfer_group=default_xfer_group;_0x303713[0xc]['length']>0x1&&_0x303713[0xc]!='DISABLED'?LIVE_campaign_recording=_0x303713[0xc]:LIVE_campaign_recording=campaign_recording;_0x303713[0xd][_0x2ba303(0x35c)]>0x1&&_0x303713[0xd]!=_0x2ba303(0x502)?LIVE_campaign_rec_filename=_0x303713[0xd]:LIVE_campaign_rec_filename=campaign_rec_filename;_0x303713[0xe]['length']>0x1&&_0x303713[0xe]!=_0x2ba303(0x502)?LIVE_default_group_alias=_0x303713[0xe]:LIVE_default_group_alias=default_group_alias;_0x303713[0xf][_0x2ba303(0x35c)]>0x1&&_0x303713[0xf]!=_0x2ba303(0x502)?LIVE_caller_id_number=_0x303713[0xf]:LIVE_caller_id_number=default_group_alias_cid;_0x303713[0x10][_0x2ba303(0x35c)]>0x0?LIVE_web_vars=_0x303713[0x10]:LIVE_web_vars=default_web_vars;_0x303713[0x11][_0x2ba303(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x303713[0x11]);var _0x4dfb3b=_0x303713[0x12];if(_0x4dfb3b==_0x2ba303(0x502)||_0x4dfb3b['length']<0x2)timer_action=campaign_timer_action,timer_action_message=campaign_timer_action_message,timer_action_seconds=campaign_timer_action_seconds,timer_action_destination=campaign_timer_action_destination;else{var _0x4813f0=_0x303713[0x13],_0x2f5dc7=_0x303713[0x14],_0x189f01=_0x303713[0x1b];timer_action=_0x4dfb3b,timer_action_message=_0x4813f0,timer_action_seconds=_0x2f5dc7,timer_action_destination=_0x189f01;}CalL_XC_c_NuMber=_0x303713[0x15],CalL_XC_d_NuMber=_0x303713[0x16],CalL_XC_e_NuMber=_0x303713[0x17],CalL_XC_e_NuMber=_0x303713[0x17],uniqueid_status_display=_0x303713[0x18],uniqueid_status_prefix=_0x303713[0x1a],did_id=_0x303713[0x1c],did_extension=_0x303713[0x1d],did_pattern=_0x303713[0x1e],did_description=_0x303713[0x1f],closecallid=_0x303713[0x20],xfercallid=_0x303713[0x21];_0x303713[0x22][_0x2ba303(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x303713[0x22]);_0x303713[0x23]['length']>0x1&&(CalL_ScripT_color=_0x303713[0x23]);_0x303713[0x24][_0x2ba303(0x35c)]>0x0&&(CalL_ScripT_id_two=_0x303713[0x24]);_0x303713[0x25]['length']>0x0&&(CalL_ScripT_color_two=_0x303713[0x25]);var _0x423c1=_0x31d549[0x3]['split']('|');_0x423c1[0x1][_0x2ba303(0x35c)]>0x1&&_0x10f4da=='Y'&&(_0x33178b=_0x2ba303(0x140)+_0x423c1[0x0]+' - '+_0x423c1[0x1]);$('#lead_id')[_0x2ba303(0x1b2)](_0x48ab44[0x0]),$(_0x2ba303(0x186))[_0x2ba303(0x1b2)](_0x48ab44[0x1]),CIDcheck=_0x48ab44[0x2],CalLCID=_0x48ab44[0x2],LastCallCID=_0x48ab44[0x2],$('#callchannel')[_0x2ba303(0x628)](_0x48ab44[0x3]),lastcustchannel=_0x48ab44[0x3],$(_0x2ba303(0x303))[_0x2ba303(0x1b2)](_0x48ab44[0x4]),lastcustserverip=_0x48ab44[0x4],$(_0x2ba303(0x1a2))[_0x2ba303(0x1b2)](0x0),$(_0x2ba303(0x4d7))['html']('0'),lastcustchannel=_0x48ab44[0x6];uniqueid_status_display==_0x2ba303(0x20d)&&(custom_call_id=_0x2ba303(0x673)+_0x48ab44[0x1]);uniqueid_status_display==_0x2ba303(0x653)&&(custom_call_id=_0x2ba303(0x673)+uniqueid_status_prefix+''+_0x48ab44[0x1]);uniqueid_status_display==_0x2ba303(0x3b1)&&(custom_call_id=_0x2ba303(0x673)+_0x303713[0x19]);VD_live_customer_call=0x1,VD_live_call_secondS=0x0,customer_sec=0x0,currently_in_email_or_chat=0x1,custchannellive=0x1,LasTCID=_0x31d549[0x4],LeaDPreVDispO=_0x31d549[0x6],fronter=_0x31d549[0x7],$('#vendor_lead_code')[_0x2ba303(0x1b2)](_0x31d549[0x8]),$(_0x2ba303(0x416))[_0x2ba303(0x1b2)](_0x31d549[0x9]),$(_0x2ba303(0x465))['val'](_0x31d549[0xa]),$('#phone_code')[_0x2ba303(0x1b2)](_0x31d549[0xb]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x2ba303(0x150)){var _0x458379=$(_0x2ba303(0x69e));disable_alter_custphone=='Y'&&_0x458379[_0x2ba303(0x1b2)](_0x31d549[0xc]);}$('#phone_number')[_0x2ba303(0x1b2)](_0x31d549[0xc]),$('#title')['val'](_0x31d549[0xd]),$('#first_name')[_0x2ba303(0x1b2)](_0x31d549[0xe]),$(_0x2ba303(0x2ac))[_0x2ba303(0x1b2)](_0x31d549[0xf]),$(_0x2ba303(0x2e8))['val'](_0x31d549[0x10]),$(_0x2ba303(0x47d))[_0x2ba303(0x1b2)](_0x31d549[0x11]),$(_0x2ba303(0x826))[_0x2ba303(0x1b2)](_0x31d549[0x12]),$('#address3')[_0x2ba303(0x1b2)](_0x31d549[0x13]),$('#city')[_0x2ba303(0x1b2)](_0x31d549[0x14]),$(_0x2ba303(0x1c0))[_0x2ba303(0x1b2)](_0x31d549[0x15]),$(_0x2ba303(0x300))['val'](_0x31d549[0x16]),$(_0x2ba303(0x67f))[_0x2ba303(0x1b2)](_0x31d549[0x17]),$(_0x2ba303(0x816))[_0x2ba303(0x1b2)](_0x31d549[0x18]),$(_0x2ba303(0x1b7))[_0x2ba303(0x1b2)](_0x31d549[0x19]),$(_0x2ba303(0x6e3))[_0x2ba303(0x1b2)](_0x31d549[0x1a]),$(_0x2ba303(0x59a))[_0x2ba303(0x1b2)](_0x31d549[0x1b]),$('#email')[_0x2ba303(0x1b2)](_0x31d549[0x1c]),$(_0x2ba303(0x6bb))[_0x2ba303(0x1b2)](_0x31d549[0x1d]);var _0x7b85d1=new RegExp('!N','g');_0x31d549[0x1e]=_0x31d549[0x1e][_0x2ba303(0x74b)](_0x7b85d1,'
'),$(_0x2ba303(0x1af))['val'](_0x31d549[0x1e]),$('#called_count')[_0x2ba303(0x1b2)](_0x31d549[0x1f]),CBentry_time=_0x31d549[0x20],CBcallback_time=_0x31d549[0x21],CBuser=_0x31d549[0x22],CBcomments=_0x31d549[0x23],dialed_number=_0x31d549[0x24],dialed_label=_0x31d549[0x25],source_id=_0x31d549[0x26],EAphone_code=_0x31d549[0x27],EAphone_number=_0x31d549[0x28],EAalt_phone_notes=_0x31d549[0x29],EAalt_phone_active=_0x31d549[0x2a],EAalt_phone_count=_0x31d549[0x2b],$(_0x2ba303(0x6d0))[_0x2ba303(0x1b2)](_0x31d549[0x2c]),$(_0x2ba303(0x6ca))[_0x2ba303(0x1b2)](_0x31d549[0x2d]),script_recording_delay=_0x31d549[0x2e],$('#entry_list_id')[_0x2ba303(0x1b2)](_0x31d549[0x2f]),custom_field_names=_0x31d549[0x30],custom_field_values=_0x31d549[0x31],custom_field_types=_0x31d549[0x32],$(_0x2ba303(0x7fa))[_0x2ba303(0x1b2)](_0x31d549[0x33]),$('#list_appel')[_0x2ba303(0x628)]('<span class="label label-call-direction label-warning">'+_0x31d549[0x33]+_0x2ba303(0x1b9)),$(_0x2ba303(0x6d2))[_0x2ba303(0x1b2)](_0x31d549[0x36]),entry_date=_0x31d549[0x37],did_custom_one=_0x31d549[0x38],did_custom_two=_0x31d549[0x39],did_custom_three=_0x31d549[0x3a],did_custom_four=_0x31d549[0x3b],did_custom_five=_0x31d549[0x3c],status_group_statuses_data=_0x31d549[0x3d],last_call_date=_0x31d549[0x3e],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data['length']>0x7){var _0x1e5b6e=status_group_statuses_data[_0x2ba303(0x65a)](','),_0x16aab2=_0x1e5b6e['length'],_0x5bbbf0=0x0;while(_0x5bbbf0<_0x16aab2){var _0x331eac=_0x1e5b6e[_0x5bbbf0],_0x585091=_0x331eac[_0x2ba303(0x65a)]('|');gVARstatuses[_0x5bbbf0]=_0x585091[0x0],gVARstatusnames[_0x5bbbf0]=_0x585091[0x1],gVARSELstatuses[_0x5bbbf0]='Y',gVARCBstatuses[_0x5bbbf0]=_0x585091[0x2],gVARMINstatuses[_0x5bbbf0]=_0x585091[0x3],gVARMAXstatuses[_0x5bbbf0]=_0x585091[0x4],gVARCBstatuses[_0x5bbbf0]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+' '+_0x585091[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x5bbbf0++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x2ba303(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x2ba303(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses['concat'](gVARSELstatuses),VARCBstatuses=sVARCBstatuses['concat'](gVARCBstatuses),VARMINstatuses=sVARMINstatuses[_0x2ba303(0x57f)](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x2ba303(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+' '+gVARCBstatusesLIST+' ',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0x11388d='',_0x414555='',_0x5399b5='',_0x3fd01d='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x3a927b=0x0;while(HK_statuses_camp>_0x3a927b){var _0x4c9bcf=0x0;while(VD_statuses_ct>_0x4c9bcf){HKstatuses[_0x3a927b]==VARstatuses[_0x4c9bcf]&&(hotkeys[HKhotkeys[_0x3a927b]]=HKstatuses[_0x3a927b]+_0x2ba303(0x828)+HKstatusnames[_0x3a927b],HKhotkeys[_0x3a927b]>=0x1&&HKhotkeys[_0x3a927b]<=0x3&&(_0x414555=_0x414555+''+HKhotkeys[_0x3a927b]+_0x2ba303(0x4ec)+HKstatuses[_0x3a927b]+_0x2ba303(0x4ec)+HKstatusnames[_0x3a927b]+_0x2ba303(0x40f)),HKhotkeys[_0x3a927b]>=0x4&&HKhotkeys[_0x3a927b]<=0x6&&(_0x5399b5=_0x5399b5+''+HKhotkeys[_0x3a927b]+_0x2ba303(0x4ec)+HKstatuses[_0x3a927b]+_0x2ba303(0x4ec)+HKstatusnames[_0x3a927b]+_0x2ba303(0x40f)),HKhotkeys[_0x3a927b]>=0x7&&HKhotkeys[_0x3a927b]<=0x9&&(_0x3fd01d=_0x3fd01d+''+HKhotkeys[_0x3a927b]+_0x2ba303(0x4ec)+HKstatuses[_0x3a927b]+_0x2ba303(0x4ec)+HKstatusnames[_0x3a927b]+_0x2ba303(0x40f)),_0x11388d=_0x11388d+''+HKhotkeys[_0x3a927b]+' '+HKstatuses[_0x3a927b]+' '+HKstatusnames[_0x3a927b]+'| '),_0x4c9bcf++;}_0x3a927b++;}}agent_display_fields['match'](adfREGentry_date)&&$(_0x2ba303(0x699))[_0x2ba303(0x628)](entry_date);agent_display_fields[_0x2ba303(0x42d)](adfREGsource_id)&&$(_0x2ba303(0x7d3))['html'](source_id);if(agent_display_fields[_0x2ba303(0x42d)](adfREGdate_of_birth)){}agent_display_fields[_0x2ba303(0x42d)](adfREGrank)&&$(_0x2ba303(0x284))[_0x2ba303(0x628)]($('#rank')[_0x2ba303(0x1b2)]());agent_display_fields['match'](adfREGowner)&&$(_0x2ba303(0x59e))[_0x2ba303(0x628)]($(_0x2ba303(0x6ca))[_0x2ba303(0x1b2)]());agent_display_fields[_0x2ba303(0x42d)](adfREGlast_local_call_time)&&$(_0x2ba303(0x2e6))[_0x2ba303(0x628)](last_call_date);if(hide_gender>0x0)$(_0x2ba303(0x578))[_0x2ba303(0x1b2)](_0x31d549[0x19]);else{var _0x292914=0x0;if($('#gender')[_0x2ba303(0x1b2)]()=='M')var _0x292914=0x1;if($(_0x2ba303(0x1b7))['val']()=='F')var _0x292914=0x2;$(_0x2ba303(0x578))[_0x2ba303(0x1b2)]($(_0x2ba303(0x1b7))[_0x2ba303(0x1b2)]());}lead_dial_number=$(_0x2ba303(0x5e7))['val']();var _0x471bfd=$(_0x2ba303(0x5e7))[_0x2ba303(0x1b2)](),_0x5de750=phone_number_format(_0x471bfd),_0x2c7569=dialed_number,_0x36079f=phone_number_format(_0x2c7569),_0x320020='';status_display_NAME>0x0&&(_0x320020=_0x320020+_0x2ba303(0x3bb)+$('#first_name')[_0x2ba303(0x1b2)]()+' '+$(_0x2ba303(0x2e8))[_0x2ba303(0x1b2)]());status_display_CALLID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x35b)+LasTCID);status_display_LEADID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x46c)+$(_0x2ba303(0x486))[_0x2ba303(0x1b2)]());status_display_LISTID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x6e5)+$(_0x2ba303(0x416))[_0x2ba303(0x1b2)]());$(_0x2ba303(0x170))[_0x2ba303(0x628)](_0x2ba303(0x13a)+_0x36079f+' '+custom_call_id+' '+_0x320020+_0x2ba303(0x227)+_0x33178b);if(CBentry_time[_0x2ba303(0x35c)]>0x2){$(_0x2ba303(0x782))[_0x2ba303(0x628)](_0x2ba303(0x25e)),$(_0x2ba303(0x6ff))[_0x2ba303(0x628)](_0x2ba303(0x49a)+CBentry_time),$(_0x2ba303(0x72a))[_0x2ba303(0x628)]('<b>CallBack: </b>'+CBcallback_time),$(_0x2ba303(0x7cd))[_0x2ba303(0x628)]('<b>Agent: </b>'+CBuser),$(_0x2ba303(0x1e1))['html'](_0x2ba303(0x3c7)+CBcomments);if(show_previous_callback=='ENABLED'){}}dialed_label=='ALT'&&$('#CusTInfOSpaN')[_0x2ba303(0x628)](_0x2ba303(0x460));dialed_label==_0x2ba303(0x6db)&&$(_0x2ba303(0x782))[_0x2ba303(0x628)](_0x2ba303(0x639));var _0x2b2f3a=new RegExp('X','g');if(dialed_label[_0x2ba303(0x42d)](_0x2b2f3a)){$(_0x2ba303(0x782))['html'](_0x2ba303(0x489)+dialed_label+_0x2ba303(0x48b)),$('#EAcommentsBoxA')[_0x2ba303(0x628)](_0x2ba303(0x1cc)+EAphone_code+' '+EAphone_number);var _0x56f564='';EAalt_phone_active=='Y'?_0x56f564=_0x2ba303(0x1f1)+EAphone_number+_0x2ba303(0x6e6)+EAalt_phone_count+_0x2ba303(0x6e6)+$(_0x2ba303(0x486))['val']()+'','N');">Change this phone number to INACTIVE</a>':_0x56f564=_0x2ba303(0x1f1)+EAphone_number+_0x2ba303(0x6e6)+EAalt_phone_count+_0x2ba303(0x6e6)+$('#lead_id')[_0x2ba303(0x1b2)]()+_0x2ba303(0x7a9),$('#EAcommentsBoxB')[_0x2ba303(0x628)](_0x2ba303(0x4c8)+EAalt_phone_active+'<br />'+_0x56f564),$(_0x2ba303(0x65f))[_0x2ba303(0x628)](_0x2ba303(0x5e8)+EAalt_phone_count),$(_0x2ba303(0x467))['html'](_0x2ba303(0x2ca)+EAalt_phone_notes);}if(_0x303713[0x1][_0x2ba303(0x35c)]>0x0){inOUT='IN';var _0x471bfd=$(_0x2ba303(0x5e7))[_0x2ba303(0x1b2)](),_0x5de750=phone_number_format(_0x471bfd),_0x2c7569=dialed_number,_0x36079f=phone_number_format(_0x2c7569),_0x320020='';status_display_NAME>0x0&&(_0x320020=_0x320020+_0x2ba303(0x3bb)+$('#first_name')['val']()+' '+$('#last_name')[_0x2ba303(0x1b2)]());status_display_CALLID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x35b)+CIDcheck);status_display_LEADID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x46c)+$(_0x2ba303(0x486))[_0x2ba303(0x1b2)]());status_display_LISTID>0x0&&(_0x320020=_0x320020+' List: '+$(_0x2ba303(0x416))[_0x2ba303(0x1b2)]());var _0x1c8491=_0x2ba303(0x808)+_0x303713[0x1];status_display_ingroup=='DISABLED'&&(_0x1c8491=''),$(_0x2ba303(0x170))['html']('Appel entrant :'+_0x36079f+' '+custom_call_id+' '+_0x1c8491+_0x2ba303(0x13f)+_0x33178b+' '+_0x320020);}$(_0x2ba303(0x714))[_0x2ba303(0x628)](_0x2ba303(0x291)),$(_0x2ba303(0x54d))[_0x2ba303(0x628)](_0x2ba303(0x7ff));var _0x8bbdda=0x0,_0x32f82d='',_0xe8220='';while(_0x8bbdda<XFgroupCOUNT){VARxfergroups[_0x8bbdda]==LIVE_default_xfer_group?_0xe8220='selected ':_0xe8220='',_0x32f82d=_0x32f82d+'<option '+_0xe8220+_0x2ba303(0x457)+VARxfergroups[_0x8bbdda]+'">'+VARxfergroupsnames[_0x8bbdda]+_0x2ba303(0x48e),_0x8bbdda++;}$(_0x2ba303(0x790))[_0x2ba303(0x628)](_0x2ba303(0x621)+_0x32f82d+'</select>');lastcustserverip==server_ip&&($(_0x2ba303(0x38f))[_0x2ba303(0x628)](_0x2ba303(0x341)+lastcustchannel+_0x2ba303(0x60d)),$('#VolumeDownSpan')[_0x2ba303(0x628)]('<a href="#" onclick="volume_control('DOWN',''+lastcustchannel+_0x2ba303(0x1cd)));dial_method==_0x2ba303(0x21c)?$(_0x2ba303(0x7d7))[_0x2ba303(0x628)](_0x2ba303(0x47b)):($(_0x2ba303(0x7d7))[_0x2ba303(0x628)](DiaLControl_auto_HTML_OFF),$(_0x2ba303(0x370))[_0x2ba303(0x628)](DiaLControl_auto_HTML_OFF2));VDCL_group_id['length']>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label=='NONE')&&(dialed_label=_0x2ba303(0x38c));if(hide_gender<0x1){var _0x566015=$(_0x2ba303(0x578))[_0x2ba303(0x1b2)]();$(_0x2ba303(0x1b7))[_0x2ba303(0x1b2)](_0x566015);}LeaDDispO='';var _0x366e20=new RegExp(_0x2ba303(0x6d5),'ig');VDIC_web_form_address[_0x2ba303(0x42d)](_0x366e20)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x2ba303(0x18f),_0x2ba303(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x2ba303(0x74b)](_0x366e20,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x2ba303(0x18f),_0x2ba303(0x402),'1');VDIC_web_form_address_two[_0x2ba303(0x42d)](_0x366e20)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x2ba303(0x18f),'CUSTOM','2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x2ba303(0x74b)](_0x366e20,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,'YES','DEFAULT','2');VDIC_web_form_address_three['match'](_0x366e20)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x2ba303(0x18f),'CUSTOM','3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0x366e20,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,'YES',_0x2ba303(0x402),'3');(LIVE_campaign_recording=='ALLCALLS'||LIVE_campaign_recording==_0x2ba303(0x41f))&&(all_record='YES');if(view_scripts==0x1){if(CalL_ScripT_id['length']>0x0){var _0x5c7072=_0x2ba303(0x5d4),_0x56dbba=URLDecode(_0x5c7072,_0x2ba303(0x18f),_0x2ba303(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x2ba303(0x5c2)||LIVE_campaign_recording=='ALLFORCE')?(delayed_script_load='YES',RefresHScript(_0x2ba303(0x666))):load_script_contents(_0x2ba303(0x376),'');}else RefresHScript('',_0x2ba303(0x18f));if(CalL_ScripT_id_two['length']>0x0&&SSenable_second_script>0x0){var _0x5c7072=_0x2ba303(0x5d4),_0x56dbba=URLDecode(_0x5c7072,_0x2ba303(0x18f),_0x2ba303(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x2ba303(0x5c2)||LIVE_campaign_recording==_0x2ba303(0x41f))?(delayed_script_load='YES',RefresHScript2(_0x2ba303(0x666))):load_script_contents(_0x2ba303(0x250),'');}else RefresHScript2('',_0x2ba303(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad();email_enabled>0x0&&EmailContentsLoad();chat_enabled>0x0&&CustomerChatContentsLoad('','',_0x239f74);CalL_AutO_LauncH=='SCRIPT'&&(delayed_script_load==_0x2ba303(0x18f)&&load_script_contents(_0x2ba303(0x376),''),ScriptPanelToFront());CalL_AutO_LauncH==_0x2ba303(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load=='YES'&&load_script_contents('Script2Contents',''),ScriptPanel2ToFront());CalL_AutO_LauncH==_0x2ba303(0x7eb)&&EmailPanelToFront();if(useIE>0x0){var _0x1c8c72=new RegExp(_0x2ba303(0x5a2),'ig');if(CopY_tO_ClipboarD[_0x2ba303(0x42d)](_0x1c8c72))var _0x46f2bc=0x1;else{var _0x3f132c=$('#'+CopY_tO_ClipboarD);window[_0x2ba303(0x405)][_0x2ba303(0x7cc)](_0x2ba303(0x222),_0x3f132c[_0x2ba303(0x1b2)]());}}if(alert_enabled=='ON'){var _0x2c7569=dialed_number,_0x36079f=phone_number_format(_0x2c7569);alert(_0x2ba303(0x13a)+_0x36079f+'
 Group- '+_0x303713[0x1]+_0x2ba303(0x227)+_0x33178b);}agent_events(_0x2ba303(0x642),CalL_AutO_LauncH,aec),aec++;}_0x2db714=undefined,delete _0x2db714;}};}}}function RefresHScript(_0x353b50,_0x550f43){var _0x8f5222=_0x1c96bb;_0x550f43==_0x8f5222(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----RefresHScript---'+_0x353b50+'|');if(_0x353b50==_0x8f5222(0x666))$(_0x8f5222(0x376))['html'](_0x8f5222(0x147));else{$(_0x8f5222(0x565))[_0x8f5222(0x628)](_0x8f5222(0x147)),WebFormRefresH('','','1'),WebFormTwoRefresH('','','1'),WebFormThreeRefresH('','','1');var _0xf93214=URLDecode('',_0x8f5222(0x18f),_0x8f5222(0x402),'0');load_script_contents(_0x8f5222(0x376),'');}}function RefresHScript2(_0x2bd000,_0x35622c){var _0x401d0f=_0x1c96bb;if(SSenable_second_script>0x0){_0x35622c=='YES'&&(button_click_log=button_click_log+''+SQLdate+'-----RefresHScript2---'+_0x2bd000+'|');if(_0x2bd000==_0x401d0f(0x666))$('#Script2Contents')['html']('');else{$(_0x401d0f(0x391))[_0x401d0f(0x628)](''),WebFormRefresH('','','1'),WebFormTwoRefresH('','','1'),WebFormThreeRefresH('','','1');var _0x467c41=URLDecode('',_0x401d0f(0x18f),_0x401d0f(0x402),'0');load_script_contents(_0x401d0f(0x250),'');}}}function WebFormRefresH(_0xda3189,_0x361d38,_0x3dc40f){var _0x194d27=_0x1c96bb,_0x36793c=0x0;VDCL_group_id['length']>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label=='NONE')&&(dialed_label='MAIN');if(_0x361d38!=_0x194d27(0x18f)){if(hide_gender<0x1){var _0x50cf13=$(_0x194d27(0x578))[_0x194d27(0x1b2)]();$('#gender')['val'](_0x50cf13);}}var _0xf57426=new RegExp(_0x194d27(0x6d5),'ig');VDIC_web_form_address['match'](_0xf57426)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x194d27(0x18f),_0x194d27(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x194d27(0x74b)](_0xf57426,'')):_0x36793c=0x1,(_0x36793c>0x0||_0x3dc40f>0x0)&&(VDIC_web_form_address[_0x194d27(0x42d)](_0xf57426)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,'YES',_0x194d27(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x194d27(0x74b)](_0xf57426,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x194d27(0x18f),_0x194d27(0x402),'1'));}function WebFormTwoRefresH(_0x24939b,_0x4410d5){var _0x452e14=_0x1c96bb;VDCL_group_id[_0x452e14(0x35c)]>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label==_0x452e14(0x502))&&(dialed_label=_0x452e14(0x38c));if(_0x4410d5!=_0x452e14(0x18f)){if(hide_gender<0x1){var _0x5cabda=$(_0x452e14(0x578))[_0x452e14(0x1b2)]();$('#gender')[_0x452e14(0x1b2)](_0x5cabda);}}var _0x312209=new RegExp(_0x452e14(0x6d5),'ig');VDIC_web_form_address_two[_0x452e14(0x42d)](_0x312209)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x452e14(0x18f),_0x452e14(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x452e14(0x74b)](_0x312209,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,'YES',_0x452e14(0x402),'2');}function WebFormThreeRefresH(_0x5110ee,_0x3ae772){var _0x18dedd=_0x1c96bb;VDCL_group_id[_0x18dedd(0x35c)]>0x1?group=VDCL_group_id:group=campaign;(dialed_label[_0x18dedd(0x35c)]<0x2||dialed_label==_0x18dedd(0x502))&&(dialed_label='MAIN');if(_0x3ae772!=_0x18dedd(0x18f)){if(hide_gender<0x1){var _0x21b7da=$(_0x18dedd(0x578))[_0x18dedd(0x1b2)]();$(_0x18dedd(0x1b7))[_0x18dedd(0x1b2)](_0x21b7da);}}var _0x3f2c80=new RegExp(_0x18dedd(0x6d5),'ig');VDIC_web_form_address_three['match'](_0x3f2c80)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x18dedd(0x18f),'CUSTOM','3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0x3f2c80,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x18dedd(0x18f),'DEFAULT','3');}function DispoHanguPAgaiN(){var _0x531046=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x531046(0x6ac),form_cust_channel=AgaiNHanguPChanneL,$('#callchannel')[_0x531046(0x628)](AgaiNHanguPChanneL),$(_0x531046(0x303))[_0x531046(0x1b2)](AgaiNHanguPServeR),lastcustchannel=AgaiNHanguPChanneL,lastcustserverip=AgaiNHanguPServeR,VD_live_call_secondS=AgainCalLSecondS,CalLCID=AgaiNCalLCID,$('#DispoSelectHAspan')['html'](''),dialedcall_send_hangup();}function DispoLeavE3wayAgaiN(){var _0x249529=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x249529(0x7c6),XDchannel=DispO3wayXtrAchannel,$('#xfernumber')[_0x249529(0x1b2)](DispO3wayCalLxfernumber),MDchannel=DispO3waychannel,lastcustserverip=DispO3wayCalLserverip,$('#DispoSelectHAspan')[_0x249529(0x628)](''),leave_3way_call(_0x249529(0x5b2)),DispO3waychannel='',DispO3wayXtrAchannel='',DispO3wayCalLserverip='',DispO3wayCalLxfernumber='',DispO3wayCalLcamptail='';}function bothcall_send_hangup(_0x5c1cb4){var _0x72ae4e=_0x1c96bb;_0x5c1cb4==_0x72ae4e(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x72ae4e(0x3e5)),xfer_agent_selected=0x0,hangup_both=0x1,lastcustchannel[_0x72ae4e(0x35c)]>0x3&&dialedcall_send_hangup(),lastxferchannel[_0x72ae4e(0x35c)]>0x3&&xfercall_send_hangup(),$('#TransferMain')[_0x72ae4e(0x7c3)](_0x72ae4e(0x345));}function dialedcall_send_hangup(_0x29a838,_0x4b5a32,_0x25c28a,_0x14bfb7,_0x4ca4ef){var _0x209134=_0x1c96bb,_0x5f14c8=0x0;if(allow_required_fields=='Y'){var _0x4cd3b9=$('#required_fields')['val'](),_0x178931='';if(_0x4cd3b9[_0x209134(0x35c)]>0x4){var _0x467ae1=new RegExp(_0x209134(0x1c5),'ig'),_0x4f92ed=new RegExp('first_name','ig'),_0x23a501=new RegExp('middle_initial','ig'),_0x252de5=new RegExp('last_name','ig'),_0x401c0f=new RegExp(_0x209134(0x580),'ig'),_0x5b40f2=new RegExp('address2','ig'),_0x26d7da=new RegExp(_0x209134(0x818),'ig'),_0x20ec8d=new RegExp('city','ig'),_0x552716=new RegExp('state','ig'),_0x41f1e4=new RegExp(_0x209134(0x4b3),'ig'),_0x9d60a0=new RegExp(_0x209134(0x1f0),'ig'),_0xb67547=new RegExp(_0x209134(0x697),'ig'),_0x58319f=new RegExp(_0x209134(0x554),'ig'),_0x314aad=new RegExp('vendor_lead_code','ig'),_0x13abd1=new RegExp(_0x209134(0x43e),'ig'),_0x3c1954=new RegExp(_0x209134(0x379),'ig');if(_0x4cd3b9['match'](_0x467ae1)){var _0x103240=$(_0x209134(0x79a))[_0x209134(0x1b2)]();_0x103240[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x78f));}if(_0x4cd3b9[_0x209134(0x42d)](_0x4f92ed)){var _0x4bee1e=$(_0x209134(0x485))[_0x209134(0x1b2)]();_0x4bee1e['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x690));}if(_0x4cd3b9[_0x209134(0x42d)](_0x23a501)){var _0x39c3eb=$(_0x209134(0x2ac))['val']();_0x39c3eb[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x4ef));}if(_0x4cd3b9[_0x209134(0x42d)](_0x252de5)){var _0x32c8e9=$(_0x209134(0x2e8))[_0x209134(0x1b2)]();_0x32c8e9['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x204));}if(_0x4cd3b9['match'](_0x401c0f)){var _0x1d741c=$(_0x209134(0x47d))[_0x209134(0x1b2)]();_0x1d741c[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x4d9));}if(_0x4cd3b9[_0x209134(0x42d)](_0x5b40f2)){var _0xfa4426=$(_0x209134(0x826))[_0x209134(0x1b2)]();_0xfa4426['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x71e));}if(_0x4cd3b9[_0x209134(0x42d)](_0x26d7da)){var _0x21d3a9=$(_0x209134(0x22b))[_0x209134(0x1b2)]();_0x21d3a9[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+' address3');}if(_0x4cd3b9[_0x209134(0x42d)](_0x20ec8d)){var _0x733646=$(_0x209134(0x323))[_0x209134(0x1b2)]();_0x733646[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x2c2));}if(_0x4cd3b9['match'](_0x552716)){var _0x49f7c3=$(_0x209134(0x1c0))[_0x209134(0x1b2)]();_0x49f7c3[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+' state');}if(_0x4cd3b9[_0x209134(0x42d)](_0x41f1e4)){var _0xa4eb71=$(_0x209134(0x67f))[_0x209134(0x1b2)]();_0xa4eb71[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x74d));}if(_0x4cd3b9['match'](_0x9d60a0)){var _0xad31e2=$(_0x209134(0x300))[_0x209134(0x1b2)]();_0xad31e2[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x52e));}if(_0x4cd3b9[_0x209134(0x42d)](_0x314aad)){var _0x56f8e1=$('#vendor_lead_code')[_0x209134(0x1b2)]();_0x56f8e1['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x2c4));}if(_0x4cd3b9[_0x209134(0x42d)](_0xb67547)){var _0x379b58=$(_0x209134(0x40c))[_0x209134(0x1b2)]();_0x379b58[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x68c));}if(_0x4cd3b9[_0x209134(0x42d)](_0x58319f)){var _0x17ae3b=$(_0x209134(0x59a))[_0x209134(0x1b2)]();_0x17ae3b[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x164));}if(_0x4cd3b9[_0x209134(0x42d)](_0x13abd1)){var _0x139c45=$(_0x209134(0x6bb))[_0x209134(0x1b2)]();_0x139c45[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+' security_phrase');}if(_0x4cd3b9['match'](_0x3c1954)){var _0x5964e0=$(_0x209134(0x1c3))[_0x209134(0x1b2)]();_0x5964e0['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+' email');}}if(custom_fields_enabled>0x0){var _0x1207e3=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x6f2)][_0x209134(0x295)][_0x209134(0x6e4)],_0x5c7e64=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x6f2)][_0x209134(0x207)]['value'],_0xce452e=vcFormIFrame[_0x209134(0x1e3)]['form_custom_fields'][_0x209134(0x516)][_0x209134(0x6e4)],_0x3f2cde=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x6f2)][_0x209134(0x61e)][_0x209134(0x6e4)],_0x5b17c7=vcFormIFrame[_0x209134(0x1e3)]['form_custom_fields'][_0x209134(0x29d)][_0x209134(0x6e4)];if(_0x1207e3[_0x209134(0x35c)]>0x2){var _0x1d8e2b=_0x1207e3['split']('|'),_0x4251e5=_0x1d8e2b[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x4251e5){var _0x36bcdb=_0x1d8e2b[_0x3a5213];if(_0x36bcdb[_0x209134(0x35c)]>0x0){var _0x306cbd=$('#'+_0x36bcdb)[_0x209134(0x1b2)]();_0x306cbd[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x76d)+_0x36bcdb);}_0x3a5213++;}}if(_0x5c7e64['length']>0x2){var _0x143d77=_0x5c7e64[_0x209134(0x65a)]('|'),_0x3676cb=_0x143d77[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x3676cb){var _0x36bcdb=_0x143d77[_0x3a5213]+'[]';if(_0x36bcdb[_0x209134(0x35c)]>0x2){var _0x1eb04a=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x66d)](_0x36bcdb);if(_0x1eb04a[_0x209134(0x35c)]>0x0){var _0x788e53=_0x1eb04a[_0x209134(0x35c)],_0x37208a=0x0;for(var _0x354a74=0x0;_0x354a74<_0x788e53;_0x354a74++){_0x1eb04a[_0x354a74][_0x209134(0x677)]&&_0x37208a++;;}_0x37208a<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x3ae)+_0x143d77[_0x3a5213]);}}_0x3a5213++;}}if(_0xce452e[_0x209134(0x35c)]>0x2){var _0x1706e8=_0xce452e[_0x209134(0x65a)]('|'),_0x2121b=_0x1706e8[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x2121b){var _0x36bcdb=_0x1706e8[_0x3a5213]+'[]';if(_0x36bcdb[_0x209134(0x35c)]>0x2){var _0x1eb04a=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x66d)](_0x36bcdb);if(_0x1eb04a[_0x209134(0x35c)]>0x0){var _0x788e53=_0x1eb04a[_0x209134(0x35c)],_0x37208a=0x0;for(var _0x354a74=0x0;_0x354a74<_0x788e53;_0x354a74++){_0x1eb04a[_0x354a74][_0x209134(0x677)]&&_0x37208a++;;}_0x37208a<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x6d8)+_0x1706e8[_0x3a5213]);}}_0x3a5213++;}}if(_0x3f2cde[_0x209134(0x35c)]>0x2){var _0x6e9670=_0x3f2cde[_0x209134(0x65a)]('|'),_0x12c733=_0x6e9670[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x12c733){var _0x36bcdb=_0x6e9670[_0x3a5213];if(_0x36bcdb['length']>0x0){var _0x495ac8=$('#'+_0x36bcdb)['val']();_0x495ac8[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x184)+_0x36bcdb);}_0x3a5213++;}}if(_0x5b17c7[_0x209134(0x35c)]>0x2){var _0x7f10df=_0x5b17c7['split']('|'),_0x7e79b9=_0x7f10df[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x7e79b9){var _0x36bcdb=_0x7f10df[_0x3a5213]+'[]';if(_0x36bcdb[_0x209134(0x35c)]>0x2){var _0x1de50e=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x387)](_0x36bcdb),_0x788e53=_0x1de50e[_0x209134(0x3f0)][_0x209134(0x35c)],_0xd6ccd6=0x0;for(var _0x354a74=0x0;_0x354a74<_0x788e53;_0x354a74++){_0x1de50e['options'][_0x354a74][_0x209134(0x6a0)]==!![]&&_0xd6ccd6++;;}_0xd6ccd6<0x1&&(_0x5f14c8++,_0x178931=_0x178931+' MULTI: '+_0x7f10df[_0x3a5213]);}_0x3a5213++;}}}}if(_0x5f14c8>0x0)alert_box('VOUS DEVEZ REMPLIR TOUS LES CHAMPS OBLIGATOIRES AVANT DE POUVOIR RACCROCHER CET APPEL: '+_0x178931),button_click_log=button_click_log+''+SQLdate+_0x209134(0x445)+_0x178931+'|';else{VDCL_group_id[_0x209134(0x35c)]>0x1?group=VDCL_group_id:group=campaign;var _0x3798fb=$(_0x209134(0x68e))[_0x209134(0x628)](),_0x261871=$(_0x209134(0x303))[_0x209134(0x1b2)](),_0x27d350=lastcustchannel,_0x55b682=lastcustserverip;AgaiNHanguPChanneL=lastcustchannel,AgaiNHanguPServeR=lastcustserverip,AgainCalLSecondS=VD_live_call_secondS,AgaiNCalLCID=CalLCID,dial_next_failed=0x0;customer_sec<0x1&&(customer_sec=VD_live_call_secondS);var _0x2ffb12=0x0;_0x4ca4ef==_0x209134(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----dialedcall_send_hangup---'+group+'|'+_0x3798fb+'|'+CalLCID+'|'+VD_live_call_secondS+'|');document[_0x209134(0x387)](_0x209134(0x6fb))&&typeof document[_0x209134(0x387)](_0x209134(0x6fb))[_0x209134(0x43a)][_0x209134(0x4ae)]==_0x209134(0x555)&&document[_0x209134(0x387)](_0x209134(0x6fb))[_0x209134(0x43a)][_0x209134(0x4ae)](_0x209134(0x201));RedirecTxFEr<0x1&&(MD_channel_look==0x1||auto_dial_level==0x0)&&(MD_channel_look=0x0,DialTimeHangup(_0x209134(0x38c)));if(_0x3798fb[_0x209134(0x35c)]>0x3){var _0x49b32b=![];!_0x49b32b&&typeof XMLHttpRequest!=_0x209134(0x34f)&&(_0x49b32b=new XMLHttpRequest());if(_0x49b32b){var _0x18cb96=_0x209134(0x6cb)+epoch_sec+user_abb,_0x5e7cf6=_0x27d350;custhangup_query='server_ip='+server_ip+_0x209134(0x7b6)+session_name+_0x209134(0x6c1)+user+_0x209134(0x397)+pass+_0x209134(0x6be)+_0x5e7cf6+_0x209134(0x145)+_0x55b682+_0x209134(0x793)+_0x18cb96+_0x209134(0x52d)+auto_dial_level+_0x209134(0x614)+CalLCID+_0x209134(0x632)+VD_live_call_secondS+_0x209134(0x2bd)+session_id+_0x209134(0x6b5)+group+_0x209134(0x27a)+_0x14bfb7+_0x209134(0x78e)+campaign+_0x209134(0x5fb)+qm_extension,_0x49b32b[_0x209134(0x63c)](_0x209134(0x584),_0x209134(0x58c)),_0x49b32b[_0x209134(0x636)](_0x209134(0x638),_0x209134(0x404)),_0x49b32b[_0x209134(0x2fd)](custhangup_query),_0x49b32b[_0x209134(0x18a)]=function(){var _0x477012=_0x209134;_0x49b32b[_0x477012(0x30f)]==0x4&&_0x49b32b['status']==0xc8&&(Nactiveext=null,Nactiveext=_0x49b32b['responseText'],VD_live_customer_call=0x0,agent_events(_0x477012(0x65d),'',aec),aec++);},delete _0x49b32b;}_0x2ffb12=0x1;}else _0x2ffb12=0x1;_0x2ffb12==0x1&&(VD_live_customer_call=0x0,VD_live_call_secondS=0x0,MD_ring_secondS=0x0,CalLCID='',MDnextCID='',cid_lock=0x0,MD_dial_timed_out=0x0,MDcheck_for_answer=0x0,DialLog(_0x209134(0x1ab),_0x14bfb7),conf_dialed=0x0,_0x29a838=='NO'?open_dispo_screen=0x0:auto_dial_level==0x0?$(_0x209134(0x69b))[_0x209134(0x789)](_0x209134(0x677))==!![]?(reselect_alt_dial=0x1,open_dispo_screen=0x0):(reselect_alt_dial=0x0,open_dispo_screen=0x1):$('#DiaLAltPhonE')[_0x209134(0x789)]('checked')==!![]?(reselect_alt_dial=0x1,open_dispo_screen=0x0,auto_dial_level=0x0,manual_dial_in_progress=0x1,auto_dial_alt_dial=0x1):(reselect_alt_dial=0x0,open_dispo_screen=0x1),$(_0x209134(0x68e))[_0x209134(0x628)](''),$(_0x209134(0x303))[_0x209134(0x1b2)](''),lastcustchannel='',lastcustserverip='',MDchannel='',manual_call_live=0x0,post_phone_time_diff_alert_message[_0x209134(0x35c)]>0xa&&($(_0x209134(0x599))[_0x209134(0x628)](''),hideDiv(_0x209134(0x38a)),post_phone_time_diff_alert_message=''),$(_0x209134(0x643))[_0x209134(0x7b8)](_0x209134(0x585),image_livecall_OFF['src']),$(_0x209134(0x4e0))[_0x209134(0x6c6)]('border-bottom',_0x209134(0x34e)),$('#type_appel')[_0x209134(0x628)](''),$(_0x209134(0x7bf))[_0x209134(0x628)](''),enable_first_webform>0x0&&$(_0x209134(0x4d2))['html']('<img src="./images/vdc_LB_webform_OFF.gif" border="0" alt="Web Form" />'),enable_second_webform>0x0&&$('#WebFormSpanTwo')['html']('<img src="./images/vdc_LB_webform_two_OFF.gif" border="0" alt="Web Form 2" />'),enable_third_webform>0x0&&$(_0x209134(0x3fc))[_0x209134(0x628)](_0x209134(0x34c)),$(_0x209134(0x1a4))[_0x209134(0x628)](_0x209134(0x600)),$(_0x209134(0x19e))[_0x209134(0x628)]('<button id="tbParkControl" type="button" class="btn btn-warning btn-lg" disabled=""><i class="fa fa-music"></i> Mise en attente</button>'),(ivr_park_call==_0x209134(0x20d)||ivr_park_call==_0x209134(0x73a))&&$('#ivrParkControl')[_0x209134(0x628)](_0x209134(0x566)),$(_0x209134(0x714))['html'](_0x209134(0x7f4)),$(_0x209134(0x54d))['html'](_0x209134(0x2cc)),$('#XferControl')[_0x209134(0x628)](_0x209134(0x160)),$(_0x209134(0x3c6))['html']('<button id="tbferControl" type="button" class="btn btn-info btn-lg" disabled=""><i class="fa fa-exchange"></i> Transfert</button>'),$(_0x209134(0x154))[_0x209134(0x628)](_0x209134(0x162)),$(_0x209134(0x194))['html'](_0x209134(0x6a9)),$('#DialBlindVMail')[_0x209134(0x628)](_0x209134(0x58f)),$(_0x209134(0x38f))[_0x209134(0x628)](_0x209134(0x586)),$(_0x209134(0x6ba))[_0x209134(0x628)](_0x209134(0x53d)),quick_transfer_button_enabled>0x0&&$(_0x209134(0x7e6))[_0x209134(0x628)](_0x209134(0x1a3)),custom_3way_button_transfer_enabled>0x0&&$(_0x209134(0x6ea))[_0x209134(0x628)](_0x209134(0x237)),call_requeue_button>0x0&&$(_0x209134(0x7d6))[_0x209134(0x628)](_0x209134(0x631)),$(_0x209134(0x4c9))[_0x209134(0x628)](' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '),auto_dial_level==0x0&&dial_method!=_0x209134(0x21c)?$('#DiaLAltPhonE')[_0x209134(0x789)]('checked')==!![]?(reselect_alt_dial=0x1,_0x25c28a==_0x209134(0x7ba)?ManualDialOnly(_0x209134(0x1d9),'NO','0'):_0x25c28a==_0x209134(0x6db)?ManualDialOnly(_0x209134(0x683),'NO','0'):_0x4b5a32=='YES'&&(alt_dial_active=0x0,alt_dial_status_display=0x0,reselect_alt_dial=0x0,manual_auto_hotkey=0x1)):(_0x4b5a32==_0x209134(0x18f)?(alt_dial_active=0x0,alt_dial_status_display=0x0,manual_auto_hotkey=0x1):$(_0x209134(0x7d7))['html']('<a href="#" onclick="ManualDialNext('','','','','','0','','','YES');"><img src="./images/vdc_LB_dialnextnumber.gif" border="0" alt="Dial Next Number" /></a>'),reselect_alt_dial=0x0):$(_0x209134(0x69b))[_0x209134(0x789)](_0x209134(0x677))==!![]?(reselect_alt_dial=0x1,_0x25c28a=='ALTPH2'?ManualDialOnly('ALTPhonE','NO','0'):_0x25c28a==_0x209134(0x6db)?ManualDialOnly(_0x209134(0x683),'NO','0'):_0x4b5a32==_0x209134(0x18f)&&(manual_auto_hotkey=0x1,alt_dial_active=0x0,alt_dial_status_display=0x0,$(_0x209134(0x170))[_0x209134(0x628)](''),dial_method==_0x209134(0x21c)?$(_0x209134(0x7d7))['html']('<img src="./images/vdc_LB_blank_OFF.gif" border="0" alt="pause button disabled" /><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />'):($('#DiaLControl')[_0x209134(0x628)](DiaLControl_auto_HTML_OFF),$(_0x209134(0x370))[_0x209134(0x628)](DiaLControl_auto_HTML_OFF2)),reselect_alt_dial=0x0)):(dial_method=='INBOUND_MAN'?$(_0x209134(0x7d7))[_0x209134(0x628)](_0x209134(0x47b)):($(_0x209134(0x7d7))[_0x209134(0x628)](DiaLControl_auto_HTML_OFF),$(_0x209134(0x370))[_0x209134(0x628)](DiaLControl_auto_HTML_OFF2)),reselect_alt_dial=0x0),ShoWTransferMain(_0x209134(0x658)));}manual_entry_dial=0x0;}function xfercall_send_hangup(_0x4e1cb8){var _0x599051=_0x1c96bb,_0x1ba9a2=$(_0x599051(0x63f))[_0x599051(0x1b2)](),_0x4b7fed=lastxferchannel,_0xf0c5b5=0x0;xfer_in_call=0x0;_0x4e1cb8==_0x599051(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----xfercall_send_hangup---'+_0x1ba9a2+'|');hangup_xfer_record_start=='Y'&&hangup_both<0x1&&leaving_threeway<0x1&&recording_active<0x1&&conf_send_recording(_0x599051(0x270),session_id,'','','','');hangup_both=0x0;MD_channel_look==0x1&&leaving_threeway<0x1&&(MD_channel_look=0x0,DialTimeHangup(_0x599051(0x6e8)));if(_0x1ba9a2['length']>0x3){var _0x2d7d2c=![];!_0x2d7d2c&&typeof XMLHttpRequest!=_0x599051(0x34f)&&(_0x2d7d2c=new XMLHttpRequest());if(_0x2d7d2c){var _0x4b6186=_0x599051(0x3f1)+epoch_sec+user_abb,_0x2d1eea=_0x4b7fed;custhangup_query=_0x599051(0x4c6)+server_ip+_0x599051(0x7b6)+session_name+_0x599051(0x6c1)+user+_0x599051(0x397)+pass+_0x599051(0x6be)+_0x2d1eea+_0x599051(0x793)+_0x4b6186+_0x599051(0x78e)+campaign+_0x599051(0x5fb)+qm_extension,_0x2d7d2c[_0x599051(0x63c)]('POST',_0x599051(0x58c)),_0x2d7d2c[_0x599051(0x636)](_0x599051(0x638),_0x599051(0x404)),_0x2d7d2c[_0x599051(0x2fd)](custhangup_query),_0x2d7d2c[_0x599051(0x18a)]=function(){var _0xe43600=_0x599051;_0x2d7d2c[_0xe43600(0x30f)]==0x4&&_0x2d7d2c[_0xe43600(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x2d7d2c[_0xe43600(0x137)],agent_events(_0xe43600(0x6ef),'',aec),aec++);},_0xf0c5b5=0x1,delete _0x2d7d2c;}}else _0xf0c5b5=0x1;_0xf0c5b5==0x1&&(XD_live_customer_call=0x0,XD_live_call_secondS=0x0,MD_ring_secondS=0x0,MD_channel_look=0x0,XDnextCID='',XDcheck='',xferchannellive=0x0,active_threeway=0x0,consult_custom_wait=0x0,consult_custom_go=0x0,consult_custom_sent=0x0,xfer_agent_selected=0x0,MD_dial_timed_out=0x0,transfer_no_dispoTEMP=0x0,manual_dial_preview<0x1&&($(_0x599051(0x4d5))['prop']('checked',![]),hideDiv(_0x599051(0x30b))),$(_0x599051(0x63f))[_0x599051(0x1b2)](''),lastxferchannel='',$(_0x599051(0x498))['html'](''),$(_0x599051(0x2d4))['show'](),$('#Leave3WayCall')['html'](_0x599051(0x6c8)),$('#DialWithCustomer')['html'](_0x599051(0x51e)),$(_0x599051(0x545))['html'](_0x599051(0x825)),$('#HangupXferLine')[_0x599051(0x628)](_0x599051(0x48a)),$(_0x599051(0x249))['html']('<img src="./images/vdc_XB_parkxferline_OFF.gif" border="0" alt="Park Xfer Line" style="vertical-align:middle" />'),$(_0x599051(0x5c7))[_0x599051(0x628)](_0x599051(0x273)));}function DialTimeHangup(_0x50f801){var _0x34187b=_0x1c96bb;if(RedirecTxFEr<0x1&&leaving_threeway<0x1){MD_channel_look=0x0;var _0x3a0068=![];!_0x3a0068&&typeof XMLHttpRequest!=_0x34187b(0x34f)&&(_0x3a0068=new XMLHttpRequest());if(_0x3a0068){var _0x3eef42=_0x34187b(0x407)+epoch_sec+user_abb;custhangup_query=_0x34187b(0x4c6)+server_ip+'&session_name='+session_name+_0x34187b(0x242)+user+_0x34187b(0x397)+pass+_0x34187b(0x2bd)+session_id+'&ext_context='+ext_context+_0x34187b(0x793)+_0x3eef42+_0x34187b(0x78e)+campaign+_0x34187b(0x5fb)+qm_extension,_0x3a0068[_0x34187b(0x63c)](_0x34187b(0x584),_0x34187b(0x58c)),_0x3a0068[_0x34187b(0x636)](_0x34187b(0x638),_0x34187b(0x404)),_0x3a0068[_0x34187b(0x2fd)](custhangup_query),_0x3a0068['onreadystatechange']=function(){var _0x71f924=_0x34187b;_0x3a0068['readyState']==0x4&&_0x3a0068[_0x71f924(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x3a0068['responseText']);},delete _0x3a0068;}}}function CustomerData_update(_0x2d7dfc){var _0x220995=_0x1c96bb;_0x2d7dfc==_0x220995(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x220995(0x727)+_0x2d7dfc+'|');updatelead_complete=0x0;if(OtherTab=='1'&&comments_all_tabs==_0x220995(0x20d)){var _0x5cb01e=$(_0x220995(0x317))[_0x220995(0x1b2)]();_0x5cb01e[_0x220995(0x35c)]>0x0&&$(_0x220995(0x1af))[_0x220995(0x1b2)]($(_0x220995(0x317))[_0x220995(0x1b2)]());}var _0x10d440=new RegExp('&','g'),_0x291140=new RegExp('\?','g'),_0x141a20=new RegExp('\#','g'),_0x10c181=$(_0x220995(0x1af))['val']()[_0x220995(0x74b)](_0x10d440,'--AMP--');_0x10c181=_0x10c181[_0x220995(0x74b)](_0x291140,_0x220995(0x7b2)),_0x10c181=_0x10c181[_0x220995(0x74b)](_0x141a20,_0x220995(0x1c8));var _0x415b64=![];!_0x415b64&&typeof XMLHttpRequest!='undefined'&&(_0x415b64=new XMLHttpRequest());if(_0x415b64){if(hide_gender<0x1){var _0x35ca86=$(_0x220995(0x578))[_0x220995(0x1b2)]();$('#gender')[_0x220995(0x1b2)](_0x35ca86);}VLupdate_query=_0x220995(0x4c6)+server_ip+'&session_name='+session_name+'&campaign='+campaign+_0x220995(0x6a1)+user+_0x220995(0x397)+pass+_0x220995(0x650)+encodeURIComponent($(_0x220995(0x486))['val']())+_0x220995(0x3b5)+encodeURIComponent($(_0x220995(0x48f))[_0x220995(0x1b2)]())+_0x220995(0x466)+encodeURIComponent($(_0x220995(0x5e7))['val']())+_0x220995(0x451)+encodeURIComponent($('#title')[_0x220995(0x1b2)]())+'&first_name='+encodeURIComponent($('#first_name')['val']())+_0x220995(0x6b8)+encodeURIComponent($(_0x220995(0x2ac))[_0x220995(0x1b2)]())+_0x220995(0x7a0)+encodeURIComponent($(_0x220995(0x2e8))[_0x220995(0x1b2)]())+_0x220995(0x333)+encodeURIComponent($('#address1')[_0x220995(0x1b2)]())+_0x220995(0x203)+encodeURIComponent($(_0x220995(0x826))['val']())+_0x220995(0x1ac)+encodeURIComponent($('#address3')[_0x220995(0x1b2)]())+_0x220995(0x602)+encodeURIComponent($(_0x220995(0x323))[_0x220995(0x1b2)]())+_0x220995(0x35a)+encodeURIComponent($(_0x220995(0x1c0))[_0x220995(0x1b2)]())+_0x220995(0x33b)+encodeURIComponent($('#province')[_0x220995(0x1b2)]())+'&postal_code='+encodeURIComponent($('#postal_code')['val']())+_0x220995(0x78d)+encodeURIComponent($(_0x220995(0x816))[_0x220995(0x1b2)]())+_0x220995(0x5d6)+encodeURIComponent($(_0x220995(0x1b7))[_0x220995(0x1b2)]())+'&date_of_birth='+encodeURIComponent($('#date_of_birth')[_0x220995(0x1b2)]())+_0x220995(0x3f6)+encodeURIComponent($(_0x220995(0x59a))['val']())+_0x220995(0x42b)+encodeURIComponent($(_0x220995(0x1c3))[_0x220995(0x1b2)]())+_0x220995(0x75f)+encodeURIComponent($('#security_phrase')[_0x220995(0x1b2)]())+_0x220995(0x3bc)+_0x10c181,_0x415b64[_0x220995(0x63c)](_0x220995(0x584),'crm_query.php'),_0x415b64[_0x220995(0x636)](_0x220995(0x638),_0x220995(0x404)),_0x415b64[_0x220995(0x2fd)](VLupdate_query),_0x415b64[_0x220995(0x18a)]=function(){var _0x1eb044=_0x220995;_0x415b64[_0x1eb044(0x30f)]==0x4&&_0x415b64[_0x1eb044(0x6aa)]==0xc8&&(updatelead_complete=0x1);},delete _0x415b64;}}function DispoSelectContent_create(_0x3dab3d,_0x2f9ef0,_0x45df77){var _0x9ea94f=_0x1c96bb;_0x45df77==_0x9ea94f(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----DispoSelectContent_create---'+_0x3dab3d+' '+_0x2f9ef0+'|');if(disable_dispo_screen>0x0)$(_0x9ea94f(0x5c9))[_0x9ea94f(0x1b2)](disable_dispo_status),DispoSelect_submit();else{customer_3way_hangup_dispo_message[_0x9ea94f(0x35c)]>0x1&&$('#Dispo3wayMessage')[_0x9ea94f(0x628)]('<br /><b>'+customer_3way_hangup_dispo_message+_0x9ea94f(0x5b4));APIManualDialQueue>0x0&&$(_0x9ea94f(0x1e0))[_0x9ea94f(0x628)](_0x9ea94f(0x810)+APIManualDialQueue+_0x9ea94f(0x5b4));if(per_call_notes==_0x9ea94f(0x20d)&&comments_dispo_screen!='REPLACE_CALL_NOTES'){var _0x29be0f=$(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]();_0x29be0f[_0x9ea94f(0x35c)]>0x0&&$(_0x9ea94f(0x41e))[_0x9ea94f(0x1b2)]($(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]()),$(_0x9ea94f(0x3f9))[_0x9ea94f(0x628)](_0x9ea94f(0x72c)+$(_0x9ea94f(0x41e))[_0x9ea94f(0x1b2)]()+_0x9ea94f(0x57a));}else{var _0x29be0f=$(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]();_0x29be0f[_0x9ea94f(0x35c)]>0x0&&$('#call_notes')[_0x9ea94f(0x1b2)]($(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]()),$(_0x9ea94f(0x3f9))['html'](_0x9ea94f(0x667)+$(_0x9ea94f(0x41e))[_0x9ea94f(0x1b2)]()+_0x9ea94f(0x5ea));}if(comments_dispo_screen=='ENABLED'||comments_dispo_screen=='REPLACE_CALL_NOTES'){var _0x452eea=$('#dispo_comments')['val']();_0x452eea[_0x9ea94f(0x35c)]>0x0&&$('#comments')[_0x9ea94f(0x1b2)]($('#dispo_comments')[_0x9ea94f(0x1b2)]());var _0x310cf5=_0x9ea94f(0x66f);_0x310cf5=_0x310cf5+'<textarea name="dispo_comments" id="dispo_comments" rows="2" cols="100" class="form-control cust_form_text" value="">'+$('#comments')[_0x9ea94f(0x1b2)]()+'</textarea>
',_0x310cf5=_0x310cf5+_0x9ea94f(0x1c7),$('#DispoCommentsContent')['html'](_0x310cf5);}else $(_0x9ea94f(0x348))[_0x9ea94f(0x628)]('<input type="hidden" name="dispo_comments" id="dispo_comments" value="" />');HidEGenDerPulldown(),AgentDispoing=0x1;var _0xa1386b='',_0x2831a='',_0x42d8e0='',_0x3acae2=parseInt(VARSELstatuses_ct/0x3),_0x513c5b=_0x3acae2*0x2,_0x3e4eed='',_0x59d877=0x0,_0xfbd509=0x0;if(hide_dispo_list<0x1)while(_0x59d877<VD_statuses_ct){if(VARSELstatuses[_0x59d877]=='Y'){_0xa1386b='';VARCBstatuses[_0x59d877]=='Y'&&(_0xa1386b='*');VARMINstatuses[_0x59d877]>0x0&&customer_sec<VARMINstatuses[_0x59d877]||VARMAXstatuses[_0x59d877]>0x0&&customer_sec>VARMAXstatuses[_0x59d877]?_0x3e4eed=_0x3e4eed+'<DEL>'+VARstatuses[_0x59d877]+_0x9ea94f(0x4ec)+VARstatusnames[_0x59d877]+_0x9ea94f(0x23e)+_0xa1386b+_0x9ea94f(0x611):_0x3dab3d==VARstatuses[_0x59d877]?_0x3e4eed=_0x3e4eed+'<a href="#" class="disposition-btn btn btn-outline btn-primary btnClicked" onclick="DispoSelect_submit('','','YES');return false;"><i class="fa fa-check"></i> '+VARstatusnames[_0x59d877]+' '+_0xa1386b+_0x9ea94f(0x66c):_0x3e4eed=_0x3e4eed+_0x9ea94f(0x205)+VARstatuses[_0x59d877]+_0x9ea94f(0x78c)+VARstatusnames[_0x59d877]+' '+_0xa1386b+_0x9ea94f(0x66c);if(_0xfbd509==_0x3acae2){}if(_0xfbd509==_0x513c5b){}_0xfbd509++;}_0x59d877++;}else _0x3e4eed=_0x3e4eed+_0x9ea94f(0x4ab);_0x2f9ef0==_0x9ea94f(0x440)?$(_0x9ea94f(0x5c9))[_0x9ea94f(0x1b2)](''):$('#DispoSelection')['val'](_0x3dab3d),$(_0x9ea94f(0x800))[_0x9ea94f(0x628)](_0x3e4eed),focus_blur_enabled==0x1&&(document[_0x9ea94f(0x3bd)]['inert_button']['focus'](),document[_0x9ea94f(0x3bd)]['inert_button'][_0x9ea94f(0x656)]()),my_callback_option==_0x9ea94f(0x6c3)&&$(_0x9ea94f(0x7b7))[_0x9ea94f(0x789)](_0x9ea94f(0x677),!![]);}}function PauseCodeSelectContent_create(_0x426ccd){var _0x4c28c1=_0x1c96bb;_0x426ccd==_0x4c28c1(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x4c28c1(0x514));var _0x20b0f2=0x1;(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active=='FORCE')&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe(_0x4c28c1(0x2ce),'','','','','1',''):(_0x20b0f2=0x0,alert_box(_0x4c28c1(0x39b)),button_click_log=button_click_log+''+SQLdate+_0x4c28c1(0x678)+VDRP_stage+' '+'|'));if(_0x20b0f2==0x1){if(APIManualDialQueue>0x0)PauseCodeSelect_submit('NXDIAL');else{HidEGenDerPulldown(),$('#PauseCodeSelectBox')[_0x4c28c1(0x7c3)]({'backdrop':_0x4c28c1(0x69a),'fadeDuration':0xfa,'fadeDelay':1.5,'keyboard':![]}),WaitingForNextStep=0x1,PauseCode_HTML='';var _0x856263=0x0;$(_0x4c28c1(0x7ef))[_0x4c28c1(0x1b2)]('');var _0x28b87e=parseInt(VD_pause_codes_ct/0x2);PauseCode_HTML='';var _0x278e3=0x0;while(_0x278e3<VD_pause_codes_ct){var _0x48e694='';VARpause_code_mgrapr[_0x278e3]=='YES'?(_0x856263++,_0x48e694=' *',PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x583)+VARpause_codes[_0x278e3]+_0x4c28c1(0x6e6)+VARpause_code_names[_0x278e3]+_0x4c28c1(0x501)+VARpause_code_names[_0x278e3]+''+_0x48e694+_0x4c28c1(0x3d9)):PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x17f)+VARpause_codes[_0x278e3]+_0x4c28c1(0x501)+VARpause_code_names[_0x278e3]+'</a> ',_0x278e3++,_0x278e3==_0x28b87e&&(PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x5f4));}if(agent_pause_codes_active==_0x4c28c1(0x464))var _0x357868='';else var _0x357868=_0x4c28c1(0x5c0);PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x611)+_0x357868,$(_0x4c28c1(0x3a2))['html'](PauseCode_HTML),agent_events('pause_code_open','',aec),aec++;}}focus_blur_enabled==0x1&&(document[_0x4c28c1(0x3bd)][_0x4c28c1(0x28d)]['focus'](),document[_0x4c28c1(0x3bd)][_0x4c28c1(0x28d)]['blur']());}function OpeNSearcHForMDisplaYBox(){var _0x15cded=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----OpeNSearcHForMDisplaYBox---|';var _0x2a4f6f=0x1;AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1?auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active==_0x15cded(0x464))&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe(_0x15cded(0x2ce),'','','','','1',auto_pause_precall_code):inOUT=='IN'&&(agent_lead_search==_0x15cded(0x562)||agent_lead_search==_0x15cded(0x325))?($(_0x15cded(0x1d4))[_0x15cded(0x1b2)]($('#phone_number')[_0x15cded(0x1b2)]()),inbound_lead_search=0x1):(_0x2a4f6f=0x0,alert_box(_0x15cded(0x4f7)+inOUT+'|'+agent_lead_search),button_click_log=button_click_log+''+SQLdate+'-----LeadSearchOpenPauseFailed---'+VDRP_stage+' '+'|'):agent_lead_search==_0x15cded(0x562)&&(_0x2a4f6f=0x0,alert_box(_0x15cded(0x1eb)),button_click_log=button_click_log+''+SQLdate+_0x15cded(0x732)+VDRP_stage+' '+'|'),_0x2a4f6f==0x1&&(HidEGenDerPulldown(),(VD_live_customer_call!=0x1||inOUT==_0x15cded(0x3a9))&&(WaitingForNextStep=0x1),agent_events(_0x15cded(0x3dd),'',aec),aec++);}function generate_contacts_search(_0x28eeab){var _0x1c9d56=_0x1c96bb;_0x28eeab==_0x1c9d56(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x1c9d56(0x45d)),HidEGenDerPulldown(),agent_events(_0x1c9d56(0x771),'',aec),aec++;}function generate_presets_pulldown(_0xee1fbe){var _0x3bf5c5=_0x1c96bb;_0xee1fbe==_0x3bf5c5(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x3bf5c5(0x3c5));Presets_HTML='',$('#PresetSelection')['val'](''),Presets_HTML='<table cellpadding="5" cellspacing="5" width="400px"><tr><td bgcolor="#CCCCFF" width="400px" valign="bottom">';var _0x4d16df=0x0;while(_0x4d16df<VD_preset_names_ct){Presets_HTML=Presets_HTML+'<b><a href="#" onclick="PresetSelect_submit(''+VARpreset_names[_0x4d16df]+_0x3bf5c5(0x6e6)+VARpreset_numbers[_0x4d16df]+_0x3bf5c5(0x6e6)+VARpreset_dtmfs[_0x4d16df]+_0x3bf5c5(0x6e6)+VARpreset_hide_numbers[_0x4d16df]+_0x3bf5c5(0x238)+VARpreset_names[_0x4d16df],VARpreset_hide_numbers[_0x4d16df]=='N'&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+VARpreset_numbers[_0x4d16df]),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703),_0x4d16df++;}(CalL_XC_a_NuMber[_0x3bf5c5(0x35c)]>0x0||CalL_XC_a_Dtmf[_0x3bf5c5(0x35c)]>0x0)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ed)+CalL_XC_a_NuMber+_0x3bf5c5(0x6e6)+CalL_XC_a_Dtmf+_0x3bf5c5(0x50c),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_a_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),(CalL_XC_b_NuMber[_0x3bf5c5(0x35c)]>0x0||CalL_XC_b_Dtmf[_0x3bf5c5(0x35c)]>0x0)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x2a5)+CalL_XC_b_NuMber+_0x3bf5c5(0x6e6)+CalL_XC_b_Dtmf+_0x3bf5c5(0x778),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_b_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),CalL_XC_c_NuMber['length']>0x0&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x470)+CalL_XC_c_NuMber+_0x3bf5c5(0x2cf),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_c_NuMber),Presets_HTML=Presets_HTML+'</a></b><br />'),CalL_XC_d_NuMber[_0x3bf5c5(0x35c)]>0x0&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x54b)+CalL_XC_d_NuMber+_0x3bf5c5(0x18c),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_d_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),CalL_XC_e_NuMber[_0x3bf5c5(0x35c)]>0x0&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x1d2)+CalL_XC_e_NuMber+_0x3bf5c5(0x62a),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_e_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),Presets_HTML=Presets_HTML+_0x3bf5c5(0x665),$('#PresetsSelectBoxContent')[_0x3bf5c5(0x628)](Presets_HTML);}function PresetSelect_submit(_0x5e0a19,_0x3e9ec6,_0x177a98,_0x82575c,_0x2b9198){var _0x1212f4=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x1212f4(0x5a1)+_0x5e0a19+' '+_0x3e9ec6+' '+_0x177a98+' '+_0x82575c+' '+_0x2b9198+'|',_0x2b9198=='Y'&&(hideDiv(_0x1212f4(0x414)),hideDiv(_0x1212f4(0x7d9))),hideDiv(_0x1212f4(0x65e)),$(_0x1212f4(0x2a2))[_0x1212f4(0x1b2)](_0x177a98),$('#xfername')['val'](_0x5e0a19),_0x82575c=='Y'&&hide_xfer_number_to_dial==_0x1212f4(0x2e7)?($(_0x1212f4(0x5b7))[_0x1212f4(0x1b2)](_0x3e9ec6),$('#xfernumber')[_0x1212f4(0x1b2)]('')):($(_0x1212f4(0x5b7))[_0x1212f4(0x1b2)](''),$('#xfernumber')[_0x1212f4(0x1b2)](_0x3e9ec6)),scroll(0x0,0x0);}function vmmessages_button(_0x3b609e){var _0x3090fa=_0x1c96bb;leave_vm_message_group_exists>0x0?generate_vmmessages_pulldown(_0x3b609e):mainxfer_send_redirect(_0x3090fa(0x190),lastcustchannel,lastcustserverip,'',leave_vm_no_dispo,'',_0x3b609e);}function generate_vmmessages_pulldown(_0x1421d3){var _0x29fd78=_0x1c96bb;_0x1421d3=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x29fd78(0x338));VMMessages_HTML='',$(_0x29fd78(0x559))[_0x29fd78(0x1b2)](''),$(_0x29fd78(0x7b1))[_0x29fd78(0x628)](_0x29fd78(0x5fd));var _0x2b2848=![];!_0x2b2848&&typeof XMLHttpRequest!=_0x29fd78(0x34f)&&(_0x2b2848=new XMLHttpRequest()),_0x2b2848&&(VMMG_list_query='server_ip='+server_ip+_0x29fd78(0x7b6)+session_name+_0x29fd78(0x66e)+user+'&pass='+pass+_0x29fd78(0x5e9)+campaign+_0x29fd78(0x44a)+leave_vm_message_group_id+_0x29fd78(0x2c5)+customer_HHMM,_0x2b2848['open'](_0x29fd78(0x584),_0x29fd78(0x550)),_0x2b2848[_0x29fd78(0x636)](_0x29fd78(0x638),_0x29fd78(0x404)),_0x2b2848[_0x29fd78(0x2fd)](VMMG_list_query),_0x2b2848[_0x29fd78(0x18a)]=function(){var _0x4a6a5b=_0x29fd78;_0x2b2848[_0x4a6a5b(0x30f)]==0x4&&_0x2b2848['status']==0xc8&&$(_0x4a6a5b(0x7b1))[_0x4a6a5b(0x628)](_0x2b2848[_0x4a6a5b(0x137)]);},delete _0x2b2848);}function VMMessageSelect_submit(_0x42702e,_0x29010a,_0x1a9497,_0x5abe92){var _0x249b71=_0x1c96bb,_0x14e242=new RegExp('|','g'),_0xf4dff2=_0x42702e[_0x249b71(0x74b)](/\|/g,' ');button_click_log=button_click_log+''+SQLdate+_0x249b71(0x1a5)+_0xf4dff2+' '+_0x29010a+' '+_0x1a9497+' '+_0x5abe92+'|',hideDiv('VMMessageSelectBox'),$(_0x249b71(0x559))['val'](_0x42702e);var _0x175587=![];!_0x175587&&typeof XMLHttpRequest!=_0x249b71(0x34f)&&(_0x175587=new XMLHttpRequest()),_0x175587&&(VMMG_list_query=_0x249b71(0x4c6)+server_ip+_0x249b71(0x7b6)+session_name+_0x249b71(0x66e)+user+_0x249b71(0x397)+pass+_0x249b71(0x7f5)+campaign+_0x249b71(0x44a)+_0x42702e+_0x249b71(0x549)+LasTCID+'&lead_id='+$('#lead_id')[_0x249b71(0x1b2)](),_0x175587[_0x249b71(0x63c)](_0x249b71(0x584),'crm_query.php'),_0x175587[_0x249b71(0x636)]('Content-Type',_0x249b71(0x404)),_0x175587[_0x249b71(0x2fd)](VMMG_list_query),_0x175587[_0x249b71(0x18a)]=function(){var _0x224150=_0x249b71;if(_0x175587[_0x224150(0x30f)]==0x4&&_0x175587['status']==0xc8){var _0x150762=_0x175587[_0x224150(0x137)],_0x55a031=new RegExp(_0x224150(0x7f9),'ig');_0x150762[_0x224150(0x42d)](_0x55a031)?(alert_box(_0x150762),button_click_log=button_click_log+''+SQLdate+_0x224150(0x73f)+_0x150762+'|'):mainxfer_send_redirect('XfeRVMAIL',lastcustchannel,lastcustserverip,'',leave_vm_no_dispo,'','');}},delete _0x175587),scroll(0x0,0x0);}function GroupAliasSelectContent_create(_0x168303){var _0x13ceca=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----GroupAliasSelectContent_create---'+_0x168303+'|',HidEGenDerPulldown(),WaitingForNextStep=0x1,GroupAlias_HTML='',$(_0x13ceca(0x39e))[_0x13ceca(0x1b2)]('');var _0x249346=parseInt(VD_group_aliases_ct/0x2);GroupAlias_HTML='<table cellpadding="5" cellspacing="5" width="500px"><tr><td colspan="2"> GROUP ALIAS</td></tr><tr><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id="GroupAliasSelectA">';_0x168303>0x0&&(_0x249346=_0x249346-0x1,GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x649)+campaign_cid+_0x13ceca(0x302)+campaign_cid+_0x13ceca(0x48d),GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x236)+$('#phone_number')['val']()+_0x13ceca(0x70b)+$(_0x13ceca(0x5e7))['val']()+'</a></b><br /><br />',GroupAlias_HTML=GroupAlias_HTML+'<b><a href="#" onclick="GroupAliasSelect_submit('AGENT_PHONE',''+outbound_cid+'','0');return false;">AGENT_PHONE - '+outbound_cid+_0x13ceca(0x48d));var _0x2aafc2=0x0;while(_0x2aafc2<VD_group_aliases_ct){GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x522)+VARgroup_alias_ids[_0x2aafc2]+_0x13ceca(0x6e6)+VARcaller_id_numbers[_0x2aafc2]+'','1');return false;">'+VARgroup_alias_ids[_0x2aafc2]+_0x13ceca(0x4ec)+VARgroup_alias_names[_0x2aafc2]+_0x13ceca(0x4ec)+VARcaller_id_numbers[_0x2aafc2]+_0x13ceca(0x48d),_0x2aafc2++,_0x2aafc2==_0x249346&&(GroupAlias_HTML=GroupAlias_HTML+'</span></td><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id=GroupAliasSelectB>');}var _0x130741='<b><a href="#" onclick="GroupAliasSelect_submit('','','0');return false;">Go Back</a>';GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x298)+_0x130741,$(_0x13ceca(0x589))[_0x13ceca(0x628)](GroupAlias_HTML),focus_blur_enabled==0x1&&(document[_0x13ceca(0x3bd)][_0x13ceca(0x28d)][_0x13ceca(0x55c)](),document[_0x13ceca(0x3bd)][_0x13ceca(0x28d)][_0x13ceca(0x656)]());}function ManuaLDiaLInGrouPSelectContent_create(){var _0x4d7a9d=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x4d7a9d(0x69f),HidEGenDerPulldown(),WaitingForNextStep=0x1,DiaLInGrouP_HTML='',$(_0x4d7a9d(0x4e8))[_0x4d7a9d(0x1b2)]('');var _0x232824=parseInt(dialINgroupCOUNT/0x2);DiaLInGrouP_HTML=_0x4d7a9d(0x556);var _0x14c651=0x0;while(_0x14c651<dialINgroupCOUNT){DiaLInGrouP_HTML=DiaLInGrouP_HTML+_0x4d7a9d(0x6da)+VARdialingroups[_0x14c651]+_0x4d7a9d(0x208)+VARdialingroups[_0x14c651]+'</a></b><br /><br />',_0x14c651++,_0x14c651==_0x232824&&(DiaLInGrouP_HTML=DiaLInGrouP_HTML+_0x4d7a9d(0x14e));}var _0x233af4=_0x4d7a9d(0x461);DiaLInGrouP_HTML=DiaLInGrouP_HTML+_0x4d7a9d(0x298)+_0x233af4,$(_0x4d7a9d(0x13b))['html'](DiaLInGrouP_HTML),focus_blur_enabled==0x1&&(document['inert_form'][_0x4d7a9d(0x28d)][_0x4d7a9d(0x55c)](),document['inert_form'][_0x4d7a9d(0x28d)][_0x4d7a9d(0x656)]());}function WeBForMDispoSelect_submit(){var _0x3cc83e=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3cc83e(0x419),leaving_threeway=0x0,blind_transfer=0x0,$(_0x3cc83e(0x68e))[_0x3cc83e(0x628)](''),$(_0x3cc83e(0x303))[_0x3cc83e(0x1b2)](''),$(_0x3cc83e(0x63f))[_0x3cc83e(0x1b2)](''),$('#MainStatuSSpanZZ')['html'](''),$(_0x3cc83e(0x2d4))['show'](),$('#Leave3WayCall')[_0x3cc83e(0x628)]('<a href="#" class="btn btn-info btn-sm"  data-dismiss="modal" aria-label="Close">Fermer</a>'),$('#DialWithCustomer')[_0x3cc83e(0x628)](_0x3cc83e(0x51e)),$('#ParkCustomerDial')[_0x3cc83e(0x628)]('<a href="#" class="btn btn-danger btn-sm" onclick="xfer_park_dial('YES');return false;">Mise en attente Client</a>'),$(_0x3cc83e(0x5c7))[_0x3cc83e(0x628)](_0x3cc83e(0x273));var _0x2fb05b=$('#DispoSelection')[_0x3cc83e(0x1b2)]();_0x2fb05b['length']<0x1?(alert_box(_0x3cc83e(0x4b2)),button_click_log=button_click_log+''+SQLdate+'-----EmptyDispoAlert---'+_0x2fb05b+' '+'|'):($(_0x3cc83e(0x782))[_0x3cc83e(0x628)](''),LeaDDispO=_0x2fb05b,WebFormRefresH('NO',_0x3cc83e(0x18f)),enable_first_webform>0x0&&$(_0x3cc83e(0x4d2))[_0x3cc83e(0x628)](_0x3cc83e(0x40e)),enable_second_webform>0x0&&$(_0x3cc83e(0x434))[_0x3cc83e(0x628)](_0x3cc83e(0x294)),enable_third_webform>0x0&&$('#WebFormSpanThree')['html']('<img src="./images/vdc_LB_webform_three_OFF.gif" border="0" alt="Web Form 3" />'),window[_0x3cc83e(0x63c)](TEMP_VDIC_web_form_address,web_form_target,_0x3cc83e(0x804)),DispoSelect_submit());}function DispoSelect_submit(_0x125acc,_0x3702ee,_0x2e7969,_0x4b2b26=![],_0x426302=''){var _0x5b76fe=_0x1c96bb;_0x2e7969==_0x5b76fe(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x5b76fe(0x41d));VDCL_group_id[_0x5b76fe(0x35c)]>0x1?group=VDCL_group_id:group=campaign;leaving_threeway=0x0,blind_transfer=0x0,CheckDEADcallON=0x0,CheckDEADcallCOUNT=0x0,dead_trigger_count=0x0;var _0x19450b=customer_sec;customer_sec=0x0,currently_in_email_or_chat=0x0,customer_3way_hangup_counter=0x0,customer_3way_hangup_counter_trigger=0x0,waiting_on_dispo=0x1,recording_active=0x0;var _0x1e0238=$(_0x5b76fe(0x69d))['html'](),_0x25a961=last_recording_filename,_0x53e95b='';$(_0x5b76fe(0x68e))[_0x5b76fe(0x628)](''),$('#callserverip')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x63f))[_0x5b76fe(0x1b2)](''),$('#MainStatuSSpanZZ')['html'](''),$('#choixnum')[_0x5b76fe(0x45c)](),$(_0x5b76fe(0x729))[_0x5b76fe(0x628)](_0x5b76fe(0x6c8)),$(_0x5b76fe(0x61d))[_0x5b76fe(0x628)](_0x5b76fe(0x51e)),$('#ParkCustomerDial')[_0x5b76fe(0x628)]('<a href="#" class="btn btn-danger btn-sm" onclick="xfer_park_dial('YES');return false;">Mise en attente Client</a>'),$(_0x5b76fe(0x5c7))['html']('<a href="#" class="btn btn-danger btn-sm" onclick="bothcall_send_hangup('YES');return false;">Raccrocher la ligne</a>');var _0x30ec48=$(_0x5b76fe(0x5c9))[_0x5b76fe(0x1b2)]();if(_0x30ec48[_0x5b76fe(0x35c)]<0x1)alert_box('Vous devez slectionner une disposition'),button_click_log=button_click_log+''+SQLdate+'-----EmptyDispoAlert2---'+_0x30ec48+' '+'|';else{if($('#lead_id')[_0x5b76fe(0x1b2)]()=='')waiting_on_dispo=0x0,AgentDispoing=0x0,$('#DispoSelectBox')[_0x5b76fe(0x7c3)]('hide'),button_click_log=button_click_log+''+SQLdate+_0x5b76fe(0x82d)+$(_0x5b76fe(0x486))['val']()+' '+_0x30ec48+'|',agent_events('dispo_set_twice','',aec),aec++;else{if($(_0x5b76fe(0x69b))[_0x5b76fe(0x789)]('checked')==!![]){var _0x53d2a1='';$('#MainStatuSSpan')[_0x5b76fe(0x628)](_0x53d2a1),alt_dial_status_display=0x0;}$(_0x5b76fe(0x782))[_0x5b76fe(0x628)]('');var _0x23b161=new RegExp(' '+_0x30ec48+' ','ig');if(SalestatusesLIST[_0x5b76fe(0x42d)](_0x23b161)&&_0x30ec48[_0x5b76fe(0x35c)]>0x0&&typeSaleCRM=='rendez-vous'&&_0x30ec48!='RVHOLD')$(_0x5b76fe(0x200))[_0x5b76fe(0x7c3)](_0x5b76fe(0x45c)),agent_events('rendezvous_select_open','',aec),aec++;else{if(VARCBstatusesLIST[_0x5b76fe(0x42d)](_0x23b161)&&_0x30ec48[_0x5b76fe(0x35c)]>0x0&&scheduled_callbacks>0x0&&_0x30ec48!=_0x5b76fe(0x4cd)){var _0xbb7d3e=parseInt(LastCallbackCount),_0x703a46=parseInt(callback_active_limit);_0x703a46>0x0&&_0xbb7d3e>=_0x703a46?($('#CallBackOnlyMe')['prop'](_0x5b76fe(0x677),![]),$(_0x5b76fe(0x7b7))[_0x5b76fe(0x789)]('disabled',!![])):$('#CallBackOnlyMe')[_0x5b76fe(0x789)](_0x5b76fe(0x312),![]);if(comments_callback_screen==_0x5b76fe(0x20d)||comments_callback_screen==_0x5b76fe(0x490)){var _0x252ac2=_0x5b76fe(0x243);_0x252ac2=_0x252ac2+_0x5b76fe(0x235)+$('#dispo_comments')[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x524),_0x252ac2=_0x252ac2+_0x5b76fe(0x1c7),$('#CBCommentsContent')[_0x5b76fe(0x628)](_0x252ac2);}else $(_0x5b76fe(0x19f))[_0x5b76fe(0x628)](_0x5b76fe(0x5f3)+$(_0x5b76fe(0x477))[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x5ea));$(_0x5b76fe(0x403))[_0x5b76fe(0x7c3)](_0x5b76fe(0x45c)),agent_events(_0x5b76fe(0x708),'',aec),aec++;}else{var _0x200fde=![];!_0x200fde&&typeof XMLHttpRequest!=_0x5b76fe(0x34f)&&(_0x200fde=new XMLHttpRequest());_0x200fde&&(DSupdate_query='server_ip='+server_ip+_0x5b76fe(0x7b6)+session_name+'&ACTION=updateDISPO&format=text&user='+user+_0x5b76fe(0x397)+pass+_0x5b76fe(0x569)+orig_pass+'&dispo_choice='+_0x30ec48+_0x5b76fe(0x650)+$(_0x5b76fe(0x486))['val']()+_0x5b76fe(0x6b5)+campaign+_0x5b76fe(0x52d)+auto_dial_level+_0x5b76fe(0x741)+agent_log_id+_0x5b76fe(0x77c)+CallBackDatETimE+_0x5b76fe(0x557)+RDVDatETimE+'&list_id='+$(_0x5b76fe(0x416))[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x50f)+CallBackrecipient+_0x5b76fe(0x7a8)+use_internal_dnc+_0x5b76fe(0x4f6)+use_campaign_dnc+_0x5b76fe(0x549)+LasTCID+_0x5b76fe(0x44a)+group+'&vtiger_callback_id='+vtiger_callback_id+_0x5b76fe(0x466)+$('#phone_number')[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x46a)+$(_0x5b76fe(0x40c))[_0x5b76fe(0x1b2)]()+'&dial_method='+dial_method+_0x5b76fe(0x6ae)+$(_0x5b76fe(0x186))['val']()+'&CallBackLeadStatus='+CallBackLeadStatus+_0x5b76fe(0x30c)+RDVLeadStatus+'&comments='+encodeURIComponent(CallBackCommenTs)+'&custom_field_names='+custom_field_names+_0x5b76fe(0x1c1)+encodeURIComponent($(_0x5b76fe(0x53c))[_0x5b76fe(0x1b2)]())+_0x5b76fe(0x1fd)+encodeURIComponent($(_0x5b76fe(0x477))['val']())+'&cbcomment_comments='+encodeURIComponent($(_0x5b76fe(0x701))[_0x5b76fe(0x1b2)]())+_0x5b76fe(0x173)+DispoQMcsCODE+_0x5b76fe(0x59f)+email_enabled+_0x5b76fe(0x5bf)+_0x1e0238+_0x5b76fe(0x6d3)+_0x25a961+_0x5b76fe(0x6bf)+$(_0x5b76fe(0x7fd))['val']()+_0x5b76fe(0x5ec)+parked_hangup+_0x5b76fe(0x760)+phone_login+_0x5b76fe(0x801)+LOGemail+_0x5b76fe(0x5d7)+session_id+_0x5b76fe(0x4f5)+campaign_script+''+_0x5b76fe(0x428)+CalL_ScripT_id+_0x5b76fe(0x38e)+lastcustserverip+_0x5b76fe(0x2bd)+extension+_0x5b76fe(0x3f4)+original_phone_login+'&phone_pass='+phone_pass+_0x5b76fe(0x3cf)+callback_gmt_offset+_0x5b76fe(0x3ee)+callback_timezone+_0x5b76fe(0x37f)+_0x19450b,_0x200fde[_0x5b76fe(0x63c)](_0x5b76fe(0x584),'crm_query.php'),_0x200fde[_0x5b76fe(0x636)](_0x5b76fe(0x638),_0x5b76fe(0x404)),_0x200fde[_0x5b76fe(0x2fd)](DSupdate_query),_0x200fde[_0x5b76fe(0x18a)]=function(){var _0x1b8038=_0x5b76fe;if(_0x200fde['readyState']==0x4&&_0x200fde['status']==0xc8){var _0x2e78ec=null;_0x2e78ec=_0x200fde['responseText'];var _0x1f2991=_0x2e78ec[_0x1b8038(0x65a)]('
');auto_dial_level<0x1&&(_0x1f2991[0x1]==_0x1b8038(0x4e2)&&(agent_log_id['length']>0x0&&(previous_agent_log_id=agent_log_id),agent_log_id=_0x1f2991[0x2])),_0x1f2991[0x3]==_0x1b8038(0x3fe)&&(_0x53e95b=_0x1f2991[0x4],SendURLs(_0x53e95b,'dispo')),waiting_on_dispo=0x0,agent_events(_0x1b8038(0x3a4),_0x30ec48,aec),aec++;}},delete _0x200fde);if($('#c_script_id')[_0x5b76fe(0x1b2)]()!=''){var _0x200fde=![];!_0x200fde&&typeof XMLHttpRequest!=_0x5b76fe(0x34f)&&(_0x200fde=new XMLHttpRequest());if(_0x200fde){var _0xf6fd68=$(_0x5b76fe(0x743))[_0x5b76fe(0x1b0)]();_0x200fde['open'](_0x5b76fe(0x584),_0x5b76fe(0x550)),_0x200fde[_0x5b76fe(0x636)](_0x5b76fe(0x638),_0x5b76fe(0x404)),_0x200fde[_0x5b76fe(0x2fd)](_0xf6fd68+_0x5b76fe(0x248)+user+'&pass='+pass+_0x5b76fe(0x569)+orig_pass+_0x5b76fe(0x319)+server_ip+_0x5b76fe(0x7b6)+session_name),_0x200fde[_0x5b76fe(0x18a)]=function(){var _0x26f066=_0x5b76fe;_0x200fde[_0x26f066(0x30f)]==0x4&&_0x200fde[_0x26f066(0x6aa)]==0xc8&&(waiting_on_dispo=0x0);},delete _0x200fde;}}$(_0x5b76fe(0x705))['tab'](_0x5b76fe(0x45c)),$(_0x5b76fe(0x565))[_0x5b76fe(0x628)](_0x5b76fe(0x147)),$(_0x5b76fe(0x486))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x48f))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x416))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x7fa))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x7bf))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x6d2))['val'](''),$('#entry_list_id')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x465))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x40c))[_0x5b76fe(0x1b2)]('');if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x5b76fe(0x150)){var _0x5b5756=$(_0x5b76fe(0x69e));_0x5b5756[_0x5b76fe(0x1b2)]('');}$(_0x5b76fe(0x5e7))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x79a))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x485))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x2ac))['val'](''),$(_0x5b76fe(0x2e8))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x47d))[_0x5b76fe(0x1b2)](''),$('#address2')['val'](''),$('#address3')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x323))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1c0))['val'](''),$(_0x5b76fe(0x300))['val'](''),$(_0x5b76fe(0x67f))['val'](''),$('#country_code')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1b7))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x6e3))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x59a))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1c3))['val'](''),$(_0x5b76fe(0x6bb))['val'](''),$(_0x5b76fe(0x1af))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x317))[_0x5b76fe(0x1b2)](''),$('#audit_comments')[_0x5b76fe(0x628)](''),qc_enabled>0x0&&($(_0x5b76fe(0x471))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x372))['val'](''),comments_all_tabs==_0x5b76fe(0x20d)&&$(_0x5b76fe(0x31f))[_0x5b76fe(0x1b2)]('')),$(_0x5b76fe(0x7fd))['val'](''),$(_0x5b76fe(0x41e))['val'](''),$(_0x5b76fe(0x53c))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x721))['val'](''),$('#chat_id')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x2a6))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x477))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x701))[_0x5b76fe(0x1b2)](''),VDCL_group_id='',fronter='',inOUT=_0x5b76fe(0x3a9),vtiger_callback_id='0',recording_filename='',recording_id='',$(_0x5b76fe(0x186))['val'](''),MDuniqueid='',XDuniqueid='',tmp_pixiscrm_id='',EAphone_code='',EAphone_number='',EAalt_phone_notes='',EAalt_phone_active='',EAalt_phone_count='',XDnextCID='',XDcheck='',MDnextCID='',XD_live_customer_call=0x0,XD_live_call_secondS=0x0,xfer_in_call=0x0,active_threeway=0x0,MD_channel_look=0x0,MD_ring_secondS=0x0,uniqueid_status_display='',uniqueid_status_prefix='',custom_call_id='',API_selected_xfergroup='',API_selected_callmenu='',timer_action='',timer_action_seconds='',timer_action_mesage='',timer_action_destination='',did_pattern='',did_id='',did_extension='',did_description='',did_custom_one='',did_custom_two='',did_custom_three='',did_custom_four='',did_custom_five='',closecallid='',xfercallid='',custom_field_names='',custom_field_values='',custom_field_types='',customerparked=0x0,customerparkedcounter=0x0,consult_custom_wait=0x0,consult_custom_go=0x0,consult_custom_sent=0x0,MD_dial_timed_out=0x0,$(_0x5b76fe(0x80d))[_0x5b76fe(0x628)](''),$('#xfername')['val'](''),$('#xfernumhidden')[_0x5b76fe(0x1b2)](''),customer_3way_hangup_dispo_message='',$(_0x5b76fe(0x274))['html'](''),$('#DispoManualQueueMessage')[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x6d4))['html'](''),APIManualDialQueue_last=0x0,CallBackLeadStatus='',RDVLeadStatus='',CallBackDatETimE='',RDVDatETimE='',CallBackrecipient='',CallBackCommenTs='',DispoQMcsCODE='',active_ingroup_dial='',CalL_ScripT_id='',CalL_ScripT_color='',CalL_ScripT_id_two='',CalL_ScripT_color_two='',browser_alert_sound=CAMPbrowser_alert_sound,browser_alert_volume=CAMPbrowser_alert_volume,callback_gmt_offset='',callback_timezone='',$(_0x5b76fe(0x54c))[_0x5b76fe(0x628)](_0x5b76fe(0x7ae)),nocall_dial_flag=_0x5b76fe(0x2e7),$('#CallBackDatESelectioN')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x3e3))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1d4))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x5ab))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x400))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x526))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x35d))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x3ad))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x3e6))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x788))['val'](''),$(_0x5b76fe(0x1ae))['val'](''),$(_0x5b76fe(0x709))['val'](''),$(_0x5b76fe(0x63b))[_0x5b76fe(0x1b2)](''),$('#MDLeadIDEntry')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x688))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x704))[_0x5b76fe(0x1b2)](''),inbound_lead_search=0x0,cid_lock=0x0,timer_alt_trigger=0x0,last_mdtype='',$(_0x5b76fe(0x74a))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x7a7))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x69d))[_0x5b76fe(0x628)](''),dial_next_failed=0x0,xfer_agent_selected=0x0,hangup_both=0x0,source_id='',entry_date='',last_call_date='',inbound_post_call_survey='',inbound_survey_participate='',dead_trigger_first_ran=0x0,manual_cancel_skip=0x0,trigger_manual_validation=0x0,manual_entry_dial=0x0,SCRIPTweb_form_vars='',SCRIPT2web_form_vars='',MDcheck_for_answer=0x0,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_triggerCALL=0x0,transfer_no_dispoTEMP=0x0,leave_3way_start_recording_filename='',three_way_call_cid=orig_three_way_call_cid,manual_auto_next>0x0&&(manual_auto_next_trigger=0x1,manual_auto_next_count=manual_auto_next),agent_display_fields[_0x5b76fe(0x42d)](adfREGentry_date)&&$(_0x5b76fe(0x699))[_0x5b76fe(0x628)](_0x5b76fe(0x497)),agent_display_fields[_0x5b76fe(0x42d)](adfREGsource_id)&&$(_0x5b76fe(0x7d3))[_0x5b76fe(0x628)](_0x5b76fe(0x497)),agent_display_fields['match'](adfREGrank)&&$(_0x5b76fe(0x284))[_0x5b76fe(0x628)](' &nbsp; &nbsp; '),agent_display_fields[_0x5b76fe(0x42d)](adfREGowner)&&$(_0x5b76fe(0x59e))[_0x5b76fe(0x628)](' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '),agent_display_fields[_0x5b76fe(0x42d)](adfREGlast_local_call_time)&&$(_0x5b76fe(0x2e6))['html'](_0x5b76fe(0x227)),(manual_dial_search_checkbox==_0x5b76fe(0x1b6)||manual_dial_search_checkbox==_0x5b76fe(0x7fc))&&$('#LeadLookuP')[_0x5b76fe(0x789)](_0x5b76fe(0x677),!![]),(manual_dial_search_checkbox=='UNSELECTED_RESET'||manual_dial_search_checkbox==_0x5b76fe(0x6f9))&&$(_0x5b76fe(0x529))[_0x5b76fe(0x789)]('checked',![]),post_phone_time_diff_alert_message[_0x5b76fe(0x35c)]>0xa&&($(_0x5b76fe(0x599))[_0x5b76fe(0x628)](''),hideDiv(_0x5b76fe(0x38a)),post_phone_time_diff_alert_message=''),manual_dial_in_progress==0x1&&manual_dial_finished(),manual_dial_preview<0x1&&($(_0x5b76fe(0x4d5))['prop'](_0x5b76fe(0x677),![]),hideDiv(_0x5b76fe(0x30b))),hide_gender<0x1&&($(_0x5b76fe(0x4f8))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x4dc))['html']('<select size="1" name="gender_list" class="form-select" id="gender_list"><option value="U">U - Undefined</option><option value="M">M - Male</option><option value="F">F - Female</option></select>')),_0x426302!=''&&PauseCodeSelect_submit(_0x426302),$('#DispoSelectBox')[_0x5b76fe(0x7c3)](_0x5b76fe(0x345)),$(_0x5b76fe(0x282))[_0x5b76fe(0x628)](_0x5b76fe(0x67d)),pause_after_next_call==_0x5b76fe(0x20d)&&$(_0x5b76fe(0x573))[_0x5b76fe(0x628)](_0x5b76fe(0x775)),CBcommentsBoxhide(),EAcommentsBoxhide(),ContactSearchReset(),script_top_dispo=='Y'&&(ScriptPanelToFront(),hideDiv(_0x5b76fe(0x2fb))),clear_script=='ENABLED'&&($(_0x5b76fe(0x565))[_0x5b76fe(0x628)]('<div class="alert alert-info alert-dismissable"><strong>Script en cours</strong></div>'),$('#Script2Contents')[_0x5b76fe(0x628)]('')),parked_hangup='0',chat_enabled>0x0&&$(_0x5b76fe(0x571))[_0x5b76fe(0x7b8)](_0x5b76fe(0x585),image_customer_chat_OFF[_0x5b76fe(0x585)]),CustomerChatContentsLoad(),EmailContentsLoad(),AgentDispoing=0x0,(alt_number_dialing==_0x5b76fe(0x3d5)||alt_number_dialing==_0x5b76fe(0x3f5)||alt_number_dialing==_0x5b76fe(0x737))&&$(_0x5b76fe(0x69b))['prop'](_0x5b76fe(0x677),!![]),(alt_number_dialing==_0x5b76fe(0x4df)||alt_number_dialing==_0x5b76fe(0x220)||alt_number_dialing==_0x5b76fe(0x34a))&&$('#DiaLAltPhonE')[_0x5b76fe(0x789)]('checked',![]),shift_logout_flag<0x1&&api_logout_flag<0x1?wrapup_waiting==0x0&&(_0x4b2b26==!![]||liveCBcounT>0x0&&scheduled_callbacks_force_dial=='Y'?(liveCBcounT>0x0&&scheduled_callbacks_force_dial=='Y'&&(_0x3702ee=auto_pause_precall_code,_0x125acc=0x1),auto_dial_level!='0'&&(AutoDialWaiting=0x0,QUEUEpadding=0x0,_0x125acc==0x1?AutoDial_ReSume_PauSe(_0x5b76fe(0x2ce),'','','','','1',_0x3702ee):AutoDial_ReSume_PauSe(_0x5b76fe(0x2ce))),PIXIScrm_pause_calling=0x1,dispo_check_all_pause!='1'&&(_0x4b2b26=![],$(_0x5b76fe(0x46f))[_0x5b76fe(0x789)](_0x5b76fe(0x677),![]))):auto_dial_level!='0'&&(updatedispo_resume_trigger=0x1)):shift_logout_flag>0x0?(trigger_shift_logout=0xa,hideDiv(_0x5b76fe(0x2b3)),$(_0x5b76fe(0x2e4))[_0x5b76fe(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5})):LogouT(_0x5b76fe(0x792),'',''),focus_blur_enabled==0x1&&(document[_0x5b76fe(0x3bd)][_0x5b76fe(0x28d)][_0x5b76fe(0x55c)](),document['inert_form']['inert_button'][_0x5b76fe(0x656)]());}}scroll(0x0,0x0);}}}function dead_trigger_url_send(){var _0x5dbba4=_0x1c96bb,_0x48d532=$(_0x5dbba4(0x69d))[_0x5dbba4(0x628)](),_0x5a706a=last_recording_filename,_0x1f8598=![];!_0x1f8598&&typeof XMLHttpRequest!=_0x5dbba4(0x34f)&&(_0x1f8598=new XMLHttpRequest()),_0x1f8598&&(DSupdate_query=_0x5dbba4(0x4c6)+server_ip+'&session_name='+session_name+_0x5dbba4(0x777)+user+_0x5dbba4(0x397)+pass+_0x5dbba4(0x569)+orig_pass+_0x5dbba4(0x650)+$(_0x5dbba4(0x486))[_0x5dbba4(0x1b2)]()+'&campaign='+campaign+_0x5dbba4(0x52d)+auto_dial_level+_0x5dbba4(0x741)+agent_log_id+_0x5dbba4(0x4d8)+$(_0x5dbba4(0x416))['val']()+'&MDnextCID='+LasTCID+'&stage='+group+_0x5dbba4(0x466)+$(_0x5dbba4(0x5e7))['val']()+_0x5dbba4(0x46a)+$(_0x5dbba4(0x40c))['val']()+_0x5dbba4(0x4fe)+dial_method+_0x5dbba4(0x6ae)+$('#uniqueid')['val']()+_0x5dbba4(0x1ea)+custom_field_names+_0x5dbba4(0x59f)+email_enabled+_0x5dbba4(0x5bf)+_0x48d532+'&recording_filename='+_0x5a706a+'&called_count='+$(_0x5dbba4(0x7fd))[_0x5dbba4(0x1b2)]()+_0x5dbba4(0x188)+CheckDEADcallCOUNT+_0x5dbba4(0x760)+phone_login+_0x5dbba4(0x801)+LOGemail+'&conf_exten='+session_id+_0x5dbba4(0x4f5)+campaign_script+''+_0x5dbba4(0x428)+CalL_ScripT_id+_0x5dbba4(0x38e)+lastcustserverip+_0x5dbba4(0x2bd)+extension+_0x5dbba4(0x3f4)+original_phone_login+'&phone_pass='+phone_pass,_0x1f8598[_0x5dbba4(0x63c)]('POST',_0x5dbba4(0x550)),_0x1f8598[_0x5dbba4(0x636)](_0x5dbba4(0x638),_0x5dbba4(0x404)),_0x1f8598[_0x5dbba4(0x2fd)](DSupdate_query),_0x1f8598['onreadystatechange']=function(){var _0x59a5a2=_0x5dbba4;if(_0x1f8598[_0x59a5a2(0x30f)]==0x4&&_0x1f8598[_0x59a5a2(0x6aa)]==0xc8){var _0x5ec8c5=null;_0x5ec8c5=_0x1f8598[_0x59a5a2(0x137)];var _0x107224=_0x5ec8c5[_0x59a5a2(0x65a)]('
');agent_events(_0x59a5a2(0x581),LasTCID,aec),aec++;}},delete _0x1f8598);}function _0x1390(){var _0x21e96b=[' address2','This agent screen was not opened properly.','FIELD_email','#email_row_id','&LOGINvarFIVE=','#CCCCFF','state_ready','<a href="#" onclick="GroupAliasSelectContent_create('0');">Click Here to Choose a Group Alias</a>','--- gmt_offset_now ','-----customer_info_commit---','<table cellpadding="5" cellspacing="5" width="500px"><tr><td>GROUPS NOT SELECTED</td><td>SELECTED GROUPS</td></tr><tr><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id=CloserSelectAdd> &nbsp; <a href="#" onclick="CloserSelect_change('-----ADD-ALL-----','ADD');return false;"><b>--- ADD ALL ---</b><br />','#Leave3WayCall','#CBcommentsBoxB','#PauseCodeSelectBox','<br /><b>Call Notes: </b><br /><textarea name="call_notes_dispo" id="call_notes_dispo" rows="2" cols="100" class="form-control cust_form_text" value="">',' Called: ','ALERT_AUDIO','ParK','Ce numro de tlphone est dans la liste Rouge :
','');return false;">HANGUP</a></td><td></td></tr>','-----LeadSearchOpenLiveFailed---','Pause','OCT','-----ManualValidateSuccess---','&inbound_lead_search=','SELECTED_TIMER_ADDR3','&manual_dial_filter=','Ce numro de tlphone ne figure pas dans les listes systme
','ENABLED_PARK_ONLY','-----PauseMaxAltState---','-----RDVSetFailed---','{#campaign#}','&filename=','-----VMMselectError---','{#LOGINvarTHREE#}','&agent_log_id=','&preset_number_e=','#pixiscrm_form','JLY','DiaLCalls: ','transfer_blind','#xfername','-----session_paused---','&phone=','#timer_alt_display','replace','sales',' postal_code','&ACTION=OriginateVDRelogin&format=text&channel=','&closer=','PRECAL','-----DialTimedOut---','--- address2 ','','YES');return false;"><img src="./images/vdc_LB_quickxfer.gif" border="0" alt="QUICK TRANSFER" /></a>','AGENT','&leaving_threeway=','{#LOGINvarFOUR#}','#LogouTBoxLink','#ManuaLDiaLGrouP','1650712802','&outbound_cid=','VXvdcW','{#message#}','CBcommentsBox','logged_out_complete','&security_phrase=','&phone_login=','dead_max_dispo: ','-----AJAX_pause_resume_undefined---','WaitinGEmails: ','-----DeadMaxDispo---','APIFields: ','&group_name=','ALL_CALLS','ParKXfeR','&fullname=','&preset_number_b=','./images/vdc_XB_parkxferline_GRAB.gif','&inbound_chat_groups[]=',' CF: ','<button id="tbferControl" type="button" class="btn btn-info btn-lg" onclick="ShoWTransferMain('OFF','YES','YES');"><i class="fa fa-exchange"></i> Transfert</button>','-----DtMf_PreSet_b_DiaL---|','LOGIN','contact_search_open','ManualValidateBox','AXFER','','');return false;"><img src="./images/vdc_volume_MUTE.gif" border="0" /></a> &nbsp; <a href="#" onclick="volume_control('UNMUTE','','<a href="#" onclick="next_call_pause_click();return false;">Next Call Pause</a>','-----NoDiaLSwitcH---|','&ACTION=DEADtriggerURL&format=text&user=','','N','N');return false;">D2','-----CustomerGoneOK---|','&conf_silent_prefix=','<a href="#" onclick="mainxfer_send_redirect('ParKivr','','&CallBackDatETimE=','Customer Hung-up, 3-way Call Ended Automatically','default','</span></td><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id=TerritorySelectDelete></span></td></tr></table>','-----ContactSearcHVieWClose---|','NXDIAL','#CusTInfOSpaN','parse','','ADD');return false;">','NeWSessioN','&ACTION=RedirectToParkIVR&format=text&channel=','#MgrApr_pass','#search_postal_code','prop','{#script_width#}','&vtiger_callback_id=','','ADD','YES');return false;"><i class="fa fa-check"></i> ','&country_code=','&log_campaign=',' title','#XfeRGrouPLisT','XfeRINTERNAL','API','&queryCID=','&ACTION=customer_3way_hangup_process&format=text&user=','Preview the Lead then <a href="#" onclick="ManualDialOnly('','-----api_logout---','En attente','CALL UNANSWERED','./images/vdc_LB_transferconf.gif','#title','&owner=','NEW_ID','-----PauseCodeOpen_mgrapr---','alertCID=1','ALL','&last_name=','&ACTION=LeaDSearcHSelecTUpdatE','./images/vdc_LB_mute_recording_AVAILABLE.gif','APIStatuS: ','{#postal_code#}',' Dial Countdown: ','PRESET_1','#manual_auto_next_display','&use_internal_dnc=','','Y');">Change this phone number to ACTIVE</a>','MANUAL_DIALFAST','<a href="#" class="btn btn-default btn-sm">--</a>','MANUAL_DIALNOW','LVvdcW','server time','<button id="tbParkControl" type="button" class="btn btn-warning btn-lg" onclick="mainxfer_send_redirect('FROMParK','','Group Alias: ','#VMMessageSelectBoxContent','--QUES--','AMPM','address1,','&user_custom_two=','&session_name=','#CallBackOnlyMe','attr','<a href="#" class="btn btn-default btn-sm">Transfert en cours</a>','ALTPH2','XfeRBLIND','XfeR','#TimerContentSpan','&agentchannel=','#list_appel','&dial_timeout=','#CallBackDatEPrinT','width','modal','-----ManualDialFailed---','&ACTION=LEADINFOview&search=logfirst&format=text&user=','-----DispoLeavE3wayAgaiN---|','&disable_alter_custphone=','CHAT','-----in_man_dial_next_ready---','BLINK_RED_DEFER','UK_DASH','setData','#CBcommentsBoxC','','');return false;"><img src="./images/vdc_volume_UNMUTE.gif" border="0" /></a></td></tr>','./images/vdc_LB_webform_OFF.gif','./images/vdc_LB_mute_recording_ON.gif','FEB','&epoch=','#source_idDISP','APIHanguP: ','blind_monitor_alert','#ReQueueCall','#DiaLControl','&ACTION=SysCIDdtmfOriginate&format=text&channel=','SearcHContactsDisplaYBox','PRESET_3','-----LeaDSearcHVieWClose---|','&LOGINvarTHREE=','Ce statut n'est pas disponible pour le moment','&nbsp;</td><td style="text-align: center;" colspan=2>NON-DIALABLE&nbsp;</td></tr> + CB_cust_content','FINISH','CLICK','-----CustomFormWait---','NO_STATUS_CHANGE','num_tranfert','dispo_screen_open','-----PauseCodeSelect_MgrApr---','#QuickXfer','BAS_','substr','Ce numro de tlphone a atteint la limite du nombre d'appels sur 24heures
','&stage=600&calls_waiting_vl_oneLABEL=NOM&calls_waiting_vl_twoLABEL=NOM','EMAIL','{#city#}','DIALNEXT','<img src="./images/vdc_LB_blank_OFF.gif" border="0" alt="pause button disabled" />','#PauseCodeSelection','<a href="#" onclick="custom_button_transfer();return false;"><img src="./images/vdc_LB_customxfer.gif" border="0" alt="Custom Transfer" /></a>','&inbound_email_groups[]=','consultative_checkbox','#statutPause','<img src="./images/vdc_LB_hangupcustomer_OFF.gif" border="0" alt="Hangup Customer" />','&ACTION=VMMG_selected&format=text&campaign=','PauseName:','^Local','<button id="tbParkControl" type="button" class="btn btn-warning btn-lg" onclick="mainxfer_send_redirect('ParK','','ERROR','#list_name','<a href="#" onclick="ShoWTransferMain('ON','','YES');"><img src="./images/vdc_LB_transferconf.gif" border="0" alt="Transfer - Conference" /></a>','SELECTED_LOCK','#called_count','&phone_pass=','<button id="tbHangup" type="button" class="btn btn-danger btn-lg" onclick="dialedcall_send_hangup('','','','','YES');"><i class="fa fa-stop"></i> Raccrocher</button>','#DispoSelectContent','&agent_email=','&in_script_two=','<h4><a href="/index.php">CLIQUEZ ICI POUR VOUS RECONNECTER</a></h4>
','toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=640,height=450','&channel_group=','last_name,','&script_override=',' Group- ','US_DASH','<a href="#" onclick="MuteRecording('on');return false;"><img src="./images/vdc_LB_mute_recording_AVAILABLE.gif" border="0" alt="Mute Recording" /></a><br />','#CustomerGoneBox','2px solid rgb(253, 4, 4)','#ParkCounterSpan','{#in_script#}','LIVE','<br /><b>Manual Dial Queue Calls Waiting: ','','','','','YES');return false;">Transfrer</a>','transfer_panel_closed','NOV','{#security_phrase#}','-----ManualAutoNext---','#country_code','#DispoSelectBox','address3','#contacts_phone_number','&ACTION=userLOGout&format=text&user=','#PauseCodeMgrAprSelection','&ACTION=RedirectFromParkIVR&format=text&channel=','&ACTION=alt_phone_change','toString','RQXFER','2.14-658c','&dial_ingroup=','-----ForceHangupAlert---','
 Group- ','-----SendManualDial---','<a href="#" class="btn btn-danger btn-sm" onclick="xfer_park_dial('YES');return false;">Mise en attente Client</a>','#address2','NexTCalLPausE',' ----- ','ALT','#TerritorySelectList','CLOSE','APITimerDestination: ','-----dispo_set_twice---','Votre session a t interrompue','FROMParK','responseText','DCMX','wrapup_after_hotkey: ','Appel entrant :','#DiaLInGrouPSelectContent','-----AgentEvent---','&sub_status=','.agc-nav-pause','&nbsp; ','  Fronter: ','LEADSEARCH','#RDV_CBT_minute','./images/vdc_LB_senddtmf_OFF.gif','-----DeadTriggerURL---','&call_server_ip=','./images/vdc_LB_senddtmf.gif','<div class="alert alert-info alert-dismissable"><strong>Script en cours</strong></div>','ParKivr','&ACTION=manDiaLonly&conf_exten=','','','','','YES');return false;"><img src="./images/vdc_XB_blindtransfer.gif" border="0" alt="Dial Blind Transfer" style="vertical-align:middle" /></a>','./images/vdc_LB_blank_OFF.gif','IVR','session_disabled','</span></td><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id=DiaLInGrouPSelectB>','You have been ready for too long, you have been logged out of your session<br /><br />','HIDE','</td><td style="text-align: center;"><strong>','-----next_call_pause_click---|','-----api_dial_cancel---','#LocalCloser','#AgentViewLink','PAUSED','RED_DEFER','&agent_dialed_number=','Le numro de transfert doit comporter au moins 1 chiffre :','&ACTION=PauseCodeSubmit&format=text&status=','{#list_id#}','--- province ','data-click-state','','N');">Change this phone number to INACTIVE</a>','-----dead_call---','<img src="./images/vdc_LB_transferconf_OFF.gif" border="0" alt="Transfer - Conference" />','all','<img src="./images/vdc_XB_localcloser_OFF.gif" border="0" alt="LOCAL CLOSER" style="vertical-align:middle" />','</td><td>',' alt_phone','LOCKED_PRESET_5','SKIP','&ACTION=CALLSINQUEUEview&format=text&user=','<img src="./images/vdc_LB_grabivrparkcall_OFF.gif" border="0" alt="Grab IVR Parked Call" />','none','IN_GROUP','&ACTION=CalLBacKCounT&campaign=','---','Vous devez choisir une date','-----LogViewInvalid2---','2px solid rgb(41, 151, 74)','#MainStatuSSpan','<a href="#" onclick="ManualDialNext('','','','','','0','','','YES');"><img src="./images/vdc_LB_dialnextnumber.gif" border="0" alt="Dial Next Number" /></a>','VOUS DEVEZ TRE EN PAUSE POUR VRIFIER LES RAPPELS EN MODE AUTO-DIAL','&qm_dispo_code=','format=text&server_ip=','#MgrApr_user','US_','px" height="','&LogouTKicKAlL=','&user_custom_one=','#contacts_first_name','99999','<a href="#" onclick="mainxfer_send_redirect('ParKXfeR','','tab','-----ManualDialAltDonE---|','<a href="#" style="margin-right: 8px;" class="btn btn-primary btn-lg" onclick="PauseCodeSelect_submit('','<a href="#" onclick="DispoLeavE3wayAgaiN()">Leave 3Way Call Again</a>','ALREADY-RECEIVED','<option ','ONLY_EXCEPTIONS',' SELECT: ','#viewcommentsdisplay','#uniqueid','220310-0935','&dead_time=','WaitinGChats: ','onreadystatechange','log_text_red','','','N','N');return false;">D4','" + lastcustserverip + "','-----CalLLoGVieWClose---|','YES','XfeRVMAIL','Ce numro de tlphone est en dehors de l'heure d'appel locale
','---DISABLED---','&ACTION=VDADcheckINCOMINGother','#DialBlindTransfer','#LeaDInfOSpan','LeadIDSwitch: ','<a href="#" onclick="MuteRecording('on');return false;"><img src="./images/vdc_LB_mute_recording_AVAILABLE.gif" border="0" alt="Mute Recording" /></a>','manual_dial_open','-----CloserSelect_submit---|','LEADID','custom_field_names,','{#SQLdate#}','BLIND_TRANSFER','#ParkControl2','#CBCommentsContent','CUSTPHONE',' <input type="checkbox" name="LeadPreview" id="LeadPreview" size="1" value="0" /> LEAD PREVIEW<br />','#SecondS','<img src="./images/vdc_LB_quickxfer_OFF.gif" border="0" alt="QUICK TRANSFER" />','#ParkControl','-----VMMessageSelect_submit---','#contacts_department','PREVIEW','keyCode','-----ManualDialNext---','&clickmute=','end','&address3=','&VD_pass=','#MDPhonENumbeR','#comments','serialize','ACagcW','val','&stage=dispo','-----TerritorySelect_submit---|','-----XferAgentFailed---','SELECTED_RESET','#gender','PARK_FIELD_email','</span>','600','&user_group=','-----LogouT---','-----XferHungUp---','LIGNE DE TRANSFERT RACCROCHE','Pause Code Selected: ','#state','&call_notes=','#statusMM','#email','MDlogRecorDings','title','&campaign_cid=','</td></tr></table>
','--POUND--','-----XferAgentSelectLaunch---|','&ACTION=ManagerChatsCheck','#ManualQueueChoice','<b>Phone Code and Number: </b>','','');return false;"><img src="./images/vdc_volume_down.gif" border="0" /></a>','&closecallid=','{#user_group#}','#contacts_group_name',' - INFO</td><td style="text-align: center;">','<b><a href="#" onclick="PresetSelect_submit('D5','','<a href="#" onclick="mainxfer_send_redirect('XfeRBLIND','','#search_phone_number','ADDR3_','q--------q','&preview=','VMNOHANG','ALTPhonE','HANGUP_XFER','');return false;">HANGUP</a></td><td><a href="#" onclick="volume_control('UP','',' secondes<br /><br />','&dialed_number=','ALL_BUT_EXCEPTIONS','','YES','0')"> DIAL LEAD</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="#" onclick="ManualDialOnly('ALTPhonE','YES','0')">ALT PHONE</a> or <a href="#" onclick="ManualDialOnly('AddresS3','YES','0')">ADDRESS3</a>','#DispoManualQueueMessage','#CBcommentsBoxD','-----PauseCodeCancel_mgrapr---','document','--- alt_phone ',' AGENT-TIME--','DURING_CALL','#InternalMessageCount','AGENT_PHONE_OVERRIDE','VRIFICATION D'APPEL EN COURS, VEUILLEZ PATIENTER: ','&custom_field_names=','VOUS DEVEZ TRE SUR UN APPEL ENTRANT ACTIF POUR RECHERCHER UN PROSPECT','fa-chevron-left','D4_DIAL_QUIET','','');return false;"><img src="./images/vdc_volume_down.gif" border="0"></a>','#blind_monitor_alert_span_contents','province','<a href="#" onclick="alt_phone_change('','LPvdcW','-----LeadSearchFailed---','./images/vdc_LB_startrecording_OFF.gif','#AgentStatusEmails','{#phone_number#}','abort','57550EqsBnO',' Calling: ','alertCID=0','-----ManDialEmptyPhone---','{#gmt_offset_now#}','&dispo_comments=','message','</strong></td><td style="text-align: center;">','#RendezVousSelectBox','Hangup','-----CallXferFailed---','&address2=',' last_name','<a href="#" class="disposition-btn btn btn-outline btn-primary btnNoClicked" onclick="DispoSelectContent_create('','{#did_pattern#}','custom_required_check','','1');return false;">','RedirectXtraCXNeW','-----DeadTriggerAudio---','CHECK-FOR-CALL RUNNING: ','HOPPER EMPTY','ENABLED','border-bottom','You have been paused for too long, you have been logged out of your session<br /><br />','&script_width=','AUDIO','FSCREEN','<a href="#" onclick="mainxfer_send_redirect('FROMParK','','&ext_context=','<a href="#" onclick="CloserSelect_change('','{#called_count#}','{#dialed_number#}','--- phone_number ','&did_custom_two=','<a href="#" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><img src="./images/vdc_LB_paused.gif" border="0" alt="You are paused" /></a><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />','</strong>','INBOUND_MAN','
<br /><br /><a href="#" onclick="AgentsXferSelect('0','AgentXferViewSelect');return false;>Fermer</a>&nbsp;','.notif-chat-box','#sessionIDspan','UNSELECTED_TIMER_ALT','Dial In-Group: ','Text','./images/agc_live_call_OFF.png','ALT_','&entry_date=','#RDV_CBT_hour',' &nbsp; ','#refresh_historique','NOTICE_AUDIO','<a href="#" onclick="AutoDial_ReSume_PauSe('VDADpause','','','','','','','YES');"><img src="./images/vdc_LB_active.gif" border="0" alt="You are active" /></a>','#address3','XBvdcW','FULLDATE_CUSTPHONE','-----BrowserCloseLogout---|','LOCKED_PRESET_4','--- owner ','dead_max: ','CALLBACK','#ivrParkControl','<a href="#" onclick="ManuaLDiaLInGrouPSelectContent_create('0');">Click Here to Choose a Dial In-Group</a>','<textarea name="cbcomment_comments" id="cbcomment_comments" rows="2" cols="100" class="form-control cust_form_text" value="">','<b><a href="#" onclick="GroupAliasSelect_submit('CUSTOMER','','<img src="./images/vdc_LB_customxfer_OFF.gif" border="0" alt="Custom Transfer" />','','N');return false;">','{#date_of_birth#}','{#lead_id#}','#CallNotesSpan','RADIO','&ACTION=manDiaLlookCaLL&conf_exten=','</DEL> ','source_id','#CallBacKsLisT','RedirectXtraNeW','&ACTION=HangupConfDial&format=text&user=','<table cellspacing=4 cellpadding=0><tr><td align="right">Commentaires : </td><td align="left">','XFER_OVERRIDE','&status=','#contacts_bu_name','PARK_FIELD_vendor_lead_code','&ACTION=updateFieldsScript&user=','#ParkXferLine','&format=text&channel=','&closer_choice=','VOUS DEVEZ ENTRER UN NUMRO DE TLPHONE ET UN CODE DE COMPOSITION POUR UTILISER LA COMPOSITION RAPIDE>','CHANanswer: ','" onclick="needToConfirmExit = false;">CLICK HERE TO LOG IN AGAIN</a>
','&user_password=','Script2Contents','Alogin_notes: ','PREVIEW_ONLY','#statusT','&ACTION=RedirectToPark&format=text&channel=','TIME','&alt_num_status=','{#LOGINvarONE#}','YOU DO NOT HAVE PERMISSIONS TO TRANSFER CALLS','-----InternalChatContentsLoad---|','StopMonitorConf','last_local_call_time','&script_span=','#LogouTProcess',' <b> PREVIOUS CALLBACK </b>','&length_in_sec=0&phone_code=','REPEAT_AUDIO','./images/agc_live_chat_DEAD.gif','#XfeRGrouP','FIELD_owner','-----APIdialNextFocus---','MANUAL_PREVIEW','D5_DIAL_QUIET','{#address2#}','#CloserSelectDelete','','','','','YES');return false;"><i class="fa fa-music"></i> Mise en attente</button>','&security=','{#server_ip#}','./images/vdc_tab_chat_customer_red.gif','#MDDiaLCodE','#PauseCodeMgrAprContent','customer_gone','MonitorConf','--- entry_list_id ','&chat_id=','<a href="#" class="btn btn-danger btn-sm" onclick="bothcall_send_hangup('YES');return false;">Raccrocher la ligne</a>','#Dispo3wayMessage','DEAD_VLA','&extenName=','{#call_id#}','form','SIP','&stage=CALLHANGUP&nodeletevdac=','#CloserSelectAdd','-----VieWCalLLoG---','&ACTION=regTERRITORY&format=text&user=','EAcommentsMinBox','#NeWManuaLDiaLBox','#chat_id','getHours','#DispoSelectHAspan','"><td align=center>','#rankDISP','VMAIL','province,','','ALT');return false;">ALT</a>&nbsp;','iframe','phone_code,','','');return false;"><img src="./images/vdc_volume_down.gif" border="0" /></a> &nbsp; &nbsp; &nbsp; <a href="#" onclick="volume_control('MUTING','','play','./images/vdc_LB_active.gif','inert_button','&protocol=','./vdc_email_display.php?lead_id=','SearcHForMDisplaYBox','<a href="#" onclick="dialedcall_send_hangup('','','','','YES');"><img src="./images/vdc_LB_hangupcustomer.gif" border="0" alt="Hangup Customer" /></a>','#status','selected ','<img src="./images/vdc_LB_webform_two_OFF.gif" border="0" alt="Web Form 2" />','custom_required','DiaLAlerT','--- first_name ','</span></td></tr></table><br /><br />','--- last_name ','#entry_list_id','Slectionnez la date','dispo','custom_required_multi','-----api_transferconf---','NOTICE','','YES','0')"> DIAL LEAD</a> or <a href="#" onclick="ManualDialSkip('YES')">SKIP LEAD</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="#" onclick="ManualDialOnly('ALTPhonE','YES','0')">ALT PHONE</a> or <a href="#" onclick="ManualDialOnly('AddresS3','YES','0')">ADDRESS3</a>','-----PauseCodeSelect_submit---','#conf_dtmf','&did_extension=','-----xfer_park_dial---|','<b><a href="#" onclick="PresetSelect_submit('D2','','#customer_chat_id','FR_SPAC','<h4>PROCESSUS DE DCONNEXION TERMIN, VOUS POUVEZ MAINTENANT FERMER VOTRE NAVIGATEUR OU VOUS RECONNECTER</h4><br><br><img src="./images/loading3.gif" height="206px" width="206px" alt="PROCESSUS DE DCONNEXION TERMIN, VOUS POUVEZ MAINTENANT FERMER VOTRE NAVIGATEUR OU VOUS RECONNECTER" />','-----DialNextFailed---','&ext_priority=1&extrachannel=','&live_call_seconds=','#middle_initial','TOUJOURS UN APPEL EN DIRECT! Vous devez d'abord le raccrocher
','209yYSylV','ViewCommentsBox','Local/','&web_vars=','<img src="./images/vdc_LB_mute_recording_DISABLED.gif" border="0" alt="Mute Recording Disabled" /><br />','MainPanel','dial_timeout: ','CALLID','&ACTION=manDiaLnextCaLL&conf_exten=','LOGOUT','PAUSE-SET','&call_id=','left','','','','','YES');return false;"><img src="./images/vdc_XB_parkxferline_ON.gif" border="0" alt="Park Xfer Line" style="vertical-align:middle" /></a>','-----CallbackSystemDelay---','&exten=','&client=vdc&conf_exten=','&agent_log=','DELETE','#RecorDingFilename',' city','AGENT_CHOOSE',' vendor_lead_code','&start_date=','#chat-icon','" onclick="needToConfirmExit = false;">CLIQUEZ ICI POUR VOUS RECONNECTER</a>
','volume','<a href="#" onclick="call_requeue_launch();return false;"><img src="./images/vdc_LB_requeue_call.gif" border="0" alt="Re-Queue Call" /></a>','<b>Notes: </b>','./images/vdc_LB_ivrparkcall.gif','<button id="tbHangup" type="button" class="btn btn-danger btn-lg" disabled=""><i class="fa fa-stop"></i> Raccrocher</button>','Le prospect n'a pas t annul, une erreur s'est produite
','VDADpause','','','N','N');return false;">D3','APIPausE: ','ADR3DIAL','&VDstop_rec_after_each_call=','#DialBlindVMail','#choixnum','3way_start','click_quiet','VOUS DEVEZ ENTRER UN NUMRO DE TLPHONE POUR UTILISER LA COMPOSITION MANUELLE','LOCKED_IN_GROUP','En appel','Placing call to:','Plage de jours, mois ou annes invalide dtecte. Veuillez corriger et soumettre   nouveau.',' &nbsp;','D2_DIAL','&ACTION=VDADcheckINCOMING','Manager has selected territories for you<br />','&blind_transfer=','{#user#}','floor','event','#LogouTBox','{#address1#}','#last_local_call_timeDISP','DISABLED','#last_name','{#source_id#}','FIRST','&fronter=','#extension_xfer_entry','&LOGINvarONE=','./images/vdc_LB_grabparkedcall.gif','DiaLDiaLAltPhonE','Agent Session: 1','---NONE---','NeWManuaLDiaLBox','#AlertBox','#agentProductivityCommunication','-----ADD-ALL-----','3WAY','./images/vdc_XB_parkxferline_OFF.gif','#CallBackDatESelectioN','&ACTION=MuteRecording&format=text&channel=','MINUTE_','ScriptTopBGspan','READY_TIMEOUT','send','logged_in','&manual_dial_call_time_check=','#province','postal_code,','','0');return false;">CAMPAIGN - ','#callserverip','#TransferMain','600px','BLINK','--- gender ','-----EAcommentsBoxshow---|','Erreur non spcifie
','#agentProductivitySales','DiaLLeaDPrevieW','&RDVLeadStatus=','<a href="#" onclick="TerritorySelect_change('','DEC','readyState','<a href="#" onclick="ShoWTransferMain('OFF','YES','YES');"><img src="./images/vdc_LB_transferconf.gif" border="0" alt="Transfer - Conference" /></a>','moz','disabled','AL_TEXT_AMPM  OCT 24 2008 11:59:59 PM','#CloserSelectList','"><td>','-----ManualValidateDNskip---','#other_tab_comments','lookup','&server_ip=','{#did_custom_one#}','&parked_by=','AUDIO_AND_URL','#statusS','&ACTION=update_settings&format=text&agent_log_id=','#OtherViewCommentButton','&user_abb=','<a href="#" onclick="vmmessages_button('YES');return false;"><img src="./images/vdc_XB_ammessage.gif" border="0" alt="Blind Transfer VMail Message" style="vertical-align:middle" /></a>','</b></span>','#city','-----EAcommentsBoxhide---','LIVE_CALL_INBOUND_AND_MANUAL','[
]
','blind_monitor_notice_span','REPEAT_ALL','{#dialed_label#}','Passer un appel au numro suivant','click','#xferlength','scriptreload,','<a href="#" onclick="conf_send_recording('StopMonitorConf','','substring','MainPanelCustInfo','l'appel n'a pas t plac, il y a eu une erreur
','#ManualValidateEntry','&address1=','which','<table width="100%" class="table table-striped table-condensed table-hover dataTable no-footer"><thead><tr><th>#</th><th style="text-align: center;">Date du Rappel</th><th style="text-align: center;">Tlphone</th><th style="text-align: center;">INFO</th><th style="text-align: center;">Nom & Prnom</th><th style="text-align: center;">Compagne</th><th style="text-align: center;">Date du dernier appel</th><th style="text-align: center;">Action</th></tr></thead>','GroupAliasSelectBox','<select size="1" name="XfeRGrouP" class="form-select" id="XfeRGrouP" onchange="XferAgentSelectLink();return false;">','-----generate_vmmessage_pulldown---|','&ACTION=RUNurls&format=text&user=','ENTRY','&province=','D1_DIAL','./images/vdc_LB_stoprecording_OFF.gif','#CBT_minute','Dial Alt Phone Number: <a href="#" onclick="ManualDialOnly('MaiNPhonE','YES','0')">MAIN PHONE</a> or<a href="#" onclick="ManualDialOnly('ALTPhonE','YES','0')">ALT PHONE</a> or<a href="#" onclick="ManualDialOnly('AddresS3','YES','0')">ADDRESS3</a> or <a href="#" onclick="ManualDialAltDonE('YES')">FINISH LEAD</a>','Merci de choisir votre numro de transfert!','<a href="#" onclick="volume_control('UP','','LOG NOT ENTERED','<button id="tbPlayCall" type="button" class="btn btn-success btn-lg" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><i class="fa fa-play"></i> Reprendre</button>','./images/agc_live_email_ON.gif','hide','0123456789ABCDEFabcdef','&email_invite_lead_id=','#DispoCommentsContent','{#preset_number_b#}','UNSELECTED_TIMER_ADDR3','RED','<img src="./images/vdc_LB_webform_three_OFF.gif" border="0" alt="Web Form 3" />','test','2px solid rgb(229, 229, 229)','undefined','country_code,','APITimerSeconds: ','83009','getYear','UNCHECKED','call_script','wrapper','BLINK_DEFER','','YES','0')"> DIAL LEAD</a>','--- comments ','&state=',' UID: ','length','#search_last_name','-----XferNumberFailed---','<button id="tbferControl" type="button" class="btn btn-info btn-lg" onclick="ShoWTransferMain('ON','','YES');"><i class="fa fa-exchange"></i> Transfert</button>','call_dead','&xfercallid=','&nodeletevdac=','&ext_priority=1','calls',',__lead_id=','&login_theme=softed&login_language=en_us" style="background-color:transparent;z-index:17;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="','./images/vdc_XB_parkxferline_ON.gif','#EAcommentsBoxB','Ce numro de tlphone n'est pas un rappel
','DialBlindTransfer','&email_row_id=','{#gender#}','-----agent_disabled---','&previous_agent_log_id=','RecorDing_ID: ','#DiaLControl2','#refreshCallbacks','#audit_comments_button','Le prospect suivant a dpass sa limite quotidienne d'appels, veuillez ressayer
','VDADready','&search=','ScriptContents','&preset_name=','ParkXferLine','email','SEP','script2reload,','D3_DIAL','getDate','Preview the Lead then<a href="#" onclick="ManualDialOnly('','&customer_sec=','start','&FROMapi=','&omit_phone_code=','FROMParKXfeR','FSCREENWrapupBox','-----callinqueuegrab---',' Dial Next Countdown: ','getElementById','{#epoch#}','Manager has selected groups for you<br />','post_phone_time_diff_span','#CloserSelectContent','MAIN',' CALL NOT PLACED','&customer_server_ip=','#VolumeUpSpan','{#dispo#}','#Script2Contents','TimerSpan','90009*','-----SIPeventHANGUP---','PARK_CUSTOMER_DIAL','DiaLInGrouPSelectBox','&pass=','REQUEUE','{#web_vars#}','{#user_custom_four#}','VOUS DEVEZ TRE EN PAUSE POUR ENTRER UN CODE DE PAUSE EN MODE DE COMPOSITION AUTOMATIQUE','-----GroupAliasSelect_submit---','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=700,height=480','#GroupAliasSelection','83068888888888883999','-----alt_phone_change---','&ACTION=','#PauseCodeSelectContent','AgentStatusCalls','dispo_set','vendor_lead_code,','--- custom_field_values ','HANGUP','&preset_number_c=','OUT','Number to Dial invalid: ','ScriptRefresH','--- postal_code ','#search_city',' CHECKBOX: ','<a href="/index.php?relogin=YES&session_epoch=','#SearcHResultSSpan','ENABLED_PRESERVE','--- rank ','login_invalid','&user_custom_five=','&vendor_lead_code=','#SearcHResultSContactsSpan','&ACTION=RedirectName&format=text&channel=','The system has received a command to log you out, you have been logged out of your session<br /><br />','--- scriptreload ','32389wVLOaL',' Name: ','&comments=','inert_form','location','&group_id=','&nocall_dial_flag=','#MDLeadIDEntry','CALLMENU','park_ivr_retrieved','START_STOP','-----generate_presets_pulldown---|','#XferControl2','<b>Comments: </b><br />','address3,',':00','#CustomerChatIFrame','hangup','LA NUMEROTATION MANUELLE N'EST PAS AUTORISEE PENDANT L'APPEL','#LeaDInfOBox','La piste suivante est un numro de tlphone DNC, veuillez ressayer
','&callback_gmt_offset=','#search_alt_phone','DEAD_EXTERNAL','&clicks=','AgenT','-----DiaLAlerT---Call-Rejected','SELECTED','{#title#}','DIALONLY','href','</a> ','Vous ne pouvez pas vous dconnecter pendant une tentative de numrotation. Attendez 50 secondes pour que le numro choue s'il ne rpond pas','Pas de prospects affects   la campagne:
','CallLogButtons','lead_search_open','-----conf_channels_detail---','PARK_PRESET_4','-----AutoDial_ReSume_PauSe---','&did_custom_three=','date_of_birth','#CallBackCommenTsField','&did_custom_four=','-----bothcall_send_hangup---|','#search_state','PARK_CUSTOMER','-----FormContentsLoad---|','XAMMAD','Update Fields Error!: ','&dispo=','READY','-----RDV_submit---|','&callback_timezone=','Appel rejet ','options','HXvdcW','&phone_ip=','AGENT_PHONE','&original_phone_login=','SELECTED_TIMER_ALT','&alt_phone=','vmail','{#preset_number_d#}','#PerCallNotesContent','217958UYOJKG','./images/agc_live_chat_ON.gif','#WebFormSpanThree','&cid_lock=','Dispo URLs:','&xferchannel=','#search_vendor_lead_code','WEBFORM','DEFAULT','#CallBackSelectBox','application/x-www-form-urlencoded; charset=UTF-8','clipboardData','-----NormalLogout---|','HTvdcW','&department=','-----SendConfDTMF---','</table>','644gbgeZz','#phone_code','{#did_id#}','<img src="./images/vdc_LB_webform_OFF.gif" border="0" alt="Web Form" />','<br />','VOUS DEVEZ SLECTIONNER UN AGENT  TRANSFRER LORSQUE VOUS UTILISEZ AGENTDIRECT','331','&ACTION=VolumeControl&format=text&channel=','<table cellpadding="5" cellspacing="5" width="500px"><tr><td>TERRITORIES NOT SELECTED</td><td>SELECTED TERRITORIES</td></tr><tr><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id=TerritorySelectAdd> &nbsp; <a href="#" onclick="TerritorySelect_change('-----ADD-ALL-----','ADD');return false;"><b>--- ADD ALL ---</b><br />','SearcHResultSContactsBox','</td><td>recording</td><td></td></tr>','#list_id','setTime','#ManualValidateNumber','-----WeBForMDispoSelect_submit---|','{#did_custom_five#}','-----ContactSearchReset---|','-----APIdialFocus---','-----DispoSelect_submit---|','#call_notes','ALLFORCE','SHOW','&ext_priority=1&auto_dial_level=','{#phone_login#}','8618517tsDwBA','APR','&customer_chat_id=','./images/vdc_LB_dialnextnumber.gif','31ImuhSY','&in_script=','ivrParkControl','wrapup_seconds: ','&email=','#CallLogSpan','match','CAMPLISTS_ALL','<center>','<span class="label label-call-direction label-success"> <i class="fa fa-arrow-circle-up fa-rotate-225"></i> Rception</span>','<img src="./images/vdc_LB_parkcall_OFF.gif" border="0" alt="Grab Parked Call" />','&visibility=','background-color','#WebFormSpanTwo','transfer_local_closer','./images/blank.gif','LTMGAD','DeactivateDOlDSessioNSpan','-----DiaLInGrouPSelect_submit---','contentWindow','<span class="label label-call-direction label-warning">','EU_','#agentProductivityCalls','security_phrase','#FSCREENWrapupMessage','ReSET','NOTHING','Local/5','PREVIEW_SCRIPTTWO','-----CloserSelect_change---','-----required_fields_alert---','&location=','&DB=0','<a href="#" onclick="volume_control('DOWN','','90009','&stage=','WUSCRIPT','&no_delete_sessions=','&ACTION=manDiaLskip&conf_exten=','__vendor_lead_code=','PARK_PRESET_5','XFTAMM','&title=','&leave_3way_start_recording_trigger=','80ArZMqW','&ext_priority=1&extenName=park&parkedby=','&start_epoch=','&customer_zap_channel=','value="','&VD_login=','Pause Login','-----UpdateFieldsError---','#ManuaLDiaLInGrouPSelecteD','show','-----generate_contacts_search---|','EXTERNAL','-----InternalChatPanelToFront---|',' <b> ALT DIAL NUMBER: ALT </b>','<b><a href="#" onclick="DiaLInGrouPSelect_submit('');return false;">Go Back</a>','{#SIPexten#}','VICIast20','FORCE','#gmt_offset_now','&phone_number=','#EAcommentsBoxD','park_ivr_started','&pause_max_url_trigger=','&phone_code=','LOCKED_PRESET_1',' Lead: ','<br>','SETTINGS GATHERED','#DispoSelectStop','<b><a href="#" onclick="PresetSelect_submit('D3','','#ViewCommentButton','addClass','./images/vdc_volume_MUTE.gif',' &nbsp; &nbsp; <a href="#" onclick="NoDiaLSwitcH('');">Click Here to Deactivate</a>','&check_for_answer=','{#recording_filename#}','#dispo_comments','#NoDiaLSelecteD','\?&','<span class="blink">','<img src="./images/vdc_LB_blank_OFF.gif" border="0" alt="pause button disabled" /><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />',' &nbsp; &nbsp; ','#address1','-----','{#xfercallid#}','&agent_territories=','{#fronter#}','&pause_trigger=','<a href="#" onclick="MuteRecording('off');return false;"><img src="./images/vdc_LB_mute_recording_ON.gif" border="0" alt="Recording Muted" /></a>','-----CloserSelectContent_create---|','#first_name','#lead_id','-----safe_pause_CFAI---','<b>Agent: </b>',' <b> ALT DIAL NUMBER: ','<a href="#" class="btn btn-warning btn-sm">Raccrocher le transfert</a>','</b>','MS_','</a></b><br /><br />','</option>
','#vendor_lead_code','REPLACE_CB_NOTES','&VDRP_stage=','CAMPAIGN','Next Call Pause Set','XLvdcW','{#did_description#}','APIManualDialQueue: ',' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ','#MainStatuSSpanZZ','{#LOGINvarFIVE#}','<b>Last Call: </b>','getMinutes','MAR','{#did_custom_two#}','#RecorDMute','-----api_pause---','Local','*CXFER*','&ACTION=CALLLOGview&format=text&user=','&closer_blended=','WelcomeBoxA','<a href="#"  onclick="conf_channels_detail('HIDE');">Hide conference call channel information</a>','D3_DIAL_QUIET','&preset_dtmf_b=','&LOGINvarTWO=','MAY','agentdirectlink','Liste des statuts de disposition masque','</strong></td><td style="text-align: center;"><strong>','{#email#}','EndChat','&account=','&group=','./images/agc_live_call_DEAD.png','Vous devez slectionner une disposition','postal_code','block','-----CustomFormSubmit---','&user_custom_three=','pause_max: ','&SQLdate=','Expiration du dlai d'appel, contactez votre administrateur systme TT: ','-!P-','&ACTION=Hangup&format=text&channel=','VCagcW','ALTDIAL',' &nbsp; &nbsp; <a href="#" onclick="NoDiaLSwitcH('');">Click Here to Activate</a>','APIFieldsData: ','{#fullname#}','ALL_ACTIVE','JAN','transfer_vmail','D5_DIAL','nextstep---','server_ip=','hidden','<b>Active: </b>','#custdatetime','-----NoneInSessionCalL---','<a href="#" onclick="ManualQueueChoiceChange('1');return false;">Manual Queue is Off</a><br />','Appel rejet: ','CBHOLD','','','','YES');return false;"><img src="./images/vdc_LB_stoprecording.gif" border="0" alt="Stop Recording" /></a>','PARK_PRESET_1','&did_pattern=','#RendezVousSelectioN','#WebFormSpan','<select size="1" name="gender_list" class="form-select" id="gender_list"><option value="U">U - Undefined</option><option value="M">M - Male</option><option value="F">F - Female</option></select>','<h4>TRAITEMENT DE LA DCONNEXION...</h4><br><br><img src="./images/agent_loading_animation.gif" height="206px" width="206px" alt="TRAITEMENT DE LA DCONNEXION..." />','#LeadPreview','<iframe src="','#SecondSDISP','&list_id=',' address1','LOCKED_PRESET_3','wrapup_bypass: ','#GENDERhideFORie','&stage=610','','ID:','UNSELECTED','#agentBox','ANYONE','Next agent_log_id:','24-HOUR CALL LIMIT','#AlertBoxContent','talk','CRMwin','--- email ','#DiaLInGrouPSelection','#agentProductivityPause','','','','','YES');return false;"><img src="./images/vdc_LB_parkcall.gif" border="0" alt="Park Call" /></a>','YOU MUST BE PAUSED TO SEARCH FOR A LEAD',' - ','<b><a href="#" onclick="PresetSelect_submit('D1','','crm_ext.php',' middle_initial','AgentXferViewSpan','alt_phone,','./images/vdc_LB_hangupcustomer_OFF.gif','LOCKED_PRESET_2','{#script_height#}','&camp_script=','&use_campaign_dnc=','VOUS DEVEZ TRE EN PAUSE POUR RECHERCHER UN PROSPECT: ','#GENDERhideFORieALT','ALERT','-----DELETE-ALL-----','comments,','CampCalls: ','dispo_max: ','&dial_method=','visibilitychange','-----EmailPanelToFront---|','','YES');return false;">','NONE','removeClass','{#group#}','#DispoSelectBox .handle .fa','&LOGINvarFOUR=','&vendor_id=','{#user_custom_two#}','<img src="./images/vdc_LB_startrecording_altx2_OFF.gif" border="0" alt="Start Recording" />','FIELD_security_phrase','-----ManualDialOnly---','','N','N');return false;">D1','-----ContactSearchSubmit---|','&preset_dtmf_a=','&recipient=','-FORCE-','#extension_xfer','&ext_priority=1&outbound_cid=','&ext_priority=1&FROMvdc=YES&uniqueid=','-----PauseCodeSelectContent_create---|','-----OriginateError---','custom_required_radio','&ACTION=CALLSINQUEUEgrab&format=text&user=','FIELD_province','#ChronoPause','-----EmailContentsLoad---|','</select>','&old_CID=','-----FastDialSystemDelay---','<a href="#" class="btn btn-success btn-sm" onclick="SendManualDial('YES','YES');return false;">Composer le numro</a>','D1_DIAL_QUIET','slice','&stage=2NDXfeR','<b><a href="#" onclick="GroupAliasSelect_submit('','DEADcall: ','</textarea>
','&ScrollDIV=1&','#search_first_name','En attente de sonnerie...','Filename: ','#LeadLookuP','NO-HOPPER DNC','#ChatAudioAlertFile','WRAPUP','&auto_dial_level=',' province','DIAL_WITH_CUSTOMER','TIMEOUT','-----leave_3way_call---','state,','#search_addr3_phone','&ACTION=RedirectToParkXfer&format=text&channel=','-----LeadSearchReset---|','--- country_code ','</td><td style="text-align: center;">','18daNrgf','./vdc_chat_display.php?lead_id=','webkit','{#did_extension#}','#call_notes_dispo','<img src="./images/vdc_volume_down_off.gif" border="0" />','<a href="#" class="btn btn-danger btn-sm" onclick="leave_3way_call('FIRST','YES');return false;">Quitter l'appel   3</a>','<a href="#" onclick="ManualQueueChoiceChange('0');return false;">Manual Queue is On</a><br />','#DiaLLeaDPrevieWHide','UnixTime: ','#contacts_job_title','#busycallsdisplay','&dialed_label=','#ParkCustomerDial','source_id,','#RecorDControl','&routing_initiated_recording=','&MDnextCID=','SYSTEM','<b><a href="#" onclick="PresetSelect_submit('D4','','#CallBackTimezone','#HangupControl2','--- chatreload ','transfer_panel_open','crm_query.php','&callback_id=','-----AskInGroupSurvey---','&ACTION=AGENTtimeREPORT&format=text&user=','alt_phone','function','<table cellpadding="5" cellspacing="5" width="500px"><tr><td colspan="2"> DIAL IN-GROUP</td></tr><tr><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id="DiaLInGrouPSelectA">','&RDVDatETimE=','FSCREENWrapupMessage','#VMMessageSelection','-----NeWManuaLDiaLCalLSubmiT---','&date=','focus','&session_id=',' Calling:','-----livehangup_send_hangup---','display','call_dialed','LIVE_CALL_INBOUND','agent_alert','#InternalChatIFrame','#ScriptContents','<img src="./images/vdc_LB_ivrparkcall_OFF.gif" border="0" alt="IVR Park Call" />','-----CustomerGoneShow---|','SIP ACTION','&orig_pass=','LTMG','#type_appel','-----TerritorySelect_change---','#TerritorySelectContent','-----3wayNoHangupOVR---','Dial Next Number','#AgentXferViewSelect','#CustomerChatImg','PRESET_2','#NexTCalLPausE','-----CBcommentsBoxhide---|','dispo_max_dispo: ','Ce prospect a dpass sa limite quotidienne d'appels
','&enable_sipsak_messages=','#gender_list','28634GOrouw','</textarea>','-----CFAI_close_pause_alert---','MGRLOCK','<b>CallBack: </b>',' |	|
','concat','address1','dead_trigger_url_sent','&preset_number_d=','<a href="#" style="margin-right: 8px;" class="btn btn-primary btn-lg" onclick="PauseCodeOpen_mgrapr('','POST','src','<img src="./images/vdc_volume_up_off.gif" border="0" />','Retard du systme, veuillez ressayer<BR>Code:',' <a href="#" onclick="showDiv('ManualValidateBox');">Validating Call</a> ... &nbsp; ','#GroupAliasSelectContent','APItransferconf: ','logged_out','manager_send.php','{#did_custom_four#}',' &nbsp; <a href="#" onclick="CloserSelect_change('-----ADD-ALL-----','ADD');return false;"><b>--- ADD ALL ---</b><br />','<img src="./images/vdc_XB_ammessage_OFF.gif" border="0" alt="Blind Transfer VMail Message" style="vertical-align:middle" />','#FFFF66','&wrapup=','MAIN_','MESSAGE_ONLY','owner,','RESUME','<a href="#" onclick="mainxfer_send_redirect('XfeRLOCAL','','TINYDATE','HOUR_','#post_phone_time_diff_span_contents','#alt_phone','#XfeRCID','612SSrgMg','AGENTDIRECT','#ownerDISP','&email_enabled=','&job_title=','-----PresetSelect_submit---','^NONE','{#phone_code#}','<b>','ENABLED_FULL','PREVIEW_SCRIPT','PRESET_5','./images/vdc_LB_stoprecording.gif','  - ACTIVE DISPLAY PAUSED - ','--------ADMINFONTBEGIN--------','#search_lead_id','PRESET_4','./images/vdc_volume_UNMUTE.gif','No-Call Dial:','-----ManualValidateSubmit---','AgentStatusEmails','NO-HOPPER DAILY CALL LIMIT','SECOND','-----LeadSearchSubmit---|','</b><br />','','','','','YES');return false;"><img src="./images/vdc_LB_ivrparkcall.gif" border="0" alt="IVR Park Call" /></a>','#consultativexfer','#xfernumhidden','<a href="#" onclick="conf_send_recording('MonitorConf','','&list_name=','LEAVE_VM','-----MuteRecording---','GOOD','DialWithCustomer','#CustomerGoneChanneL','&recording_id=','<b><a href="#" onclick="PauseCodeSelect_submit('','YES');return false;">Go Back</a>','&ACTION=RedirectVD&format=text&channel=','ALLCALLS','-----CalLBacKsLisTCheck---|','fromCharCode','DAILY CALL LIMIT','REPLACE_CALL_NOTES','#HangupBothLines','MANUALNEXT','#DispoSelection','1724535dgEZYY','PAUSE','MDSKIP','-----NeWManuaLDiaLCalL---','#calllogdate','APIpark: ','now',' &nbsp; Waiting for Ring...','-----api_status---','#xfernumber','http://127.0.0.1/testing.php','APIdtmf: ','&gender=','&conf_exten=','IT_DASH','AUG','APIDiaL: ','-----shift_logout---','-----DialNextSystemDelay---','&chat_group_id=','&extension=','&dial_prefix=','GRAB_IVR_CUSTOMER','','','','','YES');return false;"><img src="./images/vdc_LB_grabparkedcall.gif" border="0" alt="Grab Parked Call" /></a>','&script_height=','#TerritorySelectDelete','{#session_id#}','&ACTION=AGENTSview&format=text&user=','Status: ','#phone_number','<b>Alt Count: </b>','&ACTION=VMMG_list_build&format=text&campaign=','" />','#XferControl','&parked_hangup=','#AgentStatusCalls','FROMParKivr','<a href="#" onclick="AutoDial_ReSume_PauSe('VDADpause','','','','','','','YES');"><img src="./images/vdc_LB_active.gif" border="0" alt="You are active" /></a><br /><a href="#" onclick="ManualDialNext('','','','','','0','','','YES');"><img src="./images/vdc_LB_dialnextnumber.gif" border="0" alt="Dial Next Number" /></a>','selectedIndex','./images/vdc_tab_chat_internal.gif','SIP Action: ','<input type="hidden" name="cbcomment_comments" id="cbcomment_comments" value="','<span id=PauseCodeSelectB>','{#user_custom_three#}','Searching...
','./images/agent_loading_animation.gif','Script2Panel','{#agent_log_id#}','&ACTION=SEARCHRESULTSview&format=text&user=','&qm_extension=','','','','','YES');return false;"><img src="./images/vdc_LB_startrecording_altx2.gif" border="0" alt="Start Recording" /></a>','Generating VM Messages list...','0000','Numro de transfert appel : <strong>','<img src="./images/vdc_LB_parkcall_OFF.gif" border="0" alt="Park Call" />','CallNotesButtons','&city=','LOCALFQDN','ADD','Retard du systme, veuillez ressayer<BR>code:','{#list_description#}','D4_DIAL','&login_theme=softed&login_language=en_us','--- script2reload ','FAST','#contacts_location','#CloserSelectBlended','','');return false;"><img src="./images/vdc_volume_up.gif" border="0" /></a>','&list_description=','&hide_relogin_fields=','./images/vdc_LB_mute_recording_DISABLED.gif','<br /><br />','right','','');return false;"><img src="./images/vdc_volume_up.gif" border="0" /></a> &nbsp; <a href="#" onclick="volume_control('DOWN','','&CalLCID=','NEVER','SearcHResultSDisplaYBox','');return false;"><strong>INFO</strong></a></td><td style="text-align: center;">','...','--- security_phrase ','&first_name=','--- address1 ','{#original_phone_login#}','#DialWithCustomer','custom_required_select','<a href="#" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><img src="./images/vdc_LB_paused.gif" border="0" alt="You are paused" /></a><br /><a href="#" onclick="ManualDialNext('','','','','','0','','','YES');"><img src="./images/vdc_LB_dialnextnumber.gif" border="0" alt="Dial Next Number" /></a>','PARK_PRESET_2','<select size="1" name="XfeRGrouP" class="form-select" id="XfeRGrouP" onChange="XferAgentSelectLink();return false;">','DISPO','#HangupXferLine','-----AUTOplay_browser_sound---','<a href="#" onclick="mainxfer_send_redirect('FROMParKivr','','-----api_ingroup_change---','Script2RefresH','html','./images/vdc_tab_chat_customer_blink.gif','','','N','N');return false;">D5','in_man_dial_next_ready_seconds: ','<tr bgcolor="','9921nIrrkv','&usegroupalias=','InGroupChange: ','PARK_FIELD_security_phrase','<img src="./images/vdc_LB_requeue_call_OFF.gif" border="0" alt="Re-Queue Call" />','&secondS=','&SIPexten=','XfeRLOCAL','#DDDDFF','setRequestHeader','&did_description=','Content-Type',' <b> ALT DIAL NUMBER: ADDRESS3 </b>','#webphone','#MDLeadID','open','rank','{#state#}','#xferchannel','./images/vdc_tab_chat_internal_red.gif','EU_DASH_24HR  2008-06-24 23:59:59','other_answered','#livecall','session_empty','GRABCL','#EAcommentsBoxA','&VD_campaign=','getMonth','<b><a href="#" onclick="GroupAliasSelect_submit('CAMPAIGN','','EPOCH','first_name,','Call Rejected: ','&ACTION=UpdateFields&conf_exten=','fa-chevron-right','Dial Next Call','&lead_id=','#audit_comments','middle_initial,','ENABLED_PREFIX','external_transferconf','ALT&nbsp;','blur','-----CallBackDatE_submit---|','OFF','-----CustomerGoneHangup---|','split','CallBackSelectBox','#ManualValidateContent','agent_hangup','PresetsSelectBox','#EAcommentsBoxC','RESUME-SET','&alt_dial=','title,','','DELETE');return false;">','&manual_dial_search_filter=','</td></tr></table><br /><br /><table cellpadding="0" cellspacing="0"><tr><td width="330px" align="left"><b><a href="#" onclick="hideDiv('PresetsSelectBox');return false;">Close [X]</a></b></td></tr></table>','CLEAR','<input type="hidden" name="call_notes_dispo" id="call_notes_dispo" value="','pause','charCodeAt','&DiaL_SecondS=','CHECK-FOR-CALL COMPLETE: ','</a>','getElementsByName','&user=','<table cellspacing=4 cellpadding=0><tr><td align="right">Commentaires : <br></td><td align="left">',' &nbsp; <a href="#" onclick="CloserSelect_change('-----DELETE-ALL-----','DELETE');return false;"><b>--- DELETE ALL ---</b><br />','{#last_name#}','&rank=',' Call ID ','<img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />','#agentProductivityTotal','CXFER','checked','-----PauseCodeOpenFailed---','APIRecording: ','<a href="#" onclick="mainxfer_send_redirect('ParK','','#a1a5b7','REPEAT_URL','<a href="#" onclick="DispoHanguPAgaiN()">Hangup Again</a>','','','YES','NO');return false;"><i class="fa fa-headphones"></i></a>&nbsp;</td></tr>','#postal_code','-----FastDialFailed---','HLagcW','&ACTION=Originate&format=text&channel=','AddresS3','-ALL-----','XXXXXXXXXX','-----LogViewInvalid---','&preset_number_a=','#MDType','\`|\:|\;|\#|\"|\{|\}|\^|\$|
|	|
|',' Incoming: ','#DiaLDiaLAltPhonEHide',' phone_code','#e99002','#callchannel','log_text',' first_name','-----api_hangup---','PAUSMX','getSeconds','-----ScriptPanel2ToFront---','JUN','gmt_offset_now,','phone_code','#CCCCCC','#entry_dateDISP','static','#DiaLAltPhonE','#DispoSelectBox .handle','#RecorDID','#phone_numberDISP','-----ManuaLDiaLInGrouPSelectContent_create---|','selected','&ACTION=updateLEAD&format=text&user=','PauseCodeMgrAprBox','-----DialSkipFailed---','-----ManDialSystemDelay---','color','&did_custom_one=','#MuteChatAlert','SHIFT','<img src="./images/vdc_XB_blindtransfer_OFF.gif" border="0" alt="Dial Blind Transfer" style="vertical-align:middle" />','status','<button id="tbPauseCall" type="button" class="btn btn-secondary btn-lg"><i class="fa fa-pause"></i> En cours</button>','-----DispoHanguPAgaiN---|','START','&uniqueid=','SCRIPT','NO_DIAL','{#first_name#}','VMMessageSelectBox','./images/vdc_LB_parkcall.gif','&ACTION=Redirect&format=text&channel=','&campaign=','INGROUP','new','&middle_initial=','#outboundcallsspan','#VolumeDownSpan','#security_phrase',' <input type="checkbox" name="DiaLAltPhonE" id="DiaLAltPhonE" size="1" value="0" /> ALT PHONE DIAL<br />','Hidden','&channel=','&called_count=','AU_SPAC','&ACTION=Hangup&format=text&user=',' &nbsp; <a href="#" onclick="TerritorySelect_change('-----DELETE-ALL-----','DELETE');return false;"><b>--- DELETE ALL ---</b><br />','CHECKED','&did_id=','#xferoverride','css','&customerparked=','<a href="#" class="btn btn-info btn-sm"  data-dismiss="modal" aria-label="Close">Fermer</a>','','YES','0')"> DIAL LEAD</a> or <a href="#" onclick="ManualDialSkip('YES')">SKIP LEAD</a>','#owner','HLvdcW','-----conf_send_recordingAUTO---','','','','','total_log','&format=text','#rank','URL','#list_description','&recording_filename=','#ManualQueueNotice','^VAR','CUSTOM',' - <a href="#" onclick="VieWLeaDInfO('',' RADIO: ','{#uniqueid#}','<b><a href="#" onclick="DiaLInGrouPSelect_submit('','ADDR3','#contacts_last_name','asc','&did_custom_five=','in_man_dial_next_ready','-----ScriptPanelToFront---','&inOUT=','&user_custom_four=','#date_of_birth','value',' List: ','','',' seconds','XFER','./images/agent_loading_done.gif','#CustomXfer','</td><td><a href="#" onclick="livehangup_send_hangup('','ALERT_NOTICE','{#event#}','PAUSE_NO_COUNT','3way_agent_hangup','-----CallGrabError---','VOUS DEVEZ TRE EN PAUSE POUR VOIR VOTRE JOURNAL D'APPELS','form_custom_fields','{#middle_initial#}','&stage=DISPLAY','NEW_WINDOW','&SCRIPTcamp_script=','&leave_3way_start_recording_filename=','ingroup_screen_open','UNSELECTED_LOCK','AgentXferViewSelect','CustomerChatIFrame','ScriptPanel','-----CallGrabFailed---','<button id="tbPauseCall" type="button" class="btn btn-secondary btn-lg" onclick="AutoDial_ReSume_PauSe('VDADpause','','','','','','','YES');"><i class="fa fa-pause"></i> Pause</button>','#CBcommentsBoxA','webphoneSpan','#cbcomment_comments','time_sync','</a></b><br />','#MDPhonENumbeRHiddeN','.nav-tabs a[href="#tab-fiche"]','ingroup_screen_closed','./images/vdc_LB_parkcall_OFF.gif','callback_select_open','#MDDiaLOverridE','&postal_code=','','0');return false;">CUSTOMER - ','PARK_FIELD_address3','3way_answered','{#user_custom_one#}','city,','/index.php?module=Users&action=Authenticate&return_module=Users&return_action=Login&user_name=','-----PauseMaxDispo---','&source_id=','CalLNotesDisplaYBox','#HangupControl','&date_of_birth=','{#alt_phone#}','call_answered','-----ManualValidateCancel---','#search_main_phone','SCRIPTTWO','.modal-backdrop','USERONLY','&agent_dialed_type='];_0x1390=function(){return _0x21e96b;};return _0x1390();}function SendURLs(_0x496f38,_0x3903f2){var _0x16b400=_0x1c96bb,_0x51b327=![];!_0x51b327&&typeof XMLHttpRequest!=_0x16b400(0x34f)&&(_0x51b327=new XMLHttpRequest()),_0x51b327&&(DUsend_query=_0x16b400(0x4c6)+server_ip+_0x16b400(0x7b6)+session_name+_0x16b400(0x339)+user+'&pass='+pass+'&orig_pass='+orig_pass+'&url_ids='+_0x496f38+_0x16b400(0x6b5)+campaign+_0x16b400(0x52d)+auto_dial_level+_0x16b400(0x1b3),_0x51b327[_0x16b400(0x63c)]('POST',_0x16b400(0x550)),_0x51b327[_0x16b400(0x636)](_0x16b400(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x51b327['send'](DUsend_query),_0x51b327[_0x16b400(0x18a)]=function(){var _0x165807=_0x16b400;if(_0x51b327[_0x165807(0x30f)]==0x4&&_0x51b327[_0x165807(0x6aa)]==0xc8){var _0x13c598=null;_0x13c598=_0x51b327[_0x165807(0x137)];}},delete _0x51b327);}function PauseCodeSelect_submit(_0x2d392a,_0x216dee){var _0x523da6=_0x1c96bb;_0x216dee=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x523da6(0x2a1)+_0x2d392a+'|');$(_0x523da6(0x72b))[_0x523da6(0x7c3)](_0x523da6(0x345)),ShoWGenDerPulldown(),WaitingForNextStep=0x0;var _0x1b1bbb=![];!_0x1b1bbb&&typeof XMLHttpRequest!=_0x523da6(0x34f)&&(_0x1b1bbb=new XMLHttpRequest()),_0x1b1bbb&&(VMCpausecode_query=_0x523da6(0x4c6)+server_ip+_0x523da6(0x7b6)+session_name+_0x523da6(0x66e)+user+_0x523da6(0x397)+pass+_0x523da6(0x15a)+_0x2d392a+_0x523da6(0x741)+agent_log_id+'&campaign='+campaign+_0x523da6(0x5de)+extension+_0x523da6(0x28e)+protocol+'&phone_ip='+phone_ip+_0x523da6(0x577)+enable_sipsak_messages+_0x523da6(0x44a)+pause_code_counter+_0x523da6(0x1c6)+LastCallCID+_0x523da6(0x52d)+starting_dial_level+_0x523da6(0x549)+LasTCID,pause_code_counter++,_0x1b1bbb[_0x523da6(0x63c)](_0x523da6(0x584),_0x523da6(0x550)),_0x1b1bbb[_0x523da6(0x636)](_0x523da6(0x638),_0x523da6(0x404)),_0x1b1bbb[_0x523da6(0x2fd)](VMCpausecode_query),_0x1b1bbb[_0x523da6(0x18a)]=function(){var _0x330717=_0x523da6;if(_0x1b1bbb[_0x330717(0x30f)]==0x4&&_0x1b1bbb[_0x330717(0x6aa)]==0xc8){var _0x448531=null,_0x448531=_0x1b1bbb[_0x330717(0x137)],_0x2f3f9a=_0x448531['split']('
');_0x2f3f9a[0x1]==_0x330717(0x4e2)&&(agent_log_id['length']>0x0&&(previous_agent_log_id=agent_log_id),agent_log_id=_0x2f3f9a[0x2],current_pause_code=_0x2d392a,pause_max_exceptions[_0x330717(0x35c)]>0x2&&(VDRP_stage_seconds=0x0));}},delete _0x1b1bbb),LastCallCID='',scroll(0x0,0x0);}function PauseCodeOpen_mgrapr(_0x4c30ce,_0x200a77,_0x3bab64){var _0x1cedda=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x1cedda(0x79d)+_0x4c30ce+'|',$(_0x1cedda(0x81b))[_0x1cedda(0x1b2)](_0x4c30ce),$(_0x1cedda(0x26e))[_0x1cedda(0x628)](_0x1cedda(0x1bf)+_0x4c30ce+_0x1cedda(0x4ec)+_0x200a77);}function PauseCodeCancel_mgrapr(){var _0xb92308=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xb92308(0x1e2)+$(_0xb92308(0x81b))[_0xb92308(0x1b2)]()+'|',hideDiv(_0xb92308(0x6a2)),$(_0xb92308(0x175))[_0xb92308(0x1b2)](''),$(_0xb92308(0x787))['val'](''),$('#PauseCodeMgrAprSelection')[_0xb92308(0x1b2)](''),$(_0xb92308(0x26e))['html']('');}function PauseCodeSelect_MgrApr(){var _0x213022=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x213022(0x7e5)+$(_0x213022(0x81b))['val']()+'|',$(_0x213022(0x72b))['modal']('hide');var _0x5bcb21=$(_0x213022(0x175))[_0x213022(0x1b2)](),_0x2c9472=$(_0x213022(0x787))['val'](),_0x5d124d=![];!_0x5d124d&&typeof XMLHttpRequest!='undefined'&&(_0x5d124d=new XMLHttpRequest()),_0x5d124d&&(VMCpausecodeMgrApr_query=_0x213022(0x4c6)+server_ip+_0x213022(0x7b6)+session_name+'&user='+user+_0x213022(0x397)+pass+'&ACTION=PauseCodeMgrApr&format=text&MgrApr_user='+_0x5bcb21+'&MgrApr_pass='+_0x2c9472+_0x213022(0x6b5)+campaign+_0x213022(0x245)+$('#PauseCodeMgrAprSelection')['val']()+_0x213022(0x741)+agent_log_id+'&user_group='+VU_user_group,_0x5d124d[_0x213022(0x63c)](_0x213022(0x584),_0x213022(0x550)),_0x5d124d[_0x213022(0x636)](_0x213022(0x638),_0x213022(0x404)),_0x5d124d[_0x213022(0x2fd)](VMCpausecodeMgrApr_query),_0x5d124d[_0x213022(0x18a)]=function(){var _0x50a2e5=_0x213022;if(_0x5d124d['readyState']==0x4&&_0x5d124d[_0x50a2e5(0x6aa)]==0xc8){var _0x29fe73=null,_0x29fe73=_0x5d124d[_0x50a2e5(0x137)],_0xc0c765=_0x29fe73[_0x50a2e5(0x65a)]('
');_0xc0c765[0x1]==_0x50a2e5(0x5bc)?(PauseCodeSelect_submit($(_0x50a2e5(0x81b))[_0x50a2e5(0x1b2)](),_0x50a2e5(0x18f)),PauseCodeCancel_mgrapr()):alert_box('Approbation du code de suspension du gestionnaire non valide: '+_0x5bcb21+'');}},delete _0x5d124d),scroll(0x0,0x0);}function GroupAliasSelect_submit(_0x299530,_0x4341ab,_0x1ff07e){var _0x51a5f5=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x51a5f5(0x39c)+_0x299530+' '+_0x4341ab+' '+_0x1ff07e+'|',hideDiv(_0x51a5f5(0x336)),ShoWGenDerPulldown(),WaitingForNextStep=0x0,_0x1ff07e>0x0&&(active_group_alias=_0x299530,$('#ManuaLDiaLGrouPSelecteD')['html'](_0x51a5f5(0x7b0)+active_group_alias+''),$('#XfeRDiaLGrouPSelecteD')['html'](_0x51a5f5(0x7b0)+active_group_alias+'')),cid_choice=_0x4341ab,scroll(0x0,0x0);}function DiaLInGrouPSelect_submit(_0xed1e23,_0x364b5e){var _0xc3f0fe=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xc3f0fe(0x439)+_0xed1e23+' '+_0x364b5e+'|',hideDiv(_0xc3f0fe(0x396)),ShoWGenDerPulldown(),WaitingForNextStep=0x0,_0xed1e23['length']>0x0&&(active_ingroup_dial=_0xed1e23,$(_0xc3f0fe(0x45b))['html'](_0xc3f0fe(0x221)+active_ingroup_dial+'')),scroll(0x0,0x0);}function UpdatESettingS(){var _0x28b6ed=_0x1c96bb,_0x4f0ec4=![];!_0x4f0ec4&&typeof XMLHttpRequest!=_0x28b6ed(0x34f)&&(_0x4f0ec4=new XMLHttpRequest()),_0x4f0ec4&&(VUVCsettings_query='server_ip='+server_ip+_0x28b6ed(0x7b6)+session_name+_0x28b6ed(0x66e)+user+'&pass='+pass+_0x28b6ed(0x31e)+agent_log_id+_0x28b6ed(0x6b5)+campaign,_0x4f0ec4[_0x28b6ed(0x63c)]('POST',_0x28b6ed(0x550)),_0x4f0ec4[_0x28b6ed(0x636)]('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'),_0x4f0ec4[_0x28b6ed(0x2fd)](VUVCsettings_query),_0x4f0ec4[_0x28b6ed(0x18a)]=function(){var _0xb79be6=_0x28b6ed;if(_0x4f0ec4[_0xb79be6(0x30f)]==0x4&&_0x4f0ec4[_0xb79be6(0x6aa)]==0xc8){var _0x595215=null,_0x595215=_0x4f0ec4[_0xb79be6(0x137)],_0x13a544=_0x595215['split']('
');if(_0x13a544[0x0]==_0xb79be6(0x2f0)){if(_0x13a544[0x1]==_0xb79be6(0x46e)){var _0x22cc44=_0x13a544[0x2]['split'](_0xb79be6(0x42a));wrapup_seconds=_0x22cc44[0x1];var _0x5c160d=_0x13a544[0x3][_0xb79be6(0x65a)](_0xb79be6(0x231));dead_max=_0x5c160d[0x1];var _0x445add=_0x13a544[0x4]['split'](_0xb79be6(0x4fd));dispo_max=_0x445add[0x1];var _0x5a87e2=_0x13a544[0x5][_0xb79be6(0x65a)](_0xb79be6(0x4b7));pause_max=_0x5a87e2[0x1];var _0x5b08b3=_0x13a544[0x6]['split'](_0xb79be6(0x761));dead_max_dispo=_0x5b08b3[0x1];var _0x279d26=_0x13a544[0x7][_0xb79be6(0x65a)](_0xb79be6(0x575));dispo_max_dispo=_0x279d26[0x1];var _0x276c12=_0x13a544[0x8][_0xb79be6(0x65a)](_0xb79be6(0x2b4));dial_timeout=_0x276c12[0x1];var _0x575b19=_0x13a544[0x9][_0xb79be6(0x65a)](_0xb79be6(0x4db));wrapup_bypass=_0x575b19[0x1];var _0x5c24ce=_0x13a544[0xa]['split']('wrapup_message: ');wrapup_message=_0x5c24ce[0x1];var _0x509129=_0x13a544[0xb]['split'](_0xb79be6(0x139));wrapup_after_hotkey=_0x509129[0x1];var _0x7d0be1=_0x13a544[0xc][_0xb79be6(0x65a)]('manual_dial_timeout: ');manual_dial_timeout=_0x7d0be1[0x1],manual_dial_timeout=0x1c20;var _0x58bab2=_0x13a544[0xd][_0xb79be6(0x65a)](_0xb79be6(0x62b));in_man_dial_next_ready_seconds=_0x58bab2[0x1];if(wrapup_seconds>0x0){var _0x497e38=wrapup_message['replace'](regWFS,'');_0x497e38=_0x497e38[_0xb79be6(0x74b)](regWMS,''),wrapup_message[_0xb79be6(0x42d)](regWMS)?wrapup_message[_0xb79be6(0x42d)](regWFS)&&load_script_contents(_0xb79be6(0x558),_0x497e38):wrapup_message[_0xb79be6(0x42d)](regWFS)&&$(_0xb79be6(0x43f))[_0xb79be6(0x628)](_0xb79be6(0x42f)+_0x497e38+'</center>');}}}}},delete _0x4f0ec4);}function DtMf_PreSet_a(){var _0x220c64=_0x1c96bb;$(_0x220c64(0x2a2))['val'](CalL_XC_a_Dtmf),$(_0x220c64(0x5d3))['val'](CalL_XC_a_NuMber),$(_0x220c64(0x747))[_0x220c64(0x1b2)]('D1');}function DtMf_PreSet_b(){var _0x514ca6=_0x1c96bb;$('#conf_dtmf')[_0x514ca6(0x1b2)](CalL_XC_b_Dtmf),$('#xfernumber')['val'](CalL_XC_b_NuMber),$('#xfername')[_0x514ca6(0x1b2)]('D2');}function DtMf_PreSet_c(){var _0x1edf92=_0x1c96bb;$(_0x1edf92(0x5d3))[_0x1edf92(0x1b2)](CalL_XC_c_NuMber),$(_0x1edf92(0x747))[_0x1edf92(0x1b2)]('D3');}function DtMf_PreSet_d(){var _0x1a7f3d=_0x1c96bb;$(_0x1a7f3d(0x5d3))[_0x1a7f3d(0x1b2)](CalL_XC_d_NuMber),$('#xfername')['val']('D4');}function DtMf_PreSet_e(){var _0xa79683=_0x1c96bb;$(_0xa79683(0x5d3))[_0xa79683(0x1b2)](CalL_XC_e_NuMber),$('#xfername')['val']('D5');}function DtMf_PreSet_a_DiaL(_0x411f2c,_0x2f8da0){var _0x3873db=_0x1c96bb;_0x2f8da0==_0x3873db(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----DtMf_PreSet_a_DiaL---|');$('#conf_dtmf')[_0x3873db(0x1b2)](CalL_XC_a_Dtmf),$(_0x3873db(0x5d3))[_0x3873db(0x1b2)](CalL_XC_a_NuMber);var _0x31139e=session_id;_0x411f2c=='YES'&&(_0x31139e='7'+session_id);;basic_originate_call(CalL_XC_a_NuMber,'NO',_0x3873db(0x18f),_0x31139e,_0x3873db(0x18f),'','1','0');}function DtMf_PreSet_b_DiaL(_0x4e1cad,_0x2ad22a){var _0x1bec09=_0x1c96bb;_0x2ad22a==_0x1bec09(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x1bec09(0x76f));$(_0x1bec09(0x2a2))[_0x1bec09(0x1b2)](CalL_XC_b_Dtmf),$('#xfernumber')['val'](CalL_XC_b_NuMber);var _0x1d84fe=session_id;_0x4e1cad==_0x1bec09(0x18f)&&(_0x1d84fe='7'+session_id);;basic_originate_call(CalL_XC_b_NuMber,'NO','YES',_0x1d84fe,_0x1bec09(0x18f),'','1','0');}function DtMf_PreSet_c_DiaL(_0x1c0ec3){var _0x33ff73=_0x1c96bb;$(_0x33ff73(0x5d3))[_0x33ff73(0x1b2)](CalL_XC_c_NuMber);var _0x13f298=session_id;_0x1c0ec3==_0x33ff73(0x18f)&&(_0x13f298='7'+session_id);;basic_originate_call(CalL_XC_c_NuMber,'NO',_0x33ff73(0x18f),_0x13f298,_0x33ff73(0x18f),'','1','0');}function DtMf_PreSet_d_DiaL(_0x7acaea){var _0x2da340=_0x1c96bb;$(_0x2da340(0x5d3))[_0x2da340(0x1b2)](CalL_XC_d_NuMber);var _0xcdbefd=session_id;_0x7acaea==_0x2da340(0x18f)&&(_0xcdbefd='7'+session_id);;basic_originate_call(CalL_XC_d_NuMber,'NO',_0x2da340(0x18f),_0xcdbefd,_0x2da340(0x18f),'','1','0');}function DtMf_PreSet_e_DiaL(_0x37a0c6){var _0x3c3d15=_0x1c96bb;$(_0x3c3d15(0x5d3))[_0x3c3d15(0x1b2)](CalL_XC_e_NuMber);var _0x559cb5=session_id;_0x37a0c6==_0x3c3d15(0x18f)&&(_0x559cb5='7'+session_id);;basic_originate_call(CalL_XC_e_NuMber,'NO',_0x3c3d15(0x18f),_0x559cb5,_0x3c3d15(0x18f),'','1','0');}function hangup_timer_xfer(){WaitingForNextStep=0x0,custchannellive=0x0,dialedcall_send_hangup();}function extension_timer_xfer(){var _0x454534=_0x1c96bb;$(_0x454534(0x5d3))[_0x454534(0x1b2)](timer_action_destination),mainxfer_send_redirect(_0x454534(0x7bb),lastcustchannel,lastcustserverip);}function callmenu_timer_xfer(){var _0x168bc5=_0x1c96bb;API_selected_callmenu=timer_action_destination,$(_0x168bc5(0x5d3))[_0x168bc5(0x1b2)](timer_action_destination),mainxfer_send_redirect(_0x168bc5(0x7bb),lastcustchannel,lastcustserverip);}function ingroup_timer_xfer(){var _0xf09e10=_0x1c96bb;API_selected_xfergroup=timer_action_destination,$('#xfernumber')[_0xf09e10(0x1b2)](timer_action_destination),mainxfer_send_redirect(_0xf09e10(0x634),lastcustchannel,lastcustserverip);}function CustomerChanneLGone(){var _0x5b240d=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x5b240d(0x567),$(_0x5b240d(0x80b))[_0x5b240d(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5}),agent_events(_0x5b240d(0x26f),'',aec),aec++,$(_0x5b240d(0x68e))[_0x5b240d(0x628)](''),$(_0x5b240d(0x303))[_0x5b240d(0x1b2)](''),$(_0x5b240d(0x5be))[_0x5b240d(0x628)](lastcustchannel),$('#livecall')['attr'](_0x5b240d(0x585),image_livecall_OFF['src']),$(_0x5b240d(0x4e0))[_0x5b240d(0x6c6)]('border-bottom',_0x5b240d(0x34e)),$(_0x5b240d(0x56b))['html'](''),$('#list_appel')[_0x5b240d(0x628)](''),WaitingForNextStep=0x1;}function CustomerGoneOK(){var _0x222af8=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x222af8(0x779),$(_0x222af8(0x80b))[_0x222af8(0x7c3)](_0x222af8(0x345)),WaitingForNextStep=0x0,custchannellive=0x0;}function CustomerGoneHangup(){var _0x594b25=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x594b25(0x659),$(_0x594b25(0x80b))[_0x594b25(0x7c3)]('hide'),WaitingForNextStep=0x0,custchannellive=0x0,dialedcall_send_hangup();}function NoneInSessionCalL(_0xb54945){var _0x51d91b=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x51d91b(0x4ca)+_0xb54945+'|',WaitingForNextStep=0x0,nochannelinsession=0x0;if(protocol==_0x51d91b(0x45e)||protocol=='Local')var _0x2a5845='Local',_0x11de3b=extension;else var _0x2a5845=protocol,_0x11de3b=extension;var _0x2cc784=_0x2a5845+'/'+_0x11de3b,_0x3e97de=_0x51d91b(0x1b1)+epoch_sec+user_abb,_0x1d7ee0=![];!_0x1d7ee0&&typeof XMLHttpRequest!='undefined'&&(_0x1d7ee0=new XMLHttpRequest()),_0x1d7ee0&&(VMCoriginate_query=_0x51d91b(0x4c6)+server_ip+_0x51d91b(0x7b6)+session_name+'&user='+user+_0x51d91b(0x397)+pass+_0x51d91b(0x74e)+_0x2cc784+'&queryCID='+_0x3e97de+_0x51d91b(0x2bd)+session_id+_0x51d91b(0x214)+login_context+'&ext_priority=1'+'&extension='+extension+'&protocol='+protocol+_0x51d91b(0x3f2)+phone_ip+_0x51d91b(0x577)+enable_sipsak_messages+'&allow_sipsak_messages='+allow_sipsak_messages+_0x51d91b(0x6b5)+campaign+_0x51d91b(0x75a)+campaign_cid,_0x1d7ee0['open'](_0x51d91b(0x584),_0x51d91b(0x58c)),_0x1d7ee0[_0x51d91b(0x636)]('Content-Type',_0x51d91b(0x404)),_0x1d7ee0['send'](VMCoriginate_query),_0x1d7ee0[_0x51d91b(0x18a)]=function(){var _0x13b71a=_0x51d91b;if(_0x1d7ee0[_0x13b71a(0x30f)]==0x4&&_0x1d7ee0[_0x13b71a(0x6aa)]==0xc8){}},delete _0x1d7ee0),auto_dial_level>0x0&&_0xb54945!=_0x51d91b(0x770)&&VDRP_stage!=_0x51d91b(0x156)&&AutoDial_ReSume_PauSe(_0x51d91b(0x2ce));}function CloserSelectContent_create(_0x2c8348){var _0x1e800b=_0x1c96bb;_0x2c8348==_0x1e800b(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x1e800b(0x484));HidEGenDerPulldown();if(VU_agent_choose_ingroups=='1'&&manager_ingroups_set<0x1){var _0x402da6=_0x1e800b(0x728),_0x59c975=0x0;while(_0x59c975<INgroupCOUNT){_0x402da6=_0x402da6+_0x1e800b(0x215)+VARingroups[_0x59c975]+_0x1e800b(0x784)+VARingroups[_0x59c975]+_0x1e800b(0x40f),_0x59c975++;}_0x402da6=_0x402da6+'</span></td><td bgcolor="#99FF99" height="300px" width="240px" valign="top"><span id=CloserSelectDelete></span></td></tr></table>',$(_0x1e800b(0x314))[_0x1e800b(0x1b2)](''),$('#CloserSelectContent')[_0x1e800b(0x628)](_0x402da6);}else{var _0x59c975=0x0;EMAILgroupCOUNT=0x0,CHATgroupCOUNT=0x0,PHONEgroupCOUNT=0x0,incomingEMAILS=0x0,incomingCHATS=0x0;while(_0x59c975<INgroupCOUNT){if(VARingroup_handlers[_0x59c975]==_0x1e800b(0x7eb))incomingEMAILgroups[incomingEMAILS]=VARingroups[_0x59c975],EMAILgroupCOUNT++,incomingEMAILS++;else VARingroup_handlers[_0x59c975]==_0x1e800b(0x7c8)?(incomingCHATgroups[incomingCHATS]=VARingroups[_0x59c975],CHATgroupCOUNT++,incomingCHATS++):PHONEgroupCOUNT++;_0x59c975++;}VU_agent_choose_ingroups_DV=_0x1e800b(0x57c);var _0x402da6=_0x1e800b(0x389);$(_0x1e800b(0x314))[_0x1e800b(0x1b2)](''),$(_0x1e800b(0x38b))[_0x1e800b(0x628)](_0x402da6);}focus_blur_enabled==0x1&&(document[_0x1e800b(0x3bd)]['inert_button'][_0x1e800b(0x55c)](),document['inert_form']['inert_button'][_0x1e800b(0x656)]());}function CloserSelect_change(_0x52da58,_0x1b0d50){var _0x57924b=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x57924b(0x444)+_0x52da58+' '+_0x1b0d50+'|';var _0x47a336=$(_0x57924b(0x314))[_0x57924b(0x1b2)](),_0x5aa69c=0x0,_0x21c0c9=new RegExp(' '+_0x52da58+' ','ig'),_0x32cde9=new RegExp(_0x57924b(0x684),'ig'),_0x78433=new RegExp('-----ADD-ALL-----','ig'),_0x49b2d0=new RegExp('-----DELETE-ALL-----','ig');_0x47a336[_0x57924b(0x42d)](_0x21c0c9)&&_0x47a336[_0x57924b(0x35c)]>0x3?_0x1b0d50==_0x57924b(0x2c0)&&(_0x5aa69c=0x1):_0x1b0d50==_0x57924b(0x604)&&(_0x5aa69c=0x1);_0x52da58[_0x57924b(0x42d)](_0x32cde9)&&(_0x5aa69c=0x1);if(_0x5aa69c==0x1){var _0x12fc91=0x0;EMAILgroupCOUNT=0x0,CHATgroupCOUNT=0x0,PHONEgroupCOUNT=0x0;var _0xf2c956='',_0x32492d='',_0x1c9bf4='',_0x52c52a=' ';incomingEMAILS=0x0,incomingCHATS=0x0,incomingEMAILgroups=new Array(),incomingCHATgroups=new Array();while(_0x12fc91<INgroupCOUNT){var _0x2ec6bb=new RegExp(' '+VARingroups[_0x12fc91]+' ','ig');_0x47a336['match'](_0x2ec6bb)?_0xf2c956='DELETE':_0xf2c956='ADD';(VARingroups[_0x12fc91]==_0x52da58&&_0x1b0d50==_0x57924b(0x2c0)||_0x52da58['match'](_0x49b2d0))&&(_0xf2c956=_0x57924b(0x604));(VARingroups[_0x12fc91]==_0x52da58&&_0x1b0d50=='ADD'||_0x52da58[_0x57924b(0x42d)](_0x78433))&&(_0xf2c956=_0x57924b(0x2c0));if(_0xf2c956==_0x57924b(0x2c0)){_0x1c9bf4=_0x1c9bf4+_0x57924b(0x215)+VARingroups[_0x12fc91]+'','DELETE');return false;">'+VARingroups[_0x12fc91]+_0x57924b(0x40f),_0x52c52a=_0x52c52a+VARingroups[_0x12fc91]+' ';if(VARingroup_handlers[_0x12fc91]=='EMAIL')incomingEMAILgroups[incomingEMAILS]=VARingroups[_0x12fc91],EMAILgroupCOUNT++,incomingEMAILS++;else VARingroup_handlers[_0x12fc91]==_0x57924b(0x7c8)?(incomingCHATgroups[incomingCHATS]=VARingroups[_0x12fc91],CHATgroupCOUNT++,incomingCHATS++):PHONEgroupCOUNT++;}else _0x32492d=_0x32492d+_0x57924b(0x215)+VARingroups[_0x12fc91]+'','ADD');return false;">'+VARingroups[_0x12fc91]+_0x57924b(0x40f);_0x12fc91++;}$('#CloserSelectList')[_0x57924b(0x1b2)](_0x52c52a),$(_0x57924b(0x27b))[_0x57924b(0x628)](_0x57924b(0x58e)+_0x32492d),$(_0x57924b(0x268))['html'](_0x57924b(0x670)+_0x1c9bf4);}}function CloserSelect_submit(_0x322f82){var _0x5938ed=_0x1c96bb;_0x322f82==_0x5938ed(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x5938ed(0x199));dial_method==_0x5938ed(0x21c)&&$(_0x5938ed(0x60c))[_0x5938ed(0x789)](_0x5938ed(0x677),![]);$(_0x5938ed(0x60c))['prop'](_0x5938ed(0x677))==!![]?PIXIScrm_closer_blended=0x1:PIXIScrm_closer_blended=0x0;var _0x1b35d9=$(_0x5938ed(0x314))[_0x5938ed(0x1b2)]();call_requeue_button>0x0?$('#ReQueueCall')[_0x5938ed(0x628)]('<img src="./images/vdc_LB_requeue_call_OFF.gif" border="0" alt="Re-Queue Call" />'):$(_0x5938ed(0x7d6))[_0x5938ed(0x628)]('');VU_agent_choose_ingroups_DV==_0x5938ed(0x57c)&&(_0x1b35d9='MGRLOCK');var _0x478909=![];!_0x478909&&typeof XMLHttpRequest!=_0x5938ed(0x34f)&&(_0x478909=new XMLHttpRequest()),_0x478909&&(CSCupdate_query=_0x5938ed(0x4c6)+server_ip+'&session_name='+session_name+'&ACTION=regCLOSER&format=text&user='+user+_0x5938ed(0x397)+pass+_0x5938ed(0x3bc)+VU_agent_choose_ingroups_DV+_0x5938ed(0x4a3)+PIXIScrm_closer_blended+'&campaign='+campaign+'&qm_phone='+qm_phone+_0x5938ed(0x5fb)+qm_extension+_0x5938ed(0x4fe)+dial_method+_0x5938ed(0x24b)+_0x1b35d9+'-',_0x478909[_0x5938ed(0x63c)]('POST',_0x5938ed(0x550)),_0x478909[_0x5938ed(0x636)](_0x5938ed(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x478909[_0x5938ed(0x2fd)](CSCupdate_query),_0x478909[_0x5938ed(0x18a)]=function(){var _0x5e86c7=_0x5938ed;if(_0x478909['readyState']==0x4&&_0x478909[_0x5e86c7(0x6aa)]==0xc8){}},delete _0x478909),agent_events(_0x5938ed(0x706),'',aec),aec++,MainPanelToFront(),CloserSelecting=0x0,scroll(0x0,0x0);}function TerritorySelectContent_create(_0x158509){var _0x1e7883=_0x1c96bb;_0x158509=='YES'&&(button_click_log=button_click_log+''+SQLdate+'-----TerritorySelectContent_create---|');if(agent_select_territories=='1'){HidEGenDerPulldown();if(agent_choose_territories>0x0){var _0x3c2abd=_0x1e7883(0x413),_0x220286=0x0;while(_0x220286<territoryCOUNT){_0x3c2abd=_0x3c2abd+_0x1e7883(0x30d)+VARterritories[_0x220286]+_0x1e7883(0x784)+VARterritories[_0x220286]+'<br />',_0x220286++;}_0x3c2abd=_0x3c2abd+_0x1e7883(0x77f),$('#TerritorySelectList')[_0x1e7883(0x1b2)](''),$(_0x1e7883(0x56d))['html'](_0x3c2abd);}else{agent_select_territories=_0x1e7883(0x57c);var _0x3c2abd=_0x1e7883(0x2df);$('#TerritorySelectList')['val'](''),$(_0x1e7883(0x56d))[_0x1e7883(0x628)](_0x3c2abd);}}focus_blur_enabled==0x1&&(document[_0x1e7883(0x3bd)][_0x1e7883(0x28d)][_0x1e7883(0x55c)](),document['inert_form'][_0x1e7883(0x28d)][_0x1e7883(0x656)]());}function TerritorySelect_change(_0x498449,_0xf67307){var _0x40419b=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x40419b(0x56c)+_0x498449+' '+_0xf67307+'|';var _0x233c72=$(_0x40419b(0x82a))[_0x40419b(0x1b2)](),_0x46ffaf=0x0,_0x3b2be2=new RegExp(' '+_0x498449+' ','ig'),_0x547bd5=new RegExp('-ALL-----','ig'),_0x1a7539=new RegExp(_0x40419b(0x2f5),'ig'),_0x104273=new RegExp(_0x40419b(0x4fa),'ig');_0x233c72[_0x40419b(0x42d)](_0x3b2be2)&&_0x233c72['length']>0x3?_0xf67307=='DELETE'&&(_0x46ffaf=0x1):_0xf67307==_0x40419b(0x604)&&(_0x46ffaf=0x1);_0x498449[_0x40419b(0x42d)](_0x547bd5)&&(_0x46ffaf=0x1);if(_0x46ffaf==0x1){var _0x1c9464=0x0,_0x5076c5='',_0x259a4f='',_0x1ea1c6='',_0x4e2a44=' ';while(_0x1c9464<territoryCOUNT){var _0x219c06=new RegExp(' '+VARterritories[_0x1c9464]+' ','ig');_0x233c72[_0x40419b(0x42d)](_0x219c06)?_0x5076c5='DELETE':_0x5076c5=_0x40419b(0x604),(VARterritories[_0x1c9464]==_0x498449&&_0xf67307=='DELETE'||_0x498449['match'](_0x104273))&&(_0x5076c5='ADD'),(VARterritories[_0x1c9464]==_0x498449&&_0xf67307==_0x40419b(0x604)||_0x498449[_0x40419b(0x42d)](_0x1a7539))&&(_0x5076c5=_0x40419b(0x2c0)),_0x5076c5==_0x40419b(0x2c0)?(_0x1ea1c6=_0x1ea1c6+_0x40419b(0x30d)+VARterritories[_0x1c9464]+_0x40419b(0x663)+VARterritories[_0x1c9464]+_0x40419b(0x40f),_0x4e2a44=_0x4e2a44+VARterritories[_0x1c9464]+' '):_0x259a4f=_0x259a4f+_0x40419b(0x30d)+VARterritories[_0x1c9464]+_0x40419b(0x784)+VARterritories[_0x1c9464]+_0x40419b(0x40f),_0x1c9464++;}$('#TerritorySelectList')['val'](_0x4e2a44),$('#TerritorySelectAdd')['html'](' &nbsp; <a href="#" onclick="TerritorySelect_change('-----ADD-ALL-----','ADD');return false;"><b>--- ADD ALL ---</b><br />'+_0x259a4f),$(_0x40419b(0x5e3))[_0x40419b(0x628)](_0x40419b(0x6c2)+_0x1ea1c6);}}function ManualQueueChoiceChange(_0x400184){var _0x105988=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----ManualQueueChoiceChange---'+_0x400184+'|',AllowManualQueueCalls=_0x400184;var _0x526f29=$(_0x105988(0x82a))[_0x105988(0x1b2)]();AllowManualQueueCalls=='0'?$('#ManualQueueChoice')[_0x105988(0x628)]('<a href="#" onclick="ManualQueueChoiceChange('1');return false;">Manual Queue is Off</a><br />'):$(_0x105988(0x1cb))[_0x105988(0x628)](_0x105988(0x53f));}function TerritorySelect_submit(_0x2efe57){var _0x433770=_0x1c96bb;_0x2efe57==_0x433770(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x433770(0x1b4));var _0x1e5db5=$(_0x433770(0x82a))[_0x433770(0x1b2)]();agent_select_territories==_0x433770(0x57c)&&(_0x1e5db5=_0x433770(0x57c));var _0x4f135a=![];!_0x4f135a&&typeof XMLHttpRequest!=_0x433770(0x34f)&&(_0x4f135a=new XMLHttpRequest()),_0x4f135a&&(TERRupdate_query=_0x433770(0x4c6)+server_ip+_0x433770(0x7b6)+session_name+_0x433770(0x27d)+user+'&pass='+pass+_0x433770(0x3bc)+agent_select_territories+_0x433770(0x6b5)+campaign+_0x433770(0x480)+_0x1e5db5+'-',_0x4f135a[_0x433770(0x63c)]('POST',_0x433770(0x550)),_0x4f135a[_0x433770(0x636)]('Content-Type',_0x433770(0x404)),_0x4f135a['send'](TERRupdate_query),_0x4f135a[_0x433770(0x18a)]=function(){var _0x4bc3e0=_0x433770;if(_0x4f135a[_0x4bc3e0(0x30f)]==0x4&&_0x4f135a[_0x4bc3e0(0x6aa)]==0xc8){}},delete _0x4f135a),agent_events('territory_screen_closed','',aec),aec++,MainPanelToFront(),TerritorySelecting=0x0,scroll(0x0,0x0);}function Clear_API_Field(_0x440cc2){var _0x52a454=_0x1c96bb,_0x435a6f=![];!_0x435a6f&&typeof XMLHttpRequest!='undefined'&&(_0x435a6f=new XMLHttpRequest()),_0x435a6f&&(TERRupdate_query=_0x52a454(0x4c6)+server_ip+_0x52a454(0x7b6)+session_name+'&ACTION=Clear_API_Field&format=text&user='+user+_0x52a454(0x397)+pass+_0x52a454(0x3bc)+_0x440cc2,_0x435a6f[_0x52a454(0x63c)](_0x52a454(0x584),_0x52a454(0x550)),_0x435a6f['setRequestHeader'](_0x52a454(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x435a6f[_0x52a454(0x2fd)](TERRupdate_query),_0x435a6f[_0x52a454(0x18a)]=function(){var _0x539c04=_0x52a454;if(_0x435a6f[_0x539c04(0x30f)]==0x4&&_0x435a6f[_0x539c04(0x6aa)]==0xc8){}},delete _0x435a6f);}function BrowserCloseLogout(){var _0xb997c6=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xb997c6(0x22e),logout_stop_timeouts<0x1&&(VDRP_stage!=_0xb997c6(0x156)&&AutoDial_ReSume_PauSe(_0xb997c6(0x2ce),'','','',_0xb997c6(0x2b7)),LogouT(_0xb997c6(0x82b),'',''));}function logoutAY(){var _0x20c731=_0x1c96bb;$(_0x20c731(0x2e4))[_0x20c731(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5});}function NormalLogout(){var _0x26d05a=_0x1c96bb;$(_0x26d05a(0x2e4))[_0x26d05a(0x7c3)](_0x26d05a(0x345)),button_click_log=button_click_log+''+SQLdate+_0x26d05a(0x406);if(logout_stop_timeouts<0x1){var _0x587561='';VDRP_stage!=_0x26d05a(0x156)&&(_0x587561=_0x26d05a(0x5cb)),LogouT(_0x26d05a(0x82b),_0x587561,'');}}function LogouT(_0x4d7aef,_0x40464f,_0x80d880){var _0x11bd89=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x11bd89(0x1bc)+_0x4d7aef+' '+_0x40464f+' '+_0x80d880+'|',check_for_conf_calls(session_id,'0');if(MD_channel_look==0x1)alert(_0x11bd89(0x3da));else{if(VD_live_customer_call==0x1)alert('TOUJOURS UN APPEL EN DIRECT! Raccrochez et vous pourrez vous dconnecter');else{if(alt_dial_status_display==0x1)alert('Vous tes en mode de numrotation ALT, vous devez terminer la piste avant de vous dconnecter.');else{agent_events(_0x11bd89(0x58b),_0x4d7aef,aec),aec++,$(_0x11bd89(0x25d))[_0x11bd89(0x628)](_0x11bd89(0x4d4));var _0x2a9e02=![];!_0x2a9e02&&typeof XMLHttpRequest!=_0x11bd89(0x34f)&&(_0x2a9e02=new XMLHttpRequest());_0x2a9e02&&(VDlogout_query=_0x11bd89(0x4c6)+server_ip+_0x11bd89(0x7b6)+session_name+_0x11bd89(0x81a)+user+'&pass='+pass+_0x11bd89(0x6b5)+campaign+'&conf_exten='+session_id+_0x11bd89(0x5de)+extension+_0x11bd89(0x28e)+protocol+_0x11bd89(0x741)+agent_log_id+_0x11bd89(0x44c)+no_delete_sessions+_0x11bd89(0x3f2)+phone_ip+_0x11bd89(0x577)+enable_sipsak_messages+_0x11bd89(0x178)+LogouTKicKAlL+_0x11bd89(0x214)+ext_context+'&qm_extension='+qm_extension+'&stage='+_0x4d7aef+_0x11bd89(0x482)+_0x40464f+'&dial_method='+dial_method+_0x11bd89(0x469)+_0x80d880,_0x2a9e02[_0x11bd89(0x63c)]('POST',_0x11bd89(0x550)),_0x2a9e02[_0x11bd89(0x636)](_0x11bd89(0x638),_0x11bd89(0x404)),_0x2a9e02['send'](VDlogout_query),_0x2a9e02['onreadystatechange']=function(){var _0x7fa677=_0x11bd89;_0x2a9e02[_0x7fa677(0x30f)]==0x4&&_0x2a9e02[_0x7fa677(0x6aa)]==0xc8&&(needToConfirmExit=![],$(_0x7fa677(0x25d))[_0x7fa677(0x628)](_0x7fa677(0x2a8)),agent_events(_0x7fa677(0x75e),'',aec),aec++);},delete _0x2a9e02);hideDiv(_0x11bd89(0x356)),refresh_interval=0x6f63a0;var _0x5e18af='';_0x4d7aef=='SHIFT'&&(_0x5e18af='Your Shift is over or has changed, you have been logged out of your session<br /><br />');_0x4d7aef=='API'&&(_0x5e18af=_0x11bd89(0x3b8));_0x4d7aef==_0x11bd89(0x530)&&(_0x5e18af=_0x11bd89(0x20f));_0x4d7aef==_0x11bd89(0x2fc)&&(_0x5e18af=_0x11bd89(0x14f));is_webphone=='Y'&&$(_0x11bd89(0x63a))['attr'](_0x11bd89(0x585),'./images/blank.gif');if(agent_logout_link>0x0){if(agent_logout_link=='1')$('#LogouTBoxLink')['html'](_0x5e18af+_0x11bd89(0x3af)+UnixTime+'&session_id='+session_id+_0x11bd89(0x7b6)+session_name+_0x11bd89(0x458)+user+_0x11bd89(0x647)+campaign+_0x11bd89(0x760)+original_phone_login+_0x11bd89(0x7fe)+phone_pass+_0x11bd89(0x1ad)+orig_pass+_0x11bd89(0x2ed)+LOGINvarONE+_0x11bd89(0x4a8)+LOGINvarTWO+'&LOGINvarTHREE='+LOGINvarTHREE+_0x11bd89(0x506)+LOGINvarFOUR+_0x11bd89(0x722)+LOGINvarFIVE+'&hide_relogin_fields='+hide_relogin_fields+_0x11bd89(0x24e));else agent_logout_link=='2'?$(_0x11bd89(0x757))['html'](_0x5e18af+_0x11bd89(0x3af)+UnixTime+_0x11bd89(0x55d)+session_id+_0x11bd89(0x7b6)+session_name+_0x11bd89(0x458)+user+'&VD_campaign='+campaign+_0x11bd89(0x760)+original_phone_login+'&LOGINvarONE='+LOGINvarONE+'&LOGINvarTWO='+LOGINvarTWO+_0x11bd89(0x7dc)+LOGINvarTHREE+_0x11bd89(0x506)+LOGINvarFOUR+_0x11bd89(0x722)+LOGINvarFIVE+_0x11bd89(0x60f)+hide_relogin_fields+_0x11bd89(0x2c7)):$(_0x11bd89(0x757))[_0x11bd89(0x628)](_0x5e18af+'<a href="/index.php?relogin=YES&LOGINvarONE='+LOGINvarONE+_0x11bd89(0x4a8)+LOGINvarTWO+_0x11bd89(0x7dc)+LOGINvarTHREE+_0x11bd89(0x506)+LOGINvarFOUR+'&LOGINvarFIVE='+LOGINvarFIVE+_0x11bd89(0x60f)+hide_relogin_fields+_0x11bd89(0x2c7));}else $('#LogouTBoxLink')[_0x11bd89(0x628)](_0x5e18af+_0x11bd89(0x803));logout_stop_timeouts=0x1,window[_0x11bd89(0x3be)][_0x11bd89(0x3d8)]='/';}}}}function hotkeypress(_0x52861d){var _0x4767f6=_0x1c96bb;enter_disable();if(hot_keys_active==0x1&&(VD_live_customer_call==0x1||MD_ring_secondS>0x4)){var _0x1c2b48=_0x52861d?_0x52861d:window[_0x4767f6(0x2e3)];if(!_0x1c2b48)return;var _0x1ed691=0x0;if(_0x1c2b48[_0x4767f6(0x1a8)])_0x1ed691=_0x1c2b48[_0x4767f6(0x1a8)];else typeof _0x1c2b48['which']!='undefined'&&(_0x1ed691=_0x1c2b48['which']);var _0x5bd902=hotkeys[String[_0x4767f6(0x5c4)](_0x1ed691)];if(_0x5bd902){focus_blur_enabled==0x1&&(document[_0x4767f6(0x3bd)][_0x4767f6(0x28d)]['focus'](),document[_0x4767f6(0x3bd)][_0x4767f6(0x28d)][_0x4767f6(0x656)]());button_click_log=button_click_log+''+SQLdate+'-----hotkeypress---'+_0x5bd902+'|',CustomerData_update('NO');var _0x578377=_0x5bd902[_0x4767f6(0x65a)](_0x4767f6(0x828));if(_0x578377[0x0]==_0x4767f6(0x7ba)||_0x578377[0x0]==_0x4767f6(0x6db))$('#DiaLAltPhonE')[_0x4767f6(0x789)](_0x4767f6(0x677))==!![]&&dialedcall_send_hangup('NO',_0x4767f6(0x18f),_0x578377[0x0]);else{var _0xc21e7='',_0x19784b=0x0,_0x3c05ea=0x0;while(VD_statuses_ct>_0x3c05ea){_0x578377[0x0]==VARstatuses[_0x3c05ea]&&((CheckDEADcallON>0x0&&(VARMINstatuses[_0x3c05ea]>0x0&&customer_sec<VARMINstatuses[_0x3c05ea]||VARMAXstatuses[_0x3c05ea]>0x0&&customer_sec>VARMAXstatuses[_0x3c05ea])||CheckDEADcallON<0x1&&(VARMINstatuses[_0x3c05ea]>0x0&&VD_live_call_secondS<VARMINstatuses[_0x3c05ea]||VARMAXstatuses[_0x3c05ea]>0x0&&VD_live_call_secondS>VARMAXstatuses[_0x3c05ea]))&&(_0x19784b=0x1,alert_box(_0x4767f6(0x7dd)+_0x578377[0x0]+' '+VD_live_call_secondS+'('+customer_sec+')'),button_click_log=button_click_log+''+SQLdate+'-----HotKeyNotAvailable2---'+_0x578377[0x0]+' '+VD_live_call_secondS+' '+customer_sec+'|')),_0x3c05ea++;}_0x19784b<0x1&&(_0x578377[0x0]==_0x4767f6(0x56a)||_0x578377[0x0]==_0x4767f6(0x450)?mainxfer_send_redirect(_0x4767f6(0x190),lastcustchannel,lastcustserverip):((_0x578377[0x0]==_0x4767f6(0x437)||_0x578377[0x0]==_0x4767f6(0x3e9))&&mainxfer_send_redirect(_0x4767f6(0x190),lastcustchannel,lastcustserverip),HKdispo_display=0x3,wrapup_after_hotkey==_0x4767f6(0x20d)&&wrapup_seconds>0x0&&(HKdispo_display=wrapup_seconds,HKdispo_display<0x3&&(HKdispo_display=0x3)),HKdispo_submit=HKdispo_display,HKfinish=0x1,wrapup_after_hotkey=='ENABLED'&&wrapup_seconds>0x0&&wrapup_message[_0x4767f6(0x42d)](regWFS)&&(HKFSCREENup=0x1),$(_0x4767f6(0x5c9))[_0x4767f6(0x1b2)](_0x578377[0x0]),alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,dialedcall_send_hangup('NO','YES',_0x578377[0x0]),custom_fields_enabled>0x0&&(customsubmit_trigger=0x1)));}}}}function enter_disable(_0xbf53dc){var _0x478b4a=_0x1c96bb,_0x5ec54e=_0xbf53dc?_0xbf53dc:window[_0x478b4a(0x2e3)];if(!_0x5ec54e)return;var _0x2bd97b=0x0;if(_0x5ec54e[_0x478b4a(0x1a8)])_0x2bd97b=_0x5ec54e[_0x478b4a(0x1a8)];else typeof _0x5ec54e[_0x478b4a(0x334)]!=_0x478b4a(0x34f)&&(_0x2bd97b=_0x5ec54e['which']);return _0x2bd97b!=0xd;}function URLDecode(_0x5b41b2,_0x5456b3,_0x33f9d2,_0x106fd6){var _0x3da766=_0x1c96bb,_0x5326e1=_0x3da766(0x346),_0x2f5774=_0x5b41b2,_0x3c3a47='',_0x414f47='',_0x2d17f2=0x0,_0x147477=new RegExp('[
]
','g'),_0x174f5e=new RegExp('	','g'),_0x112666=new RegExp(_0x3da766(0x57e),'g'),_0x538f89=new RegExp(_0x3da766(0x288),'gi'),_0x5ef686=new RegExp('\`|\:|\;|\#|\"|\{|\}|\^|\$|
|	|
|','ig'),_0x35a3ab='',_0x2d3140='',_0x42f932='';(user_pass_webform>=0x1&&_0x106fd6>=0x1||_0x106fd6=='0')&&(_0x35a3ab=user);(user_pass_webform>=0x2&&_0x106fd6>=0x1||_0x106fd6=='0')&&(_0x2d3140=pass);(user_pass_webform>=0x2&&_0x106fd6>=0x1||_0x106fd6=='0')&&(_0x42f932=orig_pass);var _0x56f822='',_0x5b2ecb='',_0x5e9744='';(phone_login_webform>=0x1&&_0x106fd6>=0x1||_0x106fd6=='0')&&(_0x56f822=phone_login);(phone_login_webform>=0x1&&_0x106fd6>=0x1||_0x106fd6=='0')&&(_0x5b2ecb=original_phone_login);(phone_login_webform>=0x2&&_0x106fd6>=0x1||_0x106fd6=='0')&&(_0x5e9744=phone_pass);var _0x3812a5;_0x3812a5=unescape(_0x2f5774),_0x2f5774=utf8_decode(_0x3812a5);if(OtherTab=='1'&&comments_all_tabs==_0x3da766(0x20d)){var _0xce01df=$(_0x3da766(0x317))[_0x3da766(0x1b2)]();_0xce01df[_0x3da766(0x35c)]>0x0&&$(_0x3da766(0x1af))[_0x3da766(0x1b2)]($('#other_tab_comments')['val']());}if(_0x33f9d2==_0x3da766(0x402)){_0x414f47=_0x3da766(0x650)+encodeURIComponent($(_0x3da766(0x486))[_0x3da766(0x1b2)]())+_0x3da766(0x507)+encodeURIComponent($(_0x3da766(0x48f))[_0x3da766(0x1b2)]())+_0x3da766(0x4d8)+encodeURIComponent($(_0x3da766(0x416))[_0x3da766(0x1b2)]())+'&gmt_offset_now='+encodeURIComponent($('#gmt_offset_now')['val']())+'&phone_code='+encodeURIComponent($('#phone_code')[_0x3da766(0x1b2)]())+_0x3da766(0x466)+encodeURIComponent($('#phone_number')[_0x3da766(0x1b2)]())+_0x3da766(0x451)+encodeURIComponent($(_0x3da766(0x79a))['val']())+_0x3da766(0x61a)+encodeURIComponent($(_0x3da766(0x485))[_0x3da766(0x1b2)]())+_0x3da766(0x6b8)+encodeURIComponent($(_0x3da766(0x2ac))['val']())+_0x3da766(0x7a0)+encodeURIComponent($(_0x3da766(0x2e8))['val']())+_0x3da766(0x333)+encodeURIComponent($('#address1')[_0x3da766(0x1b2)]())+_0x3da766(0x203)+encodeURIComponent($(_0x3da766(0x826))[_0x3da766(0x1b2)]())+_0x3da766(0x1ac)+encodeURIComponent($('#address3')[_0x3da766(0x1b2)]())+_0x3da766(0x602)+encodeURIComponent($(_0x3da766(0x323))[_0x3da766(0x1b2)]())+'&state='+encodeURIComponent($('#state')['val']())+_0x3da766(0x33b)+encodeURIComponent($(_0x3da766(0x300))[_0x3da766(0x1b2)]())+_0x3da766(0x70a)+encodeURIComponent($(_0x3da766(0x67f))[_0x3da766(0x1b2)]())+_0x3da766(0x78d)+encodeURIComponent($(_0x3da766(0x816))[_0x3da766(0x1b2)]())+'&gender='+encodeURIComponent($(_0x3da766(0x1b7))[_0x3da766(0x1b2)]())+_0x3da766(0x715)+encodeURIComponent($(_0x3da766(0x6e3))['val']())+_0x3da766(0x3f6)+encodeURIComponent($(_0x3da766(0x59a))['val']())+_0x3da766(0x42b)+encodeURIComponent($(_0x3da766(0x1c3))['val']())+'&security_phrase='+encodeURIComponent($(_0x3da766(0x6bb))[_0x3da766(0x1b2)]())+'&comments='+encodeURIComponent($(_0x3da766(0x1af))[_0x3da766(0x1b2)]())+_0x3da766(0x66e)+_0x35a3ab+_0x3da766(0x397)+_0x2d3140+_0x3da766(0x569)+_0x42f932+'&campaign='+campaign+_0x3da766(0x760)+_0x56f822+'&original_phone_login='+_0x5b2ecb+_0x3da766(0x7fe)+_0x5e9744+_0x3da766(0x2eb)+fronter+_0x3da766(0x74f)+user+'&group='+group+_0x3da766(0x805)+group+_0x3da766(0x4b8)+SQLdate+'&epoch='+UnixTime+_0x3da766(0x6ae)+$(_0x3da766(0x186))[_0x3da766(0x1b2)]()+_0x3da766(0x456)+lastcustchannel+'&customer_server_ip='+lastcustserverip+'&server_ip='+server_ip+_0x3da766(0x633)+extension+_0x3da766(0x55d)+session_id+'&phone='+$(_0x3da766(0x5e7))[_0x3da766(0x1b2)]()+_0x3da766(0x31b)+$('#lead_id')[_0x3da766(0x1b2)]()+'&dispo='+LeaDDispO+''+_0x3da766(0x1dd)+dialed_number+''+_0x3da766(0x544)+dialed_label+''+_0x3da766(0x712)+source_id+''+_0x3da766(0x672)+$(_0x3da766(0x6d0))[_0x3da766(0x1b2)]()+''+_0x3da766(0x79b)+$(_0x3da766(0x6ca))['val']()+''+_0x3da766(0x4f5)+campaign_script+''+'&in_script='+CalL_ScripT_id+''+_0x3da766(0x802)+CalL_ScripT_id_two+''+_0x3da766(0x210)+script_width+''+_0x3da766(0x5e2)+script_height+''+_0x3da766(0x769)+LOGfullname+''+_0x3da766(0x801)+LOGemail+''+_0x3da766(0x6d3)+recording_filename+''+_0x3da766(0x5bf)+recording_id+''+_0x3da766(0x179)+VU_custom_one+''+_0x3da766(0x7b5)+VU_custom_two+''+'&user_custom_three='+VU_custom_three+''+'&user_custom_four='+VU_custom_four+''+_0x3da766(0x3b4)+VU_custom_five+''+_0x3da766(0x687)+CalL_XC_a_NuMber+''+'&preset_number_b='+CalL_XC_b_NuMber+''+_0x3da766(0x3a8)+CalL_XC_c_NuMber+''+_0x3da766(0x582)+CalL_XC_d_NuMber+''+_0x3da766(0x742)+CalL_XC_e_NuMber+''+_0x3da766(0x50e)+CalL_XC_a_Dtmf+''+'&preset_dtmf_b='+CalL_XC_b_Dtmf+''+'&did_id='+did_id+''+_0x3da766(0x2a3)+did_extension+''+_0x3da766(0x4d0)+did_pattern+''+_0x3da766(0x637)+did_description+''+_0x3da766(0x1ce)+closecallid+''+_0x3da766(0x361)+xfercallid+''+_0x3da766(0x741)+agent_log_id+''+'&entry_list_id='+$(_0x3da766(0x29a))[_0x3da766(0x1b2)]()+''+'&call_id='+LasTCID+''+'&user_group='+VU_user_group+''+_0x3da766(0x5b9)+encodeURIComponent($('#list_name')[_0x3da766(0x1b2)]())+_0x3da766(0x60e)+encodeURIComponent($(_0x3da766(0x6d2))[_0x3da766(0x1b2)]())+_0x3da766(0x225)+entry_date+''+_0x3da766(0x6a6)+did_custom_one+''+_0x3da766(0x219)+did_custom_two+''+_0x3da766(0x3e1)+did_custom_three+''+_0x3da766(0x3e4)+did_custom_four+''+_0x3da766(0x6de)+did_custom_five+''+_0x3da766(0x6bf)+$(_0x3da766(0x7fd))[_0x3da766(0x1b2)]()+''+_0x3da766(0x36b)+$(_0x3da766(0x721))[_0x3da766(0x1b2)]()+''+_0x3da766(0x6e1)+inOUT+''+'&LOGINvarONE='+LOGINvarONE+''+_0x3da766(0x4a8)+LOGINvarTWO+''+_0x3da766(0x7dc)+LOGINvarTHREE+''+'&LOGINvarFOUR='+LOGINvarFOUR+''+'&LOGINvarFIVE='+LOGINvarFIVE+''+_0x3da766(0x60f)+hide_relogin_fields+''+_0x3da766(0x2b1)+LIVE_web_vars+''+webform_session;if(custom_field_names['length']>0x2){var _0x228af6='',_0x589ce1=custom_field_names['split']('|'),_0x525879=_0x589ce1['length'],_0x3a7649=0x0;while(_0x3a7649<_0x525879){var _0x2f7ce6=_0x589ce1[_0x3a7649];if(_0x2f7ce6[_0x3da766(0x35c)]>0x0)var _0x228af6=_0x228af6+'&'+_0x2f7ce6+'={#'+_0x2f7ce6+'#}';_0x3a7649++;}_0x228af6[_0x3da766(0x35c)]>0xa&&(_0x228af6='&CF_uses_custom_fields=Y'+_0x228af6),_0x414f47=_0x414f47+''+_0x228af6,_0x5456b3=_0x3da766(0x18f);}SCRIPTweb_form_vars=_0x414f47,SCRIPT2web_form_vars=_0x414f47,_0x414f47=_0x414f47[_0x3da766(0x74b)](_0x112666,'+'),_0x414f47=_0x414f47['replace'](_0x147477,'+'),_0x414f47=_0x414f47[_0x3da766(0x74b)](_0x5ef686,'');var _0x4563b0=new RegExp('\?','ig');_0x2f5774[_0x3da766(0x42d)](_0x4563b0)?_0x414f47='&'+_0x414f47:_0x414f47='?'+_0x414f47;var _0x4da3e9=_0x2f5774+''+_0x414f47,_0x4263e9=new RegExp(_0x3da766(0x479),'ig'),_0x23c197=new RegExp('&&','ig');_0x4da3e9=_0x4da3e9[_0x3da766(0x74b)](_0x4263e9,'?'),_0x4da3e9=_0x4da3e9['replace'](_0x23c197,'&'),_0x2f5774=_0x4da3e9;}if(_0x5456b3==_0x3da766(0x18f)){if(custom_field_names[_0x3da766(0x35c)]>0x2){var _0x589ce1=custom_field_names[_0x3da766(0x65a)]('|'),_0x4ffa8f=custom_field_values[_0x3da766(0x65a)](_0x3da766(0x1d6)),_0x4e3912=custom_field_types[_0x3da766(0x65a)]('|'),_0x525879=_0x589ce1['length'],_0x3a7649=0x0,_0x529d3f='',_0x225497=0x0;while(_0x3a7649<_0x525879){var _0x2f7ce6=_0x589ce1[_0x3a7649],_0x540089=new RegExp('{#'+_0x2f7ce6+'#}','g');if(_0x2f7ce6[_0x3da766(0x35c)]>0x0&&_0x2f5774[_0x3da766(0x42d)](_0x540089)){if(_0x225497=='1'){var _0x15cebd='',_0x6ef388=0x0;if(_0x4e3912[_0x3a7649]==_0x3da766(0x255)&&_0x6ef388<0x1){var _0x4def9a=_0x3da766(0x598)+_0x2f7ce6,_0x3f6455=vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x4def9a][_0x3da766(0x5f0)],_0x160d32=vcFormIFrame['document'][_0x3da766(0x6f2)][_0x4def9a]['options'][_0x3f6455][_0x3da766(0x6e4)],_0x32246c=_0x3da766(0x2fa)+_0x2f7ce6,_0x23e44e=vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x32246c][_0x3da766(0x5f0)],_0x33423c=vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x32246c][_0x3da766(0x3f0)][_0x23e44e][_0x3da766(0x6e4)],_0x15cebd=_0x160d32+':'+_0x33423c+_0x3da766(0x3c9);_0x6ef388=0x1;}if(_0x4e3912[_0x3a7649]=='SELECT'&&_0x6ef388<0x1){var _0x9a33=vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x2f7ce6][_0x3da766(0x5f0)],_0x15cebd=vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x2f7ce6][_0x3da766(0x3f0)][_0x9a33][_0x3da766(0x6e4)];_0x6ef388=0x1;}if(_0x4e3912[_0x3a7649]=='MULTI'&&_0x6ef388<0x1){var _0x30aced='',_0x2f7ce6=_0x2f7ce6+'[]';for(_0x2d17f2=0x0;_0x2d17f2<vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x2f7ce6]['options'][_0x3da766(0x35c)];_0x2d17f2++){vcFormIFrame[_0x3da766(0x1e3)]['form_custom_fields'][_0x2f7ce6][_0x3da766(0x3f0)][_0x2d17f2][_0x3da766(0x6a0)]&&(_0x30aced=_0x30aced+''+vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x2f7ce6][_0x3da766(0x3f0)][_0x2d17f2]['value']+',');}var _0x15cebd=_0x30aced;_0x15cebd[_0x3da766(0x35c)]>0x0&&(_0x15cebd=_0x15cebd[_0x3da766(0x520)](0x0,-0x1)),_0x6ef388=0x1;}if((_0x4e3912[_0x3a7649]==_0x3da766(0x23c)||_0x4e3912[_0x3a7649]=='CHECKBOX')&&_0x6ef388<0x1){var _0x30aced='',_0x2f7ce6=_0x2f7ce6+'[]',_0x7b4c48=vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x2f7ce6][_0x3da766(0x35c)];for(_0x2d17f2=0x0;_0x2d17f2<_0x7b4c48;_0x2d17f2++){vcFormIFrame['document'][_0x3da766(0x6f2)][_0x2f7ce6][_0x2d17f2]['checked']&&(_0x30aced=_0x30aced+''+vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x2f7ce6][_0x2d17f2]['value']+',');}var _0x15cebd=_0x30aced;_0x15cebd[_0x3da766(0x35c)]>0x0&&(_0x15cebd=_0x15cebd[_0x3da766(0x520)](0x0,-0x1)),_0x6ef388=0x1;}if(_0x6ef388<0x1){var _0x15cebd=vcFormIFrame[_0x3da766(0x1e3)][_0x3da766(0x6f2)][_0x2f7ce6][_0x3da766(0x6e4)];_0x6ef388=0x1;}}else var _0x15cebd=_0x4ffa8f[_0x3a7649];_0x15cebd=encodeURIComponent(_0x15cebd),_0x15cebd=_0x15cebd[_0x3da766(0x74b)](_0x147477,'+'),_0x15cebd=_0x15cebd[_0x3da766(0x74b)](_0x174f5e,'+'),_0x15cebd=_0x15cebd[_0x3da766(0x74b)](_0x112666,'+'),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x540089,_0x15cebd),_0x414f47=_0x414f47['replace'](_0x540089,_0x15cebd),_0x529d3f=_0x529d3f+'|'+_0x2f7ce6+'-'+_0x15cebd;}_0x3a7649++;}}custom_field_names['length']>0x2&&(SCRIPTweb_form_vars=_0x414f47,SCRIPT2web_form_vars=_0x414f47);_0x106fd6=='1'&&(web_form_vars=_0x414f47);_0x106fd6=='2'&&(web_form_vars_two=_0x414f47);_0x106fd6=='3'&&(web_form_vars_three=_0x414f47);var _0x566af0=encodeURIComponent($('#vendor_lead_code')[_0x3da766(0x1b2)]()),_0x3bb3ba=source_id,_0x3ff2dd=encodeURIComponent($(_0x3da766(0x416))[_0x3da766(0x1b2)]()),_0x588fdc=encodeURIComponent($('#list_name')[_0x3da766(0x1b2)]()),_0x330fb6=encodeURIComponent($(_0x3da766(0x6d2))[_0x3da766(0x1b2)]()),_0x4d3591=encodeURIComponent($('#gmt_offset_now')[_0x3da766(0x1b2)]()),_0x539b72='',_0x34f73c=encodeURIComponent($(_0x3da766(0x40c))['val']()),_0x3b656b=encodeURIComponent($('#phone_number')[_0x3da766(0x1b2)]()),_0x3dfd94=encodeURIComponent($('#title')[_0x3da766(0x1b2)]()),_0x48b5ed=encodeURIComponent($(_0x3da766(0x485))[_0x3da766(0x1b2)]()),_0xe21020=encodeURIComponent($('#middle_initial')[_0x3da766(0x1b2)]()),_0x5600c1=encodeURIComponent($(_0x3da766(0x2e8))[_0x3da766(0x1b2)]()),_0x3fc685=encodeURIComponent($(_0x3da766(0x47d))[_0x3da766(0x1b2)]()),_0x3b96b2=encodeURIComponent($(_0x3da766(0x826))[_0x3da766(0x1b2)]()),_0x227cd1=encodeURIComponent($(_0x3da766(0x22b))['val']()),_0x50beb7=encodeURIComponent($(_0x3da766(0x323))[_0x3da766(0x1b2)]()),_0x36427b=encodeURIComponent($(_0x3da766(0x1c0))[_0x3da766(0x1b2)]()),_0x7d4a35=encodeURIComponent($(_0x3da766(0x300))['val']()),_0x313689=encodeURIComponent($(_0x3da766(0x67f))[_0x3da766(0x1b2)]()),_0x241fb9=encodeURIComponent($(_0x3da766(0x816))[_0x3da766(0x1b2)]()),_0x4f91fa=encodeURIComponent($(_0x3da766(0x1b7))['val']()),_0x360e2d=encodeURIComponent($(_0x3da766(0x6e3))[_0x3da766(0x1b2)]()),_0x5d3fba=encodeURIComponent($('#alt_phone')[_0x3da766(0x1b2)]()),_0x31b5fa=encodeURIComponent($(_0x3da766(0x1c3))[_0x3da766(0x1b2)]()),_0x17dd31=encodeURIComponent($(_0x3da766(0x6bb))[_0x3da766(0x1b2)]()),_0x2327e9=encodeURIComponent($(_0x3da766(0x1af))[_0x3da766(0x1b2)]()),_0x434013=LOGfullname,_0x4092e2=LOGemail,_0x4b4e83=fronter,_0x261436=user,_0x5a0083=pass,_0x41c57c=$(_0x3da766(0x486))[_0x3da766(0x1b2)](),_0x493866=campaign,_0x5ab08e=phone_login,_0x5908dd=original_phone_login,_0x5a5d82=group,_0x53ede8=group,_0x3d2d9a=SQLdate,_0x4de16f=UnixTime,_0x21b115=$(_0x3da766(0x186))[_0x3da766(0x1b2)](),_0xdf9f76=lastcustchannel,_0x4ab7bb=server_ip,_0x4f9c2c=extension,_0x14c2c5=session_id,_0x377622=LeaDDispO,_0x4630d5=dialed_number,_0x3a9fa9=dialed_label,_0x50c1f7=$('#rank')[_0x3da766(0x1b2)](),_0x4cb5e0=$(_0x3da766(0x6ca))[_0x3da766(0x1b2)](),_0x10be4e=campaign_script,_0x3206bc=CalL_ScripT_id,_0x8a83e0=CalL_ScripT_id_two,_0x148df2=script_width,_0x20f7c5=script_height,_0x563c60=recording_filename,_0x30d42d=recording_id,_0x11bc05=VU_custom_one,_0xe8e6bb=VU_custom_two,_0x1c28f7=VU_custom_three,_0x4d0388=VU_custom_four,_0x3f2bdf=VU_custom_five,_0x56d954=CalL_XC_a_NuMber,_0x1259ed=CalL_XC_b_NuMber,_0xc7c82=CalL_XC_c_NuMber,_0x675e2b=CalL_XC_d_NuMber,_0x5e6b0b=CalL_XC_e_NuMber,_0xd1d3af=CalL_XC_a_Dtmf,_0xf6235a=CalL_XC_b_Dtmf,_0xcfb44f=did_id,_0x3468a2=did_extension,_0x1a29d9=did_pattern,_0x24c5e2=did_description,_0x10af72=closecallid,_0x190daa=xfercallid,_0x32b929=LasTCID,_0x2a10f3=VU_user_group,_0x21067f=agent_log_id,_0x2c21bf=entry_date,_0xba572b=did_custom_one,_0x579145=did_custom_two,_0x1b1e39=did_custom_three,_0x27bb41=did_custom_four,_0x59385f=did_custom_five,_0x552381=$(_0x3da766(0x7fd))[_0x3da766(0x1b2)](),_0x5453d7=LIVE_web_vars;_0x2f5774['match'](_0x538f89)&&(_0x566af0=_0x566af0[_0x3da766(0x74b)](_0x112666,'+'),_0x3bb3ba=_0x3bb3ba['replace'](_0x112666,'+'),_0x3ff2dd=_0x3ff2dd['replace'](_0x112666,'+'),_0x588fdc=_0x588fdc[_0x3da766(0x74b)](_0x112666,'+'),_0x330fb6=_0x330fb6[_0x3da766(0x74b)](_0x112666,'+'),_0x4d3591=_0x4d3591[_0x3da766(0x74b)](_0x112666,'+'),_0x539b72=_0x539b72[_0x3da766(0x74b)](_0x112666,'+'),_0x34f73c=_0x34f73c['replace'](_0x112666,'+'),_0x3b656b=_0x3b656b[_0x3da766(0x74b)](_0x112666,'+'),_0x3dfd94=_0x3dfd94[_0x3da766(0x74b)](_0x112666,'+'),_0x48b5ed=_0x48b5ed[_0x3da766(0x74b)](_0x112666,'+'),_0xe21020=_0xe21020[_0x3da766(0x74b)](_0x112666,'+'),_0x5600c1=_0x5600c1[_0x3da766(0x74b)](_0x112666,'+'),_0x3fc685=_0x3fc685[_0x3da766(0x74b)](_0x112666,'+'),_0x3b96b2=_0x3b96b2[_0x3da766(0x74b)](_0x112666,'+'),_0x227cd1=_0x227cd1[_0x3da766(0x74b)](_0x112666,'+'),_0x50beb7=_0x50beb7[_0x3da766(0x74b)](_0x112666,'+'),_0x36427b=_0x36427b[_0x3da766(0x74b)](_0x112666,'+'),_0x7d4a35=_0x7d4a35[_0x3da766(0x74b)](_0x112666,'+'),_0x313689=_0x313689[_0x3da766(0x74b)](_0x112666,'+'),_0x241fb9=_0x241fb9[_0x3da766(0x74b)](_0x112666,'+'),_0x4f91fa=_0x4f91fa[_0x3da766(0x74b)](_0x112666,'+'),_0x360e2d=_0x360e2d[_0x3da766(0x74b)](_0x112666,'+'),_0x5d3fba=_0x5d3fba['replace'](_0x112666,'+'),_0x31b5fa=_0x31b5fa[_0x3da766(0x74b)](_0x112666,'+'),_0x17dd31=_0x17dd31[_0x3da766(0x74b)](_0x112666,'+'),_0x2327e9=_0x2327e9[_0x3da766(0x74b)](_0x112666,'+'),_0x434013=_0x434013[_0x3da766(0x74b)](_0x112666,'+'),_0x4092e2=_0x4092e2[_0x3da766(0x74b)](_0x112666,'+'),_0x4b4e83=_0x4b4e83[_0x3da766(0x74b)](_0x112666,'+'),_0x261436=_0x261436[_0x3da766(0x74b)](_0x112666,'+'),_0x5a0083=_0x5a0083['replace'](_0x112666,'+'),_0x41c57c=_0x41c57c[_0x3da766(0x74b)](_0x112666,'+'),_0x493866=_0x493866[_0x3da766(0x74b)](_0x112666,'+'),_0x5ab08e=_0x5ab08e[_0x3da766(0x74b)](_0x112666,'+'),_0x5908dd=_0x5908dd[_0x3da766(0x74b)](_0x112666,'+'),_0x5a5d82=_0x5a5d82[_0x3da766(0x74b)](_0x112666,'+'),_0x53ede8=_0x53ede8[_0x3da766(0x74b)](_0x112666,'+'),_0x3d2d9a=_0x3d2d9a[_0x3da766(0x74b)](_0x112666,'+'),_0x21b115=_0x21b115[_0x3da766(0x74b)](_0x112666,'+'),_0xdf9f76=_0xdf9f76[_0x3da766(0x74b)](_0x112666,'+'),_0x4ab7bb=_0x4ab7bb[_0x3da766(0x74b)](_0x112666,'+'),_0x4f9c2c=_0x4f9c2c['replace'](_0x112666,'+'),_0x377622=_0x377622[_0x3da766(0x74b)](_0x112666,'+'),_0x4630d5=_0x4630d5['replace'](_0x112666,'+'),_0x3a9fa9=_0x3a9fa9[_0x3da766(0x74b)](_0x112666,'+'),_0x50c1f7=_0x50c1f7[_0x3da766(0x74b)](_0x112666,'+'),_0x4cb5e0=_0x4cb5e0[_0x3da766(0x74b)](_0x112666,'+'),_0x10be4e=_0x10be4e[_0x3da766(0x74b)](_0x112666,'+'),_0x3206bc=_0x3206bc[_0x3da766(0x74b)](_0x112666,'+'),_0x148df2=_0x148df2['replace'](_0x112666,'+'),_0x20f7c5=_0x20f7c5['replace'](_0x112666,'+'),_0x563c60=_0x563c60['replace'](_0x112666,'+'),_0x30d42d=_0x30d42d[_0x3da766(0x74b)](_0x112666,'+'),_0x11bc05=_0x11bc05['replace'](_0x112666,'+'),_0xe8e6bb=_0xe8e6bb[_0x3da766(0x74b)](_0x112666,'+'),_0x1c28f7=_0x1c28f7[_0x3da766(0x74b)](_0x112666,'+'),_0x4d0388=_0x4d0388['replace'](_0x112666,'+'),_0x3f2bdf=_0x3f2bdf[_0x3da766(0x74b)](_0x112666,'+'),_0x56d954=_0x56d954['replace'](_0x112666,'+'),_0x1259ed=_0x1259ed[_0x3da766(0x74b)](_0x112666,'+'),_0xc7c82=_0xc7c82[_0x3da766(0x74b)](_0x112666,'+'),_0x675e2b=_0x675e2b[_0x3da766(0x74b)](_0x112666,'+'),_0x5e6b0b=_0x5e6b0b['replace'](_0x112666,'+'),_0xd1d3af=_0xd1d3af['replace'](_0x112666,'+'),_0xf6235a=_0xf6235a['replace'](_0x112666,'+'),_0xcfb44f=_0xcfb44f[_0x3da766(0x74b)](_0x112666,'+'),_0x3468a2=_0x3468a2['replace'](_0x112666,'+'),_0x1a29d9=_0x1a29d9[_0x3da766(0x74b)](_0x112666,'+'),_0x24c5e2=_0x24c5e2[_0x3da766(0x74b)](_0x112666,'+'),_0x32b929=_0x32b929[_0x3da766(0x74b)](_0x112666,'+'),_0x2a10f3=_0x2a10f3[_0x3da766(0x74b)](_0x112666,'+'),_0x2c21bf=_0x2c21bf[_0x3da766(0x74b)](_0x112666,'+'),_0xba572b=_0xba572b[_0x3da766(0x74b)](_0x112666,'+'),_0x579145=_0x579145[_0x3da766(0x74b)](_0x112666,'+'),_0x1b1e39=_0x1b1e39[_0x3da766(0x74b)](_0x112666,'+'),_0x27bb41=_0x27bb41[_0x3da766(0x74b)](_0x112666,'+'),_0x59385f=_0x59385f[_0x3da766(0x74b)](_0x112666,'+'),_0x5453d7=_0x5453d7[_0x3da766(0x74b)](_0x112666,'+'));var _0x4e7ee8=new RegExp('{#vendor_lead_code#}','g'),_0x104cec=new RegExp(_0x3da766(0x2e9),'g'),_0x3d40ef=new RegExp(_0x3da766(0x15b),'g'),_0xbf1515=new RegExp('{#list_name#}','g'),_0x23021d=new RegExp(_0x3da766(0x606),'g'),_0x2d3821=new RegExp(_0x3da766(0x1fc),'g'),_0x3f8af6=new RegExp('{#called_since_last_reset#}','g'),_0x2a6929=new RegExp(_0x3da766(0x5a3),'g'),_0x2f3cce=new RegExp(_0x3da766(0x1f6),'g'),_0x59f42a=new RegExp(_0x3da766(0x3d6),'g'),_0x1df017=new RegExp(_0x3da766(0x6b1),'g'),_0x32a6df=new RegExp(_0x3da766(0x6f3),'g'),_0xb8c037=new RegExp(_0x3da766(0x671),'g'),_0x25ea77=new RegExp(_0x3da766(0x2e5),'g'),_0x2db107=new RegExp(_0x3da766(0x267),'g'),_0x18bf28=new RegExp('{#address3#}','g'),_0x361a79=new RegExp(_0x3da766(0x7ec),'g'),_0x188db9=new RegExp(_0x3da766(0x63e),'g'),_0x4d7e49=new RegExp('{#province#}','g'),_0x338ed5=new RegExp(_0x3da766(0x7a4),'g'),_0x3d19a=new RegExp('{#country_code#}','g'),_0x3d5c02=new RegExp(_0x3da766(0x36c),'g'),_0x3d8639=new RegExp(_0x3da766(0x239),'g'),_0x4b8c9a=new RegExp(_0x3da766(0x716),'g'),_0x179548=new RegExp(_0x3da766(0x4ad),'g'),_0x25595a=new RegExp(_0x3da766(0x814),'g'),_0x2fc970=new RegExp('{#comments#}','g'),_0x190d7e=new RegExp(_0x3da766(0x4c0),'g'),_0x32ad03=new RegExp('{#agent_email#}','g'),_0x397abc=new RegExp(_0x3da766(0x481),'g'),_0x586ff5=new RegExp(_0x3da766(0x2e1),'g'),_0x5e13d5=new RegExp('{#pass#}','g'),_0x2432bf=new RegExp(_0x3da766(0x23a),'g'),_0x3dcdbe=new RegExp(_0x3da766(0x73d),'g'),_0x35080b=new RegExp(_0x3da766(0x422),'g'),_0x2da115=new RegExp(_0x3da766(0x61c),'g'),_0x54d1c5=new RegExp(_0x3da766(0x504),'g'),_0x1e7974=new RegExp('{#channel_group#}','g'),_0x13c1db=new RegExp(_0x3da766(0x19c),'g'),_0x2adf45=new RegExp(_0x3da766(0x388),'g'),_0x2db533=new RegExp(_0x3da766(0x6d9),'g'),_0x3648e5=new RegExp('{#customer_zap_channel#}','g'),_0x4f0c80=new RegExp(_0x3da766(0x26b),'g'),_0x3a20d8=new RegExp(_0x3da766(0x462),'g'),_0x1e4482=new RegExp(_0x3da766(0x5e4),'g'),_0x168f31=new RegExp(_0x3da766(0x390),'g'),_0x5a7013=new RegExp(_0x3da766(0x217),'g'),_0x1b2d67=new RegExp(_0x3da766(0x329),'g'),_0x336e8f=new RegExp('{#rank#}','g'),_0x14474d=new RegExp('{#owner#}','g'),_0x226c33=new RegExp('{#camp_script#}','g'),_0x4f27f4=new RegExp(_0x3da766(0x80e),'g'),_0x4f8660=new RegExp(_0x3da766(0x78a),'g'),_0xbb67a6=new RegExp(_0x3da766(0x4f4),'g'),_0x416ea3=new RegExp(_0x3da766(0x476),'g'),_0x20ccb0=new RegExp('{#recording_id#}','g'),_0x33ff59=new RegExp(_0x3da766(0x70e),'g'),_0x27cd04=new RegExp(_0x3da766(0x508),'g'),_0x58028b=new RegExp(_0x3da766(0x5f5),'g'),_0x134574=new RegExp(_0x3da766(0x39a),'g'),_0x355264=new RegExp('{#user_custom_five#}','g'),_0x470de0=new RegExp('{#preset_number_a#}','g'),_0x7e3a2a=new RegExp(_0x3da766(0x349),'g'),_0xb55dc0=new RegExp('{#preset_number_c#}','g'),_0x46dca2=new RegExp(_0x3da766(0x3f8),'g'),_0x594129=new RegExp('{#preset_number_e#}','g'),_0x9b7827=new RegExp('{#preset_dtmf_a#}','g'),_0x19e1ca=new RegExp('{#preset_dtmf_b#}','g'),_0x5d87b2=new RegExp(_0x3da766(0x40d),'g'),_0x5b44b7=new RegExp(_0x3da766(0x53b),'g'),_0x5f046f=new RegExp(_0x3da766(0x206),'g'),_0x4a6cf8=new RegExp(_0x3da766(0x495),'g'),_0x279253=new RegExp('{#closecallid#}','g'),_0x566c5d=new RegExp(_0x3da766(0x47f),'g'),_0x3b7a02=new RegExp(_0x3da766(0x5f9),'g'),_0x5d5cc4=new RegExp(_0x3da766(0x277),'g'),_0x4a15b6=new RegExp(_0x3da766(0x1cf),'g'),_0x17e743=new RegExp('{#entry_date#}','g'),_0x42f71d=new RegExp(_0x3da766(0x31a),'g'),_0x2f8150=new RegExp(_0x3da766(0x49d),'g'),_0xe28c24=new RegExp('{#did_custom_three#}','g'),_0x5b7c0c=new RegExp(_0x3da766(0x58d),'g'),_0x45be3c=new RegExp(_0x3da766(0x41a),'g'),_0xafe8bf=new RegExp('{#inOUT#}','g'),_0x13b1b1=new RegExp(_0x3da766(0x216),'g'),_0x3d9a61=new RegExp(_0x3da766(0x257),'g'),_0x2a1458=new RegExp('{#LOGINvarTWO#}','g'),_0x58b476=new RegExp(_0x3da766(0x740),'g'),_0x6d5580=new RegExp(_0x3da766(0x756),'g'),_0x2360c6=new RegExp(_0x3da766(0x499),'g'),_0x3432af=new RegExp(_0x3da766(0x399),'g');_0x2f5774=_0x2f5774['replace'](_0x4e7ee8,_0x566af0),_0x2f5774=_0x2f5774['replace'](_0x104cec,_0x3bb3ba),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3d40ef,_0x3ff2dd),_0x2f5774=_0x2f5774['replace'](_0xbf1515,_0x588fdc),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x23021d,_0x330fb6),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2d3821,_0x4d3591),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3f8af6,_0x539b72),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2a6929,_0x34f73c),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2f3cce,_0x3b656b),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x59f42a,_0x3dfd94),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x1df017,_0x48b5ed),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x32a6df,_0xe21020),_0x2f5774=_0x2f5774['replace'](_0xb8c037,_0x5600c1),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x25ea77,_0x3fc685),_0x2f5774=_0x2f5774['replace'](_0x2db107,_0x3b96b2),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x18bf28,_0x227cd1),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x361a79,_0x50beb7),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x188db9,_0x36427b),_0x2f5774=_0x2f5774['replace'](_0x4d7e49,_0x7d4a35),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x338ed5,_0x313689),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3d19a,_0x241fb9),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3d5c02,_0x4f91fa),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3d8639,_0x360e2d),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x4b8c9a,_0x5d3fba),_0x2f5774=_0x2f5774['replace'](_0x179548,_0x31b5fa),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x25595a,_0x17dd31),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2fc970,_0x2327e9),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x190d7e,_0x434013),_0x2f5774=_0x2f5774['replace'](_0x32ad03,_0x4092e2),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x397abc,_0x4b4e83),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x586ff5,_0x261436),_0x2f5774=_0x2f5774['replace'](_0x5e13d5,_0x5a0083),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2432bf,_0x41c57c),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3dcdbe,_0x493866),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x35080b,_0x5ab08e),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2da115,_0x5908dd),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x54d1c5,_0x5a5d82),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x1e7974,_0x53ede8),_0x2f5774=_0x2f5774['replace'](_0x13c1db,_0x3d2d9a),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2adf45,_0x4de16f),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2db533,_0x21b115),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3648e5,_0xdf9f76),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x4f0c80,_0x4ab7bb),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3a20d8,_0x4f9c2c),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x1e4482,_0x14c2c5),_0x2f5774=_0x2f5774['replace'](_0x168f31,_0x377622),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x5a7013,_0x4630d5),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x1b2d67,_0x3a9fa9),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x336e8f,_0x50c1f7),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x14474d,_0x4cb5e0),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x226c33,_0x10be4e),_0x2f5774=_0x2f5774['replace'](_0x4f27f4,_0x3206bc),_0x2f5774=_0x2f5774['replace'](_0x4f8660,_0x148df2),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0xbb67a6,_0x20f7c5),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x416ea3,_0x563c60),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x20ccb0,_0x30d42d),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x33ff59,_0x11bc05),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x27cd04,_0xe8e6bb),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x58028b,_0x1c28f7),_0x2f5774=_0x2f5774['replace'](_0x134574,_0x4d0388),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x355264,_0x3f2bdf),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x470de0,_0x56d954),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x7e3a2a,_0x1259ed),_0x2f5774=_0x2f5774['replace'](_0xb55dc0,_0xc7c82),_0x2f5774=_0x2f5774['replace'](_0x46dca2,_0x675e2b),_0x2f5774=_0x2f5774['replace'](_0x594129,_0x5e6b0b),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x9b7827,_0xd1d3af),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x19e1ca,_0xf6235a),_0x2f5774=_0x2f5774['replace'](_0x5d87b2,_0xcfb44f),_0x2f5774=_0x2f5774['replace'](_0x5b44b7,_0x3468a2),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x5f046f,_0x1a29d9),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x4a6cf8,_0x24c5e2),_0x2f5774=_0x2f5774['replace'](_0x279253,_0x10af72),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x566c5d,_0x190daa),_0x2f5774=_0x2f5774['replace'](_0x3b7a02,_0x21067f),_0x2f5774=_0x2f5774['replace'](_0x5d5cc4,_0x32b929),_0x2f5774=_0x2f5774['replace'](_0x4a15b6,_0x2a10f3),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x17e743,_0x2c21bf),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x42f71d,_0xba572b),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2f8150,_0x579145),_0x2f5774=_0x2f5774['replace'](_0xe28c24,_0x1b1e39),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x5b7c0c,_0x27bb41),_0x2f5774=_0x2f5774['replace'](_0x45be3c,_0x59385f),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x13b1b1,_0x552381),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0xafe8bf,inOUT),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x3d9a61,LOGINvarONE),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x2a1458,LOGINvarTWO),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x58b476,LOGINvarTHREE),_0x2f5774=_0x2f5774['replace'](_0x6d5580,LOGINvarFOUR),_0x2f5774=_0x2f5774['replace'](_0x2360c6,LOGINvarFIVE),_0x2f5774=_0x2f5774['replace'](_0x3432af,_0x5453d7);}var _0x13e81f=new RegExp(_0x3da766(0x6d5),'ig');return _0x2f5774=_0x2f5774[_0x3da766(0x74b)](_0x13e81f,''),_0x2f5774=_0x2f5774[_0x3da766(0x74b)](regLOCALFQDN,FQDN),_0x3c3a47=_0x2f5774,_0x3c3a47=_0x3c3a47[_0x3da766(0x74b)](_0x147477,'+'),_0x3c3a47=_0x3c3a47[_0x3da766(0x74b)](_0x112666,'+'),_0x3c3a47=_0x3c3a47['replace'](_0x174f5e,'+'),_0x3c3a47;};function utf8_decode(_0x17be8b){var _0x2b4cde=_0x1c96bb,_0x44025f='',_0x2c7b36=0x0,_0x56325f=c1=c2=0x0;while(_0x2c7b36<_0x17be8b['length']){_0x56325f=_0x17be8b[_0x2b4cde(0x669)](_0x2c7b36);if(_0x56325f<0x80)_0x44025f+=String[_0x2b4cde(0x5c4)](_0x56325f),_0x2c7b36++;else _0x56325f>0xbf&&_0x56325f<0xe0?(c2=_0x17be8b[_0x2b4cde(0x669)](_0x2c7b36+0x1),_0x44025f+=String[_0x2b4cde(0x5c4)]((_0x56325f&0x1f)<<0x6|c2&0x3f),_0x2c7b36+=0x2):(c2=_0x17be8b['charCodeAt'](_0x2c7b36+0x1),c3=_0x17be8b[_0x2b4cde(0x669)](_0x2c7b36+0x2),_0x44025f+=String[_0x2b4cde(0x5c4)]((_0x56325f&0xf)<<0xc|(c2&0x3f)<<0x6|c3&0x3f),_0x2c7b36+=0x3);}return _0x44025f;};function phone_number_format(_0x52d06f){var _0x5902ce=_0x1c96bb,_0x24b9d2=new RegExp(_0x5902ce(0x809),'g'),_0x5272fc=new RegExp('US_PARN','g'),_0x3ca528=new RegExp(_0x5902ce(0x7cb),'g'),_0x5041e2=new RegExp(_0x5902ce(0x6c0),'g'),_0x140cb4=new RegExp(_0x5902ce(0x5d8),'g'),_0x4cf570=new RegExp(_0x5902ce(0x2a7),'g'),_0x5a806c=_0x52d06f,_0x527c0a=_0x52d06f;if(disable_alter_custphone==_0x5902ce(0x150))var _0x5a806c=_0x5902ce(0x685),_0x527c0a=_0x5902ce(0x685);if(vdc_header_phone_format[_0x5902ce(0x42d)](_0x24b9d2))var _0x5a806c=_0x527c0a[_0x5902ce(0x32f)](0x0,0x3)+'-'+_0x527c0a[_0x5902ce(0x32f)](0x3,0x6)+'-'+_0x527c0a[_0x5902ce(0x32f)](0x6,0xa);if(vdc_header_phone_format[_0x5902ce(0x42d)](_0x5272fc))var _0x5a806c='('+_0x527c0a[_0x5902ce(0x32f)](0x0,0x3)+')'+_0x527c0a[_0x5902ce(0x32f)](0x3,0x6)+'-'+_0x527c0a['substring'](0x6,0xa);if(vdc_header_phone_format[_0x5902ce(0x42d)](_0x3ca528))var _0x5a806c=_0x527c0a[_0x5902ce(0x32f)](0x0,0x2)+' '+_0x527c0a[_0x5902ce(0x32f)](0x2,0x6)+'-'+_0x527c0a[_0x5902ce(0x32f)](0x6,0xa);if(vdc_header_phone_format[_0x5902ce(0x42d)](_0x5041e2))var _0x5a806c=_0x527c0a['substring'](0x0,0x3)+' '+_0x527c0a[_0x5902ce(0x32f)](0x3,0x6)+' '+_0x527c0a[_0x5902ce(0x32f)](0x6,0x9);if(vdc_header_phone_format['match'](_0x140cb4))var _0x5a806c=_0x527c0a[_0x5902ce(0x32f)](0x0,0x4)+'-'+_0x527c0a[_0x5902ce(0x32f)](0x4,0x7)+'-'+_0x527c0a['substring'](0x8,0xa);if(vdc_header_phone_format[_0x5902ce(0x42d)](_0x4cf570))var _0x5a806c=_0x527c0a[_0x5902ce(0x32f)](0x0,0x2)+' '+_0x527c0a[_0x5902ce(0x32f)](0x2,0x4)+' '+_0x527c0a[_0x5902ce(0x32f)](0x4,0x6)+' '+_0x527c0a[_0x5902ce(0x32f)](0x6,0x8)+' '+_0x527c0a[_0x5902ce(0x32f)](0x8,0xa);return _0x5a806c;};function refresh_agents_view(_0x1829c2,_0x346f3f,_0x30a63d,_0x5cb9e0){var _0x39525c=_0x1c96bb;_0x5cb9e0='Y';if(_0x346f3f>0x0){if(even>0x0){var _0x12f78a=![];!_0x12f78a&&typeof XMLHttpRequest!=_0x39525c(0x34f)&&(_0x12f78a=new XMLHttpRequest()),_0x12f78a&&(RAview_query=_0x39525c(0x4c6)+server_ip+_0x39525c(0x7b6)+session_name+_0x39525c(0x5e5)+user+'&pass='+pass+'&user_group='+VU_user_group+'&conf_exten='+session_id+_0x39525c(0x5de)+extension+'&protocol='+protocol+_0x39525c(0x44a)+agent_status_view_time+_0x39525c(0x6b5)+campaign+_0x39525c(0x3bc)+_0x1829c2+_0x39525c(0x766)+_0x30a63d+_0x39525c(0x245)+_0x5cb9e0,_0x12f78a[_0x39525c(0x63c)]('POST','crm_query.php'),_0x12f78a[_0x39525c(0x636)]('Content-Type',_0x39525c(0x404)),_0x12f78a[_0x39525c(0x2fd)](RAview_query),_0x12f78a[_0x39525c(0x18a)]=function(){var _0x1e22be=_0x39525c;if(_0x12f78a['readyState']==0x4&&_0x12f78a[_0x1e22be(0x6aa)]==0xc8){var _0x319e9a=_0x12f78a[_0x1e22be(0x137)];_0x1829c2==_0x1e22be(0x6fa)?$('#'+_0x1829c2)[_0x1e22be(0x628)](_0x319e9a+_0x1e22be(0x21d)):$('#'+_0x1829c2)[_0x1e22be(0x628)](_0x319e9a+'
');}},delete _0x12f78a);}}}function callinqueuegrab(_0x2d373f){var _0x3ea162=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3ea162(0x385)+_0x2d373f+'|';if(_0x2d373f>0x0){var _0x3b3fed=0x1;(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active==_0x3ea162(0x464))&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe(_0x3ea162(0x2ce),'','','','','1',_0x3ea162(0x645)):(_0x3b3fed=0x0,alert_box('VOUS DEVEZ TRE EN PAUSE POUR SAISIR LES APPELS EN FILE D'ATTENTE'),button_click_log=button_click_log+''+SQLdate+_0x3ea162(0x6fd)+_0x2d373f+' '+VDRP_stage+'|'));if(_0x3b3fed==0x1){var _0x3db81d=![];!_0x3db81d&&typeof XMLHttpRequest!=_0x3ea162(0x34f)&&(_0x3db81d=new XMLHttpRequest()),_0x3db81d&&(RAview_query='server_ip='+server_ip+_0x3ea162(0x7b6)+session_name+_0x3ea162(0x517)+user+_0x3ea162(0x397)+pass+_0x3ea162(0x5d7)+session_id+'&extension='+extension+'&protocol='+protocol+_0x3ea162(0x6b5)+campaign+_0x3ea162(0x44a)+_0x2d373f,_0x3db81d['open']('POST',_0x3ea162(0x550)),_0x3db81d['setRequestHeader']('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'),_0x3db81d[_0x3ea162(0x2fd)](RAview_query),_0x3db81d['onreadystatechange']=function(){var _0x4e9eca=_0x3ea162;if(_0x3db81d[_0x4e9eca(0x30f)]==0x4&&_0x3db81d[_0x4e9eca(0x6aa)]==0xc8){var _0x1952a6=_0x3db81d[_0x4e9eca(0x137)],_0x32628f=new RegExp(_0x4e9eca(0x7f9),'ig');_0x1952a6['match'](_0x32628f)?(alert_box(_0x1952a6),button_click_log=button_click_log+''+SQLdate+_0x4e9eca(0x6f0)+_0x2d373f+' '+_0x1952a6+'|'):(AutoDial_ReSume_PauSe(_0x4e9eca(0x374),'','',_0x4e9eca(0x7e2)),AutoDialWaiting=0x1);}},delete _0x3db81d);}}}function _0x10e6(_0x177d02,_0x5add17){var _0x13908d=_0x1390();return _0x10e6=function(_0x10e6df,_0x2c3a1b){_0x10e6df=_0x10e6df-0x136;var _0x2976ad=_0x13908d[_0x10e6df];return _0x2976ad;},_0x10e6(_0x177d02,_0x5add17);}function refresh_calls_in_queue(_0x4c58b6){var _0x19d2df=_0x1c96bb;if(_0x4c58b6>0x0){if(even>0x0){var _0x1c5530=![];!_0x1c5530&&typeof XMLHttpRequest!=_0x19d2df(0x34f)&&(_0x1c5530=new XMLHttpRequest()),_0x1c5530&&(RAview_query=_0x19d2df(0x4c6)+server_ip+'&session_name='+session_name+_0x19d2df(0x167)+user+_0x19d2df(0x397)+pass+_0x19d2df(0x5d7)+session_id+'&extension='+extension+_0x19d2df(0x28e)+protocol+_0x19d2df(0x6b5)+campaign+_0x19d2df(0x7ea),_0x1c5530[_0x19d2df(0x63c)](_0x19d2df(0x584),_0x19d2df(0x550)),_0x1c5530['setRequestHeader']('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'),_0x1c5530[_0x19d2df(0x2fd)](RAview_query),_0x1c5530[_0x19d2df(0x18a)]=function(){var _0x3cc24b=_0x19d2df;_0x1c5530[_0x3cc24b(0x30f)]==0x4&&_0x1c5530[_0x3cc24b(0x6aa)]==0xc8&&$('#callsinqueuelist')[_0x3cc24b(0x628)](_0x1c5530[_0x3cc24b(0x137)]+'
');},delete _0x1c5530);}}}function AgentsXferSelect(_0x4630e9,_0x1c0af9){var _0x361e23=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----AgentsXferSelect---'+_0x4630e9+' '+_0x1c0af9+'|',xfer_select_agents_active=0x0,$(_0x361e23(0x570))[_0x361e23(0x628)](''),hideDiv(_0x361e23(0x4f0)),xfer_agent_selected=0x1,_0x4630e9=='0'&&(xfer_agent_selected=0x0),$(_0x361e23(0x5d3))[_0x361e23(0x1b2)](_0x4630e9);}function XferAgentSelectLink(){var _0x26a214=_0x1c96bb;if($(_0x26a214(0x262))[_0x26a214(0x35c)]){var _0x4f19f4=$('#XfeRGrouP');agent_xfer_group_selected=_0x4f19f4[_0x26a214(0x1b2)](),agent_xfer_group_selected[_0x26a214(0x42d)](/AGENTDIRECT/i)?(showDiv(_0x26a214(0x4aa)),showDiv(_0x26a214(0x7e3))):(hideDiv(_0x26a214(0x4aa)),hideDiv(_0x26a214(0x7e3)));}}function XferAgentSelectLaunch(){var _0x21d135=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x21d135(0x1c9);var _0x228049=$('#XfeRGrouP');agent_xfer_group_selected=_0x228049[_0x21d135(0x1b2)](),agent_xfer_group_selected[_0x21d135(0x42d)](/AGENTDIRECT/i)&&(showDiv(_0x21d135(0x4f0)),refresh_agents_view(_0x21d135(0x6fa),agent_status_view,agent_xfer_group_selected,agent_xfer_validation),xfer_select_agents_active=0x1,$(_0x21d135(0x747))[_0x21d135(0x1b2)](''));}function call_requeue_launch(){var _0xf65683=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----call_requeue_launch---|',$(_0xf65683(0x5d3))[_0xf65683(0x1b2)](user);var _0x4970fe=0x0,_0xe4f90b='',_0x45152e='';while(_0x4970fe<XFgroupCOUNT){VARxfergroups[_0x4970fe]=='AGENTDIRECT'?_0x45152e=_0xf65683(0x293):_0x45152e='',_0xe4f90b=_0xe4f90b+_0xf65683(0x182)+_0x45152e+_0xf65683(0x457)+VARxfergroups[_0x4970fe]+'">'+VARxfergroupsnames[_0x4970fe]+'</option>
',_0x4970fe++;}$('#XfeRGrouPLisT')[_0xf65683(0x628)](_0xf65683(0x337)+_0xe4f90b+_0xf65683(0x51b)),mainxfer_send_redirect(_0xf65683(0x634),lastcustchannel,lastcustserverip,'','NO'),$(_0xf65683(0x5c9))[_0xf65683(0x1b2)](_0xf65683(0x81f)),DispoSelect_submit(),AutoDial_ReSume_PauSe('VDADpause','','','',_0xf65683(0x398),'1','RQUEUE');}function VieWLeaDInfO(_0x4fcb91,_0x372ca9,_0x17a615){var _0x367616=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----VieWLeaDInfO---'+_0x4fcb91+' '+_0x372ca9+' '+_0x17a615+'|';var _0x7708da=![];!_0x7708da&&typeof XMLHttpRequest!=_0x367616(0x34f)&&(_0x7708da=new XMLHttpRequest()),_0x7708da&&(RAview_query='server_ip='+server_ip+_0x367616(0x7b6)+session_name+'&ACTION=LEADINFOview&format=text&user='+user+_0x367616(0x397)+pass+_0x367616(0x5d7)+session_id+_0x367616(0x5de)+extension+'&protocol='+protocol+_0x367616(0x650)+_0x4fcb91+'&disable_alter_custphone='+disable_alter_custphone+_0x367616(0x6b5)+campaign+_0x367616(0x551)+_0x372ca9+_0x367616(0x736)+_0x17a615+_0x367616(0x738)+agentcall_manual+_0x367616(0x4dd),_0x7708da['open'](_0x367616(0x584),_0x367616(0x550)),_0x7708da[_0x367616(0x636)](_0x367616(0x638),_0x367616(0x404)),_0x7708da['send'](RAview_query),_0x7708da[_0x367616(0x18a)]=function(){var _0x36bf59=_0x367616;_0x7708da[_0x36bf59(0x30f)]==0x4&&_0x7708da[_0x36bf59(0x6aa)]==0xc8&&($(_0x36bf59(0x195))[_0x36bf59(0x628)](_0x7708da[_0x36bf59(0x137)]+'
'),$(_0x36bf59(0x3cd))['modal']({'fadeDuration':0xfa,'fadeDelay':1.5}));},delete _0x7708da);}function VieWCalLLoG(_0x3a8fa3,_0x381859){var _0x843015=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x843015(0x27c)+_0x3a8fa3+' '+_0x381859+'|';var _0xca425b=0x1;(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active==_0x843015(0x464))&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe(_0x843015(0x2ce),'','','','','1',auto_pause_precall_code):(_0xca425b=0x0,alert_box(_0x843015(0x6f1)),button_click_log=button_click_log+''+SQLdate+'-----LogViewFailed---'+VDRP_stage+'|'));_0x381859==_0x843015(0x278)&&(_0x3a8fa3=$(_0x843015(0x5ce))[_0x843015(0x1b2)]());if(typeof _0x3a8fa3!=_0x843015(0x34f)){var _0x568123=/^\d{4}\-\d{2}\-\d{2}$/,_0x5015a3=![];if(!_0x568123[_0x843015(0x34d)](_0x3a8fa3))_0xca425b=0x0,alert_box('Format de date non valide. Veuillez corriger et soumettre   nouveau.'),button_click_log=button_click_log+''+SQLdate+_0x843015(0x686)+_0x3a8fa3+'|';else{var _0xcc5a05=_0x3a8fa3[_0x843015(0x65a)]('-')[0x1],_0x52fd21=_0x3a8fa3[_0x843015(0x65a)]('-')[0x2],_0xfeb9bc=_0x3a8fa3['split']('-')[0x0],_0x39e7d7=new Date(_0xfeb9bc,_0xcc5a05-0x1,_0x52fd21);(_0x39e7d7[_0x843015(0x648)]()+0x1!=_0xcc5a05||_0x39e7d7[_0x843015(0x37d)]()!=_0x52fd21||_0x39e7d7['getFullYear']()!=_0xfeb9bc)&&(_0xca425b=0x0,alert_box(_0x843015(0x2db)),button_click_log=button_click_log+''+SQLdate+_0x843015(0x16e)+_0x3a8fa3+'|');}}if(_0xca425b==0x1){var _0x33913f=![];!_0x33913f&&typeof XMLHttpRequest!=_0x843015(0x34f)&&(_0x33913f=new XMLHttpRequest()),_0x33913f&&(RAview_query='server_ip='+server_ip+_0x843015(0x7b6)+session_name+_0x843015(0x4a2)+user+'&pass='+pass+'&conf_exten='+session_id+_0x843015(0x5de)+extension+_0x843015(0x28e)+protocol+_0x843015(0x55b)+_0x3a8fa3+_0x843015(0x7c7)+disable_alter_custphone+'&campaign='+campaign+_0x843015(0x738)+agentcall_manual+_0x843015(0x4dd),_0x33913f[_0x843015(0x63c)](_0x843015(0x584),'crm_query.php'),_0x33913f[_0x843015(0x636)](_0x843015(0x638),'application/x-www-form-urlencoded; charset=UTF-8'),_0x33913f[_0x843015(0x2fd)](RAview_query),_0x33913f[_0x843015(0x18a)]=function(){var _0x17befa=_0x843015;_0x33913f[_0x17befa(0x30f)]==0x4&&_0x33913f['status']==0xc8&&$(_0x17befa(0x42c))[_0x17befa(0x628)](_0x33913f[_0x17befa(0x137)]+'
');},delete _0x33913f);}}function ContactSearchSubmit(){var _0x2ecf90=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x2ecf90(0x50d),$(_0x2ecf90(0x3b6))[_0x2ecf90(0x628)](_0x2ecf90(0x5f6));var _0x27ecec=![];!_0x27ecec&&typeof XMLHttpRequest!='undefined'&&(_0x27ecec=new XMLHttpRequest()),_0x27ecec&&(LSview_query=_0x2ecf90(0x4c6)+server_ip+_0x2ecf90(0x7b6)+session_name+'&ACTION=SEARCHCONTACTSRESULTSview&format=text&user='+user+_0x2ecf90(0x397)+pass+_0x2ecf90(0x5d7)+session_id+_0x2ecf90(0x5de)+extension+_0x2ecf90(0x28e)+protocol+_0x2ecf90(0x466)+$(_0x2ecf90(0x819))[_0x2ecf90(0x1b2)]()+'&first_name='+$(_0x2ecf90(0x17a))['val']()+_0x2ecf90(0x7a0)+$(_0x2ecf90(0x6dc))['val']()+'&bu_name='+$('#contacts_bu_name')[_0x2ecf90(0x1b2)]()+_0x2ecf90(0x408)+$(_0x2ecf90(0x1a6))[_0x2ecf90(0x1b2)]()+_0x2ecf90(0x766)+$(_0x2ecf90(0x1d0))[_0x2ecf90(0x1b2)]()+_0x2ecf90(0x5a0)+$(_0x2ecf90(0x542))[_0x2ecf90(0x1b2)]()+_0x2ecf90(0x446)+$(_0x2ecf90(0x60b))[_0x2ecf90(0x1b2)]()+'&campaign='+campaign+'&stage=610',_0x27ecec['open'](_0x2ecf90(0x584),_0x2ecf90(0x550)),_0x27ecec[_0x2ecf90(0x636)](_0x2ecf90(0x638),_0x2ecf90(0x404)),_0x27ecec[_0x2ecf90(0x2fd)](LSview_query),_0x27ecec[_0x2ecf90(0x18a)]=function(){var _0x283dcc=_0x2ecf90;_0x27ecec[_0x283dcc(0x30f)]==0x4&&_0x27ecec[_0x283dcc(0x6aa)]==0xc8&&$(_0x283dcc(0x3b6))['html'](_0x27ecec[_0x283dcc(0x137)]+'
');},delete _0x27ecec);}function ContactSearchReset(_0x49afff){var _0x470cb1=_0x1c96bb;_0x49afff==_0x470cb1(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x470cb1(0x41b)),$(_0x470cb1(0x819))[_0x470cb1(0x1b2)](''),$(_0x470cb1(0x17a))[_0x470cb1(0x1b2)](''),$(_0x470cb1(0x6dc))[_0x470cb1(0x1b2)](''),$(_0x470cb1(0x246))[_0x470cb1(0x1b2)](''),$(_0x470cb1(0x1a6))[_0x470cb1(0x1b2)](''),$(_0x470cb1(0x1d0))[_0x470cb1(0x1b2)](''),$(_0x470cb1(0x542))[_0x470cb1(0x1b2)](''),$(_0x470cb1(0x60b))['val']('');}function LeadSearchSubmit(){var _0x337546=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x337546(0x5b3);if((AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&inbound_lead_search<0x1)alert_box(_0x337546(0x4eb)),button_click_log=button_click_log+''+SQLdate+_0x337546(0x1f3)+VDRP_stage+'|';else{$('#SearcHResultSSpan')[_0x337546(0x628)](_0x337546(0x5f6));var _0x412ec3='';$(_0x337546(0x719))[_0x337546(0x789)](_0x337546(0x677))==!![]&&(_0x412ec3=_0x412ec3+_0x337546(0x592));$(_0x337546(0x3d0))[_0x337546(0x789)](_0x337546(0x677))==!![]&&(_0x412ec3=_0x412ec3+_0x337546(0x224));$(_0x337546(0x533))['prop'](_0x337546(0x677))==!![]&&(_0x412ec3=_0x412ec3+_0x337546(0x1d5));var _0x54d9ee=![];!_0x54d9ee&&typeof XMLHttpRequest!=_0x337546(0x34f)&&(_0x54d9ee=new XMLHttpRequest()),_0x54d9ee&&(LSview_query=_0x337546(0x4c6)+server_ip+_0x337546(0x7b6)+session_name+_0x337546(0x5fa)+user+_0x337546(0x397)+pass+_0x337546(0x5d7)+session_id+_0x337546(0x5de)+extension+_0x337546(0x28e)+protocol+_0x337546(0x466)+$(_0x337546(0x1d4))[_0x337546(0x1b2)]()+_0x337546(0x650)+$(_0x337546(0x5ab))[_0x337546(0x1b2)]()+_0x337546(0x3b5)+$(_0x337546(0x400))['val']()+'&first_name='+$(_0x337546(0x526))[_0x337546(0x1b2)]()+_0x337546(0x7a0)+$(_0x337546(0x35d))[_0x337546(0x1b2)]()+_0x337546(0x602)+$(_0x337546(0x3ad))[_0x337546(0x1b2)]()+'&state='+$(_0x337546(0x3e6))[_0x337546(0x1b2)]()+'&postal_code='+$('#search_postal_code')[_0x337546(0x1b2)]()+_0x337546(0x375)+_0x412ec3+'&campaign='+campaign+_0x337546(0x736)+inbound_lead_search+_0x337546(0x738)+agentcall_manual+'&stage=610',_0x54d9ee[_0x337546(0x63c)](_0x337546(0x584),_0x337546(0x550)),_0x54d9ee['setRequestHeader'](_0x337546(0x638),_0x337546(0x404)),_0x54d9ee[_0x337546(0x2fd)](LSview_query),_0x54d9ee[_0x337546(0x18a)]=function(){var _0x187318=_0x337546;_0x54d9ee[_0x187318(0x30f)]==0x4&&_0x54d9ee['status']==0xc8&&$(_0x187318(0x3b0))[_0x187318(0x628)](_0x54d9ee['responseText']+'
');},delete _0x54d9ee);}}function LeadSearchReset(){var _0x426a78=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x426a78(0x535),$(_0x426a78(0x1d4))['val'](''),$(_0x426a78(0x5ab))[_0x426a78(0x1b2)](''),$('#search_vendor_lead_code')[_0x426a78(0x1b2)](''),$(_0x426a78(0x526))[_0x426a78(0x1b2)](''),$(_0x426a78(0x35d))[_0x426a78(0x1b2)](''),$(_0x426a78(0x3ad))[_0x426a78(0x1b2)](''),$('#search_state')[_0x426a78(0x1b2)](''),$(_0x426a78(0x788))['val']('');}function VieWNotesLoG(_0x55991c){var _0x3a6ea7=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----VieWNotesLoG---'+_0x55991c+'|',showDiv(_0x3a6ea7(0x713));var _0x443fde=![];!_0x443fde&&typeof XMLHttpRequest!='undefined'&&(_0x443fde=new XMLHttpRequest()),_0x443fde&&(RAview_query='server_ip='+server_ip+_0x3a6ea7(0x7b6)+session_name+_0x3a6ea7(0x7c5)+user+'&pass='+pass+_0x3a6ea7(0x5d7)+session_id+_0x3a6ea7(0x5de)+extension+_0x3a6ea7(0x28e)+protocol+_0x3a6ea7(0x650)+$('#lead_id')[_0x3a6ea7(0x1b2)]()+_0x3a6ea7(0x6b5)+campaign+_0x3a6ea7(0x738)+agentcall_manual+_0x3a6ea7(0x4dd),_0x443fde['open'](_0x3a6ea7(0x584),_0x3a6ea7(0x550)),_0x443fde['setRequestHeader']('Content-Type',_0x3a6ea7(0x404)),_0x443fde[_0x3a6ea7(0x2fd)](RAview_query),_0x443fde['onreadystatechange']=function(){var _0x4c3aea=_0x3a6ea7;_0x443fde[_0x4c3aea(0x30f)]==0x4&&_0x443fde[_0x4c3aea(0x6aa)]==0xc8&&$(_0x4c3aea(0x23b))[_0x4c3aea(0x628)](_0x443fde[_0x4c3aea(0x137)]+'
');},delete _0x443fde);}function customer_3way_hangup_process(_0x3373a2,_0x27293d){var _0x5b6bdf=_0x1c96bb,_0x505ca5=![];!_0x505ca5&&typeof XMLHttpRequest!=_0x5b6bdf(0x34f)&&(_0x505ca5=new XMLHttpRequest()),_0x505ca5&&(CTHPview_query=_0x5b6bdf(0x4c6)+server_ip+_0x5b6bdf(0x7b6)+session_name+_0x5b6bdf(0x794)+user+'&pass='+pass+_0x5b6bdf(0x5d7)+session_id+_0x5b6bdf(0x650)+$(_0x5b6bdf(0x486))[_0x5b6bdf(0x1b2)]()+_0x5b6bdf(0x6b5)+campaign+_0x5b6bdf(0x245)+_0x3373a2+_0x5b6bdf(0x44a)+_0x27293d,_0x505ca5[_0x5b6bdf(0x63c)](_0x5b6bdf(0x584),_0x5b6bdf(0x550)),_0x505ca5[_0x5b6bdf(0x636)](_0x5b6bdf(0x638),_0x5b6bdf(0x404)),_0x505ca5[_0x5b6bdf(0x2fd)](CTHPview_query),_0x505ca5[_0x5b6bdf(0x18a)]=function(){var _0x314a14=_0x5b6bdf;if(_0x505ca5[_0x314a14(0x30f)]==0x4&&_0x505ca5['status']==0xc8){}},delete _0x505ca5);}function agent_events(_0x33103f,_0x5305d9,_0x1ec52d){var _0x497f5c=_0x1c96bb;if(agent_push_events>0x0&&agent_push_url[_0x497f5c(0x35c)]>0xa){button_click_log=button_click_log+''+SQLdate+_0x497f5c(0x13c)+_0x33103f+' '+_0x1ec52d+'|';var _0x54960e=![];!_0x54960e&&typeof XMLHttpRequest!=_0x497f5c(0x34f)&&(_0x54960e=new XMLHttpRequest());if(_0x54960e){var _0x295f29=new RegExp(_0x497f5c(0x326),'g'),_0x4edd68=new RegExp('	','g'),_0x1bf612=new RegExp(_0x497f5c(0x57e),'g'),_0x28bc39=new RegExp(_0x497f5c(0x689),'ig'),_0x332efb=agent_push_url,_0x4b02ef=user,_0x45a047=_0x33103f,_0x3dc9d6=_0x5305d9,_0x843bf8=$(_0x497f5c(0x486))[_0x497f5c(0x1b2)](),_0x6ea4da=UnixTime,_0x266a02=agent_log_id,_0x113f45=_0x1ec52d;_0x4b02ef=_0x4b02ef[_0x497f5c(0x74b)](_0x1bf612,'+'),_0x45a047=_0x45a047['replace'](_0x1bf612,'+'),_0x3dc9d6=_0x3dc9d6['replace'](_0x1bf612,'+'),_0x843bf8=_0x843bf8[_0x497f5c(0x74b)](_0x1bf612,'+');var _0x2af219=new RegExp(_0x497f5c(0x2e1),'g'),_0x660dd1=new RegExp(_0x497f5c(0x6ed),'g'),_0x3b034e=new RegExp(_0x497f5c(0x75c),'g'),_0x519335=new RegExp(_0x497f5c(0x23a),'g'),_0x5c5453=new RegExp(_0x497f5c(0x388),'g'),_0x571f31=new RegExp(_0x497f5c(0x5f9),'g'),_0x3ecf1f=new RegExp('{#counter#}','g');_0x332efb=_0x332efb['replace'](_0x2af219,_0x4b02ef),_0x332efb=_0x332efb['replace'](_0x660dd1,_0x45a047),_0x332efb=_0x332efb[_0x497f5c(0x74b)](_0x3b034e,_0x3dc9d6),_0x332efb=_0x332efb['replace'](_0x519335,_0x843bf8),_0x332efb=_0x332efb[_0x497f5c(0x74b)](_0x5c5453,_0x6ea4da),_0x332efb=_0x332efb[_0x497f5c(0x74b)](_0x571f31,_0x266a02),_0x332efb=_0x332efb[_0x497f5c(0x74b)](_0x3ecf1f,_0x113f45),_0x332efb=_0x332efb[_0x497f5c(0x74b)](_0x1bf612,'+'),_0x332efb=_0x332efb['replace'](_0x295f29,'+'),_0x332efb=_0x332efb[_0x497f5c(0x74b)](_0x4edd68,'+'),_0x332efb=_0x332efb[_0x497f5c(0x74b)](_0x28bc39,'');var _0x4a14a6=_0x332efb['split']('?'),_0x30796f=_0x4a14a6[0x0],_0x1b947f=_0x332efb[_0x497f5c(0x65a)](/\?(.+)/)[0x1];_0x54960e[_0x497f5c(0x63c)](_0x497f5c(0x584),_0x30796f),_0x54960e['setRequestHeader'](_0x497f5c(0x638),_0x497f5c(0x404)),_0x54960e[_0x497f5c(0x2fd)](_0x1b947f),_0x54960e[_0x497f5c(0x18a)]=function(){var _0x5de966=_0x497f5c;if(_0x54960e[_0x5de966(0x30f)]==0x4&&_0x54960e[_0x5de966(0x6aa)]==0xc8){}},delete _0x54960e;}}}function FormContentsLoad(_0x5c5af3){var _0xe92ff4=_0x1c96bb;_0x5c5af3==_0xe92ff4(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0xe92ff4(0x3e8));var _0x3e6579=$(_0xe92ff4(0x416))[_0xe92ff4(0x1b2)](),_0x32c4ac=$(_0xe92ff4(0x29a))[_0xe92ff4(0x1b2)]();_0x32c4ac['length']>0x2&&(_0x3e6579=_0x32c4ac),_0x3e6579='',_0x32c4ac='';}function EmailContentsLoad(_0x5fe827){var _0x5d179c=_0x1c96bb;_0x5fe827==_0x5d179c(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x5d179c(0x51a));var _0x4817df=$(_0x5d179c(0x721))[_0x5d179c(0x1b2)](),_0x84ee3f=$(_0x5d179c(0x416))[_0x5d179c(0x1b2)](),_0x4e520f=$(_0x5d179c(0x29a))[_0x5d179c(0x1b2)]();_0x4e520f[_0x5d179c(0x35c)]>0x2&&(_0x84ee3f=_0x4e520f),$('#vcEmailIFrame')[_0x5d179c(0x7b8)]('src',_0x5d179c(0x28f)+$(_0x5d179c(0x486))[_0x5d179c(0x1b2)]()+_0x5d179c(0x36b)+_0x4817df+_0x5d179c(0x4d8)+_0x84ee3f+_0x5d179c(0x66e)+user+_0x5d179c(0x397)+pass+_0x5d179c(0x6b5)+campaign+_0x5d179c(0x319)+server_ip+_0x5d179c(0x55d)+_0x5d179c(0x6ae)+$(_0x5d179c(0x186))['val']()+_0x5d179c(0x6f4)+'&campaign='+campaign+'&phone_login='+phone_login+'&original_phone_login='+original_phone_login+_0x5d179c(0x7fe)+phone_pass+_0x5d179c(0x2eb)+fronter+_0x5d179c(0x74f)+user+_0x5d179c(0x4b0)+group+'&channel_group='+group+_0x5d179c(0x4b8)+SQLdate+'&epoch='+UnixTime+'&customer_zap_channel='+lastcustchannel+_0x5d179c(0x38e)+lastcustserverip+_0x5d179c(0x319)+server_ip+'&SIPexten='+extension+'&session_id='+session_id+_0x5d179c(0x749)+$(_0x5d179c(0x5e7))[_0x5d179c(0x1b2)]()+'&parked_by='+$(_0x5d179c(0x486))[_0x5d179c(0x1b2)]()+'&dispo='+LeaDDispO+''+_0x5d179c(0x1dd)+dialed_number+''+'&dialed_label='+dialed_label+''+_0x5d179c(0x4f5)+campaign_script+''+_0x5d179c(0x428)+CalL_ScripT_id+''+'&script_width='+script_width+''+_0x5d179c(0x5e2)+script_height+''+_0x5d179c(0x769)+LOGfullname+''+_0x5d179c(0x801)+LOGemail+''+'&recording_filename='+recording_filename+''+_0x5d179c(0x5bf)+recording_id+''+'&user_custom_one='+VU_custom_one+''+_0x5d179c(0x7b5)+VU_custom_two+''+_0x5d179c(0x4b6)+VU_custom_three+''+_0x5d179c(0x6e2)+VU_custom_four+''+_0x5d179c(0x3b4)+VU_custom_five+''+_0x5d179c(0x6c4)+did_id+''+_0x5d179c(0x2a3)+did_extension+''+_0x5d179c(0x4d0)+did_pattern+''+_0x5d179c(0x637)+did_description+''+_0x5d179c(0x1ce)+closecallid+''+'&xfercallid='+xfercallid+''+_0x5d179c(0x741)+agent_log_id+_0x5d179c(0x2b9)+LasTCID+'&user_group='+VU_user_group+''+_0x5d179c(0x6a6)+did_custom_one+'&did_custom_two='+did_custom_two+'&did_custom_three='+did_custom_three+_0x5d179c(0x3e4)+did_custom_four+'&did_custom_five='+did_custom_five+_0x5d179c(0x2b1)+LIVE_web_vars+''+_0x5d179c(0x687)+CalL_XC_a_NuMber+''+_0x5d179c(0x76a)+CalL_XC_b_NuMber+''+_0x5d179c(0x3a8)+CalL_XC_c_NuMber+''+_0x5d179c(0x582)+CalL_XC_d_NuMber+''+_0x5d179c(0x742)+CalL_XC_e_NuMber+''+'&preset_dtmf_a='+CalL_XC_a_Dtmf+''+'&preset_dtmf_b='+CalL_XC_b_Dtmf+''),_0x84ee3f='',_0x4e520f='';}function CustomerChatContentsLoad(_0x15b72f,_0x4ca5c7,_0x8c591){var _0x3c4c5f=_0x1c96bb;_0x4ca5c7==_0x3c4c5f(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----CustomerChatContentsLoad---|');var _0x53362f=$(_0x3c4c5f(0x416))[_0x3c4c5f(0x1b2)](),_0x5542b2=$(_0x3c4c5f(0x29a))[_0x3c4c5f(0x1b2)](),_0x207110=$(_0x3c4c5f(0x280))[_0x3c4c5f(0x1b2)]();_0x5542b2[_0x3c4c5f(0x35c)]>0x2&&(_0x53362f=_0x5542b2),$(_0x3c4c5f(0x3ca))[_0x3c4c5f(0x7b8)](_0x3c4c5f(0x585),_0x3c4c5f(0x539)+$(_0x3c4c5f(0x486))[_0x3c4c5f(0x1b2)]()+'&list_id='+_0x53362f+_0x3c4c5f(0x66e)+user+_0x3c4c5f(0x397)+orig_pass+_0x3c4c5f(0x6b5)+campaign+_0x3c4c5f(0x272)+_0x207110+'&dial_method='+dial_method+_0x3c4c5f(0x1aa)+_0x15b72f+_0x3c4c5f(0x347)+_0x8c591+_0x3c4c5f(0x319)+server_ip+_0x3c4c5f(0x55d)+_0x3c4c5f(0x6ae)+$(_0x3c4c5f(0x186))[_0x3c4c5f(0x1b2)]()+_0x3c4c5f(0x6f4)+_0x3c4c5f(0x6b5)+campaign+_0x3c4c5f(0x760)+phone_login+_0x3c4c5f(0x3f4)+original_phone_login+_0x3c4c5f(0x7fe)+phone_pass+_0x3c4c5f(0x2eb)+fronter+_0x3c4c5f(0x74f)+user+'&group='+group+'&channel_group='+group+_0x3c4c5f(0x4b8)+SQLdate+_0x3c4c5f(0x7d2)+UnixTime+_0x3c4c5f(0x456)+lastcustchannel+_0x3c4c5f(0x38e)+lastcustserverip+'&server_ip='+server_ip+'&SIPexten='+extension+'&session_id='+session_id+'&phone='+$(_0x3c4c5f(0x5e7))['val']()+_0x3c4c5f(0x31b)+$('#lead_id')[_0x3c4c5f(0x1b2)]()+_0x3c4c5f(0x3eb)+LeaDDispO+''+_0x3c4c5f(0x1dd)+dialed_number+''+_0x3c4c5f(0x544)+dialed_label+''+'&camp_script='+campaign_script+''+'&in_script='+CalL_ScripT_id+''+'&script_width='+script_width+''+'&script_height='+script_height+''+_0x3c4c5f(0x769)+LOGfullname+''+_0x3c4c5f(0x6d3)+recording_filename+''+_0x3c4c5f(0x5bf)+recording_id+''+'&user_custom_one='+VU_custom_one+''+_0x3c4c5f(0x7b5)+VU_custom_two+''+_0x3c4c5f(0x4b6)+VU_custom_three+''+_0x3c4c5f(0x6e2)+VU_custom_four+''+_0x3c4c5f(0x3b4)+VU_custom_five+''+'&did_id='+did_id+''+_0x3c4c5f(0x2a3)+did_extension+''+_0x3c4c5f(0x4d0)+did_pattern+''+_0x3c4c5f(0x637)+did_description+''+'&closecallid='+closecallid+''+'&xfercallid='+xfercallid+''+_0x3c4c5f(0x5dd)+VDCL_group_id+''+_0x3c4c5f(0x741)+agent_log_id+_0x3c4c5f(0x2b9)+LasTCID+_0x3c4c5f(0x1bb)+VU_user_group+''+'&web_vars='+LIVE_web_vars+''+_0x3c4c5f(0x687)+CalL_XC_a_NuMber+''+_0x3c4c5f(0x76a)+CalL_XC_b_NuMber+''+_0x3c4c5f(0x3a8)+CalL_XC_c_NuMber+''+'&preset_number_d='+CalL_XC_d_NuMber+''+'&preset_number_e='+CalL_XC_e_NuMber+''+_0x3c4c5f(0x50e)+CalL_XC_a_Dtmf+''+_0x3c4c5f(0x4a7)+CalL_XC_b_Dtmf+'');}function InternalChatContentsLoad(_0x68575){var _0x79af39=_0x1c96bb;_0x68575==_0x79af39(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x79af39(0x259));var _0x747b4f=$(_0x79af39(0x416))[_0x79af39(0x1b2)](),_0x4eccd0=$(_0x79af39(0x29a))[_0x79af39(0x1b2)](),_0x250dc4=$('#chat_id')[_0x79af39(0x1b2)]();_0x4eccd0['length']>0x2&&(_0x747b4f=_0x4eccd0),$(_0x79af39(0x564))[_0x79af39(0x7b8)](_0x79af39(0x585),'./chat_internal.php?lead_id='+$(_0x79af39(0x486))[_0x79af39(0x1b2)]()+_0x79af39(0x4d8)+_0x747b4f+_0x79af39(0x66e)+user+_0x79af39(0x397)+orig_pass),InternalChatPanelToFront();}function next_call_pause_click(){var _0x5d8ff8=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x5d8ff8(0x152),$(_0x5d8ff8(0x46f))[_0x5d8ff8(0x789)](_0x5d8ff8(0x677),!![]),$(_0x5d8ff8(0x573))[_0x5d8ff8(0x628)](_0x5d8ff8(0x493));}function CBcommentsBoxhide(){var _0x3ccceb=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3ccceb(0x574),CBentry_time='',CBcallback_time='',CBuser='',CBcomments='',$('#CBcommentsBoxA')[_0x3ccceb(0x628)](''),$(_0x3ccceb(0x72a))['html'](''),$(_0x3ccceb(0x7cd))['html'](''),$(_0x3ccceb(0x1e1))[_0x3ccceb(0x628)](''),hideDiv(_0x3ccceb(0x75d));}function EAcommentsBoxhide(_0x1387a5){var _0x30b403=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x30b403(0x324)+_0x1387a5+'|',hideDiv('EAcommentsBox');if(_0x1387a5==_0x30b403(0x18f)){}else hideDiv(_0x30b403(0x27e));}function EAcommentsBoxshow(){var _0x371fa6=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x371fa6(0x308),hideDiv(_0x371fa6(0x27e));}function CB_date_pick(_0x3dce64){var _0xf38714=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----CB_date_pick---'+_0x3dce64+'|',$('#CallBackDatESelectioN')[_0xf38714(0x1b2)](_0x3dce64),$(_0xf38714(0x7c1))[_0xf38714(0x628)](_0x3dce64);}function CallBackDatE_submit(){var _0xcbfe80=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xcbfe80(0x657),CallBackDatEForM=$(_0xcbfe80(0x2f8))[_0xcbfe80(0x1b2)](),CallBackCommenTs=$(_0xcbfe80(0x3e3))[_0xcbfe80(0x1b2)](),CallBackDatEForM[_0xcbfe80(0x35c)]<0x2?(alert_box(_0xcbfe80(0x16d)),button_click_log=button_click_log+''+SQLdate+'-----CallBackSetFailed---'+CallBackDatEForM+'|'):(CallBackTimEHouR=$('#CBT_hour')['val'](),CallBackTimEMinuteS=$(_0xcbfe80(0x33e))[_0xcbfe80(0x1b2)](),$('#CBT_hour')['val']('12'),CallBackLeadStatus=$(_0xcbfe80(0x5c9))[_0xcbfe80(0x1b2)](),$(_0xcbfe80(0x33e))[_0xcbfe80(0x1b2)]('00'),CallBackDatETimE=CallBackDatEForM+' '+CallBackTimEHouR+':'+CallBackTimEMinuteS+_0xcbfe80(0x3c9),$(_0xcbfe80(0x7b7))[_0xcbfe80(0x789)]('checked')==!![]?CallBackrecipient=_0xcbfe80(0x71c):CallBackrecipient=_0xcbfe80(0x4e1),$(_0xcbfe80(0x7c1))[_0xcbfe80(0x628)](_0xcbfe80(0x29b)),$(_0xcbfe80(0x7b7))[_0xcbfe80(0x789)](_0xcbfe80(0x677),!![]),my_callback_option=='CHECKED'&&$('#CallBackOnlyMe')[_0xcbfe80(0x789)](_0xcbfe80(0x677),!![]),$('#CallBackDatESelectioN')['val'](''),$(_0xcbfe80(0x3e3))[_0xcbfe80(0x1b2)](''),$(_0xcbfe80(0x5c9))['val'](_0xcbfe80(0x4cd)),$(_0xcbfe80(0x403))[_0xcbfe80(0x7c3)](_0xcbfe80(0x345)),DispoSelect_submit());}function Rendezvous_submit(){var _0x46d5ed=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x46d5ed(0x3ed),RendezVousSelectioN=$(_0x46d5ed(0x4d1))[_0x46d5ed(0x1b2)](),RendezVousSelectioN[_0x46d5ed(0x35c)]<0x2?(alert_box(_0x46d5ed(0x16d)),button_click_log=button_click_log+''+SQLdate+_0x46d5ed(0x73c)+RendezVousSelectioN+'|'):(RDV_CBT_hour=$(_0x46d5ed(0x226))[_0x46d5ed(0x1b2)](),RDV_CBT_minute=$(_0x46d5ed(0x142))[_0x46d5ed(0x1b2)](),RDVLeadStatus=$(_0x46d5ed(0x5c9))[_0x46d5ed(0x1b2)](),$(_0x46d5ed(0x226))['val']('12'),$(_0x46d5ed(0x142))[_0x46d5ed(0x1b2)]('00'),RDVDatETimE=RendezVousSelectioN+' '+RDV_CBT_hour+':'+RDV_CBT_minute+_0x46d5ed(0x3c9),$(_0x46d5ed(0x4d1))['val'](''),$(_0x46d5ed(0x5c9))[_0x46d5ed(0x1b2)]('RVHOLD'),$(_0x46d5ed(0x200))['modal'](_0x46d5ed(0x345)),DispoSelect_submit());}function TimerActionRun(_0x28535c,_0x47d0a8,_0x60a1d3){var _0x3ef343=_0x1c96bb,_0x4483e8=0x0;if(_0x28535c==_0x3ef343(0x296))$(_0x3ef343(0x7bd))[_0x3ef343(0x628)](_0x47d0a8['replace']('
','<br />')),$('#TimerSpan')['modal']({'closeExisting':![]}),_0x60a1d3>0x0&&(dial_box_close_counter=_0x60a1d3);else{(timer_action_message[_0x3ef343(0x35c)]>0x0||timer_action==_0x3ef343(0x593))&&($('#TimerContentSpan')[_0x3ef343(0x628)]('<b>AVIS DE MINUTERIE '+timer_action_seconds+_0x3ef343(0x1dc)+timer_action_message+_0x3ef343(0x48b)),$('#TimerSpan')[_0x3ef343(0x7c3)]({'closeExisting':![]}));timer_action==_0x3ef343(0x33c)&&DtMf_PreSet_a_DiaL();timer_action==_0x3ef343(0x2dd)&&DtMf_PreSet_b_DiaL();timer_action==_0x3ef343(0x37c)&&DtMf_PreSet_c_DiaL();timer_action==_0x3ef343(0x607)&&DtMf_PreSet_d_DiaL();timer_action==_0x3ef343(0x4c4)&&DtMf_PreSet_e_DiaL();timer_action==_0x3ef343(0x51f)&&DtMf_PreSet_a_DiaL(_0x3ef343(0x18f));timer_action=='D2_DIAL_QUIET'&&DtMf_PreSet_b_DiaL(_0x3ef343(0x18f));timer_action==_0x3ef343(0x4a6)&&DtMf_PreSet_c_DiaL(_0x3ef343(0x18f));timer_action==_0x3ef343(0x1ed)&&DtMf_PreSet_d_DiaL(_0x3ef343(0x18f));timer_action==_0x3ef343(0x266)&&DtMf_PreSet_e_DiaL(_0x3ef343(0x18f));timer_action==_0x3ef343(0x3a7)&&VD_live_customer_call==0x1&&hangup_timer_xfer();timer_action=='EXTENSION'&&VD_live_customer_call==0x1&&timer_action_destination[_0x3ef343(0x35c)]>0x0&&extension_timer_xfer();timer_action==_0x3ef343(0x3c2)&&VD_live_customer_call==0x1&&timer_action_destination[_0x3ef343(0x35c)]>0x0&&callmenu_timer_xfer();timer_action==_0x3ef343(0x16a)&&VD_live_customer_call==0x1&&timer_action_destination[_0x3ef343(0x35c)]>0x0&&ingroup_timer_xfer();if(timer_action_destination[_0x3ef343(0x35c)]>0x0){var _0xeff289=new RegExp(_0x3ef343(0x4c5),'ig');if(timer_action_destination[_0x3ef343(0x42d)](_0xeff289)){_0x4483e8=0x1,timer_action=_0x3ef343(0x502);var _0x1175bc=timer_action_destination[_0x3ef343(0x65a)](_0x3ef343(0x4c5)),_0x3fbbc2=_0x1175bc[0x1][_0x3ef343(0x65a)]('--');timer_action=_0x3fbbc2[0x0],timer_action_seconds=parseInt(_0x3fbbc2[0x1]),timer_action_seconds=timer_action_seconds+VD_live_call_secondS,timer_action_destination=_0x3fbbc2[0x2],timer_action_message=_0x3fbbc2[0x3];}}}_0x4483e8<0x1&&(timer_action=_0x3ef343(0x502));}function start_all_refresh(){var _0x2b076d=_0x1c96bb;if(PIXIScrm_closer_login_checked==0x0){hideDiv('ScriptTopBGspan'),hideDiv(_0x2b076d(0x772)),hideDiv('CBcommentsBox'),hideDiv(_0x2b076d(0x27e)),hideDiv(_0x2b076d(0x2af)),hideDiv(_0x2b076d(0x2b3)),hideDiv(_0x2b076d(0x6fc)),hideDiv(_0x2b076d(0x3ab)),hideDiv(_0x2b076d(0x5f8)),hideDiv(_0x2b076d(0x627)),hideDiv('FSCREENWrapupBox'),showDiv(_0x2b076d(0x330)),hideDiv(_0x2b076d(0x65b)),hideDiv(_0x2b076d(0x2f2)),$('#PauseCodeSelectBox')[_0x2b076d(0x7c3)](_0x2b076d(0x345)),hideDiv(_0x2b076d(0x6a2)),hideDiv(_0x2b076d(0x65e)),hideDiv(_0x2b076d(0x6b2)),hideDiv('GroupAliasSelectBox'),hideDiv(_0x2b076d(0x396)),hideDiv(_0x2b076d(0x4f0)),hideDiv('TimerSpan'),hideDiv(_0x2b076d(0x713)),hideDiv(_0x2b076d(0x290)),hideDiv(_0x2b076d(0x616)),hideDiv(_0x2b076d(0x414)),hideDiv(_0x2b076d(0x4aa)),hideDiv(_0x2b076d(0x327)),hideDiv('post_phone_time_diff_span'),hideDiv('ivrParkControl'),hideDiv('InvalidOpenerSpan');deactivated_old_session<0x1&&hideDiv(_0x2b076d(0x438));is_webphone!='Y'&&hideDiv(_0x2b076d(0x700));email_enabled<0x1&&hideDiv(_0x2b076d(0x5b0));agentcall_manual<0x1&&hideDiv('ManuaLDiaLButtons');agent_call_log_view!='1'&&(hideDiv(_0x2b076d(0x601)),hideDiv(_0x2b076d(0x3dc)));callholdstatus!='1'&&hideDiv(_0x2b076d(0x3a3));(auto_dial_level>0x0&&dial_method!=_0x2b076d(0x21c)||manual_dial_preview<0x1)&&clearDiv(_0x2b076d(0x30b));alt_phone_dialing!=0x1&&clearDiv(_0x2b076d(0x2ef));pause_after_next_call!=_0x2b076d(0x20d)&&clearDiv(_0x2b076d(0x827));volumecontrol_active!='1'&&hideDiv('VolumeControlSpan');(DefaulTAlTDiaL=='1'||alt_number_dialing==_0x2b076d(0x3d5)||alt_number_dialing==_0x2b076d(0x3f5)||alt_number_dialing==_0x2b076d(0x737))&&$('#DiaLAltPhonE')[_0x2b076d(0x789)](_0x2b076d(0x677),!![]);(alt_number_dialing==_0x2b076d(0x4df)||alt_number_dialing==_0x2b076d(0x220)||alt_number_dialing==_0x2b076d(0x34a))&&$('#DiaLAltPhonE')[_0x2b076d(0x789)](_0x2b076d(0x677),![]);agent_status_view!='1'&&$(_0x2b076d(0x155))['html']('');dispo_check_all_pause=='1'&&$(_0x2b076d(0x46f))['prop']('checked',!![]);agent_xfer_consultative<0x1&&hideDiv(_0x2b076d(0x7f2));agent_xfer_dial_override<0x1&&hideDiv('dialoverride_checkbox');agent_xfer_vm_transfer<0x1&&hideDiv('DialBlindVMail');agent_xfer_blind_transfer<0x1&&hideDiv(_0x2b076d(0x36a));agent_xfer_dial_with_customer<0x1&&hideDiv(_0x2b076d(0x5bd));agent_xfer_park_customer_dial<0x1&&hideDiv('ParkCustomerDial');agent_xfer_park_3way<0x1&&hideDiv(_0x2b076d(0x378));AllowManualQueueCallsChoice=='1'&&$('#ManualQueueChoice')[_0x2b076d(0x628)](_0x2b076d(0x4cb));qc_enabled<0x1&&$(_0x2b076d(0x185))[_0x2b076d(0x628)]('');$(_0x2b076d(0x185))[_0x2b076d(0x628)]('');manual_dial_search_checkbox==_0x2b076d(0x3d5)||manual_dial_search_checkbox==_0x2b076d(0x1b6)||manual_dial_search_checkbox==_0x2b076d(0x7fc)?$('#LeadLookuP')['prop'](_0x2b076d(0x677),!![]):$(_0x2b076d(0x529))['prop']('checked',![]);$(_0x2b076d(0x21f))[_0x2b076d(0x628)](session_id);(LIVE_campaign_recording==_0x2b076d(0x615)||LIVE_campaign_recording==_0x2b076d(0x41f))&&$(_0x2b076d(0x547))[_0x2b076d(0x628)](_0x2b076d(0x509));if(mute_recordings=='Y'){var _0x27ed8d=_0x2b076d(0x2b2);$(_0x2b076d(0x49e))[_0x2b076d(0x628)](_0x27ed8d);}if(INgroupCOUNT>0x0){VU_closer_default_blended==0x1&&$('#CloserSelectBlended')[_0x2b076d(0x789)](_0x2b076d(0x677),!![]);CloserSelectContent_create();var _0x547257=0x1;CloserSelectContent_create(),VU_agent_choose_ingroups_DV==_0x2b076d(0x57c)&&(VU_agent_choose_ingroups_skip_count=mrglock_ig_select_ct),agent_events(_0x2b076d(0x6f8),'',aec),aec++;}else{agent_events(_0x2b076d(0x706),'',aec),aec++,MainPanelToFront();var _0x547257=0x0;dial_method==_0x2b076d(0x21c)&&MI_PAUSE!='1'&&(dial_method='MANUAL',auto_dial_level=0x0,starting_dial_level=0x0,$('#DiaLControl')[_0x2b076d(0x628)](DiaLControl_manual_HTML),$(_0x2b076d(0x370))[_0x2b076d(0x628)](DiaLControl_manual_HTML2));}VtigeRLogiNScripT=='Y'&&VtigeREnableD>0x0&&$(_0x2b076d(0x565))[_0x2b076d(0x628)](_0x2b076d(0x4d6)+VtigeRurl+'/index.php?module=Users&action=Authenticate&return_module=Users&return_action=Login&user_name='+user+_0x2b076d(0x24f)+orig_pass+_0x2b076d(0x366)+script_width+_0x2b076d(0x177)+script_height+'px"> </iframe> ');if(VtigeRLogiNScripT==_0x2b076d(0x6f5)&&VtigeREnableD>0x0){var _0x19df11=VtigeRurl+_0x2b076d(0x710)+user+'&user_password='+orig_pass+_0x2b076d(0x608);VtigeRwin=window[_0x2b076d(0x63c)](_0x19df11,web_form_target,_0x2b076d(0x39d)),VtigeRwin['blur']();}if(crm_popup_login=='Y'&&crm_login_address[_0x2b076d(0x35c)]>0x4){var _0x4996c1=new RegExp(_0x2b076d(0x6d5),'ig'),_0x11c850=URLDecode(crm_login_address,_0x2b076d(0x18f),_0x2b076d(0x6d6),'0');_0x11c850=_0x11c850[_0x2b076d(0x74b)](_0x4996c1,''),_0x11c850=_0x11c850[_0x2b076d(0x74b)](regLOCALFQDN,FQDN);var _0x40549b=_0x2b076d(0x4e6);_0x40549b=window[_0x2b076d(0x63c)](_0x11c850,_0x40549b,_0x2b076d(0x39d)),_0x40549b[_0x2b076d(0x656)]();}INgroupCOUNT>0x0&&HidEGenDerPulldown(),is_webphone=='Y'&&no_empty_session_warnings<0x1&&(webphone_call_seconds>0x0?temp_webphone_call_seconds=webphone_call_seconds:NoneInSessionCalL()),(ivr_park_call==_0x2b076d(0x20d)||ivr_park_call==_0x2b076d(0x73a))&&showDiv(_0x2b076d(0x429)),manual_dial_override_field==_0x2b076d(0x2e7)&&$(_0x2b076d(0x6c5))[_0x2b076d(0x789)](_0x2b076d(0x312),!![]),PIXIScrm_closer_login_checked=0x1;}else{var _0x78db59=0x0;(_0x547257==0x1||TerritorySelecting==0x1)&&(_0x78db59=0x1);open_dispo_screen==0x1&&(wrapup_counter=0x0,wrapup_seconds>0x0&&(wrapup_message[_0x2b076d(0x42d)](regWFS)&&(FSCREENup=0x1),wrapup_waiting=0x1),CustomerData_update('NO'),hide_gender<0x1&&($(_0x2b076d(0x4dc))[_0x2b076d(0x628)](''),$('#GENDERhideFORieALT')['html']('<select size="1" name="gender_list" class="form-select" id="gender_list"><option value="U">U - Undefined</option><option value="M">M - Male</option><option value="F">F - Female</option></select>')),script_top_dispo=='Y'&&(ScriptPanelToFront(),showDiv(_0x2b076d(0x2fb))),$(_0x2b076d(0x817))[_0x2b076d(0x7c3)](_0x2b076d(0x45c)),DispoSelectContent_create('',_0x2b076d(0x440)),_0x78db59=0x1,open_dispo_screen=0x0,LIVE_default_xfer_group=default_xfer_group,LIVE_campaign_recording=campaign_recording,LIVE_campaign_rec_filename=campaign_rec_filename,disable_alter_custphone!=_0x2b076d(0x150)?$('#DispoSelectPhonE')['html'](dialed_number):$('#DispoSelectPhonE')[_0x2b076d(0x628)](''),auto_dial_level==0x0&&($(_0x2b076d(0x69b))[_0x2b076d(0x789)](_0x2b076d(0x677))==!![]?(reselect_alt_dial=0x1,$(_0x2b076d(0x7d7))[_0x2b076d(0x628)](_0x2b076d(0x171)),$('#MainStatuSSpan')[_0x2b076d(0x628)](_0x2b076d(0x64f))):reselect_alt_dial=0x0),custom_fields_enabled>0x0&&(customsubmit_trigger=0x1),agent_events(_0x2b076d(0x7e4),'',aec),aec++);customsubmit_trigger>0x0&&(updatelead_complete>0x0||customsubmit_trigger>0x2?(button_click_log=button_click_log+''+SQLdate+_0x2b076d(0x4b5)+updatelead_complete+' '+customsubmit_trigger+'|',customsubmit_trigger=0x0):(customsubmit_trigger++,button_click_log=button_click_log+''+SQLdate+_0x2b076d(0x7e1)+updatelead_complete+' '+customsubmit_trigger+'|'));UpdatESettingSChecK>0x0&&(UpdatESettingSChecK=0x0,UpdatESettingS());AgentDispoing>0x0&&(_0x78db59=0x1,check_for_conf_calls(session_id,'0'),AgentDispoing++,dispo_max>0x0&&AgentDispoing>dispo_max&&(button_click_log=button_click_log+''+SQLdate+'-----DispoMax---'+dispo_max+' '+dispo_max_dispo+'|',$('#DispoSelectStop')[_0x2b076d(0x789)](_0x2b076d(0x677),!![]),$(_0x2b076d(0x5c9))[_0x2b076d(0x1b2)](dispo_max_dispo),DispoSelect_submit('1',dispo_max_dispo)));VU_agent_choose_ingroups_skip_count>0x0&&(VU_agent_choose_ingroups_skip_count--,VU_agent_choose_ingroups_skip_count==0x0&&CloserSelect_submit());agent_select_territories_skip_count>0x0&&(agent_select_territories_skip_count--,agent_select_territories_skip_count==0x0&&TerritorySelect_submit());temp_webphone_call_seconds>0x0&&(temp_webphone_call_seconds--,temp_webphone_call_seconds<0x1&&NoneInSessionCalL(_0x2b076d(0x770)));logout_stop_timeouts==0x1&&(_0x78db59=0x1);custchannellive<customer_gone_seconds&&lastcustchannel[_0x2b076d(0x35c)]>0x3&&no_empty_session_warnings<0x1&&$('#lead_id')[_0x2b076d(0x1b2)]()!=''&&currently_in_email_or_chat==0x0&&CustomerChanneLGone();custchannellive<-0xa&&lastcustchannel[_0x2b076d(0x35c)]>0x3&&ReChecKCustoMerChaN();nochannelinsession>0x10&&check_n>0xf&&no_empty_session_warnings<0x1&&NoneInSessionCalL();external_transferconf_count>0x0&&(external_transferconf_count=external_transferconf_count-0x1);if(_0x78db59==0x0){trigger_ready>0x0&&(trigger_ready=0x0,auto_resume_precall=='Y'&&AutoDial_ReSume_PauSe(_0x2b076d(0x374)));check_for_conf_calls(session_id,'0');view_calls_in_queue_active>0x0&&refresh_calls_in_queue(view_calls_in_queue);xfer_select_agents_active>0x0&&refresh_agents_view(_0x2b076d(0x6fa),agent_status_view,agent_xfer_group_selected,agent_xfer_validation);agentonly_callbacks=='1'&&CB_count_check++;(AutoDialWaiting==0x1||safe_pause_counter>0x0)&&(check_for_auto_incoming(),safe_pause_counter=safe_pause_counter-0x1);MD_channel_look==0x1&&ManualDialCheckChanneL(XDcheck);CB_count_check>0x13&&agentonly_callbacks=='1'&&(CalLBacKsCounTCheck(),CB_count_check=0x0);if(chat_enabled=='1'){}timer_alt_trigger>0x0&&(timer_alt_count<0x1?(timer_alt_trigger=0x0,timer_alt_count=timer_alt_seconds,$(_0x2b076d(0x74a))['html'](''),(alt_number_dialing==_0x2b076d(0x3f5)||alt_number_dialing==_0x2b076d(0x3f5))&&ManualDialOnly(_0x2b076d(0x1d9),'NO','0'),(alt_number_dialing=='SELECTED_TIMER_ADDR3'||alt_number_dialing=='UNSELECTED_TIMER_ADDR3')&&ManualDialOnly('AddresS3','NO','0')):($(_0x2b076d(0x74a))[_0x2b076d(0x628)](_0x2b076d(0x7a5)+timer_alt_count+_0x2b076d(0x227)+last_mdtype),timer_alt_count--));manual_auto_next>0x0&&manual_auto_next_trigger>0x0&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1&&((manual_auto_next_options==_0x2b076d(0x402)||manual_auto_next_options==_0x2b076d(0x6ee)&&VDRP_stage!=_0x2b076d(0x156))&&(manual_auto_next_count<0x1?(manual_auto_next_trigger=0x0,manual_auto_next_count=manual_auto_next,$('#manual_auto_next_display')[_0x2b076d(0x628)](''),button_click_log=button_click_log+''+SQLdate+_0x2b076d(0x815)+manual_auto_next+' '+manual_auto_show+'|',ManualDialNext('','','','','','0','','',_0x2b076d(0x18f))):(manual_auto_show=='Y'&&$(_0x2b076d(0x7a7))[_0x2b076d(0x628)](_0x2b076d(0x386)+manual_auto_next_count+' &nbsp; '),manual_auto_next_count--)));trigger_manual_validation>0x0&&(manual_cancel_skip=0x1,trigger_manual_validation=0x0,ManualDialOnly('',_0x2b076d(0x18f),'0'));if(VD_live_customer_call==0x1){VD_live_call_secondS++,$(_0x2b076d(0x1a2))['val'](VD_live_call_secondS),$(_0x2b076d(0x4d7))[_0x2b076d(0x628)](VD_live_call_secondS);if(CheckDEADcallON>0x0&&currently_in_email_or_chat<0x1){CheckDEADcallCOUNT++,dead_trigger_count++;dead_trigger_seconds>0x0&&dead_trigger_count>=dead_trigger_seconds&&dead_trigger_action!=_0x2b076d(0x2e7)&&(dead_trigger_first_ran++,dead_trigger_filename[_0x2b076d(0x35c)]>0x0&&(dead_trigger_action=='AUDIO'||dead_trigger_action==_0x2b076d(0x31c))&&((dead_trigger_first_ran<0x2||dead_trigger_first_ran>0x1&&(dead_trigger_repeat==_0x2b076d(0x328)||dead_trigger_repeat==_0x2b076d(0x260)))&&(basic_originate_call(dead_trigger_filename,'NO','YES',session_id,_0x2b076d(0x18f),'','1','0','1'),agent_events('dead_trigger_audio',CheckDEADcallCOUNT,aec),aec++,button_click_log=button_click_log+''+SQLdate+_0x2b076d(0x20a)+dead_trigger_action+' '+dead_trigger_count+' '+dead_trigger_first_ran+' '+CheckDEADcallCOUNT+'|')),(dead_trigger_action==_0x2b076d(0x6d1)||dead_trigger_action==_0x2b076d(0x31c))&&((dead_trigger_first_ran<0x2||dead_trigger_first_ran>0x1&&(dead_trigger_repeat==_0x2b076d(0x328)||dead_trigger_repeat==_0x2b076d(0x67c)))&&(dead_trigger_url_send(),agent_events('dead_trigger_url',CheckDEADcallCOUNT,aec),aec++,button_click_log=button_click_log+''+SQLdate+_0x2b076d(0x144)+dead_trigger_action+' '+dead_trigger_count+' '+dead_trigger_first_ran+' '+CheckDEADcallCOUNT+'|')),dead_trigger_count=0x0);if(dead_max>0x0&&CheckDEADcallCOUNT>dead_max){if(dead_to_dispo>0x0)button_click_log=button_click_log+''+SQLdate+'-----DeadMaxOnly---'+dead_max+' '+dead_to_dispo+'|',dialedcall_send_hangup();else{CustomerData_update('NO');if(per_call_notes==_0x2b076d(0x20d)&&comments_dispo_screen!=_0x2b076d(0x5c6)){var _0x42ad57=$(_0x2b076d(0x41e))[_0x2b076d(0x1b2)]();_0x42ad57[_0x2b076d(0x35c)]>0x0&&$(_0x2b076d(0x53c))[_0x2b076d(0x1b2)]($('#call_notes')[_0x2b076d(0x1b2)]());}button_click_log=button_click_log+''+SQLdate+_0x2b076d(0x764)+dead_max+' '+dead_max_dispo+'|',dead_auto_dispo_count=0x4,dead_auto_dispo_finish=0x1,alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,$('#DispoSelection')[_0x2b076d(0x1b2)](dead_max_dispo),$(_0x2b076d(0x46f))[_0x2b076d(0x789)](_0x2b076d(0x677),!![]),dialedcall_send_hangup('NO','NO',dead_max_dispo),custom_fields_enabled>0x0&&(customsubmit_trigger=0x1);}}}}XD_live_customer_call==0x1&&(XD_live_call_secondS++,$('#xferlength')[_0x2b076d(0x1b2)](XD_live_call_secondS));if(customerparked==0x1){customerparkedcounter++;var _0x382ff5=Math[_0x2b076d(0x2e2)](customerparkedcounter/0x3c),_0x92657c=customerparkedcounter%0x3c;_0x92657c<0xa&&(_0x92657c='0'+_0x92657c);var _0x43ddd0=_0x382ff5+':'+_0x92657c;$(_0x2b076d(0x80d))[_0x2b076d(0x628)]('Time On Park: '+_0x43ddd0);}if(customer_3way_hangup_counter_trigger>0x0){if(customer_3way_hangup_counter>customer_3way_hangup_seconds){var _0x26dd20=XD_live_call_secondS-customer_3way_hangup_counter;customer_3way_hangup_process(_0x2b076d(0x1e6),_0x26dd20),customer_3way_hangup_counter=0x0,customer_3way_hangup_counter_trigger=0x0,customer_3way_hangup_action==_0x2b076d(0x622)&&(customer_3way_hangup_dispo_message=_0x2b076d(0x77d),bothcall_send_hangup());}else customer_3way_hangup_counter++;}update_fields>0x0&&update_fields_data[_0x2b076d(0x35c)]>0x2&&UpdateFieldsData();timer_action!=_0x2b076d(0x502)&&timer_action[_0x2b076d(0x35c)]>0x3&&timer_action_seconds<=VD_live_call_secondS&&timer_action_seconds>=0x0&&TimerActionRun('','',0x0);HKdispo_display>0x0&&(HKdispo_display<=0x2&&HKfinish==0x1&&(HKfinish=0x0,manual_auto_hotkey_wait=0x0,DispoSelect_submit()),HKdispo_display==0x1&&(HKFSCREENup>0x0&&(hideDiv('FSCREENWrapupBox'),HKFSCREENup=0x0)),HKdispo_display--);dead_auto_dispo_count>0x0&&(dead_auto_dispo_count==0x3&&dead_auto_dispo_finish==0x1&&(dead_auto_dispo_finish=0x0,DispoSelect_submit('1',dead_max_dispo)),dead_auto_dispo_count--);SIPaction_dispo_count>0x0&&(SIPaction_dispo_count==0x3&&SIPaction_dispo_finish==0x1&&(SIPaction_dispo_finish=0x0,DispoSelect_submit('1',$('#DispoSelection')['val']())),SIPaction_dispo_count--);all_record==_0x2b076d(0x18f)&&(all_record_count<allcalls_delay?all_record_count++:(conf_send_recording('MonitorConf',session_id,'','',''),all_record='NO',all_record_count=0x0));if(active_display==0x1){check_s=check_n['toString']();if(check_s['match'](/00$/)||check_n<0x2){}}if(check_n<0x2){}else check_s=check_n[_0x2b076d(0x81e)]();blind_monitoring_now>0x0&&(blind_monitor_warning==_0x2b076d(0x4f9)||blind_monitor_warning==_0x2b076d(0x29f)||blind_monitor_warning=='AUDIO'||blind_monitor_warning==_0x2b076d(0x6ec)||blind_monitor_warning==_0x2b076d(0x72e)||blind_monitor_warning=='NOTICE_AUDIO'||blind_monitor_warning==_0x2b076d(0x79f))&&(blind_monitoring_now_trigger>0x0&&((blind_monitor_warning==_0x2b076d(0x4f9)||blind_monitor_warning==_0x2b076d(0x6ec)||blind_monitor_warning==_0x2b076d(0x72e)||blind_monitor_warning=='ALL')&&($(_0x2b076d(0x1ef))[_0x2b076d(0x628)](blind_monitor_message),agent_events(_0x2b076d(0x7d5),'',aec),aec++),blind_monitor_filename[_0x2b076d(0x35c)]>0x0&&(blind_monitor_warning==_0x2b076d(0x211)||blind_monitor_warning==_0x2b076d(0x72e)||blind_monitor_warning==_0x2b076d(0x229)||blind_monitor_warning=='ALL')&&basic_originate_call(blind_monitor_filename,'NO','YES',session_id,'YES','','1','0','1'),blind_monitoring_now_trigger=0x0)),wrapup_seconds>0x0&&(wrapup_counter++,wrapup_counter>wrapup_seconds&&FSCREENup>0x0&&(wrapup_waiting=0x0,FSCREENup>0x0&&(hideDiv(_0x2b076d(0x384)),FSCREENup=0x0),$(_0x2b076d(0x46f))[_0x2b076d(0x789)](_0x2b076d(0x677))==!![]?(auto_dial_level!='0'&&(AutoDialWaiting=0x0,AutoDial_ReSume_PauSe(_0x2b076d(0x2ce))),PIXIScrm_pause_calling=0x1,dispo_check_all_pause!='1'&&$('#DispoSelectStop')[_0x2b076d(0x789)](_0x2b076d(0x677),![])):auto_dial_level!='0'&&(AutoDialWaiting=0x1,AutoDial_ReSume_PauSe(_0x2b076d(0x374),'NEW_ID',_0x2b076d(0x52c))))),in_man_dial_next_ready_trigger>0x0&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1&&(in_man_dial_next_ready_count++,in_man_dial_next_ready_count>in_man_dial_next_ready_seconds&&(agent_events(_0x2b076d(0x6df),in_man_dial_next_ready_count,aec),aec++,button_click_log=button_click_log+''+SQLdate+_0x2b076d(0x7c9)+in_man_dial_next_ready_count+'|',in_man_dial_next_ready_trigger=0x0,$(_0x2b076d(0x7d7))[_0x2b076d(0x628)](_0x2b076d(0x5ef))));}else safe_pause_counter>0x0&&(check_for_auto_incoming(),safe_pause_counter=safe_pause_counter-0x1);if(consult_custom_wait>0x0){if(consult_custom_wait=='1'){}consult_custom_wait>=consult_custom_delay?SendManualDial('YES'):consult_custom_wait++;}HKdispo_display<0x1&&(manual_auto_hotkey=='1'&&(waiting_on_dispo>0x0&&manual_auto_hotkey_wait<0xa?manual_auto_hotkey_wait++:(manual_auto_hotkey=0x0,(dial_method==_0x2b076d(0x21c)||dial_method=='MANUAL')&&ManualDialNext('','','','','','0'))),manual_auto_hotkey>0x1&&(manual_auto_hotkey=manual_auto_hotkey-0x1)),updatedispo_resume_trigger=='1'&&(waiting_on_dispo=='0'&&(updatedispo_resume_trigger=0x0,agent_log_id=AutoDial_ReSume_PauSe(_0x2b076d(0x374),_0x2b076d(0x79c)),AutoDialWaiting=0x1)),alert_box_close_counter>0x0&&(alert_box_close_counter=alert_box_close_counter-0x1,alert_box_close_counter<0x1&&$(_0x2b076d(0x2f3))[_0x2b076d(0x7c3)](_0x2b076d(0x345))),dial_box_close_counter>0x0&&(dial_box_close_counter=dial_box_close_counter-0x1,dial_box_close_counter<0x1&&hideDiv(_0x2b076d(0x392))),left_3way_timeout>0x0&&(left_3way_timeout=left_3way_timeout-0x1),trigger_shift_logout>0x0&&(trigger_shift_logout>0x1?trigger_shift_logout=trigger_shift_logout-0x1:(LogouT(_0x2b076d(0x6a8),'',''),trigger_shift_logout=0x0));}setTimeout('all_refresh()',refresh_interval);}function all_refresh(){var _0x2ce8f1=_0x1c96bb;UnixTime++,epoch_sec++,check_n++,even++;even>0x1&&(even=0x0);var _0x16b0b0=t['getYear'](),_0x38caa9=t[_0x2ce8f1(0x648)]();_0x38caa9++;var _0x3c1157=t[_0x2ce8f1(0x37d)](),_0x2d9ddc=t[_0x2ce8f1(0x281)](),_0x17b790=t[_0x2ce8f1(0x49b)](),_0x21c33c=t[_0x2ce8f1(0x693)](),_0x550a2a=new RegExp(_0x2ce8f1(0x48c),'g'),_0x5d3a05=new RegExp(_0x2ce8f1(0x176),'g'),_0x5a679d=new RegExp(_0x2ce8f1(0x43c),'g'),_0xd4434c=new RegExp('AL_','g'),_0x3d2cfb=new RegExp(_0x2ce8f1(0x7b3),'g');_0x16b0b0<0x3e8&&(_0x16b0b0+=0x76c);_0x38caa9<0xa&&(_0x38caa9='0'+_0x38caa9);_0x3c1157<0xa&&(_0x3c1157='0'+_0x3c1157);_0x2d9ddc<0xa&&(_0x2d9ddc='0'+_0x2d9ddc);_0x17b790<0xa&&(_0x17b790='0'+_0x17b790);_0x21c33c<0xa&&(_0x21c33c='0'+_0x21c33c);var _0x2b7852=_0x16b0b0-0x7d0;filedate=_0x16b0b0+''+_0x38caa9+''+_0x3c1157+'-'+_0x2d9ddc+''+_0x17b790+''+_0x21c33c,tinydate=_0x2b7852+''+_0x38caa9+''+_0x3c1157+''+_0x2d9ddc+''+_0x17b790+''+_0x21c33c,SQLdate=_0x16b0b0+'-'+_0x38caa9+'-'+_0x3c1157+' '+_0x2d9ddc+':'+_0x17b790+':'+_0x21c33c;var _0x146e52='',_0x5d5522=_0x2d9ddc+':'+_0x17b790+':'+_0x21c33c;vdc_header_date_format[_0x2ce8f1(0x42d)](_0x550a2a)&&(_0x146e52=_0x16b0b0+'-'+_0x38caa9+'-'+_0x3c1157);vdc_header_date_format[_0x2ce8f1(0x42d)](_0x5d3a05)&&(_0x146e52=_0x38caa9+'/'+_0x3c1157+'/'+_0x16b0b0);vdc_header_date_format['match'](_0x5a679d)&&(_0x146e52=_0x3c1157+'/'+_0x38caa9+'/'+_0x16b0b0);if(vdc_header_date_format[_0x2ce8f1(0x42d)](_0xd4434c)){var _0x348d91='';_0x38caa9==0x1&&(_0x348d91='JAN'),_0x38caa9==0x2&&(_0x348d91=_0x2ce8f1(0x7d1)),_0x38caa9==0x3&&(_0x348d91='MAR'),_0x38caa9==0x4&&(_0x348d91=_0x2ce8f1(0x424)),_0x38caa9==0x5&&(_0x348d91=_0x2ce8f1(0x4a9)),_0x38caa9==0x6&&(_0x348d91='JUN'),_0x38caa9==0x7&&(_0x348d91='JLY'),_0x38caa9==0x8&&(_0x348d91=_0x2ce8f1(0x5d9)),_0x38caa9==0x9&&(_0x348d91='SEP'),_0x38caa9==0xa&&(_0x348d91=_0x2ce8f1(0x734)),_0x38caa9==0xb&&(_0x348d91='NOV'),_0x38caa9==0xc&&(_0x348d91='DEC'),_0x146e52=_0x348d91+' '+_0x3c1157;}if(vdc_header_date_format['match'](_0x3d2cfb)){var _0x30b443='AM';_0x2d9ddc==0xc&&(_0x30b443='PM'),_0x2d9ddc==0x0&&(_0x30b443='AM',_0x2d9ddc='12'),_0x2d9ddc>0xc&&(_0x2d9ddc=_0x2d9ddc-0xc,_0x30b443='PM'),_0x5d5522=_0x2d9ddc+':'+_0x17b790+':'+_0x21c33c+' '+_0x30b443;}$(_0x2ce8f1(0x292))[_0x2ce8f1(0x628)](_0x146e52+' '+_0x5d5522+display_message),agent_datetime=_0x146e52+' '+_0x5d5522;if(VD_live_customer_call==0x1){var _0xc10a9=parseFloat($('#gmt_offset_now')[_0x2ce8f1(0x1b2)]()),_0x30b443='AM',_0x22448c=_0xc10a9-local_gmt,_0x1c1f87=UnixTime+0xe10*_0x22448c,_0x35b3da=_0x1c1f87*0x3e8;c['setTime'](_0x35b3da);var _0xe5e989=c[_0x2ce8f1(0x353)](),_0x308480=c[_0x2ce8f1(0x648)]();_0x308480++;var _0x211ec5=c['getDate'](),_0x2c0661=c[_0x2ce8f1(0x281)](),_0x5db64d=c[_0x2ce8f1(0x49b)](),_0x1ca5c9=c['getSeconds']();_0xe5e989<0x3e8&&(_0xe5e989+=0x76c);_0x308480<0xa&&(_0x308480='0'+_0x308480);_0x211ec5<0xa&&(_0x211ec5='0'+_0x211ec5);_0x2c0661<0xa&&(_0x2c0661='0'+_0x2c0661);_0x5db64d<0xa&&_0x5db64d[_0x2ce8f1(0x35c)]<0x2&&(_0x5db64d='0'+_0x5db64d);_0x1ca5c9<0xa&&_0x1ca5c9[_0x2ce8f1(0x35c)]<0x2&&(_0x1ca5c9='0'+_0x1ca5c9);_0x5db64d<0xa&&(_0x5db64d='0'+_0x5db64d);_0x1ca5c9<0xa&&(_0x1ca5c9='0'+_0x1ca5c9);VDRP_stage_seconds=0x0;var _0xf1772d='',_0x4104cc=_0x2c0661+':'+_0x5db64d+':'+_0x1ca5c9;customer_HHMM=_0x2c0661+''+_0x5db64d;vdc_customer_date_format[_0x2ce8f1(0x42d)](_0x550a2a)&&(_0xf1772d=_0xe5e989+'-'+_0x308480+'-'+_0x211ec5);vdc_customer_date_format[_0x2ce8f1(0x42d)](_0x5d3a05)&&(_0xf1772d=_0x308480+'/'+_0x211ec5+'/'+_0xe5e989);vdc_customer_date_format['match'](_0x5a679d)&&(_0xf1772d=_0x211ec5+'/'+_0x308480+'/'+_0xe5e989);if(vdc_customer_date_format[_0x2ce8f1(0x42d)](_0xd4434c)){var _0x1e1eae='';_0x308480==0x1&&(_0x1e1eae=_0x2ce8f1(0x4c2)),_0x308480==0x2&&(_0x1e1eae='FEB'),_0x308480==0x3&&(_0x1e1eae=_0x2ce8f1(0x49c)),_0x308480==0x4&&(_0x1e1eae=_0x2ce8f1(0x424)),_0x308480==0x5&&(_0x1e1eae=_0x2ce8f1(0x4a9)),_0x308480==0x6&&(_0x1e1eae=_0x2ce8f1(0x695)),_0x308480==0x7&&(_0x1e1eae=_0x2ce8f1(0x744)),_0x308480==0x8&&(_0x1e1eae=_0x2ce8f1(0x5d9)),_0x308480==0x9&&(_0x1e1eae=_0x2ce8f1(0x37a)),_0x308480==0xa&&(_0x1e1eae=_0x2ce8f1(0x734)),_0x308480==0xb&&(_0x1e1eae=_0x2ce8f1(0x813)),_0x308480==0xc&&(_0x1e1eae=_0x2ce8f1(0x30e)),_0xf1772d=_0x1e1eae+' '+_0x211ec5+' ';}if(vdc_customer_date_format[_0x2ce8f1(0x42d)](_0x3d2cfb)){var _0x30b443='AM';_0x2c0661==0xc&&(_0x30b443='PM'),_0x2c0661==0x0&&(_0x30b443='AM',_0x2c0661='12'),_0x2c0661>0xc&&(_0x2c0661=_0x2c0661-0xc,_0x30b443='PM'),_0x4104cc=_0x2c0661+':'+_0x5db64d+':'+_0x1ca5c9+' '+_0x30b443;}var _0x318f2e=_0xf1772d+' '+_0x4104cc;$(_0x2ce8f1(0x4c9))[_0x2ce8f1(0x628)](_0x318f2e);}if(VDRP_stage==_0x2ce8f1(0x156)&&VD_live_customer_call<0x1){VDRP_stage_seconds++;if(pause_max>0x0&&VDRP_stage_seconds>pause_max){var _0x38b954='-'+current_pause_code+'-',_0x246fdd=new RegExp(_0x38b954);if(pause_max_exceptions[_0x2ce8f1(0x35c)]>0x2&&current_pause_code[_0x2ce8f1(0x35c)]>0x0&&pause_max_exceptions[_0x2ce8f1(0x42d)](_0x246fdd)){}else alt_dial_status_display==0x1?(button_click_log=button_click_log+''+SQLdate+_0x2ce8f1(0x73b)+pause_max+'|',alt_dial_dispo_count=0x5,ManualDialAltDonE()):alt_dial_dispo_count>0x0?(alt_dial_dispo_count==0x4&&(button_click_log=button_click_log+''+SQLdate+_0x2ce8f1(0x711)+pause_max+' '+pause_max_dispo+'|',$('#DispoSelectStop')[_0x2ce8f1(0x789)](_0x2ce8f1(0x677),!![]),$(_0x2ce8f1(0x5c9))[_0x2ce8f1(0x1b2)](pause_max_dispo),DispoSelect_submit('1',pause_max_dispo),pause_max_finish=0x2),alt_dial_dispo_count--):(button_click_log=button_click_log+''+SQLdate+'-----PauseMax---'+pause_max+' '+VDRP_stage_seconds+'|',pause_max_finish=0x1,VDRP_stage_seconds=0x0);}}(VDRP_stage==_0x2ce8f1(0x3ec)||VDRP_stage=='CLOSER')&&VD_live_customer_call<0x1&&(VDRP_stage_seconds++,ready_max_logout>0x0&&VDRP_stage_seconds>ready_max_logout&&LogouT(_0x2ce8f1(0x2fc),'',''));pause_max_finish>0x0&&(pause_max_finish<0x2&&LogouT(_0x2ce8f1(0x530),'',pause_max_url_trigger),pause_max_finish--);start_all_refresh();if(check_n==0x2){agent_events(_0x2ce8f1(0x2fe),session_id+' '+server_ip+' '+version+' '+build+' '+script_name,aec),aec++;deactivated_old_session>0x0&&(agent_events(_0x2ce8f1(0x14d),'',aec),aec++);var _0x2a95b1=0x0;_0x2a95b1>0x0&&(refresh_interval=0x6f63a0,logout_stop_timeouts=0x1,agent_events(_0x2ce8f1(0x3b3),_0x2ce8f1(0x71f),aec),aec++);}if(!isVisible&&SSagent_hidden_sound_seconds>=0x5&&SSagent_hidden_sound_volume>0x0){BrowserEpoch=Math['round'](Date[_0x2ce8f1(0x5d0)]()/0x3e8);var _0x52d3f2=BrowserEpoch-BrowserServerEpochDiff,_0x4489ed=_0x52d3f2-last_hidden_sound_UnixTime;if(_0x4489ed>SSagent_hidden_sound_seconds){var _0x2d2db7=_0x52d3f2-last_UnixTime;last_hidden_sound_UnixTime=_0x52d3f2,button_click_log=button_click_log+''+SQLdate+'-----agent_hidden_alert---'+_0x4489ed+' '+SSagent_hidden_sound_seconds+' '+_0x2d2db7+' '+SSagent_hidden_sound+' '+SSagent_hidden_sound_volume+'|',play_browser_sound(SSagent_hidden_sound,SSagent_hidden_sound_volume);}}}function pause(){var _0x4dc195=_0x1c96bb;active_display=0x2,display_message=_0x4dc195(0x5a9);}function start(){active_display=0x1,display_message='';}function faster(){refresh_interval>0x3e9&&(refresh_interval=refresh_interval-0x3e8);}function slower(){refresh_interval=refresh_interval+0x3e8;}function showDiv(_0x196835){var _0x51518e=_0x1c96bb;$('#'+_0x196835)&&$('#'+_0x196835)['css'](_0x51518e(0x560),_0x51518e(0x4b4));}function hideDiv(_0x382816){var _0x48eb3a=_0x1c96bb;$('#'+_0x382816)&&$('#'+_0x382816)[_0x48eb3a(0x6c6)]('display',_0x48eb3a(0x169));}function clearDiv(_0x3c7b10){var _0x579f67=_0x1c96bb;if($('#'+_0x3c7b10)){$('#'+_0x3c7b10)[_0x579f67(0x628)]('');if(_0x3c7b10==_0x579f67(0x30b)){var _0xb7b4df=' <input type="checkbox" name="LeadPreview" id="LeadPreview" size="1" value="0" /> LEAD PREVIEW<br />';$('#DiaLLeaDPrevieWHide')[_0x579f67(0x628)](_0xb7b4df);}if(_0x3c7b10==_0x579f67(0x2ef)){var _0xb7b4df=' <input type="checkbox" name="DiaLAltPhonE" id="DiaLAltPhonE" size="1" value="0" /> ALT PHONE DIAL<br />';$(_0x579f67(0x68b))[_0x579f67(0x628)](_0xb7b4df);}(DefaulTAlTDiaL=='1'||alt_number_dialing==_0x579f67(0x3d5)||alt_number_dialing==_0x579f67(0x3f5)||alt_number_dialing==_0x579f67(0x737))&&$(_0x579f67(0x69b))['prop'](_0x579f67(0x677),!![]);}}function buildDiv(_0x4843aa){var _0x5b2250=_0x1c96bb;if($('#'+_0x4843aa)){var _0x4844e1='';if(_0x4843aa==_0x5b2250(0x30b)){$(_0x5b2250(0x540))[_0x5b2250(0x628)]('');var _0x4844e1=_0x5b2250(0x1a1);$('#'+_0x4843aa)[_0x5b2250(0x628)](_0x4844e1),reselect_preview_dial==0x1&&$(_0x5b2250(0x4d5))['prop'](_0x5b2250(0x677),!![]);}if(_0x4843aa=='DiaLDiaLAltPhonE'){$(_0x5b2250(0x68b))['html']('');var _0x4844e1=_0x5b2250(0x6bc);$('#'+_0x4843aa)[_0x5b2250(0x628)](_0x4844e1),reselect_alt_dial==0x1&&$(_0x5b2250(0x69b))['prop'](_0x5b2250(0x677),!![]),(DefaulTAlTDiaL=='1'||alt_number_dialing==_0x5b2250(0x3d5)||alt_number_dialing=='SELECTED_TIMER_ALT'||alt_number_dialing==_0x5b2250(0x737))&&$(_0x5b2250(0x69b))[_0x5b2250(0x789)](_0x5b2250(0x677),!![]),(alt_number_dialing=='UNSELECTED'||alt_number_dialing==_0x5b2250(0x220)||alt_number_dialing==_0x5b2250(0x34a))&&$(_0x5b2250(0x69b))['prop'](_0x5b2250(0x677),!![]);}}}function conf_channels_detail(_0x100cdd){var _0x27284a=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x27284a(0x3de)+_0x100cdd+'|',_0x100cdd==_0x27284a(0x420)?(conf_channels_xtra_display=0x1,$(_0x27284a(0x543))[_0x27284a(0x628)](_0x27284a(0x4a5)),LMAe[0x0]='',LMAe[0x1]='',LMAe[0x2]='',LMAe[0x3]='',LMAe[0x4]='',LMAe[0x5]='',LMAcount=0x0):(conf_channels_xtra_display=0x0,$(_0x27284a(0x543))['html']('<a href="#" onclick="conf_channels_detail('SHOW');">Show conference call channel information</a><br /><br />&nbsp;'),$('#outboundcallsspan')[_0x27284a(0x628)](''),LMAe[0x0]='',LMAe[0x1]='',LMAe[0x2]='',LMAe[0x3]='',LMAe[0x4]='',LMAe[0x5]='',LMAcount=0x0);}function ShoWTransferMain(_0x5ce1e0,_0x28177f,_0x33d292){var _0x12d562=_0x1c96bb;_0x33d292==_0x12d562(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----ShoWTransferMain---'+_0x5ce1e0+' '+_0x28177f+' '+transfer_button_launch+'|');if(pixis_transfers=='1'){XferAgentSelectLink();if(_0x5ce1e0=='ON'){var _0x88fae9=0x258;alt_phone_dialing>0x0&&(_0x88fae9=_0x88fae9+0x14);auto_dial_level==0x0&&manual_dial_preview==0x1&&(_0x88fae9=_0x88fae9+0x14);var _0x1de174=_0x88fae9['toString'](),_0x36620a=_0x1de174+'px';HKbutton_allowed=0x0,$(_0x12d562(0x304))[_0x12d562(0x7c3)]({'backdrop':_0x12d562(0x69a),'keyboard':![],'closeExisting':![],'fadeDuration':0xfa,'fadeDelay':1.5}),$(_0x12d562(0x5eb))[_0x12d562(0x628)](_0x12d562(0x310)),$('#XferControl2')['html'](_0x12d562(0x76e)),quick_transfer_button_enabled>0x0&&quick_transfer_button_locked<0x1&&$(_0x12d562(0x7e6))[_0x12d562(0x628)](_0x12d562(0x1a3)),custom_3way_button_transfer_enabled>0x0&&$(_0x12d562(0x6ea))[_0x12d562(0x628)](_0x12d562(0x237)),agent_events(_0x12d562(0x54f),'',aec),aec++,transfer_panel_open=0x1,_0x33d292=='YES'&&(transfer_button_launch!=_0x12d562(0x502)&&(transfer_button_launch==_0x12d562(0x6af)&&ScriptPanelToFront(),transfer_button_launch==_0x12d562(0x71a)&&SSenable_second_script>0x0&&ScriptPanel2ToFront()));}else HKbutton_allowed=0x1,$(_0x12d562(0x304))[_0x12d562(0x7c3)]('hide'),hideDiv(_0x12d562(0x4aa)),_0x28177f==_0x12d562(0x18f)&&($(_0x12d562(0x5eb))[_0x12d562(0x628)](_0x12d562(0x7fb)),$(_0x12d562(0x3c6))[_0x12d562(0x628)](_0x12d562(0x76e)),(quick_transfer_button==_0x12d562(0x16a)||quick_transfer_button==_0x12d562(0x2d8))&&$(_0x12d562(0x7e6))['html'](_0x12d562(0x596)+lastcustchannel+_0x12d562(0x6e6)+lastcustserverip+_0x12d562(0x6cd)+quick_transfer_button_locked+_0x12d562(0x753)),(quick_transfer_button==_0x12d562(0x7a6)||quick_transfer_button=='PRESET_2'||quick_transfer_button==_0x12d562(0x7da)||quick_transfer_button==_0x12d562(0x5ac)||quick_transfer_button==_0x12d562(0x5a7)||quick_transfer_button==_0x12d562(0x46b)||quick_transfer_button==_0x12d562(0x4f3)||quick_transfer_button==_0x12d562(0x4da)||quick_transfer_button==_0x12d562(0x22f)||quick_transfer_button==_0x12d562(0x165))&&$('#QuickXfer')[_0x12d562(0x628)](_0x12d562(0x1d3)+lastcustchannel+'',''+lastcustserverip+'','','',''+quick_transfer_button_locked+'','YES');return false;"><img src="./images/vdc_LB_quickxfer.gif" border="0" alt="QUICK TRANSFER" /></a>'),custom_3way_button_transfer_enabled>0x0&&$('#CustomXfer')[_0x12d562(0x628)](_0x12d562(0x7f0))),transfer_panel_open>0x0&&(agent_events(_0x12d562(0x812),'',aec),aec++,transfer_panel_open=0x0);three_way_call_cid==_0x12d562(0x2c3)?(active_group_alias['length']<0x1&&LIVE_default_group_alias['length']>0x1&&LIVE_caller_id_number['length']>0x3&&(active_group_alias=LIVE_default_group_alias,cid_choice=LIVE_caller_id_number),$('#XfeRDiaLGrouPSelecteD')[_0x12d562(0x628)](_0x12d562(0x7b0)+active_group_alias+''),$(_0x12d562(0x59b))[_0x12d562(0x628)]('<a href="#" onclick="GroupAliasSelectContent_create('1');">Click Here to Choose a Group Alias</a>')):($('#XfeRCID')['html'](''),$('#XfeRDiaLGrouPSelecteD')[_0x12d562(0x628)](''));}else _0x5ce1e0!='OFF'&&(alert_box(_0x12d562(0x258)),button_click_log=button_click_log+''+SQLdate+_0x12d562(0x202)+_0x5ce1e0+'|');}function MainPanelToFront(_0x39505b,_0x37a606){var _0x113dce=_0x1c96bb;_0x37a606==_0x113dce(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----MainPanelToFront---'+_0x39505b+'|');if(OtherTab=='1'&&comments_all_tabs==_0x113dce(0x20d)){OtherTab='0';var _0x3fc10f=$(_0x113dce(0x317))[_0x113dce(0x1b2)]();_0x3fc10f[_0x113dce(0x35c)]>0x0&&$(_0x113dce(0x1af))['val']($(_0x113dce(0x317))[_0x113dce(0x1b2)]());}hideDiv(_0x113dce(0x6fc)),hideDiv(_0x113dce(0x3ab)),hideDiv(_0x113dce(0x5f8)),hideDiv(_0x113dce(0x627)),hideDiv(_0x113dce(0x4a4)),showDiv(_0x113dce(0x2b3)),ShoWGenDerPulldown(),_0x39505b!='NO'&&(alt_phone_dialing==0x1?(buildDiv(_0x113dce(0x2ef)),(alt_number_dialing==_0x113dce(0x3d5)||alt_number_dialing==_0x113dce(0x3f5)||alt_number_dialing==_0x113dce(0x737))&&$(_0x113dce(0x69b))['prop'](_0x113dce(0x677),!![]),(alt_number_dialing=='UNSELECTED'||alt_number_dialing=='UNSELECTED_TIMER_ALT'||alt_number_dialing==_0x113dce(0x34a))&&$(_0x113dce(0x69b))[_0x113dce(0x789)](_0x113dce(0x677),![])):clearDiv(_0x113dce(0x2ef)),pause_after_next_call!=_0x113dce(0x20d)&&clearDiv(_0x113dce(0x827)),auto_dial_level==0x0?auto_dial_alt_dial==0x1?(auto_dial_alt_dial=0x0,$('#DiaLControl')[_0x113dce(0x628)](DiaLControl_auto_HTML_OFF),$('#DiaLControl2')[_0x113dce(0x628)](DiaLControl_auto_HTML_OFF2)):($('#DiaLControl')[_0x113dce(0x628)](DiaLControl_manual_HTML),$(_0x113dce(0x370))[_0x113dce(0x628)](DiaLControl_manual_HTML2),manual_dial_preview==0x1&&buildDiv(_0x113dce(0x30b))):dial_method==_0x113dce(0x21c)?(in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$(_0x113dce(0x7d7))['html']('<a href="#" onclick="AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');"><img src="./images/vdc_LB_paused.gif" border="0" alt="You are paused" /></a><br /><img src="./images/vdc_LB_dialnextnumber_OFF.gif" border="0" alt="Dial Next Number" />')):$(_0x113dce(0x7d7))['html'](_0x113dce(0x61f)),manual_dial_preview==0x1&&buildDiv(_0x113dce(0x30b))):($(_0x113dce(0x7d7))[_0x113dce(0x628)](DiaLControl_auto_HTML),$(_0x113dce(0x370))[_0x113dce(0x628)](DiaLControl_auto_HTML2),clearDiv(_0x113dce(0x30b))));}function ScriptPanelToFront(_0x4ec3ac){var _0x523c64=_0x1c96bb;_0x4ec3ac=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x523c64(0x6e0)+CalL_ScripT_id+' '+CalL_ScripT_color+'|');var _0x3f8409=_0x523c64(0x305);showDiv(_0x523c64(0x6fc));if(OtherTab=='0'&&comments_all_tabs==_0x523c64(0x20d)){OtherTab='1';var _0x46c138=$(_0x523c64(0x1af))['val']();_0x46c138[_0x523c64(0x35c)]>0x0&&$('#other_tab_comments')[_0x523c64(0x1b2)]($(_0x523c64(0x1af))[_0x523c64(0x1b2)]());}hideDiv('Script2Panel'),hideDiv(_0x523c64(0x627)),HidEGenDerPulldown();}function ScriptPanel2ToFront(_0x3fee38){var _0xf2d72d=_0x1c96bb;_0x3fee38==_0xf2d72d(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0xf2d72d(0x694)+CalL_ScripT_id_two+' '+CalL_ScripT_color_two+'|');var _0x497dc4=_0xf2d72d(0x305);showDiv(_0xf2d72d(0x5f8));if(OtherTab=='0'&&comments_all_tabs==_0xf2d72d(0x20d)){OtherTab='1';var _0x1d87e7=$(_0xf2d72d(0x1af))[_0xf2d72d(0x1b2)]();_0x1d87e7[_0xf2d72d(0x35c)]>0x0&&$(_0xf2d72d(0x317))[_0xf2d72d(0x1b2)]($(_0xf2d72d(0x1af))['val']());}hideDiv(_0xf2d72d(0x6fc)),HidEGenDerPulldown();}function EmailPanelToFront(_0x4bbe15){var _0x222ea5=_0x1c96bb;_0x4bbe15==_0x222ea5(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x222ea5(0x500));var _0xecfbc7='600px';if(OtherTab=='0'&&comments_all_tabs==_0x222ea5(0x20d)){OtherTab='1';var _0x1d9d59=$(_0x222ea5(0x1af))[_0x222ea5(0x1b2)]();_0x1d9d59['length']>0x0&&$(_0x222ea5(0x317))[_0x222ea5(0x1b2)]($('#comments')['val']());}HidEGenDerPulldown();}function InternalChatPanelToFront(_0x79c921){var _0xb7f5fc=_0x1c96bb;_0x79c921=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0xb7f5fc(0x45f));var _0x2bdba3='600px';showDiv('InternalChatPanel'),HidEGenDerPulldown();}function HidEGenDerPulldown(){var _0x8ea6b8=_0x1c96bb;if(hide_gender<0x1){var _0x4912a2=0x0,_0x143517=$(_0x8ea6b8(0x578))[_0x8ea6b8(0x1b2)]();if(_0x143517=='M')var _0x4912a2=0x1;if(_0x143517=='F')var _0x4912a2=0x2;$(_0x8ea6b8(0x4f8))[_0x8ea6b8(0x628)](_0x8ea6b8(0x4d3)),$('#GENDERhideFORie')[_0x8ea6b8(0x628)](''),$(_0x8ea6b8(0x578))[_0x8ea6b8(0x1b2)](_0x143517);}}function ShoWGenDerPulldown(){var _0x476c23=_0x1c96bb;if(hide_gender<0x1){var _0x4520c5=$('#gender_list')[_0x476c23(0x1b2)]();$(_0x476c23(0x4dc))[_0x476c23(0x628)](_0x476c23(0x4d3)),$(_0x476c23(0x4f8))[_0x476c23(0x628)](''),$(_0x476c23(0x578))['val'](_0x4520c5);}} ?>

Did this file decode correctly?

Original Code

var _0x1c96bb=_0x10e6;(function(_0x14a8af,_0x3ef21c){var _0x32c4b6=_0x10e6,_0x7759d7=_0x14a8af();while(!![]){try{var _0x5301c6=-parseInt(_0x32c4b6(0x427))/0x1*(-parseInt(_0x32c4b6(0x579))/0x2)+-parseInt(_0x32c4b6(0x62d))/0x3*(parseInt(_0x32c4b6(0x40b))/0x4)+-parseInt(_0x32c4b6(0x5ca))/0x5*(parseInt(_0x32c4b6(0x538))/0x6)+parseInt(_0x32c4b6(0x3ba))/0x7*(-parseInt(_0x32c4b6(0x453))/0x8)+parseInt(_0x32c4b6(0x423))/0x9+-parseInt(_0x32c4b6(0x1f8))/0xa*(parseInt(_0x32c4b6(0x2ae))/0xb)+parseInt(_0x32c4b6(0x59c))/0xc*(parseInt(_0x32c4b6(0x3fa))/0xd);if(_0x5301c6===_0x3ef21c)break;else _0x7759d7['push'](_0x7759d7['shift']());}catch(_0x5cf0ba){_0x7759d7['push'](_0x7759d7['shift']());}}}(_0x1390,0x824ef));var needToConfirmExit=!![],source=null,MTvar,UnixTimeMS=0x0,BrowserEpoch=Math['round'](Date['now']()/0x3e8),BrowserServerEpochDiff=BrowserEpoch-UnixTime,t=new Date();t[_0x1c96bb(0x417)](JSseedTIME);var c=new Date();LCAe=new Array('','','','','',''),LCAc=new Array('','','','','',''),LCAt=new Array('','','','','',''),LMAe=new Array('','','','','','');var VU_agent_choose_ingroups_DV='',CallBackDatETimE='',RDVDatETimE='',CallBackrecipient='',CallBackCommenTs='',CallBackLeadStatus='',RDVLeadStatus='',DispoQMcsCODE='',active_group_alias='',status_group_statuses_data='',last_call_date='';VARstatuses=new Array(),VARstatusnames=new Array(),VARSELstatuses=new Array(),VARCBstatuses=new Array(),VARMINstatuses=new Array(),VARMAXstatuses=new Array();var VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0;gVARstatuses=new Array(),gVARstatusnames=new Array(),gVARSELstatuses=new Array(),gVARCBstatuses=new Array(),gVARMINstatuses=new Array(),gVARMAXstatuses=new Array();var gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0,EMAILgroupCOUNT=0x0,incomingEMAILgroups=new Array(),CHATgroupCOUNT=0x0,incomingCHATgroups=new Array(),PHONEgroupCOUNT=0x0,QUEUEpadding=0x0,recLIST='',filename='',last_filename='',LCAcount=0x0,LMAcount=0x0,agentchannel='',PIXIScrm_closer_login_checked=0x0,PIXIScrm_closer_login_selected=0x0,PIXIScrm_pause_calling=0x1,CalLCID='',MDnextCID='',XDnextCID='',LasTCID='',lead_dial_number='',MD_channel_look=0x0,XD_channel_look=0x0,MDuniqueid='',MDchannel='',MD_ring_secondS=0x0,MDlogEPOCH=0x0,VD_live_customer_call=0x0,VD_live_call_secondS=0x0,XD_live_customer_call=0x0,XD_live_call_secondS=0x0,xfer_in_call=0x0,open_dispo_screen=0x0,AgentDispoing=0x0,logout_stop_timeouts=0x0,PIXIScrm_closer_blended='0',CalL_ScripT_id='',CalL_ScripT_color='',CalL_ScripT_id_two='',CalL_ScripT_color_two='',CalL_AutO_LauncH='',park_count=0x0,customerparked=0x0,customerparkedcounter=0x0,check_n=0x0,conf_check_recheck=0x0,lastconf='',lastcustchannel='',lastcustserverip='',lastxferchannel='',custchannellive=0x0,xferchannellive=0x0,manual_call_live=0x0,nochannelinsession=0x0,agc_dial_prefix='91',menuheight=0x1e,menuwidth=0x1e,HTheight='600px',WRheight='600px',CAwidth='100%',menufontsize=0x8,textareafontsize=0xa,check_s,active_display=0x1,conf_channels_xtra_display=0x0,display_message='',web_form_vars='',Nactiveext,Nbusytrunk,Nbusyext,extvalue=extension,activeext_query,busytrunk_query,busyext_query,busytrunkhangup_query,busylocalhangup_query,activeext_order=_0x1c96bb(0x6dd),busytrunk_order=_0x1c96bb(0x6dd),busyext_order='asc',busytrunkhangup_order=_0x1c96bb(0x6dd),busylocalhangup_order=_0x1c96bb(0x6dd),xmlhttp=![],XfeR_channel='',XDcheck='',AutoDialReady=0x0,AutoDialWaiting=0x0,fronter='',VDCL_group_id='',previous_dispo='',previous_called_count='',hot_keys_active=0x0,all_record='NO',all_record_count=0x0,LeaDDispO='',LeaDPreVDispO='',AgaiNHanguPChanneL='',AgaiNHanguPServeR='',AgainCalLSecondS='',AgaiNCalLCID='',CB_count_check=0x3c,manual_dial_in_progress=0x0,auto_dial_alt_dial=0x0,reselect_preview_dial=0x0,in_lead_preview_state=0x0,reselect_alt_dial=0x0,alt_dial_active=0x0,alt_dial_status_display=0x0,timer_alt_count=0x0,timer_alt_trigger=0x0,manual_auto_next_trigger=0x0,last_mdtype='',wrapup_counter=0x0,wrapup_waiting=0x0,threeway_cid='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',CBentry_time='',CBcallback_time='',CBuser='',CBcomments='',PauseCode_HTML='',manual_auto_hotkey=0x0,manual_auto_hotkey_wait=0x0,dialed_number='',dialed_label='',source_id='',entry_date='',adfREGentry_date=new RegExp('entry_date','g'),adfREGsource_id=new RegExp(_0x1c96bb(0x23f),'g'),adfREGdate_of_birth=new RegExp('date_of_birth','g'),adfREGrank=new RegExp(_0x1c96bb(0x63d),'g'),adfREGowner=new RegExp('owner','g'),adfREGlast_local_call_time=new RegExp(_0x1c96bb(0x25b),'g'),regLOCALFQDN=new RegExp(_0x1c96bb(0x603),'g'),DispO3waychannel='',DispO3wayXtrAchannel='',DispO3wayCalLserverip='',DispO3wayCalLxfernumber='',DispO3wayCalLcamptail='',PausENotifYCounTer=0x0,RedirecTxFEr=0x0,inOUT=_0x1c96bb(0x3a9),threeway_end=0x0,agentphonelive=0x0,conf_dialed=0x0,leaving_threeway=0x0,blind_transfer=0x0,active_threeway=0x0,TEMP_VDIC_web_form_address='',TEMP_VDIC_web_form_address_two='',TEMP_VDIC_web_form_address_three='',APIPausE_ID=_0x1c96bb(0x17b),APIDiaL_ID=_0x1c96bb(0x17b),CheckDEADcall=0x0,CheckDEADcallON=0x0,CheckDEADcallCOUNT=0x0,currently_in_email_or_chat=0x0,shift_logout_flag=0x0,api_logout_flag=0x0,vtiger_callback_id=0x0,agent_status_view_active=0x0,xfer_select_agents_active=0x0,even=0x0,quick_transfer_button_orig='',no_delete_VDAC=0x0,manager_ingroups_set=0x0,external_igb_set_name='',recording_filename='',recording_id='',delayed_script_load='',script_recording_delay='',VDRP_stage=_0x1c96bb(0x156),VDRP_stage_seconds=0x0,update_fields=0x0,update_fields_data='',timer_action='',timer_action_message='',timer_action_seconds='',timer_action_destination='',pause_code_counter=0x1,tmp_pixiscrm_id='',EAphone_code='',EAphone_number='',EAalt_phone_notes='',EAalt_phone_active='',EAalt_phone_count='',blind_monitoring_now=0x0,blind_monitoring_now_trigger=0x0,no_blind_monitors=0x0,uniqueid_status_display='',uniqueid_status_prefix='',custom_call_id='',api_dtmf='',api_transferconf_function='',api_transferconf_group='',api_transferconf_number='',api_transferconf_consultative='',api_transferconf_override='',api_transferconf_group_alias='',api_transferconf_cid_number='',api_transferconf_cid_choice='',api_parkcustomer='',API_selected_xfergroup='',API_selected_callmenu='',form_contents_loaded=0x0,Presets_HTML='',did_pattern='',did_id='',did_extension='',did_description='',did_custom_one='',did_custom_two='',did_custom_three='',did_custom_four='',did_custom_five='',closecallid='',xfercallid='',custom_field_names='',custom_field_values='',custom_field_types='',customer_3way_hangup_counter=0x0,customer_3way_hangup_counter_trigger=0x0,customer_3way_hangup_dispo_message='',APIManualDialQueue=0x0,APIManualDialQueue_last=0x0,CloserSelecting=0x0,TerritorySelecting=0x0,WaitingForNextStep=0x0,LastCallCID='',LastCallbackCount=0x0,LastCallbackViewed=0x0,trigger_ready=0x0,post_phone_time_diff_alert_message='',waiting_on_dispo=0x0,external_transferconf_count=0x0,consult_custom_wait=0x0,consult_custom_go=0x0,consult_custom_sent=0x0,active_ingroup_dial='',nocall_dial_flag=_0x1c96bb(0x2e7),inbound_lead_search=0x0,VU_agent_choose_ingroups_skip_count=0x0,agent_select_territories_skip_count=0x0,last_recording_filename='',current_pause_code='',script_span_zindex=0x0,dead_auto_dispo_count=0x0,dead_auto_dispo_finish=0x0,SIPaction_dispo_count=0x0,SIPaction_dispo_finish=0x0,MDcheck_for_answer=0x0,CIDcheck='',alt_dial_dispo_count=0x0,pause_max_finish=0x0,cid_lock=0x0,UpdatESettingSChecK=0x0,FSCREENup=0x0,HKFSCREENup=0x0,regWFS=new RegExp(_0x1c96bb(0x212),'g'),regWMS=new RegExp(_0x1c96bb(0x44b),'g'),dial_next_failed=0x0,xfer_agent_selected=0x0,OtherTab='0',parked_hangup='0',api_transferconf_ID='',updatedispo_resume_trigger='0',customer_sec='0',safe_pause_counter=0x0,CFAI_sent=0x0,pause_resume_click_epoch=0x0,alert_box_close_counter=0x0,dial_box_close_counter=0x0,api_switch_lead_triggered=0x0,agent_xfer_group_selected='',customsubmit_trigger=0x0,updatelead_complete=0x0,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_triggerCALL=0x0,leave_3way_start_recording_filename='',hangup_both=0x0,transfer_panel_open=0x0,last_conf_channel_count=0x1,aec=0x0,inbound_post_call_survey='',inbound_survey_participate='',left_3way_timeout=0x0,MD_dial_timed_out=0x0,dead_trigger_count=0x0,dead_trigger_first_ran=0x0,liveCBcounT=0x0,callback_timezone='',callback_gmt_offset='',manual_cancel_skip=0x0,MDOalt='',manual_entry_dial=0x0,active_rec_channel='',trigger_shift_logout=0x0,SCRIPTweb_form_vars='',SCRIPT2web_form_vars='',customer_HHMM=_0x1c96bb(0x5fe),temp_webphone_call_seconds=0x0,NeWManuaLDiaLBox_open=0x0,transfer_no_dispoTEMP=0x0,in_man_dial_next_ready_count=0x0,in_man_dial_next_ready_trigger=0x0,recording_active=0x0,agent_datetime='',DiaLControl_auto_HTML='<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADready\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_paused.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20paused\x22\x20/></a>',DiaLControl_auto_HTML2=_0x1c96bb(0x343),DiaLControl_auto_HTML_ready=_0x1c96bb(0x22a),DiaLControl_auto_HTML_ready2=_0x1c96bb(0x6fe),DiaLControl_auto_HTML_OFF=_0x1c96bb(0x7ee),DiaLControl_auto_HTML_OFF2=_0x1c96bb(0x6ab),DiaLControl_manual_HTML=_0x1c96bb(0x171),DiaLControl_manual_HTML2=_0x1c96bb(0x6ab),image_loading=new Image();image_loading[_0x1c96bb(0x585)]=_0x1c96bb(0x5f7);var image_loading_done=new Image();image_loading_done['src']=_0x1c96bb(0x6e9);var image_blank=new Image();image_blank[_0x1c96bb(0x585)]=_0x1c96bb(0x436);var image_livecall_OFF=new Image();image_livecall_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x223);var image_livecall_ON=new Image();image_livecall_ON[_0x1c96bb(0x585)]='./images/agc_live_call_ON.png';var image_livecall_DEAD=new Image();image_livecall_DEAD[_0x1c96bb(0x585)]=_0x1c96bb(0x4b1);var image_livechat_ON=new Image();image_livechat_ON['src']=_0x1c96bb(0x3fb);var image_livechat_DEAD=new Image();image_livechat_DEAD[_0x1c96bb(0x585)]=_0x1c96bb(0x261);var image_liveemail_ON=new Image();image_liveemail_ON[_0x1c96bb(0x585)]=_0x1c96bb(0x344);var image_LB_dialnextnumber=new Image();image_LB_dialnextnumber['src']=_0x1c96bb(0x426);var image_LB_hangupcustomer=new Image();image_LB_hangupcustomer[_0x1c96bb(0x585)]='./images/vdc_LB_hangupcustomer.gif';var image_LB_transferconf=new Image();image_LB_transferconf[_0x1c96bb(0x585)]=_0x1c96bb(0x799);var image_LB_grabparkedcall=new Image();image_LB_grabparkedcall[_0x1c96bb(0x585)]=_0x1c96bb(0x2ee);var image_LB_parkcall=new Image();image_LB_parkcall[_0x1c96bb(0x585)]=_0x1c96bb(0x6b3);var image_LB_webform=new Image();image_LB_webform[_0x1c96bb(0x585)]='./images/vdc_LB_webform.gif';var image_LB_stoprecording=new Image();image_LB_stoprecording[_0x1c96bb(0x585)]=_0x1c96bb(0x5a8);var image_LB_startrecording=new Image();image_LB_startrecording['src']='./images/vdc_LB_startrecording_altx2.gif';var image_LB_paused=new Image();image_LB_paused['src']='./images/vdc_LB_paused.gif';var image_LB_active=new Image();image_LB_active[_0x1c96bb(0x585)]=_0x1c96bb(0x28c);var image_LB_blank_OFF=new Image();image_LB_blank_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x14b);var image_LB_senddtmf=new Image();image_LB_senddtmf[_0x1c96bb(0x585)]=_0x1c96bb(0x146);var image_LB_dialnextnumber_OFF=new Image();image_LB_dialnextnumber_OFF[_0x1c96bb(0x585)]='./images/vdc_LB_dialnextnumber_OFF.gif';var image_LB_hangupcustomer_OFF=new Image();image_LB_hangupcustomer_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x4f2);var image_LB_transferconf_OFF=new Image();image_LB_transferconf_OFF[_0x1c96bb(0x585)]='./images/vdc_LB_transferconf_OFF.gif';var image_LB_grabparkedcall_OFF=new Image();image_LB_grabparkedcall_OFF['src']='./images/vdc_LB_grabparkedcall_OFF.gif';var image_LB_parkcall_OFF=new Image();image_LB_parkcall_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x707);var image_LB_webform_OFF=new Image();image_LB_webform_OFF['src']=_0x1c96bb(0x7cf);var image_LB_stoprecording_OFF=new Image();image_LB_stoprecording_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x33d);var image_LB_startrecording_OFF=new Image();image_LB_startrecording_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x1f4);var image_LB_senddtmf_OFF=new Image();image_LB_senddtmf_OFF['src']=_0x1c96bb(0x143);var image_LB_ivrgrabparkedcall=new Image();image_LB_ivrgrabparkedcall['src']='./images/vdc_LB_grabivrparkcall.gif';var image_LB_ivrparkcall=new Image();image_LB_ivrparkcall['src']=_0x1c96bb(0x2cb);var image_XB_parkxferline_ON=new Image();image_XB_parkxferline_ON['src']=_0x1c96bb(0x367);var image_XB_parkxferline_OFF=new Image();image_XB_parkxferline_OFF['src']=_0x1c96bb(0x2f7);var image_XB_parkxferline_GRAB=new Image();image_XB_parkxferline_GRAB[_0x1c96bb(0x585)]=_0x1c96bb(0x76b);var image_internal_chat_OFF=new Image();image_internal_chat_OFF[_0x1c96bb(0x585)]=_0x1c96bb(0x5f1);var image_internal_chat_ON=new Image();image_internal_chat_ON[_0x1c96bb(0x585)]=_0x1c96bb(0x640);var image_internal_chat_ALERT=new Image();image_internal_chat_ALERT[_0x1c96bb(0x585)]='./images/vdc_tab_chat_internal_blink.gif';var image_customer_chat_OFF=new Image();image_customer_chat_OFF[_0x1c96bb(0x585)]='./images/vdc_tab_chat_customer.gif';var image_customer_chat_ON=new Image();image_customer_chat_ON[_0x1c96bb(0x585)]=_0x1c96bb(0x26c);var image_customer_chat_ALERT=new Image();image_customer_chat_ALERT[_0x1c96bb(0x585)]=_0x1c96bb(0x629);var image_chat_alert_UNMUTE=new Image();image_chat_alert_UNMUTE[_0x1c96bb(0x585)]=_0x1c96bb(0x5ad);var image_chat_alert_MUTE=new Image();image_chat_alert_MUTE[_0x1c96bb(0x585)]=_0x1c96bb(0x473);var image_LB_mute_recording_DISABLED=new Image();image_LB_mute_recording_DISABLED[_0x1c96bb(0x585)]=_0x1c96bb(0x610);var image_LB_mute_recording_AVAILABLE=new Image();image_LB_mute_recording_AVAILABLE[_0x1c96bb(0x585)]=_0x1c96bb(0x7a2);var image_LB_mute_recording_ON=new Image();image_LB_mute_recording_ON['src']=_0x1c96bb(0x7d0);var CalL_XC_a_Dtmf='',CalL_XC_a_NuMber='',CalL_XC_b_Dtmf='',CalL_XC_b_NuMber='',CalL_XC_c_NuMber='',CalL_XC_d_NuMber='',CalL_XC_e_NuMber='',VU_hotkeys_active='0',VU_agent_choose_ingroups='0',agent_choose_territories='0',agent_select_territories='0',agent_choose_blended='0',api_check_all_pause='';VARgroup_alias_ids=new Array(),VARgroup_alias_names=new Array(),VARcaller_id_numbers=new Array();var VD_group_aliases_ct='',agent_allow_group_alias='N',default_group_alias='',default_group_alias_cid='';VARpreset_names=new Array(),VARpreset_numbers=new Array(),VARpreset_dtmfs=new Array(),VARpreset_hide_numbers=new Array();var VD_preset_names_ct='';VARemailgroups=new Array(),VARchatgroups=new Array(),VARdialingroups=new Array();var dialINgroupCOUNT='';VARterritories=new Array();var territoryCOUNT='',HK_statuses_camp='0';HKhotkeys=new Array(),HKstatuses=new Array(),HKstatusnames=new Array();var hotkeys=new Array(),HKdispo_display=0x0,HKdispo_submit=0x0,HKbutton_allowed=0x1,HKfinish=0x0,view_scripts='1',LOGemail='',refresh_interval=0x3e8,PIXIScrm_web_form_address_enc='',PIXIScrm_web_form_address='',VDIC_web_form_address='',PIXIScrm_web_form_address_two_enc='',PIXIScrm_web_form_address_two='',VDIC_web_form_address_two='',PIXIScrm_web_form_address_three_enc='',PIXIScrm_web_form_address_three='',VDIC_web_form_address_three='',panel_bgcolor=_0x1c96bb(0x698),CusTCB_bgcolor=_0x1c96bb(0x590),campaign_recording=_0x1c96bb(0x41f),campaign_rec_filename=_0x1c96bb(0x22d),LIVE_campaign_recording=_0x1c96bb(0x41f),LIVE_campaign_rec_filename=_0x1c96bb(0x22d),LIVE_default_group_alias='',LIVE_caller_id_number='',LIVE_web_vars='',default_web_vars='',dtmf_silent_prefix='7',conf_silent_prefix='5',campagentstatct='0',starting_alt_phone_dialing='0',alt_phone_dialing='0',alt_number_dialing='N',timer_alt_seconds='0',agent_screen_time_display=_0x1c96bb(0x5a5),DefaulTAlTDiaL='0',wrapup_seconds='0',wrapup_message='Wrapup\x20Call',wrapup_bypass=_0x1c96bb(0x20d),wrapup_after_hotkey=_0x1c96bb(0x2e7),omit_phone_code='Y',no_delete_sessions='1',volumecontrol_active='0',enable_sipsak_messages='0',allow_sipsak_messages='0',HidEMonitoRSessionS='1',LogouTKicKAlL='1',flag_channels='0',flag_string=_0x1c96bb(0x463),vdc_header_date_format=_0x1c96bb(0x641),vdc_customer_date_format=_0x1c96bb(0x313),vdc_header_phone_format='FR_SPAC\x2000\x2000\x2000\x2000\x2000',disable_alter_custphone='Y',CopY_tO_ClipboarD='NONE',web_form_target='',quick_transfer_button='N',quick_transfer_button_enabled='0',quick_transfer_button_locked='0',prepopulate_transfer_preset='N',prepopulate_transfer_preset_enabled='0',view_calls_in_queue='0',view_calls_in_queue_launch='0',view_calls_in_queue_active='0',call_requeue_button='0',no_hopper_dialing='0',no_empty_session_warnings='0',allow_recording_mute='',script_width=_0x1c96bb(0x1ba),script_height=_0x1c96bb(0x411),enable_first_webform='0',enable_second_webform='0',enable_third_webform='0',recording_buttons=_0x1c96bb(0x3c4),VU_custom_one='',VU_custom_two='',VU_custom_three='',VU_custom_four='',VU_custom_five='',crm_popup_login='N',crm_login_address='',campaign_timer_action=_0x1c96bb(0x502),campaign_timer_action_message='',campaign_timer_action_seconds='1',campaign_timer_action_destination='',is_webphone='Y',agent_call_log_view='',scheduled_callbacks_alert='RED',scheduled_callbacks_count=_0x1c96bb(0x4c1),custom_fields_enabled='0',chat_URL='',ivr_park_call=_0x1c96bb(0x2e7),qm_phone='',api_manual_dial='STANDARD',call_variables='',focus_blur_enabled='0',CBlinkCONTENT='',my_callback_option=_0x1c96bb(0x354),per_call_notes=_0x1c96bb(0x2e7),agent_lead_search='DISABLED',agent_lead_search_method=_0x1c96bb(0x42e),qm_phone_environment='',auto_pause_precall='N',auto_pause_precall_code=_0x1c96bb(0x750),auto_resume_precall='N',hide_gender='1',disable_dispo_screen='0',disable_dispo_status='',status_display_NAME='0',status_display_CALLID='1',status_display_LEADID='0',status_display_LISTID='0',hide_dispo_list='0',consult_custom_delay='2',pause_after_next_call=_0x1c96bb(0x2e7),next_call_pause=_0x1c96bb(0x2e7),deactivated_old_session='1',owner_populate=_0x1c96bb(0x2e7),qc_enabled='0',mrglock_ig_select_ct='4',dead_max='0',dead_max_dispo=_0x1c96bb(0x138),dead_to_dispo='0',dispo_max='0',dispo_max_dispo='DISMX',pause_max='0',pause_max_dispo=_0x1c96bb(0x692),pause_max_exceptions='',script_top_dispo='N',manual_dial_search_checkbox='SELECTED',hide_call_log_info='N',comments_all_tabs='DISABLED',comments_dispo_screen='DISABLED',comments_callback_screen=_0x1c96bb(0x2e7),qc_comment_history=_0x1c96bb(0x7e0),clear_script=_0x1c96bb(0x2e7),manual_dial_override_field='ENABLED',status_display_ingroup='ENABLED',customer_gone_seconds='-30',agent_display_fields=_0x1c96bb(0x3e2),allow_required_fields='N',ready_max_logout='0',three_way_record_stop='N',three_way_record_stop_exception='',leave_3way_start_recording=_0x1c96bb(0x2e7),leave_3way_start_recording_exception='',hangup_xfer_record_start='N',agent_push_events='0',agent_push_url='',version=_0x1c96bb(0x820),build=_0x1c96bb(0x187),script_name='/agc/index.php',MI_PAUSE='0',LOGINvarONE='',LOGINvarTWO='',LOGINvarTHREE='',LOGINvarFOUR='',LOGINvarFIVE='',hide_relogin_fields='',routing_initiated_recording='Y',dead_trigger_seconds='0',dead_trigger_action=_0x1c96bb(0x2e7),dead_trigger_repeat='NO',dead_trigger_filename='',agent_logout_link='1',scheduled_callbacks_force_dial='N',launch_scb_force_dial='0',scheduled_callbacks_timezones_container=_0x1c96bb(0x2e7),scheduled_callbacks_timezones_enabled='0',three_way_volume_buttons=_0x1c96bb(0x20d),manual_dial_validation='N',trigger_manual_validation=0x0,mute_recordings='N',leave_vm_no_dispo='',leave_vm_message_group_id=_0x1c96bb(0x2f1),leave_vm_message_group_exists='',webphone_call_seconds='0',SSenable_second_script='0',SSoutbound_cid_any=_0x1c96bb(0x2e7),SSbrowser_call_alerts='0',CAMPbrowser_alert_sound=_0x1c96bb(0x2f1),CAMPbrowser_alert_volume='50',browser_alert_sound=_0x1c96bb(0x2f1),browser_alert_volume='50',transfer_button_launch='NONE',SSagent_hidden_sound_seconds='0',SSagent_hidden_sound=_0x1c96bb(0x2d6),SSagent_hidden_sound_volume='25',last_hidden_sound_UnixTime=_0x1c96bb(0x759),in_man_dial_next_ready_seconds='0',in_man_dial_next_ready_seconds_override='DISABLED',transfer_no_dispo=_0x1c96bb(0x2e7),transfer_no_dispoLOCAL='0',transfer_no_dispoEXTERNAL='0',transfer_no_dispoLEAVE3WAY='0',user_pass_webform='0',phone_login_webform='0',pause_max_url_trigger='0',agent_hide_hangup_ACTIVE='',ext_context='default',login_context=_0x1c96bb(0x77e),protocol=_0x1c96bb(0x279),local_gmt='1',VtigeRLogiNScripT='Y',VtigeRurl='',VtigeREnableD='0',last_UnixTime=UnixTime,visibility_state='WENT\x20VISIBLE',browserPrefixes=[_0x1c96bb(0x311),'ms','o',_0x1c96bb(0x53a)],isVisible=!![];function getHiddenPropertyName(_0x18d842){var _0x3cea11=_0x1c96bb;return _0x18d842?_0x18d842+_0x3cea11(0x6bd):_0x3cea11(0x4c7);}function getVisibilityEvent(_0x517aac){var _0xc9e3d0=_0x1c96bb;return(_0x517aac?_0x517aac:'')+_0xc9e3d0(0x4ff);}function getBrowserPrefix(){var _0x12de32=_0x1c96bb;for(var _0x43d479=0x0;_0x43d479<browserPrefixes[_0x12de32(0x35c)];_0x43d479++){if(getHiddenPropertyName(browserPrefixes[_0x43d479])in document)return browserPrefixes[_0x43d479];}return null;}var browserPrefix=getBrowserPrefix(),hiddenPropertyName=getHiddenPropertyName(browserPrefix),visibilityEventName=getVisibilityEvent(browserPrefix),IE=document[_0x1c96bb(0x161)]?!![]:![];if(!IE)document['captureEvents'](Event['MOUSEMOVE']);$(function(){var _0x1fcbf0=_0x1c96bb;$(_0x1fcbf0(0x69c))['on'](_0x1fcbf0(0x32b),function(){var _0x2ffb33=_0x1fcbf0;if($(this)['attr'](_0x2ffb33(0x15d))==0x1){var _0x218629=$(window)[_0x2ffb33(0x7c2)]()-0x132;$(_0x2ffb33(0x71b))[_0x2ffb33(0x6c6)](_0x2ffb33(0x560),'none'),$(this)[_0x2ffb33(0x7b8)](_0x2ffb33(0x15d),0x0),$(_0x2ffb33(0x505))[_0x2ffb33(0x503)](_0x2ffb33(0x1ec))['addClass']('fa-chevron-right'),$(_0x2ffb33(0x817))[_0x2ffb33(0x6c6)]('left','-'+_0x218629+'px');}else $(this)[_0x2ffb33(0x7b8)]('data-click-state',0x1),$(_0x2ffb33(0x71b))[_0x2ffb33(0x6c6)]('display',_0x2ffb33(0x4b4)),$('#DispoSelectBox\x20.handle\x20.fa')[_0x2ffb33(0x503)](_0x2ffb33(0x64e))[_0x2ffb33(0x472)](_0x2ffb33(0x1ec)),$(_0x2ffb33(0x817))[_0x2ffb33(0x6c6)](_0x2ffb33(0x2ba),'0px');}),$(_0x1fcbf0(0x371))['on']('click',function(){CalLBacKsLisTCheck();}),$(_0x1fcbf0(0x228))['on']('click',function(){VieWCalLLoG();});}),setInterval(function(){AgentTimeReport('','');},0x2710);function livehangup_send_hangup(_0x2ff1a3){var _0x23eb2b=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x23eb2b(0x55f)+_0x2ff1a3+'|';var _0x55295b=![];!_0x55295b&&typeof XMLHttpRequest!=_0x23eb2b(0x34f)&&(_0x55295b=new XMLHttpRequest());if(_0x55295b){var _0x1a1158=_0x23eb2b(0x681)+epoch_sec+user_abb,_0x1910b4=_0x2ff1a3;livehangup_query=_0x23eb2b(0x4c6)+server_ip+'&session_name='+session_name+_0x23eb2b(0x66e)+user+'&pass='+pass+_0x23eb2b(0x4bb)+_0x1910b4+'&queryCID='+_0x1a1158+'&log_campaign='+campaign+'&qm_extension='+qm_extension,_0x55295b[_0x23eb2b(0x63c)](_0x23eb2b(0x584),'manager_send.php'),_0x55295b[_0x23eb2b(0x636)](_0x23eb2b(0x638),_0x23eb2b(0x404)),_0x55295b[_0x23eb2b(0x2fd)](livehangup_query),_0x55295b['onreadystatechange']=function(){var _0x594266=_0x23eb2b;_0x55295b['readyState']==0x4&&_0x55295b[_0x594266(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x55295b[_0x594266(0x137)],alert_box(_0x55295b['responseText']),button_click_log=button_click_log+''+SQLdate+_0x594266(0x822)+_0x1910b4+'|');},delete _0x55295b;}}function play_browser_sound(_0x296ad6,_0x5b0f13){var _0x27ed68=_0x1c96bb;if(_0x296ad6!='---NONE---'&&_0x296ad6!=_0x27ed68(0x192)&&_0x296ad6!=''){var _0x249c9d=_0x27ed68(0x7e7)+_0x296ad6,_0x53c461=$('#'+_0x249c9d),_0x422eba=_0x5b0f13*0.01;_0x53c461[_0x27ed68(0x2c8)]=_0x422eba,_0x53c461[_0x27ed68(0x28b)]();}}function volume_control(_0x41f35c,_0x5f413f,_0x281e43){var _0x987e81=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----volume_control---'+_0x41f35c+'\x20'+_0x5f413f+'\x20'+_0x281e43+'|';_0x281e43==_0x987e81(0x3d3)&&(_0x5f413f=agentchannel);var _0x17d546=![];!_0x17d546&&typeof XMLHttpRequest!='undefined'&&(_0x17d546=new XMLHttpRequest());if(_0x17d546){var _0x2a1cc0=_0x987e81(0x4bc)+epoch_sec+user_abb,_0x593598=_0x5f413f;livevolume_query='server_ip='+server_ip+_0x987e81(0x7b6)+session_name+_0x987e81(0x66e)+user+_0x987e81(0x397)+pass+_0x987e81(0x412)+_0x593598+'&stage='+_0x41f35c+_0x987e81(0x2bd)+session_id+'&ext_context='+ext_context+_0x987e81(0x793)+_0x2a1cc0,_0x17d546[_0x987e81(0x63c)]('POST',_0x987e81(0x58c)),_0x17d546[_0x987e81(0x636)](_0x987e81(0x638),_0x987e81(0x404)),_0x17d546[_0x987e81(0x2fd)](livevolume_query),_0x17d546['onreadystatechange']=function(){var _0x4f7af5=_0x987e81;_0x17d546[_0x4f7af5(0x30f)]==0x4&&_0x17d546[_0x4f7af5(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x17d546['responseText']);},delete _0x17d546;}}function MuteRecording(_0xba3cb8){var _0x3abf6b=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3abf6b(0x5bb)+_0xba3cb8+'\x20'+active_rec_channel+'|';var _0x1f0197=![];!_0x1f0197&&typeof XMLHttpRequest!=_0x3abf6b(0x34f)&&(_0x1f0197=new XMLHttpRequest());if(_0x1f0197){var _0x17a9b3=epoch_sec,_0x13094c=$(_0x3abf6b(0x486))[_0x3abf6b(0x1b2)]();_0x13094c['length']<0x1&&(_0x13094c=user_abb);_0x13094c=set_length(_0x13094c,'10','left'),_0x17a9b3=set_length(_0x17a9b3,'6','right');var _0x333c01='AM'+_0x17a9b3+'W'+_0x13094c+'W',_0xd52dbf=_0x3abf6b(0x4c6)+server_ip+'&session_name='+session_name+_0x3abf6b(0x66e)+user+_0x3abf6b(0x397)+pass+_0x3abf6b(0x2f9)+active_rec_channel+_0x3abf6b(0x44a)+_0xba3cb8+'&exten='+session_id+'&ext_context='+ext_context+'&queryCID='+_0x333c01+_0x3abf6b(0x741)+agent_log_id+_0x3abf6b(0x650)+$(_0x3abf6b(0x486))[_0x3abf6b(0x1b2)]()+_0x3abf6b(0x6ae)+$(_0x3abf6b(0x186))['val']()+'&campaign='+campaign+_0x3abf6b(0x1bb)+VU_user_group;_0x1f0197[_0x3abf6b(0x63c)](_0x3abf6b(0x584),'manager_send.php'),_0x1f0197[_0x3abf6b(0x636)]('Content-Type',_0x3abf6b(0x404)),_0x1f0197[_0x3abf6b(0x2fd)](_0xd52dbf),_0x1f0197[_0x3abf6b(0x18a)]=function(){var _0x21947b=_0x3abf6b;_0x1f0197['readyState']==0x4&&_0x1f0197[_0x21947b(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x1f0197[_0x21947b(0x137)]);},delete _0x1f0197;}_0xba3cb8=='on'?$('#RecorDMute')[_0x3abf6b(0x628)](_0x3abf6b(0x483)):$('#RecorDMute')[_0x3abf6b(0x628)](_0x3abf6b(0x197));}function custom_button_transfer(){var _0xc341d4=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----custom_button_transfer---|',ShoWTransferMain('ON');if(custom_3way_button_transfer_contacts>0x0)generate_contacts_search();else{if(custom_3way_button_transfer_view>0x0)generate_presets_pulldown();else{(custom_3way_button_transfer==_0xc341d4(0x7a6)||custom_3way_button_transfer==_0xc341d4(0x4cf))&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_a_NuMber),$(_0xc341d4(0x747))['val']('D1'));(custom_3way_button_transfer==_0xc341d4(0x572)||custom_3way_button_transfer==_0xc341d4(0x620))&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_b_NuMber),$(_0xc341d4(0x747))[_0xc341d4(0x1b2)]('D2'));(custom_3way_button_transfer==_0xc341d4(0x7da)||custom_3way_button_transfer=='PARK_PRESET_3')&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_c_NuMber),$(_0xc341d4(0x747))[_0xc341d4(0x1b2)]('D3'));(custom_3way_button_transfer==_0xc341d4(0x5ac)||custom_3way_button_transfer==_0xc341d4(0x3df))&&($(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)](CalL_XC_d_NuMber),$('#xfername')[_0xc341d4(0x1b2)]('D4'));(custom_3way_button_transfer==_0xc341d4(0x5a7)||custom_3way_button_transfer==_0xc341d4(0x44f))&&($(_0xc341d4(0x5d3))['val'](CalL_XC_e_NuMber),$(_0xc341d4(0x747))[_0xc341d4(0x1b2)]('D5'));(custom_3way_button_transfer=='FIELD_address3'||custom_3way_button_transfer==_0xc341d4(0x70c))&&$('#xfernumber')[_0xc341d4(0x1b2)]($('#address3')['val']());(custom_3way_button_transfer==_0xc341d4(0x518)||custom_3way_button_transfer=='PARK_FIELD_province')&&$(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)]($(_0xc341d4(0x300))['val']());(custom_3way_button_transfer==_0xc341d4(0x50a)||custom_3way_button_transfer==_0xc341d4(0x630))&&$(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)]($('#security_phrase')[_0xc341d4(0x1b2)]());(custom_3way_button_transfer=='FIELD_vendor_lead_code'||custom_3way_button_transfer==_0xc341d4(0x247))&&$(_0xc341d4(0x5d3))[_0xc341d4(0x1b2)]($('#vendor_lead_code')[_0xc341d4(0x1b2)]());(custom_3way_button_transfer==_0xc341d4(0x720)||custom_3way_button_transfer==_0xc341d4(0x1b8))&&$(_0xc341d4(0x5d3))['val']($('#email')[_0xc341d4(0x1b2)]());(custom_3way_button_transfer==_0xc341d4(0x263)||custom_3way_button_transfer=='PARK_FIELD_owner')&&$('#xfernumber')[_0xc341d4(0x1b2)]($('#owner')[_0xc341d4(0x1b2)]());var _0x1a16f2=$('#xfernumber')[_0xc341d4(0x1b2)]();_0x1a16f2[_0xc341d4(0x35c)]<0x3?(alert_box(_0xc341d4(0x3aa)+_0x1a16f2),button_click_log=button_click_log+''+SQLdate+'-----DialXferInvalid---'+_0x1a16f2+'|',ShoWTransferMain(_0xc341d4(0x658),'YES')):custom_3way_button_transfer_park>0x0?xfer_park_dial():SendManualDial(_0xc341d4(0x18f));}}}function AgentTimeReport(_0x475029,_0x26c4a7){var _0xc2f153=_0x1c96bb,_0x24d68c=![];!_0x24d68c&&typeof XMLHttpRequest!=_0xc2f153(0x34f)&&(_0x24d68c=new XMLHttpRequest());if(_0x24d68c){var _0x312d63=_0xc2f153(0x4c6)+server_ip+'&session_name='+session_name+_0xc2f153(0x44a)+agent_screen_time_display+_0xc2f153(0x650)+$(_0xc2f153(0x486))['val']()+_0xc2f153(0x553)+user+_0xc2f153(0x6b5)+campaign+'&start_date='+_0x475029+'&end_date='+_0x26c4a7+'&pass='+pass;_0x24d68c[_0xc2f153(0x63c)](_0xc2f153(0x584),_0xc2f153(0x550)),_0x24d68c[_0xc2f153(0x636)](_0xc2f153(0x638),_0xc2f153(0x404)),_0x24d68c['send'](_0x312d63),_0x24d68c['onreadystatechange']=function(){var _0x16ae26=_0xc2f153;if(_0x24d68c[_0x16ae26(0x30f)]==0x4&&_0x24d68c[_0x16ae26(0x6aa)]==0xc8){var _0x4f6ce9=JSON[_0x16ae26(0x783)](_0x24d68c[_0x16ae26(0x137)]);$(_0x16ae26(0x30a))['html'](_0x4f6ce9[_0x16ae26(0x74c)]),$(_0x16ae26(0x43d))[_0x16ae26(0x628)](_0x4f6ce9[_0x16ae26(0x364)]),$(_0x16ae26(0x675))[_0x16ae26(0x628)](_0x4f6ce9[_0x16ae26(0x6ce)]),$(_0x16ae26(0x4e9))[_0x16ae26(0x628)](_0x4f6ce9[_0x16ae26(0x668)]),$(_0x16ae26(0x2f4))['html'](_0x4f6ce9[_0x16ae26(0x4e5)]);}},delete _0x24d68c;}}function xfer_park_dial(_0x25f706){var _0x2fb35c=_0x1c96bb,_0xbce698=$(_0x2fb35c(0x5d3))['val']();_0xbce698!=''?(_0x25f706=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x2fb35c(0x2a4)),conf_dialed=0x1,mainxfer_send_redirect('ParK',lastcustchannel,lastcustserverip),SendManualDial(_0x2fb35c(0x18f))):alert_box(_0x2fb35c(0x340));}function leave_3way_call(_0x412e0d,_0x40a903){var _0x23f17e=_0x1c96bb;_0x40a903==_0x23f17e(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x23f17e(0x531)+_0x412e0d+'\x20'+leave_3way_start_recording_trigger+'\x20'+leave_3way_start_recording_filename+'|'),threeway_end=0x0,leaving_threeway=0x1,customerparked>0x0&&mainxfer_send_redirect(_0x23f17e(0x136),lastcustchannel,lastcustserverip),mainxfer_send_redirect('3WAY','','',_0x412e0d),agent_events('3way_agent_leave','',aec),aec++,left_3way_timeout=0x3,$(_0x23f17e(0x643))[_0x23f17e(0x7b8)](_0x23f17e(0x585),image_livecall_OFF[_0x23f17e(0x585)]),$(_0x23f17e(0x4e0))['css']('border-bottom','2px\x20solid\x20rgb(229,\x20229,\x20229)'),$(_0x23f17e(0x56b))['html'](''),$('#list_appel')[_0x23f17e(0x628)]('');}function SendManualDial(_0x2af34c,_0x40cb65){var _0x4029ba=_0x1c96bb,_0xbff43c=$(_0x4029ba(0x5d3))[_0x4029ba(0x1b2)]();if(_0xbff43c!=''){conf_dialed=0x1,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_filename='';var _0x3c8544=0x0;if(_0x2af34c==_0x4029ba(0x18f)){xfer_in_call=0x1,agent_dialed_number='1',agent_dialed_type='XFER_3WAY',$('#DialWithCustomer')[_0x4029ba(0x628)](_0x4029ba(0x7b9)),$(_0x4029ba(0x545))[_0x4029ba(0x628)](_0x4029ba(0x7ab));var _0xe0d986=$(_0x4029ba(0x5b7))[_0x4029ba(0x1b2)]();_0xbff43c[_0x4029ba(0x35c)]<0x1&&_0xe0d986['length']>0x0&&(_0xbff43c=_0xe0d986);var _0x38fb93=_0xbff43c[_0x4029ba(0x81e)](),_0x4ffde1=session_id,_0x56f8f0='x'+_0x38fb93+'x',_0x285bc6=new RegExp(_0x56f8f0,'g');if(three_way_record_stop=='Y'){if(three_way_record_stop_exception=='')conf_send_recording('StopMonitorConf',session_id,recording_filename,'','','');else{if(three_way_record_stop_exception[_0x4029ba(0x42d)](_0x285bc6))var _0xeb0a03=0x1;else conf_send_recording(_0x4029ba(0x25a),session_id,recording_filename,'','','');}}else{if(three_way_record_stop_exception=='')var _0xeb0a03=0x1;else three_way_record_stop_exception[_0x4029ba(0x42d)](_0x285bc6)&&conf_send_recording(_0x4029ba(0x25a),session_id,recording_filename,'','','');}if(leave_3way_start_recording==''||leave_3way_start_recording==_0x4029ba(0x2e7))var _0xeb0a03=0x1;else leave_3way_start_recording==_0x4029ba(0x767)?leave_3way_start_recording_trigger=0x1:leave_3way_start_recording_exception[_0x4029ba(0x42d)](_0x285bc6)?(leave_3way_start_recording=='ALL_BUT_EXCEPTIONS'&&(leave_3way_start_recording_trigger=0x0),leave_3way_start_recording==_0x4029ba(0x183)&&(leave_3way_start_recording_trigger=0x1)):(leave_3way_start_recording==_0x4029ba(0x1de)&&(leave_3way_start_recording_trigger=0x1),leave_3way_start_recording==_0x4029ba(0x183)&&(leave_3way_start_recording_trigger=0x0));if(leave_3way_start_recording_trigger>0x0){var _0x24d183=new RegExp('\x20','g'),_0x1f8c11=$(_0x4029ba(0x48f))[_0x4029ba(0x1b2)]();_0x1f8c11=_0x1f8c11['replace'](_0x24d183,'');var _0x5bd8b3=$(_0x4029ba(0x486))[_0x4029ba(0x1b2)](),_0x438bd0=new RegExp(_0x4029ba(0x492),'g'),_0x27e90f=new RegExp(_0x4029ba(0x6b6),'g'),_0x35cf42=new RegExp(_0x4029ba(0x1a0),'g'),_0x3e1dbf=new RegExp('AGENT','g'),_0x13fee5=new RegExp('VENDORLEADCODE','g'),_0x397cb7=new RegExp('LEADID','g'),_0x2e6b74=new RegExp(_0x4029ba(0x2b5),'g');temp_filename=LIVE_campaign_rec_filename,temp_filename=temp_filename[_0x4029ba(0x74b)](_0x438bd0,campaign),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x27e90f,VDCL_group_id),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x35cf42,lead_dial_number),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x3e1dbf,user),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x13fee5,_0x1f8c11),temp_filename=temp_filename[_0x4029ba(0x74b)](_0x397cb7,_0x5bd8b3),temp_filename=temp_filename['replace'](_0x2e6b74,LasTCID),leave_3way_start_recording_filename=temp_filename;}_0x2394b6='';three_way_call_cid==_0x4029ba(0x492)&&(_0x2394b6=campaign_cid);three_way_call_cid==_0x4029ba(0x3f3)&&(cid_lock=0x1,_0x2394b6=outbound_cid);three_way_call_cid=='CUSTOMER'&&(cid_lock=0x1,_0x2394b6=$('#phone_number')[_0x4029ba(0x1b2)]());three_way_call_cid=='CUSTOM_CID'&&(_0x2394b6=$(_0x4029ba(0x6bb))[_0x4029ba(0x1b2)]());if(three_way_call_cid==_0x4029ba(0x2c3)){cid_lock=0x1,_0x2394b6=cid_choice;if(active_group_alias[_0x4029ba(0x35c)]>0x1)var _0x3c8544=0x1;}}else{var _0x38fb93=_0xbff43c[_0x4029ba(0x81e)](),_0x2394b6='1';(manual_dial_cid==_0x4029ba(0x3f3)||manual_dial_cid==_0x4029ba(0x1e8))&&(cid_lock=0x1,_0x2394b6=outbound_cid);}var _0x3782a3=new RegExp(_0x4029ba(0x6e8),'g');if(_0x38fb93[_0x4029ba(0x42d)](_0x3782a3))var _0x1de486=0x1;else{if($('#xferoverride')[_0x4029ba(0x789)](_0x4029ba(0x677))==![]||manual_dial_override_field==_0x4029ba(0x2e7)){if(three_way_dial_prefix=='X')var _0x40baa0='';else var _0x40baa0=three_way_dial_prefix;if(omit_phone_code=='Y')var _0x34dd88='';else var _0x34dd88=$(_0x4029ba(0x40c))[_0x4029ba(0x1b2)]();_0x38fb93['length']>0x7&&xfer_agent_selected<0x1&&(_0x38fb93=_0x40baa0+''+_0x34dd88+''+_0x38fb93);}else agent_dialed_type=_0x4029ba(0x244);call_variables=_0x4029ba(0x44e)+$(_0x4029ba(0x48f))['val']()+_0x4029ba(0x365)+$(_0x4029ba(0x486))[_0x4029ba(0x1b2)]();}var _0x1301b3=$('#xfername')[_0x4029ba(0x1b2)]();_0x40cb65==_0x4029ba(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x4029ba(0x824)+_0x2af34c+'\x20'+agent_dialed_type+'\x20'+_0x38fb93+'\x20'+three_way_call_cid+'\x20'+_0x2394b6+'\x20'+_0x4ffde1+'\x20'+_0x1301b3+'\x20'),agent_events(_0x4029ba(0x2d5),agent_dialed_type+'\x20'+_0x38fb93,aec),aec++,_0x2af34c==_0x4029ba(0x18f)?($(_0x4029ba(0x5b6))['prop']('checked')==!![]&&custom_fields_enabled>0x0&&consult_custom_delay>0x0?consult_custom_wait>=consult_custom_delay?(consult_custom_go=0x1,consult_custom_wait=0x0):(CustomerData_update('NO'),consult_custom_wait++,consult_custom_sent++):(consult_custom_go=0x1,consult_custom_wait=0x0),consult_custom_go>0x0&&basic_originate_call(_0x38fb93,'NO',_0x4029ba(0x18f),_0x4ffde1,'NO',_0x2af34c,_0x2394b6,_0x3c8544,'',_0x1301b3,call_variables)):basic_originate_call(_0x38fb93,'NO','NO','','','',_0x2394b6,_0x3c8544,_0x1301b3,call_variables),MD_ring_secondS=0x0;}else alert_box(_0x4029ba(0x340));}function basic_originate_call(_0x53ac6d,_0x1b68ef,_0x50ac8e,_0x3859e0,_0xa2d80f,_0x58bce1,_0x5778a0,_0x2af5fc,_0x3ca75d,_0x4ff33,_0x46c4b0){var _0xcd220f=_0x1c96bb;if(_0x3ca75d=='1'){var _0xdfa53d=_0x53ac6d;_0x53ac6d='83047777777777',_0x3859e0='7'+_0x3859e0;var _0x2a8f14=_0xcd220f(0x79e);}else var _0x2a8f14=_0xcd220f(0x1fa);var _0x38961a=0x0,_0x3a25d3=0x0;$('#consultativexfer')[_0xcd220f(0x789)](_0xcd220f(0x677))==!![]&&(_0x3a25d3=0x1);var _0x4bb312=new RegExp(_0xcd220f(0x676),'g'),_0x96886c=_0x53ac6d[_0xcd220f(0x81e)]();if(_0x96886c['match'](_0x4bb312)||_0x3a25d3>0x0){if(_0x96886c['match'](_0x4bb312)){var _0x157a79=_0x96886c['replace'](_0x4bb312,'');_0x157a79[_0xcd220f(0x35c)]<0x2&&(_0x157a79=_0xcd220f(0x449));var _0x4f5939='';}else{_0x157a79=_0xcd220f(0x449);var _0x4f5939=_0x96886c;}var _0x350dcc=$(_0xcd220f(0x262)),_0x490d21=_0x350dcc['val']();if(API_selected_xfergroup['length']>0x1)var _0x490d21=API_selected_xfergroup;_0x53ac6d=_0x157a79+'*'+_0x490d21+_0xcd220f(0x4a1)+$('#lead_id')[_0xcd220f(0x1b2)]()+'**'+dialed_number+'*'+user+'*'+_0x4f5939+'*'+VD_live_call_secondS+'*',consult_custom_sent<0x1&&CustomerData_update('NO');}var _0x25b595=new RegExp(_0xcd220f(0x773),'g');if(_0x96886c['match'](_0x25b595)){var _0x157a79=_0x96886c[_0xcd220f(0x74b)](_0x25b595,'');_0x157a79[_0xcd220f(0x35c)]<0x2&&(_0x157a79=_0xcd220f(0x352));var _0x7cde8a='_L';_0x7cde8a['length']<0x3&&(_0x7cde8a=_0xcd220f(0x14c)),_0x53ac6d=_0x157a79+'*'+$(_0xcd220f(0x5e7))[_0xcd220f(0x1b2)]()+'*'+$('#lead_id')[_0xcd220f(0x1b2)]()+'*'+campaign+'*'+_0x7cde8a+'*'+user+'**'+VD_live_call_secondS+'*',consult_custom_sent<0x1&&CustomerData_update('NO');}var _0x1963f0=![];!_0x1963f0&&typeof XMLHttpRequest!='undefined'&&(_0x1963f0=new XMLHttpRequest());if(_0x1963f0){if(_0x1b68ef=='NO')var _0x3e0c66='';else var _0x3e0c66=agc_dial_prefix;if(prefix_choice[_0xcd220f(0x35c)]>0x0)var _0x3e0c66=prefix_choice;if(_0x50ac8e==_0xcd220f(0x18f)){if(_0x3859e0[_0xcd220f(0x35c)]<0x2)var _0xbd016=dialplan_number;else var _0xbd016=_0x3859e0;var _0x3e0c66='',_0x205c23='Local/'+_0x53ac6d+'@'+ext_context;}else{var _0xbd016=_0x53ac6d;if(protocol==_0xcd220f(0x45e)||protocol=='Local')var _0xf2c943=_0xcd220f(0x4a0),_0x2cf49d=extension;else var _0xf2c943=protocol,_0x2cf49d=extension;var _0x205c23=_0xf2c943+'/'+_0x2cf49d;}var _0x58dbbf=$('#lead_id')['val'](),_0x24245d=epoch_sec;_0x58dbbf['length']<0x1&&(_0x58dbbf=user_abb);_0x58dbbf=set_length(_0x58dbbf,'10','left'),_0x24245d=set_length(_0x24245d,'6',_0xcd220f(0x612));if(_0x58bce1==_0xcd220f(0x18f))var _0x48f66b='DC'+_0x24245d+'W'+_0x58dbbf+'W';else var _0x48f66b='DV'+_0x24245d+'W'+_0x58dbbf+'W';_0x3ca75d=='1'&&(_0x48f66b=_0xdfa53d);if(cid_choice[_0xcd220f(0x35c)]>0x3){var _0x5418a2=cid_choice;_0x38961a=0x1;}else{if(_0x5778a0[_0xcd220f(0x35c)]>0x3)var _0x5418a2=_0x5778a0;else var _0x5418a2=campaign_cid;}VMCoriginate_query='server_ip='+server_ip+_0xcd220f(0x7b6)+session_name+_0xcd220f(0x66e)+user+_0xcd220f(0x397)+pass+_0xcd220f(0x682)+_0x205c23+_0xcd220f(0x793)+_0x48f66b+_0xcd220f(0x2bd)+_0x3e0c66+''+_0xbd016+_0xcd220f(0x214)+ext_context+_0xcd220f(0x512)+_0x5418a2+_0xcd220f(0x62e)+_0x38961a+'&preset_name='+_0x4ff33+'&campaign='+campaign+_0xcd220f(0x4af)+active_group_alias+_0xcd220f(0x158)+agent_dialed_number+_0xcd220f(0x71d)+agent_dialed_type+'&lead_id='+$(_0xcd220f(0x486))[_0xcd220f(0x1b2)]()+_0xcd220f(0x44a)+CheckDEADcallON+'&'+_0x2a8f14+_0xcd220f(0x3fd)+cid_lock+_0xcd220f(0x55d)+session_id+'&call_variables='+_0x46c4b0,_0x1963f0[_0xcd220f(0x63c)](_0xcd220f(0x584),_0xcd220f(0x58c)),_0x1963f0[_0xcd220f(0x636)](_0xcd220f(0x638),_0xcd220f(0x404)),_0x1963f0[_0xcd220f(0x2fd)](VMCoriginate_query),_0x1963f0['onreadystatechange']=function(){var _0x17e006=_0xcd220f;if(_0x1963f0['readyState']==0x4&&_0x1963f0[_0x17e006(0x6aa)]==0xc8){var _0x4ece89=new RegExp(_0x17e006(0x7f9),'g'),_0x1ed225=_0x1963f0['responseText'];_0x1ed225[_0x17e006(0x42d)](_0x4ece89)&&(alert_box(_0x1ed225),button_click_log=button_click_log+''+SQLdate+_0x17e006(0x515)+_0x1ed225+'|'),_0x3859e0['length']>0x0&&_0xa2d80f!='YES'&&(XDnextCID=_0x48f66b,MD_channel_look=0x1,XDcheck=_0x17e006(0x18f));}},delete _0x1963f0,active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',call_variables='',xfer_agent_selected=0x0,three_way_call_cid=orig_three_way_call_cid;}}function set_length(_0x3edaa7,_0x3be7c,_0x210cdc){var _0x49d455=_0x1c96bb,_0x3edaa7=_0x3edaa7+'',_0x8f85f9=0x0,_0xe77b63=_0x3edaa7[_0x49d455(0x35c)];_0xe77b63>_0x3be7c&&(_0x210cdc==_0x49d455(0x612)?(_0x8f85f9=_0xe77b63-_0x3be7c,_0x3edaa7=_0x3edaa7['substr'](_0x8f85f9,_0x3be7c)):_0x3edaa7=_0x3edaa7[_0x49d455(0x7e8)](0x0,_0x3be7c));var _0x2f7041=_0x3edaa7+'';while(_0x2f7041[_0x49d455(0x35c)]<_0x3be7c){_0x2f7041='0'+_0x2f7041;}return _0x2f7041;}function SendConfDTMF(_0x58ccbc,_0x410cfa){var _0x26f5da=_0x1c96bb;_0x410cfa==_0x26f5da(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x26f5da(0x409)+_0x58ccbc+'|');var _0x395c21=$('#conf_dtmf')[_0x26f5da(0x1b2)](),_0x559b32=_0x395c21[_0x26f5da(0x81e)](),_0x552d93=_0x58ccbc,_0x36d799=![];!_0x36d799&&typeof XMLHttpRequest!='undefined'&&(_0x36d799=new XMLHttpRequest());if(_0x36d799){var _0x2280ed=_0x559b32;VMCoriginate_query=_0x26f5da(0x4c6)+server_ip+_0x26f5da(0x7b6)+session_name+'&user='+user+'&pass='+pass+_0x26f5da(0x7d8)+dtmf_send_extension+_0x26f5da(0x793)+_0x2280ed+'&exten='+dtmf_silent_prefix+''+_0x552d93+_0x26f5da(0x214)+ext_context+_0x26f5da(0x363),_0x36d799['open'](_0x26f5da(0x584),_0x26f5da(0x58c)),_0x36d799[_0x26f5da(0x636)]('Content-Type',_0x26f5da(0x404)),_0x36d799[_0x26f5da(0x2fd)](VMCoriginate_query),_0x36d799[_0x26f5da(0x18a)]=function(){var _0x279ec9=_0x26f5da;if(_0x36d799[_0x279ec9(0x30f)]==0x4&&_0x36d799[_0x279ec9(0x6aa)]==0xc8){}},delete _0x36d799;}$(_0x26f5da(0x2a2))[_0x26f5da(0x1b2)]('');}function check_for_conf_calls(_0x54ed9b,_0x7f0430){var _0x16aaa6=_0x1c96bb;if(typeof xmlhttprequestcheckconf==_0x16aaa6(0x34f)){xmlhttprequestcheckconf_wait=0x0,custchannellive--;if(agentcallsstatus=='1'||callholdstatus=='1'){campagentstatct++;if(campagentstatct>campagentstatctmax){campagentstatct=0x0;var _0x383216=_0x16aaa6(0x18f);}else var _0x383216='NO';}else var _0x383216='NO';xmlhttprequestcheckconf=![],!xmlhttprequestcheckconf&&typeof XMLHttpRequest!=_0x16aaa6(0x34f)&&(xmlhttprequestcheckconf=new XMLHttpRequest()),xmlhttprequestcheckconf&&(checkconf_query=_0x16aaa6(0x4c6)+server_ip+'&session_name='+session_name+_0x16aaa6(0x66e)+user+_0x16aaa6(0x397)+pass+_0x16aaa6(0x2be)+_0x54ed9b+_0x16aaa6(0x52d)+auto_dial_level+'&campagentstdisp='+_0x383216+_0x16aaa6(0x425)+$(_0x16aaa6(0x2a6))[_0x16aaa6(0x1b2)]()+_0x16aaa6(0x2ab)+VD_live_call_secondS+_0x16aaa6(0x3ff)+$(_0x16aaa6(0x63f))[_0x16aaa6(0x1b2)]()+_0x16aaa6(0x475)+MDcheck_for_answer+_0x16aaa6(0x549)+MDnextCID+_0x16aaa6(0x6b5)+campaign+'&phone_number='+dialed_number+_0x16aaa6(0x432)+visibility_log+_0x16aaa6(0x3d2)+button_click_log,button_click_log='',visibility_log='',xmlhttprequestcheckconf[_0x16aaa6(0x63c)](_0x16aaa6(0x584),_0x16aaa6(0x4ee)),xmlhttprequestcheckconf['setRequestHeader'](_0x16aaa6(0x638),_0x16aaa6(0x404)),xmlhttprequestcheckconf['send'](checkconf_query),xmlhttprequestcheckconf[_0x16aaa6(0x18a)]=function(){var _0x397d4f=_0x16aaa6;if(xmlhttprequestcheckconf&&xmlhttprequestcheckconf['readyState']==0x4&&xmlhttprequestcheckconf[_0x397d4f(0x6aa)]==0xc8){var _0x10a3c7=null,_0x4afc70=_0x7f0430;_0x10a3c7=xmlhttprequestcheckconf[_0x397d4f(0x137)];var _0x3822c9=_0x10a3c7[_0x397d4f(0x65a)]('\x0a'),_0x485599=_0x3822c9[0x0]['split']('|'),_0x38daa6=_0x485599[0x1][_0x397d4f(0x65a)](_0x397d4f(0x541));UnixTime=_0x38daa6[0x1],UnixTime=parseInt(UnixTime),UnixTimeMS=UnixTime*0x3e8,t[_0x397d4f(0x417)](UnixTimeMS);if(callholdstatus=='1'||agentcallsstatus=='1'||pixis_agent_disable!='NOT_ACTIVE'){var _0x2de737=_0x485599[0x2][_0x397d4f(0x65a)]('Logged-in:\x20'),_0x3394bf=_0x2de737[0x1];if(typeof _0x485599[0x21]!==_0x397d4f(0x34f))var _0x383738=_0x485599[0x21][_0x397d4f(0x65a)](_0x397d4f(0x251));else var _0x383738='';var _0x39a91=_0x383738[0x1],_0x4d6870=_0x485599[0x3][_0x397d4f(0x65a)](_0x397d4f(0x4fc)),_0x271dc6=_0x4d6870[0x1],_0x45e751=_0x485599[0x5]['split'](_0x397d4f(0x745)),_0x248458=_0x45e751[0x1],_0x2c9c21=_0x485599[0x1b]['split'](_0x397d4f(0x189)),_0xa2b288=_0x2c9c21[0x1],_0x158e56=_0x485599[0x1c][_0x397d4f(0x65a)](_0x397d4f(0x763)),_0x2b17dc=_0x158e56[0x1];if(typeof _0x485599[0x22]!==_0x397d4f(0x34f))var _0x5085eb=_0x485599[0x22][_0x397d4f(0x65a)]('call_time_MS:\x20'),_0xea1bf6=_0x5085eb[0x1];else var _0xea1bf6='';if(typeof _0x485599[0x23]!==_0x397d4f(0x34f))var _0x476e24=_0x485599[0x23][_0x397d4f(0x65a)](_0x397d4f(0x7f6)),_0x5cf30c=_0x476e24[0x1];else var _0x5cf30c='';_0x271dc6!='N'&&$(_0x397d4f(0x5ed))[_0x397d4f(0x628)](_0x271dc6);if(chat_enabled>0x0){if(_0xa2b288=='Y')$(_0x397d4f(0x571))['attr'](_0x397d4f(0x585),image_customer_chat_ALERT[_0x397d4f(0x585)]);else _0xa2b288=='C'?$(_0x397d4f(0x571))[_0x397d4f(0x7b8)](_0x397d4f(0x585),image_customer_chat_ON[_0x397d4f(0x585)]):$(_0x397d4f(0x571))[_0x397d4f(0x7b8)](_0x397d4f(0x585),image_customer_chat_OFF[_0x397d4f(0x585)]);}_0x2b17dc!='N'&&$(_0x397d4f(0x1f5))[_0x397d4f(0x628)](_0x2b17dc),_0x3394bf==_0x397d4f(0x275)&&(pixis_agent_disable=='LIVE_AGENT'||pixis_agent_disable==_0x397d4f(0x79f))&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x36d)+_0x3394bf+'\x20'+pixis_agent_disable+'\x20'+_0x39a91+_0x397d4f(0x1e5)+agent_datetime+'|',hideDiv(_0x397d4f(0x2b3)),LogouT('DISABLED','',''),refresh_interval=0x6f63a0,agent_events(_0x397d4f(0x14d),'LIVE_AGENT',aec),aec++),_0x3394bf==_0x397d4f(0x3d1)&&(pixis_agent_disable==_0x397d4f(0x45e)||pixis_agent_disable==_0x397d4f(0x79f))&&(button_click_log=button_click_log+''+SQLdate+'-----agent_disabled---'+_0x3394bf+'\x20'+pixis_agent_disable+'\x20'+_0x39a91+_0x397d4f(0x1e5)+agent_datetime+'|',hideDiv(_0x397d4f(0x2b3)),refresh_interval=0x6f63a0,agent_events('session_disabled','DEAD_EXTERNAL',aec),aec++),_0x3394bf=='TIME_SYNC'&&pixis_agent_disable=='ALL'&&(button_click_log=button_click_log+''+SQLdate+'-----system_disabled---'+_0x3394bf+'\x20'+pixis_agent_disable+'\x20'+_0x39a91+_0x397d4f(0x1e5)+agent_datetime+'|',agent_events(_0x397d4f(0x702),'',aec),aec++),_0x3394bf=='SHIFT_LOGOUT'&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x5db)+_0x3394bf+'\x20'+_0x39a91+'|',shift_logout_flag=0x1),_0x3394bf=='API_LOGOUT'&&(api_logout_flag=0x1,button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x796)+_0x3394bf+'\x20'+api_logout_flag+'\x20'+_0x39a91+'|',MD_channel_look<0x1&&VD_live_customer_call<0x1&&alt_dial_status_display<0x1&&LogouT('API','',''));}var _0x2eeeb5=_0x485599[0x4][_0x397d4f(0x65a)](_0x397d4f(0x5e6)),_0x54e88f=_0x2eeeb5[0x1];_0x54e88f=='PAUSED'&&AutoDialWaiting==0x1?PausENotifYCounTer>0xa?(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x748)+_0x54e88f+'\x20'+AutoDialWaiting+'|',alert_box(_0x397d4f(0x82e)),AutoDial_ReSume_PauSe(_0x397d4f(0x2ce)),PausENotifYCounTer=0x0):PausENotifYCounTer++:PausENotifYCounTer=0x0;var _0x1dfc87=_0x397d4f(0x733);if(_0x54e88f==_0x397d4f(0x3ec))_0x1dfc87=_0x397d4f(0x797),$(_0x397d4f(0x1c2))['css'](_0x397d4f(0x433),'#008cba');else{if(_0x54e88f=='INCALL')_0x1dfc87=_0x397d4f(0x2d9),$(_0x397d4f(0x1c2))[_0x397d4f(0x6c6)]('background-color','#559733');else _0x54e88f=='PAUSED'&&(_0x1dfc87='Pause',$(_0x397d4f(0x1c2))[_0x397d4f(0x6c6)](_0x397d4f(0x433),'rgb(164,\x20165,\x20166)'));}$(_0x397d4f(0x253))['html'](_0x1dfc87+'\x20'+_0x5cf30c),$(_0x397d4f(0x31d))[_0x397d4f(0x628)](_0xea1bf6);_0x54e88f==_0x397d4f(0x156)?($(_0x397d4f(0x13e))[_0x397d4f(0x45c)](),_0x5cf30c!=''?$(_0x397d4f(0x7f3))[_0x397d4f(0x628)]('<i\x20class=\x22fa\x20fa-pause\x22\x20style=\x22color:\x20#ff0000;\x22></i>\x20'+_0x5cf30c):$(_0x397d4f(0x7f3))['html'](_0x397d4f(0x459)),$(_0x397d4f(0x519))['html'](_0xea1bf6)):$(_0x397d4f(0x13e))[_0x397d4f(0x345)]();var _0x386416=_0x485599[0x6][_0x397d4f(0x65a)](_0x397d4f(0x7d4)),_0x437720=_0x386416[0x1],_0x48bf61=_0x485599[0x7][_0x397d4f(0x65a)](_0x397d4f(0x7a3)),_0x55d15f=_0x48bf61[0x1],_0x4dd909=_0x485599[0x8][_0x397d4f(0x65a)](_0x397d4f(0x2d0)),_0x440324=_0x4dd909[0x1],_0x29ea76=_0x485599[0x9][_0x397d4f(0x65a)](_0x397d4f(0x5da)),_0x44a039=_0x29ea76[0x1],_0xe6f40b=_0x485599[0x18][_0x397d4f(0x65a)](_0x397d4f(0x496));APIManualDialQueue=_0xe6f40b[0x1];var _0x140e7d=_0x485599[0xa][_0x397d4f(0x65a)](_0x397d4f(0x523));CheckDEADcall=_0x140e7d[0x1];var _0x4f94a5=_0x485599[0xb][_0x397d4f(0x65a)](_0x397d4f(0x62f)),_0x37f94f=_0x4f94a5[0x1],_0x3a52f3=_0x485599[0xc],_0x3347a4=_0x485599[0xd],_0x58e4af=_0x485599[0xe],_0x5d70cd=_0x485599[0xf][_0x397d4f(0x65a)](_0x397d4f(0x765));update_fields=_0x5d70cd[0x1];var _0x46f260=_0x485599[0x10][_0x397d4f(0x65a)](_0x397d4f(0x4bf));update_fields_data=_0x46f260[0x1];var _0x310e6e=_0x485599[0x11][_0x397d4f(0x65a)]('APITimerAction:\x20');api_timer_action=_0x310e6e[0x1];var _0x4b2060=_0x485599[0x12]['split']('APITimerMessage:\x20');api_timer_action_message=_0x4b2060[0x1];var _0x2a9718=_0x485599[0x13][_0x397d4f(0x65a)](_0x397d4f(0x351));api_timer_action_seconds=_0x2a9718[0x1];var _0x101d25=_0x485599[0x17][_0x397d4f(0x65a)](_0x397d4f(0x82c));api_timer_action_destination=_0x101d25[0x1];var _0x24da31=_0x485599[0x19][_0x397d4f(0x65a)](_0x397d4f(0x679)),_0x254abd=_0x24da31[0x1],_0x3cc459=_0x485599[0x1a][_0x397d4f(0x65a)]('APIPaUseCodE:\x20'),_0x4ad901=_0x3cc459[0x1],_0x5a4a72=_0x485599[0x1e][_0x397d4f(0x65a)](_0x397d4f(0x196)),_0x329f80=_0x5a4a72[0x1],_0x1e8f7a=_0x485599[0x1f][_0x397d4f(0x65a)]('DEADxfer:\x20'),_0x281c31=_0x1e8f7a[0x1],_0x27d607=_0x485599[0x20][_0x397d4f(0x65a)](_0x397d4f(0x24d)),_0x372e6d=_0x27d607[0x1]['split'](_0x397d4f(0x47e)),_0xd206b0=_0x485599[0x14][_0x397d4f(0x65a)](_0x397d4f(0x5d5));api_dtmf=_0xd206b0[0x1];var _0x268b7a=_0x485599[0x15]['split'](_0x397d4f(0x58a)),_0x2c5245=_0x268b7a[0x1][_0x397d4f(0x65a)](_0x397d4f(0x16c));api_transferconf_function=_0x2c5245[0x0],api_transferconf_group=_0x2c5245[0x1],api_transferconf_number=_0x2c5245[0x2],api_transferconf_consultative=_0x2c5245[0x3],api_transferconf_override=_0x2c5245[0x4],api_transferconf_group_alias=_0x2c5245[0x5],api_transferconf_cid_number=_0x2c5245[0x6],api_transferconf_cid_choice=_0x2c5245[0x8];var _0x141638=_0x485599[0x16]['split'](_0x397d4f(0x5cf));api_parkcustomer=_0x141638[0x1];if(_0x372e6d[0x0]>0x0){if(_0x372e6d[0x1]==_0x397d4f(0x568)){var _0x500495=_0x372e6d[0x2],_0x200cb7=_0x372e6d[0x3],_0x23c5f7=_0x372e6d[0x4],_0x4660fa=new RegExp(_0x397d4f(0x1fe),'ig'),_0x2a1f97=new RegExp(_0x397d4f(0x29c),'ig'),_0x51b467=new RegExp(_0x397d4f(0x3cb),'ig');_0x500495[_0x397d4f(0x42d)](_0x4660fa)&&(button_click_log=button_click_log+''+SQLdate+'-----SIPeventMESSAGE---'+_0x500495+'|',TimerActionRun(_0x397d4f(0x296),_0x23c5f7,0x3));if(_0x500495[_0x397d4f(0x42d)](_0x51b467)){button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x394)+_0x500495+'|',dialedcall_send_hangup();if(_0x500495['match'](_0x2a1f97)&&_0x200cb7[_0x397d4f(0x35c)]>0x0){button_click_log=button_click_log+''+SQLdate+'-----SIPeventDISPO---'+_0x200cb7+'\x20'+_0x500495+'|',CustomerData_update('NO');if(per_call_notes==_0x397d4f(0x20d)&&comments_dispo_screen!=_0x397d4f(0x5c6)){var _0x164b45=$(_0x397d4f(0x41e))[_0x397d4f(0x1b2)]();_0x164b45[_0x397d4f(0x35c)]>0x0&&$(_0x397d4f(0x53c))[_0x397d4f(0x1b2)]($(_0x397d4f(0x41e))['val']());}SIPaction_dispo_count=0x4,SIPaction_dispo_finish=0x1,alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,$(_0x397d4f(0x5c9))['val'](_0x200cb7),$(_0x397d4f(0x46f))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),dialedcall_send_hangup('NO','NO',_0x200cb7),custom_fields_enabled>0x0&&(customsubmit_trigger=0x1);}}agent_events(_0x397d4f(0x563),_0x397d4f(0x5f2)+_0x500495+'\x20'+_0x200cb7,aec),aec++;}MDcheck_for_answer=0x0;}_0x281c31>0x0&&CheckDEADcallON<0x1&&XD_live_customer_call>0x0&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x1bd)+$(_0x397d4f(0x63f))[_0x397d4f(0x1b2)]()+'|',xfercall_send_hangup(_0x397d4f(0x18f)),alert_box(_0x397d4f(0x1be)),active_threeway=0x0);_0x329f80[_0x397d4f(0x35c)]>0x0&&_0x329f80>0x0&&(api_switch_lead_triggered<0x1&&(api_switch_lead_triggered++,LeaDSearcHSelecT(_0x329f80)));_0x4ad901[_0x397d4f(0x35c)]>0x0&&(VDRP_stage=='PAUSED'&&PauseCodeSelect_submit(_0x4ad901));var _0x157cfc=new RegExp(_0x397d4f(0x6ad),'g');if(_0x254abd['match'](_0x157cfc)){var _0x321e7e=_0x254abd;_0x321e7e[_0x397d4f(0x35c)]>0x5?_0x321e7e=_0x321e7e[_0x397d4f(0x74b)](_0x157cfc,''):_0x321e7e='',conf_send_recording(_0x397d4f(0x270),session_id,'','1',_0x321e7e,_0x397d4f(0x18f));}_0x254abd=='STOP'&&conf_send_recording(_0x397d4f(0x25a),session_id,recording_filename,'1','',_0x397d4f(0x18f));api_transferconf_function['length']>0x0&&(api_transferconf_ID==_0x2c5245[0x7]?(button_click_log=button_click_log+''+SQLdate+'-----TRANSFERCONF_API_DUP---'+api_transferconf_function+'\x20'+api_transferconf_ID+'\x20'+_0x2c5245[0x7]+'\x20'+external_transferconf_count+'\x20'+'|',Clear_API_Field(_0x397d4f(0x654))):(api_transferconf_ID=_0x2c5245[0x7],api_transferconf_function==_0x397d4f(0x1da)&&xfercall_send_hangup(),api_transferconf_function=='HANGUP_BOTH'&&bothcall_send_hangup(),api_transferconf_function==_0x397d4f(0x5ba)&&mainxfer_send_redirect(_0x397d4f(0x190),lastcustchannel,lastcustserverip),api_transferconf_function=='LEAVE_3WAY_CALL'&&leave_3way_call('FIRST'),api_transferconf_function==_0x397d4f(0x19d)&&(api_transferconf_override==_0x397d4f(0x18f)&&$(_0x397d4f(0x6c5))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),api_transferconf_override=='NO'&&$(_0x397d4f(0x6c5))['prop'](_0x397d4f(0x677),![]),$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](api_transferconf_number),mainxfer_send_redirect(_0x397d4f(0x7bb),lastcustchannel,lastcustserverip)),external_transferconf_count<0x1&&(api_transferconf_function=='LOCAL_CLOSER'&&(API_selected_xfergroup=api_transferconf_group,$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](api_transferconf_number),mainxfer_send_redirect(_0x397d4f(0x634),lastcustchannel,lastcustserverip)),api_transferconf_function==_0x397d4f(0x52f)&&(api_transferconf_consultative==_0x397d4f(0x18f)&&$('#consultativexfer')[_0x397d4f(0x789)]('checked',!![]),api_transferconf_consultative=='NO'&&$(_0x397d4f(0x5b6))[_0x397d4f(0x789)](_0x397d4f(0x677),![]),api_transferconf_override==_0x397d4f(0x18f)&&$(_0x397d4f(0x6c5))['prop'](_0x397d4f(0x677),!![]),api_transferconf_override=='NO'&&$(_0x397d4f(0x6c5))[_0x397d4f(0x789)](_0x397d4f(0x677),![]),API_selected_xfergroup=api_transferconf_group,$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](api_transferconf_number),active_group_alias=api_transferconf_group_alias,cid_choice=api_transferconf_cid_number,api_transferconf_cid_choice['length']>0x3&&(three_way_call_cid=api_transferconf_cid_choice),SendManualDial(_0x397d4f(0x18f),'YES')),api_transferconf_function==_0x397d4f(0x395)&&(api_transferconf_consultative=='YES'&&$('#consultativexfer')[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),api_transferconf_consultative=='NO'&&$(_0x397d4f(0x5b6))[_0x397d4f(0x789)](_0x397d4f(0x677),![]),api_transferconf_override==_0x397d4f(0x18f)&&$(_0x397d4f(0x6c5))[_0x397d4f(0x789)]('checked',!![]),API_selected_xfergroup=api_transferconf_group,$('#xfernumber')[_0x397d4f(0x1b2)](api_transferconf_number),active_group_alias=api_transferconf_group_alias,cid_choice=api_transferconf_cid_number,xfer_park_dial()),external_transferconf_count=0x3),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x29e)+api_transferconf_function+'|',Clear_API_Field('external_transferconf')));api_parkcustomer==_0x397d4f(0x3e7)&&mainxfer_send_redirect(_0x397d4f(0x72f),lastcustchannel,lastcustserverip);api_parkcustomer=='GRAB_CUSTOMER'&&mainxfer_send_redirect('FROMParK',lastcustchannel,lastcustserverip);api_parkcustomer=='PARK_IVR_CUSTOMER'&&mainxfer_send_redirect(_0x397d4f(0x148),lastcustchannel,lastcustserverip);api_parkcustomer==_0x397d4f(0x5e0)&&mainxfer_send_redirect(_0x397d4f(0x5ee),lastcustchannel,lastcustserverip);if(api_dtmf[_0x397d4f(0x35c)]>0x0){var _0x764b9e=new RegExp('P','g'),_0x679a33=new RegExp('S','g'),_0x635e8d=new RegExp('Q','g');api_dtmf=api_dtmf[_0x397d4f(0x74b)](_0x764b9e,'#'),api_dtmf=api_dtmf[_0x397d4f(0x74b)](_0x679a33,'*'),api_dtmf=api_dtmf[_0x397d4f(0x74b)](_0x635e8d,','),$(_0x397d4f(0x2a2))[_0x397d4f(0x1b2)](api_dtmf),SendConfDTMF(session_id);}api_timer_action[_0x397d4f(0x35c)]>0x2&&(timer_action=api_timer_action,timer_action_message=api_timer_action_message,timer_action_seconds=api_timer_action_seconds,timer_action_destination=api_timer_action_destination);_0x437720==0x1&&(VD_live_customer_call==0x1||MD_channel_look==0x1||MD_dial_timed_out>0x0)&&(button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x691)+_0x437720+'|',WaitingForNextStep=0x0,custchannellive=0x0,inbound_post_call_survey=='ENABLED'&&inbound_survey_participate=='Y'?($(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)](_0x397d4f(0x39f)),$(_0x397d4f(0x6c5))[_0x397d4f(0x789)]('checked',!![]),mainxfer_send_redirect('XfeRBLIND','\x22\x20+\x20lastcustchannel\x20+\x20\x22',_0x397d4f(0x18d),'','','',_0x397d4f(0x18f)),button_click_log=button_click_log+''+SQLdate+'-----APIhangupSurveyOR---'+inbound_post_call_survey+'\x20'+inbound_survey_participate+'\x20'+$(_0x397d4f(0x5d3))[_0x397d4f(0x1b2)]()+'|'):dialedcall_send_hangup());if(_0x55d15f[_0x397d4f(0x35c)]<0x3e8&&_0x55d15f[_0x397d4f(0x35c)]>0x0&&AgentDispoing>0x1&&_0x55d15f!='::::::::::'){button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x5d2)+_0x55d15f+'|';var _0x40ef0f=new RegExp('!','g');if(_0x55d15f[_0x397d4f(0x42d)](_0x40ef0f)){var _0x52c3c9=_0x55d15f[_0x397d4f(0x65a)]('!'),_0x4d6548=_0x52c3c9[0x0],_0x510b44=_0x52c3c9[0x1],_0x512dca=_0x52c3c9[0x2],_0x6a74d3=_0x52c3c9[0x3],_0x31700f=_0x52c3c9[0x4];_0x510b44[_0x397d4f(0x35c)]>0xa&&_0x512dca[_0x397d4f(0x35c)]>0x5?(CallBackDatETimE=_0x510b44,CallBackrecipient=_0x512dca,CallBackLeadStatus=_0x4d6548,CallBackCommenTs=_0x6a74d3,hideDiv(_0x397d4f(0x65b)),$(_0x397d4f(0x5c9))[_0x397d4f(0x1b2)]('CBHOLD')):$(_0x397d4f(0x5c9))[_0x397d4f(0x1b2)](_0x4d6548),_0x31700f[_0x397d4f(0x35c)]>0x0&&(DispoQMcsCODE=_0x31700f),DispoSelect_submit();}else $(_0x397d4f(0x5c9))[_0x397d4f(0x1b2)](_0x55d15f),DispoSelect_submit();}if(_0x440324[_0x397d4f(0x35c)]>0x4){var _0x47e1dd='',_0x4dd909=_0x440324['split']('!');APIPausE_ID==_0x4dd909[0x1]?_0x47e1dd=_0x397d4f(0x181):(APIPausE_ID=_0x4dd909[0x1],_0x4dd909[0x0]==_0x397d4f(0x5cb)&&(VD_live_customer_call==0x1?($(_0x397d4f(0x46f))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),_0x47e1dd='PAUSE-DISPO-SET'):AutoDialReady==0x1&&(auto_dial_level!='0'&&(AutoDialWaiting=0x0,AutoDial_ReSume_PauSe(_0x397d4f(0x2ce)),_0x47e1dd=_0x397d4f(0x2b8)),PIXIScrm_pause_calling=0x1)),_0x4dd909[0x0]==_0x397d4f(0x595)&&AutoDialReady<0x1&&auto_dial_level>0x0&&(AutoDialWaiting=0x1,AutoDial_ReSume_PauSe(_0x397d4f(0x374)),_0x47e1dd=_0x397d4f(0x660))),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x49f)+_0x440324+'\x20'+_0x47e1dd+'|';}_0x44a039[_0x397d4f(0x35c)]>0x9&&AllowManualQueueCalls=='0'&&APIManualDialQueue++;APIManualDialQueue!=APIManualDialQueue_last&&(APIManualDialQueue_last=APIManualDialQueue,$('#ManualQueueNotice')['html']('<b>Manual\x20Queue:\x20'+APIManualDialQueue+_0x397d4f(0x5b4)));if(_0x44a039[_0x397d4f(0x35c)]>0x9&&WaitingForNextStep=='0'&&AllowManualQueueCalls=='1'&&check_n>0x2){button_click_log=button_click_log+''+SQLdate+'-----api_dial---'+_0x44a039+'\x20'+APIDiaL_ID+'|';var _0x4f6c32=_0x44a039[_0x397d4f(0x65a)]('!');APIDiaL_ID==_0x4f6c32[0x6]?button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x153)+APIDiaL_ID+'\x20'+_0x4f6c32[0x6]+'|':_0x4f6c32[0x0]==_0x397d4f(0x5c8)?(APIDiaL_ID=_0x4f6c32[0x6],_0x4f6c32[0x4]==_0x397d4f(0x18f)&&(window[_0x397d4f(0x55c)](),alert_box(_0x397d4f(0x32a)),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x264)+_0x4f6c32[0x4]+'|'),_0x4f6c32[0x3]==_0x397d4f(0x18f)&&$(_0x397d4f(0x4d5))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]),_0x4f6c32[0x3]=='NO'&&$(_0x397d4f(0x4d5))['prop'](_0x397d4f(0x677),![]),ManualDialNext('','','','','','0')):(APIDiaL_ID=_0x4f6c32[0x6],$(_0x397d4f(0x26d))[_0x397d4f(0x1b2)](_0x4f6c32[0x1]),$('#phone_code')[_0x397d4f(0x1b2)](_0x4f6c32[0x1]),$('#MDPhonENumbeR')[_0x397d4f(0x1b2)](_0x4f6c32[0x0]),$(_0x397d4f(0x48f))['val'](_0x4f6c32[0x5]),prefix_choice=_0x4f6c32[0x7],active_group_alias=_0x4f6c32[0x8],cid_choice=_0x4f6c32[0x9],vtiger_callback_id=_0x4f6c32[0xa],$(_0x397d4f(0x63b))[_0x397d4f(0x1b2)](_0x4f6c32[0xb]),$(_0x397d4f(0x688))[_0x397d4f(0x1b2)](_0x4f6c32[0xc]),active_ingroup_dial=_0x4f6c32[0xd],_0x4f6c32[0x2]==_0x397d4f(0x18f)?$(_0x397d4f(0x529))[_0x397d4f(0x789)](_0x397d4f(0x677),!![]):$(_0x397d4f(0x529))['prop'](_0x397d4f(0x677),![]),_0x4f6c32[0x4]=='YES'&&(window[_0x397d4f(0x55c)](),alert_box(_0x397d4f(0x2da)+_0x4f6c32[0x1]+'\x20'+_0x4f6c32[0x0]),button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x41c)+_0x4f6c32[0x1]+'\x20'+_0x4f6c32[0x0]+'|'),_0x4f6c32[0x3]=='NO'&&$(_0x397d4f(0x4d5))['prop']('checked',![]),_0x4f6c32[0x3]==_0x397d4f(0x18f)?NeWManuaLDiaLCalLSubmiT('PREVIEW'):NeWManuaLDiaLCalLSubmiT('NOW'));}(in_lead_preview_state==0x1||alt_dial_status_display==0x1)&&(in_lead_preview_state==0x1&&_0x44a039==_0x397d4f(0x166)&&ManualDialSkip(),_0x44a039==_0x397d4f(0x3d7)&&ManualDialOnly('MaiNPhonE','NO','0'),_0x44a039==_0x397d4f(0x4bd)&&ManualDialOnly('ALTPhonE','NO','0'),_0x44a039==_0x397d4f(0x2d1)&&ManualDialOnly(_0x397d4f(0x683),'NO','0'),alt_dial_status_display==0x1&&_0x44a039==_0x397d4f(0x7df)&&ManualDialAltDonE());CheckDEADcall>0x0&&VD_live_customer_call==0x1&&currently_in_email_or_chat<0x1&&(CheckDEADcallON<0x1&&(agent_events(_0x397d4f(0x360),LasTCID,aec),aec++,$(_0x397d4f(0x643))[_0x397d4f(0x7b8)](_0x397d4f(0x585),image_livecall_DEAD[_0x397d4f(0x585)]),$('#agentBox')['css'](_0x397d4f(0x20e),_0x397d4f(0x80c)),$(_0x397d4f(0x56b))[_0x397d4f(0x628)](''),$(_0x397d4f(0x7bf))[_0x397d4f(0x628)](''),CheckDEADcallON=0x1,CheckDEADcallCOUNT++,customer_sec=VD_live_call_secondS,button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x15f)+customer_sec+'\x20'+lastcustchannel+'\x20'+lastcustserverip+'\x20'+LasTCID+'|',xfer_in_call>0x0&&customer_3way_hangup_logging==_0x397d4f(0x20d)&&(customer_3way_hangup_counter_trigger=0x1,customer_3way_hangup_counter=0x1),customerparked==0x1&&(parked_hangup='1')));CheckDEADcall>0x0&&VD_live_customer_call==0x1&&VD_live_call_secondS>0x5&&CalL_AutO_LauncH==_0x397d4f(0x7c8)&&currently_in_email_or_chat>0x0&&(CheckDEADcallON<0x1&&(agent_events(_0x397d4f(0x360),LasTCID,aec),aec++,$('#livecall')['attr']('src',image_livechat_DEAD['src']),CheckDEADcallON=0x1,CheckDEADcallCOUNT++,customer_sec=VD_live_call_secondS,button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x15f)+customer_sec+'\x20'+lastcustchannel+'\x20'+lastcustserverip+'\x20'+LasTCID+'|'));if(_0x37f94f>0x0){button_click_log=button_click_log+''+SQLdate+_0x397d4f(0x626)+_0x37f94f+'\x20'+_0x3a52f3+'|';var _0x38da64=_0x3a52f3,_0x2c1b4f=_0x3347a4;external_igb_set_name=_0x58e4af,manager_ingroups_set=0x1,_0x38da64=='1'&&dial_method!=_0x397d4f(0x21c)&&(PIXIScrm_closer_blended='1'),_0x38da64=='0'&&(PIXIScrm_closer_blended='0');}var _0x2bf4bb=_0x3822c9[0x1][_0x397d4f(0x65a)]('|'),_0x8c2779=_0x2bf4bb[0x0],_0x3eb49b=_0x2bf4bb[0x1][_0x397d4f(0x65a)]('\x20~');if(conf_channels_xtra_display==0x1||conf_channels_xtra_display==0x0){if(_0x8c2779>0x0){last_conf_channel_count<0x1&&no_empty_session_warnings<0x1&&(agent_events('session_channels',_0x8c2779,aec),aec++,last_conf_channel_count=_0x8c2779);var _0x343853=0x0,_0x3ab218=0x0,_0x7c1265=0x0,_0x17b150=0x0,_0x307f18=0x0,_0x2ee2a3=0x0,_0x194e86=0x0;agentphonelive=0x0,active_rec_channel='';var _0x316e3d=-0x1,_0x35d383='<b>LIVE\x20CALLS\x20IN\x20YOUR\x20SESSION:</b><br\x20/><table\x20width=\x22100%\x22><tr><td>#</td><td>REMOTE\x20CHANNEL</td><td>HANGUP</td><td>VOLUME</td></tr>';(LMAcount>_0x8c2779||LMAcount<_0x8c2779||_0x4afc70>0x0)&&(LMAe[0x0]='',LMAe[0x1]='',LMAe[0x2]='',LMAe[0x3]='',LMAe[0x4]='',LMAe[0x5]='',LMAcount=0x0,_0x2ee2a3++);while(_0x3ab218<_0x8c2779){_0x3ab218++,loop_s=_0x3ab218[_0x397d4f(0x81e)]();if(loop_s['match'](/1$|3$|5$|7$|9$/))var _0x158597=_0x397d4f(0x635);else var _0x158597=_0x397d4f(0x723);var _0x9d5dc3=_0x3ab218+_0x316e3d,_0x16ccc=_0x3eb49b[_0x9d5dc3],_0x269462=new RegExp(flag_string,'g'),_0x2dd928=new RegExp(_0x397d4f(0x442)+_0x54ed9b,'g');if(_0x16ccc[_0x397d4f(0x42d)](_0x269462)&&flag_channels>0x0)var _0x23afac=_0x397d4f(0x18b);else var _0x23afac=_0x397d4f(0x68f);if(HidEMonitoRSessionS==0x1&&_0x16ccc[_0x397d4f(0x42d)](/ASTblind/)){var _0x57526a=0x1;blind_monitoring_now++,_0x343853++,blind_monitoring_now==0x1&&(blind_monitoring_now_trigger=0x1);}else _0x7c1265++,_0x16ccc[_0x397d4f(0x42d)](_0x2dd928)?(active_rec_channel=_0x16ccc,_0x35d383=_0x35d383+_0x397d4f(0x62c)+_0x158597+_0x397d4f(0x315)+_0x7c1265+_0x397d4f(0x163)+_0x16ccc+_0x397d4f(0x415)):volumecontrol_active!=0x1||three_way_volume_buttons=='DISABLED'&&active_threeway>0x0?_0x35d383=_0x35d383+_0x397d4f(0x62c)+_0x158597+_0x397d4f(0x315)+_0x7c1265+'</td><td>'+_0x16ccc+'</td><td><a\x20href=\x22#\x22\x20onclick=\x22livehangup_send_hangup(\x27'+_0x16ccc+_0x397d4f(0x731):_0x35d383=_0x35d383+_0x397d4f(0x62c)+_0x158597+_0x397d4f(0x315)+_0x7c1265+_0x397d4f(0x163)+_0x16ccc+_0x397d4f(0x6eb)+_0x16ccc+_0x397d4f(0x1db)+_0x16ccc+_0x397d4f(0x613)+_0x16ccc+_0x397d4f(0x28a)+_0x16ccc+_0x397d4f(0x774)+_0x16ccc+_0x397d4f(0x7ce);if(_0x16ccc==lastcustchannel)custchannellive++;else{customerparked==0x1&&custchannellive++;if(server_ip==lastcustserverip)var _0x27bfcd='';else custchannellive++;}if(protocol!='EXTERNAL'&&protocol!=_0x397d4f(0x4a0)){var _0x52e500=new RegExp(protocol+'/'+extension,'g');_0x16ccc[_0x397d4f(0x42d)](_0x52e500)&&agentchannel!=_0x16ccc&&(agentchannel=_0x16ccc);}else agentchannel['length']<0x3&&(agentchannel=_0x16ccc);!LMAe[_0x17b150]?(LMAe[_0x17b150]=_0x16ccc,_0x2ee2a3++,_0x307f18++):LMAe[_0x17b150][_0x397d4f(0x35c)]<0x1?(LMAe[_0x17b150]=_0x16ccc,_0x2ee2a3++,_0x307f18++):LMAe[_0x17b150]==_0x16ccc?_0x194e86++:(_0x2ee2a3++,LMAe[_0x17b150]=_0x16ccc),_0x307f18>0x0&&LMAcount++,agentchannel==_0x16ccc&&agentphonelive++,_0x17b150++;}agentphonelive<0x1&&(agentchannel=''),_0x35d383=_0x35d383+_0x397d4f(0x40a),_0x2ee2a3>0x0&&(conf_channels_xtra_display==0x1&&$(_0x397d4f(0x6b9))['html'](_0x35d383)),nochannelinsession=0x0,_0x343853<0x1&&(no_blind_monitors++,no_blind_monitors>0x2&&(blind_monitoring_now=0x0));}else last_conf_channel_count>0x0&&no_empty_session_warnings<0x1&&left_3way_timeout<0x1&&(agent_events(_0x397d4f(0x644),'0',aec),aec++,last_conf_channel_count=0x0),LMAe[0x0]='',LMAe[0x1]='',LMAe[0x2]='',LMAe[0x3]='',LMAe[0x4]='',LMAe[0x5]='',LMAcount=0x0,conf_channels_xtra_display==0x1&&($(_0x397d4f(0x6b9))['html']()[_0x397d4f(0x35c)]>0x2&&$(_0x397d4f(0x6b9))[_0x397d4f(0x628)]('')),custchannellive=-0x63,nochannelinsession++,no_blind_monitors++,no_blind_monitors>0x2&&(blind_monitoring_now=0x0);}delete xmlhttprequestcheckconf,xmlhttprequestcheckconf=undefined;}else xmlhttprequestcheckconf&&xmlhttprequestcheckconf[_0x397d4f(0x30f)]==0x4&&xmlhttprequestcheckconf[_0x397d4f(0x6aa)]!=0xc8&&(delete xmlhttprequestcheckconf,xmlhttprequestcheckconf=undefined);});}else xmlhttprequestcheckconf&&(xmlhttprequestcheckconf_wait++,xmlhttprequestcheckconf_wait>=conf_check_attempts&&xmlhttprequestcheckconf[_0x16aaa6(0x1f7)]()),xmlhttprequestcheckconf_wait>=conf_check_attempts_cleanup?(xmlhttprequestcheckconf_wait=0x0,delete xmlhttprequestcheckconf,xmlhttprequestcheckconf=undefined):xmlhttprequestcheckconf=undefined;}function conf_send_recording(_0x343bbb,_0x5197ce,_0x2b6304,_0x41ff0d,_0x4d5e26,_0x2ebead){var _0x319530=_0x1c96bb;_0x2ebead==_0x319530(0x18f)?button_click_log=button_click_log+''+SQLdate+'-----conf_send_recording---'+_0x343bbb+'\x20'+_0x5197ce+'\x20'+_0x2b6304+'\x20'+_0x41ff0d+'\x20'+_0x4d5e26+'|':button_click_log=button_click_log+''+SQLdate+_0x319530(0x6cc)+_0x343bbb+'\x20'+_0x5197ce+'\x20'+_0x2b6304+'\x20'+_0x41ff0d+'\x20'+_0x4d5e26+'\x20'+all_record+'|';inOUT=='OUT'?tmp_pixiscrm_id=$(_0x319530(0x186))[_0x319530(0x1b2)]():tmp_pixiscrm_id='IN';var _0x3656cf=![];!_0x3656cf&&typeof XMLHttpRequest!=_0x319530(0x34f)&&(_0x3656cf=new XMLHttpRequest());if(_0x3656cf){if(_0x343bbb==_0x319530(0x270)){recording_active=0x1;var _0xf031eb=new RegExp('\x20','g'),_0x1fd5ca=$(_0x319530(0x48f))[_0x319530(0x1b2)]();_0x1fd5ca=_0x1fd5ca['replace'](_0xf031eb,'');var _0x3c66d9=$(_0x319530(0x486))['val'](),_0x1bffa2=new RegExp(_0x319530(0x492),'g'),_0x24fe17=new RegExp(_0x319530(0x6b6),'g'),_0x2b0a4a=new RegExp('CUSTPHONE','g'),_0x5e2db0=new RegExp('FULLDATE','g'),_0xba4e3b=new RegExp(_0x319530(0x597),'g'),_0x493bd2=new RegExp(_0x319530(0x64a),'g'),_0x3a835c=new RegExp(_0x319530(0x754),'g'),_0x5b4c05=new RegExp('VENDORLEADCODE','g'),_0x33bae9=new RegExp(_0x319530(0x19a),'g'),_0x44e462=new RegExp(_0x319530(0x2b5),'g');filename=LIVE_campaign_rec_filename+''+_0x4d5e26,filename=filename[_0x319530(0x74b)](_0x1bffa2,campaign),filename=filename[_0x319530(0x74b)](_0x24fe17,VDCL_group_id),filename=filename[_0x319530(0x74b)](_0x2b0a4a,lead_dial_number),filename=filename[_0x319530(0x74b)](_0x5e2db0,filedate),filename=filename[_0x319530(0x74b)](_0xba4e3b,tinydate),filename=filename['replace'](_0x493bd2,epoch_sec),filename=filename[_0x319530(0x74b)](_0x3a835c,user),filename=filename[_0x319530(0x74b)](_0x5b4c05,_0x1fd5ca),filename=filename[_0x319530(0x74b)](_0x33bae9,_0x3c66d9),filename=filename['replace'](_0x44e462,LasTCID);var _0x376207=recording_exten,_0x250ffd=_0x319530(0x2b0)+conf_silent_prefix+''+_0x5197ce+'@'+ext_context,_0x589b8f=_0x319530(0x32e)+_0x5197ce+_0x319530(0x6e6)+filename+'\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_stoprecording.gif\x22\x20border=\x220\x22\x20alt=\x22Stop\x20Recording\x22\x20/></a>',_0x393041=_0x319530(0x80a);LIVE_campaign_recording==_0x319530(0x41f)?$(_0x319530(0x547))['html']('<img\x20src=\x22./images/vdc_LB_startrecording_altx2_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Start\x20Recording\x22\x20/>'):$(_0x319530(0x547))[_0x319530(0x628)](_0x589b8f),mute_recordings=='Y'&&$('#RecorDMute')[_0x319530(0x628)](_0x393041);}if(_0x343bbb==_0x319530(0x25a)){recording_active=0x0,filename=_0x2b6304;var _0x376207=session_id,_0x250ffd=_0x319530(0x2b0)+conf_silent_prefix+''+_0x5197ce+'@'+ext_context,_0x589b8f=_0x319530(0x5b8)+_0x5197ce+_0x319530(0x5fc),_0x393041=_0x319530(0x2b2);LIVE_campaign_recording==_0x319530(0x41f)?$(_0x319530(0x547))['html']('<img\x20src=\x22./images/vdc_LB_startrecording_altx2_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Start\x20Recording\x22\x20/>'):$(_0x319530(0x547))[_0x319530(0x628)](_0x589b8f),mute_recordings=='Y'&&$(_0x319530(0x49e))['html'](_0x393041);}confmonitor_query='server_ip='+server_ip+_0x319530(0x7b6)+session_name+_0x319530(0x66e)+user+_0x319530(0x397)+pass+_0x319530(0x3a1)+_0x343bbb+_0x319530(0x24a)+_0x250ffd+_0x319530(0x73e)+filename+_0x319530(0x2bd)+_0x376207+_0x319530(0x214)+ext_context+'&lead_id='+$('#lead_id')['val']()+_0x319530(0x513)+tmp_pixiscrm_id+_0x319530(0x381)+_0x41ff0d,_0x3656cf['open'](_0x319530(0x584),_0x319530(0x58c)),_0x3656cf[_0x319530(0x636)](_0x319530(0x638),_0x319530(0x404)),_0x3656cf[_0x319530(0x2fd)](confmonitor_query),_0x3656cf[_0x319530(0x18a)]=function(){var _0x43b537=_0x319530;if(_0x3656cf['readyState']==0x4&&_0x3656cf[_0x43b537(0x6aa)]==0xc8){var _0x40f427=null;_0x40f427=_0x3656cf[_0x43b537(0x137)];var _0x164152=_0x40f427['split']('\x0a'),_0x560449=_0x164152[0x1],_0x6684ea=_0x164152[0x2],_0x1dc95c=_0x560449[_0x43b537(0x65a)](_0x43b537(0x528)),_0x54e38e=_0x6684ea['split'](_0x43b537(0x36f));if(_0x54e38e['length']>0x0){recording_filename=_0x1dc95c[0x1],recording_id=_0x54e38e[0x1];delayed_script_load==_0x43b537(0x18f)&&(RefresHScript(),delayed_script_load='NO');var _0x4c7a56=_0x1dc95c[0x1];last_recording_filename=_0x1dc95c[0x1];_0x4c7a56[_0x43b537(0x35c)]>0x19&&(_0x4c7a56=_0x4c7a56[_0x43b537(0x7e8)](0x0,0x16),_0x4c7a56=_0x4c7a56+_0x43b537(0x618));$(_0x43b537(0x2c1))[_0x43b537(0x628)](_0x4c7a56),$(_0x43b537(0x69d))['html'](_0x54e38e[0x1]);if(_0x343bbb==_0x43b537(0x270)){var _0x2c0750='<a\x20href=\x22#\x22\x20onclick=\x22conf_send_recording(\x27StopMonitorConf\x27,\x27'+_0x5197ce+_0x43b537(0x4de)+recording_id+_0x43b537(0x4ce),_0x3c8daa=_0x43b537(0x80a);LIVE_campaign_recording=='ALLFORCE'?$('#RecorDControl')[_0x43b537(0x628)](_0x43b537(0x509)):$(_0x43b537(0x547))[_0x43b537(0x628)](_0x2c0750),mute_recordings=='Y'&&$(_0x43b537(0x49e))['html'](_0x3c8daa);}}}},delete _0x3656cf;}}function mainxfer_send_redirect(_0x24c378,_0x236e9f,_0x44a9b5,_0x3b2447,_0x2bf2ba,_0x319d88,_0xdc1d0f){var _0x3b1e42=_0x1c96bb,_0x176cfb=$(_0x3b1e42(0x262)),_0x2e0f35=_0x176cfb[_0x3b1e42(0x1b2)](),_0x2dfaf8=$('#xfernumber')[_0x3b1e42(0x1b2)]();_0xdc1d0f==_0x3b1e42(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----mainxfer_send_redirect---'+_0x24c378+'\x20'+_0x236e9f+'\x20'+_0x44a9b5+'\x20'+_0x3b2447+'\x20'+_0x2bf2ba+'\x20'+_0x319d88+'\x20'+_0x2e0f35+'\x20'+_0x2dfaf8+'|');CalLCID['length']<0x1&&(CalLCID=MDnextCID);if((_0x24c378=='XfeRLOCAL'||_0x24c378==_0x3b1e42(0x791))&&_0x2e0f35[_0x3b1e42(0x42d)](/AGENTDIRECT/i)&&_0x2dfaf8[_0x3b1e42(0x35c)]<0x2&&API_selected_xfergroup[_0x3b1e42(0x35c)]<0x2)alert_box(_0x3b1e42(0x410)),button_click_log=button_click_log+''+SQLdate+_0x3b1e42(0x1b5)+_0x2dfaf8+'|';else{blind_transfer=0x1;var _0x34c732=0x0;$(_0x3b1e42(0x5b6))[_0x3b1e42(0x789)](_0x3b1e42(0x677))==!![]&&(_0x34c732=0x1);_0x24c378=='XfeRLOCAL'&&(_0x34c732=0x0);if(_0x236e9f=='EMAIL'){var _0x1d89c1=_0x44a9b5;transfer_email(_0x24c378,$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)](),$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)](),_0x1d89c1);}else{auto_dial_level==0x0&&(RedirecTxFEr=0x1);var _0x2150f4=![];!_0x2150f4&&typeof XMLHttpRequest!=_0x3b1e42(0x34f)&&(_0x2150f4=new XMLHttpRequest());if(_0x2150f4){var _0x1fdfd7=MDchannel,_0x26ebf5=lastcustserverip;_0x1fdfd7[_0x3b1e42(0x35c)]<0x2&&(_0x1fdfd7=lastcustchannel);if(_0x24c378==_0x3b1e42(0x7bb)||_0x24c378==_0x3b1e42(0x190)){var _0x5aa2a9='';_0x319d88>0x0&&$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](quick_transfer_button_orig);var _0x232496=_0x3b1e42(0x22c)+epoch_sec+user_abb,_0x54fcfa=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](),_0x198601=$('#xfernumhidden')[_0x3b1e42(0x1b2)]();_0x54fcfa[_0x3b1e42(0x35c)]<0x1&&_0x198601[_0x3b1e42(0x35c)]>0x0&&(_0x54fcfa=_0x198601);var _0x541558=new RegExp(_0x3b1e42(0x6e8),'g');if(_0x54fcfa[_0x3b1e42(0x42d)](_0x541558)){var _0x7bef08=new RegExp('AXFER','g');if(_0x54fcfa[_0x3b1e42(0x42d)](_0x7bef08)){var _0x243e7b=_0x54fcfa[_0x3b1e42(0x74b)](_0x7bef08,'');_0x243e7b[_0x3b1e42(0x35c)]<0x2&&(_0x243e7b=_0x3b1e42(0x352));var _0x3ad91c='_L';_0x3ad91c[_0x3b1e42(0x35c)]<0x3&&(_0x3ad91c='IVR'),_0x54fcfa=_0x243e7b+'*'+$(_0x3b1e42(0x5e7))[_0x3b1e42(0x1b2)]()+'*'+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'*'+campaign+'*'+_0x3ad91c+'*'+user+'**'+VD_live_call_secondS+'*';}}else{if($(_0x3b1e42(0x6c5))[_0x3b1e42(0x789)](_0x3b1e42(0x677))==![]||manual_dial_override_field=='DISABLED'){if(three_way_dial_prefix=='X')var _0x574838='';else var _0x574838=three_way_dial_prefix;if(omit_phone_code=='Y')var _0x6f434d='';else var _0x6f434d=$(_0x3b1e42(0x40c))[_0x3b1e42(0x1b2)]();_0x54fcfa[_0x3b1e42(0x35c)]>0x7&&(_0x54fcfa=_0x574838+''+_0x6f434d+''+_0x54fcfa);}}if(API_selected_callmenu[_0x3b1e42(0x35c)]>0x0)var _0x54fcfa='s',_0x2a497e=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)]();else var _0x2a497e=ext_context;no_delete_VDAC=0x0;if(_0x24c378==_0x3b1e42(0x190)){var _0x54fcfa=campaign_am_message_exten+'*'+campaign+'*'+$('#phone_code')['val']()+'*'+$('#phone_number')[_0x3b1e42(0x1b2)]()+'*'+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]();no_delete_VDAC=0x1,_0x5aa2a9=_0x3b1e42(0x3f7);}_0x54fcfa[_0x3b1e42(0x35c)]<'1'?(xferredirect_query='',_0x24c378=_0x3b1e42(0x441),alert_box(_0x3b1e42(0x159)+_0x54fcfa),button_click_log=button_click_log+''+SQLdate+_0x3b1e42(0x35e)+_0x54fcfa+'|'):(xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+'&pass='+pass+_0x3b1e42(0x5c1)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+_0x3b1e42(0x793)+_0x232496+'&exten='+_0x54fcfa+_0x3b1e42(0x214)+_0x2a497e+'&ext_priority=1&auto_dial_level='+auto_dial_level+_0x3b1e42(0x6b5)+campaign+_0x3b1e42(0x6ae)+$('#uniqueid')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x650)+$('#lead_id')['val']()+_0x3b1e42(0x632)+VD_live_call_secondS+'&session_id='+session_id+_0x3b1e42(0x362)+no_delete_VDAC+_0x3b1e42(0x377)+$(_0x3b1e42(0x747))['val']()+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked,_0x5aa2a9!=_0x3b1e42(0x3f7)&&(_0x5aa2a9=_0x54fcfa),agent_events(_0x3b1e42(0x746),_0x5aa2a9,aec),aec++),transfer_no_dispoEXTERNAL>0x0&&(transfer_no_dispoTEMP=0x1);}if(_0x24c378==_0x3b1e42(0x791)){var _0x155906='';_0x24c378=_0x3b1e42(0x634);}else var _0x155906='9';if(_0x24c378==_0x3b1e42(0x634)){consult_custom_sent<0x1&&CustomerData_update('NO');$(_0x3b1e42(0x747))['val']('');var _0x176cfb=$(_0x3b1e42(0x262)),_0x2e0f35=_0x176cfb[_0x3b1e42(0x1b2)]();if(API_selected_xfergroup['length']>0x1)var _0x2e0f35=API_selected_xfergroup;_0x319d88>0x0&&(_0x2e0f35=quick_transfer_button_orig);var _0x232496=_0x3b1e42(0x494)+epoch_sec+user_abb,_0x323a17=_0x155906+_0x3b1e42(0x393)+_0x2e0f35+'**'+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'**'+dialed_number+'*'+user+'*'+$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)]()+'*';xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x5c1)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+_0x3b1e42(0x793)+_0x232496+'&exten='+_0x323a17+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x421)+auto_dial_level+_0x3b1e42(0x6b5)+campaign+_0x3b1e42(0x6ae)+$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x650)+$('#lead_id')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x632)+VD_live_call_secondS+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked,agent_events(_0x3b1e42(0x435),_0x2e0f35,aec),aec++,transfer_no_dispoLOCAL>0x0&&(transfer_no_dispoTEMP=0x1);}if(_0x24c378==_0x3b1e42(0x7bc)){var _0x232496='LRvdcW'+epoch_sec+user_abb,_0x323a17=$(_0x3b1e42(0x511))[_0x3b1e42(0x1b2)]();xferredirect_query=_0x3b1e42(0x4c6)+server_ip+'&session_name='+session_name+'&user='+user+'&pass='+pass+_0x3b1e42(0x3b7)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+'&queryCID='+_0x232496+_0x3b1e42(0x276)+_0x323a17+_0x3b1e42(0x214)+ext_context+'&ext_priority=1'+_0x3b1e42(0x55d)+session_id+'&CalLCID='+CalLCID+_0x3b1e42(0x6c7)+customerparked,agent_events(_0x3b1e42(0x746),_0x323a17,aec),aec++;}if(_0x24c378==_0x3b1e42(0x285)){var _0x232496=_0x3b1e42(0x7ad)+epoch_sec+user_abb,_0x323a17=$('#extension_xfer')[_0x3b1e42(0x1b2)]();xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+'&user='+user+_0x3b1e42(0x397)+pass+'&ACTION=RedirectNameVmail&format=text&channel='+_0x1fdfd7+'&call_server_ip='+_0x26ebf5+_0x3b1e42(0x793)+_0x232496+_0x3b1e42(0x2bd)+voicemail_dump_exten+_0x3b1e42(0x276)+_0x323a17+'&ext_context='+ext_context+_0x3b1e42(0x363)+'&session_id='+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked,agent_events(_0x3b1e42(0x4c3),_0x323a17,aec),aec++;}if(_0x24c378==_0x3b1e42(0x33a)){var _0x232496='LEvdcW'+epoch_sec+user_abb,_0x323a17=$(_0x3b1e42(0x2ec))[_0x3b1e42(0x1b2)]();xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+'&pass='+pass+_0x3b1e42(0x6b4)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+'&queryCID='+_0x232496+_0x3b1e42(0x2bd)+_0x323a17+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x363)+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6c7)+customerparked;}if(_0x24c378==_0x3b1e42(0x2f6)){xferredirect_query='';var _0x232496=_0x3b1e42(0x75b)+epoch_sec+user_abb,_0x323a17='NEXTAVAILABLE',_0x148b79=XDchannel,_0x233dc6=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](),_0x176cfb=$('#XfeRGrouP'),_0x2e0f35=_0x176cfb['val']();if(API_selected_xfergroup[_0x3b1e42(0x35c)]>0x1)var _0x2e0f35=API_selected_xfergroup;var _0x2cb8cf=new RegExp('CXFER','g');if((_0x233dc6[_0x3b1e42(0x42d)](_0x2cb8cf)||_0x34c732>0x0)&&local_consult_xfers>0x0)var _0x1f7c84=_0x3b1e42(0x209);else var _0x1f7c84=_0x3b1e42(0x241);DispO3waychannel=_0x1fdfd7,DispO3wayXtrAchannel=_0x148b79,DispO3wayCalLserverip=_0x26ebf5,DispO3wayCalLxfernumber=$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)](),DispO3wayCalLcamptail='',leave_3way_start_recording_triggerCALL=leave_3way_start_recording_trigger,xferredirect_query='server_ip='+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x3a1)+_0x1f7c84+_0x3b1e42(0x24a)+_0x1fdfd7+_0x3b1e42(0x145)+_0x26ebf5+'&queryCID='+_0x232496+'&exten='+_0x323a17+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x2aa)+_0x148b79+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'&phone_code='+$('#phone_code')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x466)+$(_0x3b1e42(0x5e7))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x73e)+_0x3b2447+_0x3b1e42(0x6b5)+_0x2e0f35+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x7be)+agentchannel+'&protocol='+protocol+_0x3b1e42(0x5de)+extension+_0x3b1e42(0x52d)+auto_dial_level+_0x3b1e42(0x614)+CalLCID+'&customerparked='+customerparked+'&leave_3way_start_recording_trigger='+leave_3way_start_recording_triggerCALL+_0x3b1e42(0x6f7)+leave_3way_start_recording_filename,_0x3b2447==_0x3b1e42(0x2ea)&&$(_0x3b1e42(0x282))[_0x3b1e42(0x628)](_0x3b1e42(0x180)),transfer_no_dispoLEAVE3WAY>0x0&&(transfer_no_dispoTEMP=0x1);}else leave_3way_start_recording_triggerCALL=0x0;if(_0x24c378==_0x3b1e42(0x72f)){blind_transfer=0x0;var _0x232496=_0x3b1e42(0x1f2)+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5,_0x5bdb87=protocol+'/'+extension;xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x254)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+_0x3b1e42(0x2bd)+park_on_extension+'&ext_context='+ext_context+_0x3b1e42(0x454)+_0x5bdb87+'&session_id='+session_id+'&CalLCID='+CalLCID+_0x3b1e42(0x6ae)+$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)]()+'&lead_id='+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'&campaign='+campaign+_0x3b1e42(0x3bf)+group,$(_0x3b1e42(0x1a4))[_0x3b1e42(0x628)](_0x3b1e42(0x213)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+_0x3b1e42(0x5e1)),$(_0x3b1e42(0x19e))[_0x3b1e42(0x628)](_0x3b1e42(0x7af)+_0x323a17+'\x27,\x27'+_0x309b84+_0x3b1e42(0x269)),(ivr_park_call==_0x3b1e42(0x20d)||ivr_park_call==_0x3b1e42(0x73a))&&$('#ivrParkControl')['html']('<img\x20src=\x22./images/vdc_LB_grabivrparkcall_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Grab\x20IVR\x20Parked\x20Call\x22\x20/>'),customerparked=0x1,customerparkedcounter=0x0,agent_events('park_started','',aec),aec++;}if(_0x24c378==_0x3b1e42(0x136)){blind_transfer=0x0;var _0x232496='FPvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5;if(server_ip==_0x44a9b5&&_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=session_id;else{if(_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=server_ip_dialstring+''+session_id;else var _0x11decc=session_id;}xferredirect_query=_0x3b1e42(0x4c6)+server_ip+'&session_name='+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+'&ACTION=RedirectFromPark&format=text&channel='+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+'&exten='+_0x11decc+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x363)+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6ae)+$('#uniqueid')['val']()+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x1a4))[_0x3b1e42(0x628)](_0x3b1e42(0x67a)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+_0x3b1e42(0x4ea)),$(_0x3b1e42(0x19e))[_0x3b1e42(0x628)]('<button\x20id=\x22tbParkControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-warning\x20btn-lg\x22\x20onclick=\x22mainxfer_send_redirect(\x27ParK\x27,\x27'+_0x323a17+'\x27,\x27'+_0x309b84+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><i\x20class=\x22fa\x20fa-music\x22></i>\x20Mise\x20en\x20attente</button>'),(ivr_park_call=='ENABLED'||ivr_park_call=='ENABLED_PARK_ONLY')&&$(_0x3b1e42(0x233))['html'](_0x3b1e42(0x77b)+_0x323a17+'\x27,\x27'+_0x309b84+_0x3b1e42(0x5b5)),customerparked=0x0,customerparkedcounter=0x0,agent_events('park_retrieved','',aec),aec++;}if(_0x24c378==_0x3b1e42(0x148)){blind_transfer=0x0;var _0x232496=_0x3b1e42(0x1f2)+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5,_0x5bdb87=protocol+'/'+extension;xferredirect_query='server_ip='+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x786)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+'&exten='+park_on_extension+'&ext_context='+ext_context+_0x3b1e42(0x454)+_0x5bdb87+_0x3b1e42(0x55d)+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6ae)+$('#uniqueid')['val']()+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+'&campaign='+campaign+_0x3b1e42(0x3bf)+group,$(_0x3b1e42(0x1a4))[_0x3b1e42(0x628)](_0x3b1e42(0x431)),$(_0x3b1e42(0x19e))['html']('<button\x20id=\x22tbParkControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-warning\x20btn-lg\x22\x20disabled=\x22\x22><i\x20class=\x22fa\x20fa-music\x22></i>\x20Mise\x20en\x20attente</button>'),ivr_park_call==_0x3b1e42(0x73a)&&$('#ivrParkControl')[_0x3b1e42(0x628)](_0x3b1e42(0x168)),ivr_park_call==_0x3b1e42(0x20d)&&$(_0x3b1e42(0x233))[_0x3b1e42(0x628)](_0x3b1e42(0x625)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_grabivrparkcall.gif\x22\x20border=\x220\x22\x20alt=\x22Grab\x20IVR\x20Parked\x20Call\x22\x20/></a>'),customerparked=0x1,customerparkedcounter=0x0,agent_events(_0x3b1e42(0x468),'',aec),aec++;}if(_0x24c378=='FROMParKivr'){blind_transfer=0x0;var _0x232496='FPvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5;if(server_ip==_0x44a9b5&&_0x44a9b5['length']>0x6)var _0x11decc=session_id;else{if(_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=server_ip_dialstring+''+session_id;else var _0x11decc=session_id;}xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x81c)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+'&queryCID='+_0x232496+_0x3b1e42(0x2bd)+_0x11decc+_0x3b1e42(0x214)+ext_context+_0x3b1e42(0x363)+'&session_id='+session_id+_0x3b1e42(0x614)+CalLCID+_0x3b1e42(0x6ae)+$(_0x3b1e42(0x186))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x1a4))['html'](_0x3b1e42(0x67a)+_0x323a17+'\x27,\x27'+_0x309b84+_0x3b1e42(0x4ea)),$(_0x3b1e42(0x19e))[_0x3b1e42(0x628)](_0x3b1e42(0x7f8)+_0x323a17+_0x3b1e42(0x6e6)+_0x309b84+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><i\x20class=\x22fa\x20fa-music\x22></i>\x20Mise\x20en\x20attente</button>'),(ivr_park_call==_0x3b1e42(0x20d)||ivr_park_call==_0x3b1e42(0x73a))&&$(_0x3b1e42(0x233))['html']('<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27ParKivr\x27,\x27'+_0x323a17+'\x27,\x27'+_0x309b84+_0x3b1e42(0x5b5)),customerparked=0x0,customerparkedcounter=0x0,agent_events(_0x3b1e42(0x3c3),'',aec),aec++;}if(_0x24c378==_0x3b1e42(0x768)){blind_transfer=0x0;var _0x232496='LXvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5,_0x5bdb87=protocol+'/'+extension;xferredirect_query='server_ip='+server_ip+_0x3b1e42(0x7b6)+session_name+'&user='+user+_0x3b1e42(0x397)+pass+_0x3b1e42(0x534)+_0x323a17+_0x3b1e42(0x145)+_0x309b84+'&queryCID='+_0x232496+_0x3b1e42(0x2bd)+park_on_extension+_0x3b1e42(0x214)+ext_context+'&ext_priority=1&extenName=park&parkedby='+_0x5bdb87+'&session_id='+session_id+_0x3b1e42(0x614)+XDnextCID+'&uniqueid='+XDuniqueid+_0x3b1e42(0x650)+$(_0x3b1e42(0x486))['val']()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x249))[_0x3b1e42(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27FROMParKXfeR\x27,\x27'+lastxferchannel+_0x3b1e42(0x6e6)+server_ip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_XB_parkxferline_GRAB.gif\x22\x20border=\x220\x22\x20alt=\x22Grab\x20Parked\x20Xfer\x20Line\x22\x20style=\x22vertical-align:middle\x22\x20/></a>');}if(_0x24c378==_0x3b1e42(0x383)){blind_transfer=0x0;var _0x232496='FXvdcW'+epoch_sec+user_abb,_0x323a17=_0x236e9f,_0x309b84=_0x44a9b5;if(server_ip==_0x44a9b5&&_0x44a9b5[_0x3b1e42(0x35c)]>0x6)var _0x11decc=session_id;else{if(_0x44a9b5['length']>0x6)var _0x11decc=server_ip_dialstring+''+session_id;else var _0x11decc=session_id;}xferredirect_query=_0x3b1e42(0x4c6)+server_ip+_0x3b1e42(0x7b6)+session_name+_0x3b1e42(0x66e)+user+'&pass='+pass+'&ACTION=RedirectFromParkXfer&format=text&channel='+_0x323a17+_0x3b1e42(0x145)+_0x309b84+_0x3b1e42(0x793)+_0x232496+_0x3b1e42(0x2bd)+_0x11decc+'&ext_context='+ext_context+_0x3b1e42(0x363)+_0x3b1e42(0x55d)+session_id+'&CalLCID='+XDnextCID+_0x3b1e42(0x6ae)+XDuniqueid+_0x3b1e42(0x650)+$('#lead_id')[_0x3b1e42(0x1b2)]()+_0x3b1e42(0x6b5)+campaign,$(_0x3b1e42(0x249))[_0x3b1e42(0x628)](_0x3b1e42(0x17c)+lastxferchannel+_0x3b1e42(0x6e6)+server_ip+_0x3b1e42(0x2bb));}var _0x82a7be='';_0x2150f4[_0x3b1e42(0x63c)]('POST',_0x3b1e42(0x58c)),_0x2150f4[_0x3b1e42(0x636)]('Content-Type',_0x3b1e42(0x404)),_0x2150f4['send'](xferredirect_query),_0x2150f4[_0x3b1e42(0x18a)]=function(){var _0x531528=_0x3b1e42;if(_0x2150f4[_0x531528(0x30f)]==0x4&&_0x2150f4[_0x531528(0x6aa)]==0xc8){var _0x1ec9a9=null;_0x1ec9a9=_0x2150f4[_0x531528(0x137)];var _0x25def9=_0x1ec9a9[_0x531528(0x65a)]('|'),_0x23c174=_0x25def9[0x0];_0x23c174==_0x531528(0x785)&&(threeway_end=0x1,$('#callchannel')[_0x531528(0x628)](''),$(_0x531528(0x303))[_0x531528(0x1b2)](''),transfer_no_dispoLEAVE3WAY>0x0&&transfer_no_dispoTEMP>0x0?button_click_log=button_click_log+''+SQLdate+_0x531528(0x56e)+transfer_no_dispoLEAVE3WAY+'\x20'+transfer_no_dispoTEMP+'|':dialedcall_send_hangup(),$(_0x531528(0x63f))[_0x531528(0x1b2)](''),xfercall_send_hangup(),session_id=_0x25def9[0x1],$(_0x531528(0x21f))['html'](session_id));}},delete _0x2150f4;}if(auto_dial_level==0x0&&_0x24c378!=_0x3b1e42(0x2f6)){RedirecTxFEr=0x1;var _0x40fff7=![];!_0x40fff7&&typeof XMLHttpRequest!=_0x3b1e42(0x34f)&&(_0x40fff7=new XMLHttpRequest()),_0x40fff7&&(_0x40fff7['open']('POST',_0x3b1e42(0x58c)),_0x40fff7[_0x3b1e42(0x636)](_0x3b1e42(0x638),_0x3b1e42(0x404)),_0x40fff7['send'](xferredirect_query+_0x3b1e42(0x521)),_0x40fff7['onreadystatechange']=function(){var _0x478f09=_0x3b1e42;_0x40fff7['readyState']==0x4&&_0x40fff7['status']==0xc8&&(Nactiveext=null,Nactiveext=_0x40fff7[_0x478f09(0x137)]);},delete _0x40fff7);}(_0x24c378==_0x3b1e42(0x634)||_0x24c378==_0x3b1e42(0x7bb)||_0x24c378==_0x3b1e42(0x190)||transfer_no_dispoTEMP>0x0)&&(auto_dial_level==0x0&&(RedirecTxFEr=0x1),$(_0x3b1e42(0x68e))[_0x3b1e42(0x628)](''),$(_0x3b1e42(0x303))[_0x3b1e42(0x1b2)](''),$('#livecall')[_0x3b1e42(0x7b8)](_0x3b1e42(0x585),image_livecall_OFF[_0x3b1e42(0x585)]),$(_0x3b1e42(0x56b))[_0x3b1e42(0x628)](''),$(_0x3b1e42(0x7bf))[_0x3b1e42(0x628)](''),$('#agentBox')[_0x3b1e42(0x6c6)](_0x3b1e42(0x20e),'2px\x20solid\x20rgb(229,\x20229,\x20229)'),_0x2bf2ba==_0x3b1e42(0x1d8)||transfer_no_dispoTEMP>0x0?button_click_log=button_click_log+''+SQLdate+'-----TransferNoHangup---'+_0x2bf2ba+'\x20'+transfer_no_dispoLOCAL+'\x20'+transfer_no_dispoEXTERNAL+'\x20'+transfer_no_dispoLEAVE3WAY+'\x20'+transfer_no_dispoTEMP+'|':dialedcall_send_hangup(_0x2bf2ba,'','',no_delete_VDAC));}}$(_0x3b1e42(0x5d3))[_0x3b1e42(0x1b2)]('');}function transfer_email(_0x49e9e3,_0x6638ee,_0x4cff73,_0x3a42bf){var _0x52804c=_0x1c96bb,_0x1de81f=![];!_0x1de81f&&typeof XMLHttpRequest!=_0x52804c(0x34f)&&(_0x1de81f=new XMLHttpRequest());if(_0x1de81f){var _0x2a90a7=MDchannel,_0x41551d=lastcustserverip,_0x394c35='',_0x424a37='',_0x55c338='',_0x1d26dc='',_0x1e9e2a='',_0x37fc9f='';_0x2a90a7['length']<0x2&&(_0x2a90a7=lastcustchannel);var _0x2f20a2='',_0x837096=$(_0x52804c(0x262)),_0x3d73fd=_0x837096[_0x52804c(0x1b2)]();if(API_selected_xfergroup[_0x52804c(0x35c)]>0x1)var _0x3d73fd=API_selected_xfergroup;xferemail_query=_0x52804c(0x4c6)+server_ip+'&session_name='+session_name+_0x52804c(0x66e)+user+_0x52804c(0x397)+pass+'&ACTION=XFERemail&format=text&channel='+_0x2a90a7+'&call_server_ip='+_0x41551d+'&queryCID='+_0x394c35+_0x52804c(0x2bd)+_0x1e9e2a+_0x52804c(0x214)+_0x55c338+_0x52804c(0x2aa)+_0x1d26dc+_0x52804c(0x650)+$(_0x52804c(0x486))[_0x52804c(0x1b2)]()+_0x52804c(0x46a)+$(_0x52804c(0x40c))[_0x52804c(0x1b2)]()+'&phone_number='+$(_0x52804c(0x5e7))[_0x52804c(0x1b2)]()+'&filename='+_0x37fc9f+_0x52804c(0x6b5)+_0x3d73fd+_0x52804c(0x55d)+session_id+'&agentchannel='+agentchannel+_0x52804c(0x28e)+protocol+_0x52804c(0x5de)+extension+'&auto_dial_level='+auto_dial_level+_0x52804c(0x4d8)+$(_0x52804c(0x416))[_0x52804c(0x1b2)]()+_0x52804c(0x36b)+_0x3a42bf,_0x1de81f[_0x52804c(0x63c)](_0x52804c(0x584),_0x52804c(0x550)),_0x1de81f[_0x52804c(0x636)](_0x52804c(0x638),'application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x1de81f[_0x52804c(0x2fd)](xferemail_query),_0x1de81f['onreadystatechange']=function(){var _0x2c9986=_0x52804c;if(_0x1de81f[_0x2c9986(0x30f)]==0x4&&_0x1de81f[_0x2c9986(0x6aa)]==0xc8){var _0x2be1c1=null;_0x2be1c1=_0x1de81f[_0x2c9986(0x137)];var _0x59f886=_0x2be1c1['split']('|'),_0x3b91c5=_0x59f886[0x0];_0x3b91c5==0x1&&(threeway_end=0x1,$('#callchannel')['html'](''),$('#callserverip')[_0x2c9986(0x1b2)](''),dialedcall_send_hangup());}},delete _0x1de81f;}}function ManualDialAltDonE(_0x42f975){var _0x3f9827=_0x1c96bb;_0x42f975==_0x3f9827(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x3f9827(0x17e)),alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,open_dispo_screen=0x1,$(_0x3f9827(0x170))[_0x3f9827(0x628)](_0x3f9827(0x56f));}function DialLog(_0x6cf0e0,_0x10cc73){var _0x347eb5=_0x1c96bb,_0x176183=0x0;if(_0x6cf0e0==_0x347eb5(0x380)){MDlogEPOCH=0x0;var _0x336580=$(_0x347eb5(0x186))[_0x347eb5(0x1b2)]();_0x336580[_0x347eb5(0x35c)]<0x4&&(_0x336580=epoch_sec+'.'+random,$(_0x347eb5(0x186))[_0x347eb5(0x1b2)](_0x336580));}else{if(alt_phone_dialing==0x1){if($(_0x347eb5(0x69b))['prop'](_0x347eb5(0x677))==!![]){var _0x203645='';status_display_LEADID>0x0&&(_0x203645=_0x203645+'\x20Lead:\x20'+$(_0x347eb5(0x486))[_0x347eb5(0x1b2)]());status_display_LISTID>0x0&&(_0x203645=_0x203645+'\x20List:\x20'+$(_0x347eb5(0x416))[_0x347eb5(0x1b2)]());_0x176183=0x1,reselect_alt_dial=0x1,alt_dial_active=0x1,alt_dial_status_display=0x1;(alt_number_dialing==_0x347eb5(0x3f5)||alt_number_dialing==_0x347eb5(0x737)||alt_number_dialing==_0x347eb5(0x220)||alt_number_dialing==_0x347eb5(0x34a))&&(last_mdtype!='ALT'&&last_mdtype!=_0x347eb5(0x6db))&&(timer_alt_count=timer_alt_seconds,timer_alt_trigger=0x1);var _0x16490c=_0x347eb5(0x33f)+_0x203645;$(_0x347eb5(0x170))['html'](_0x16490c);}}}var _0x362e6c=![];!_0x362e6c&&typeof XMLHttpRequest!='undefined'&&(_0x362e6c=new XMLHttpRequest());if(_0x362e6c){var _0x538a14=_0x347eb5(0x2b0)+conf_silent_prefix+''+session_id+'@'+ext_context;manDiaLlog_query=_0x347eb5(0x174)+server_ip+_0x347eb5(0x7b6)+session_name+'&ACTION=manDiaLlogCaLL&stage='+_0x6cf0e0+_0x347eb5(0x6ae)+$(_0x347eb5(0x186))[_0x347eb5(0x1b2)]()+_0x347eb5(0x66e)+user+_0x347eb5(0x397)+pass+_0x347eb5(0x6b5)+campaign+_0x347eb5(0x650)+$(_0x347eb5(0x486))['val']()+'&list_id='+$('#list_id')[_0x347eb5(0x1b2)]()+_0x347eb5(0x25f)+$(_0x347eb5(0x40c))[_0x347eb5(0x1b2)]()+'&phone_number='+lead_dial_number+'&exten='+recording_exten+_0x347eb5(0x6be)+lastcustchannel+_0x347eb5(0x455)+MDlogEPOCH+_0x347eb5(0x52d)+auto_dial_level+_0x347eb5(0x2d2)+VDstop_rec_after_each_call+_0x347eb5(0x77a)+conf_silent_prefix+'&protocol='+protocol+_0x347eb5(0x5de)+extension+_0x347eb5(0x214)+ext_context+_0x347eb5(0x5d7)+session_id+_0x347eb5(0x320)+user_abb+'&agent_log_id='+agent_log_id+'&MDnextCID='+LasTCID+_0x347eb5(0x6e1)+inOUT+_0x347eb5(0x661)+dialed_label+_0x347eb5(0x447)+_0x347eb5(0x7be)+agentchannel+'&conf_dialed='+conf_dialed+_0x347eb5(0x755)+leaving_threeway+'&hangup_all_non_reserved='+hangup_all_non_reserved+_0x347eb5(0x2e0)+blind_transfer+_0x347eb5(0x4fe)+dial_method+_0x347eb5(0x362)+_0x10cc73+_0x347eb5(0x256)+_0x176183+_0x347eb5(0x5fb)+qm_extension+_0x347eb5(0x6bf)+$(_0x347eb5(0x7fd))['val']()+_0x347eb5(0x452)+leave_3way_start_recording_triggerCALL+'&leave_3way_start_recording_filename='+leave_3way_start_recording_filename+'&channelrec='+_0x538a14,_0x362e6c[_0x347eb5(0x63c)]('POST','crm_query.php'),_0x362e6c['setRequestHeader'](_0x347eb5(0x638),_0x347eb5(0x404)),_0x362e6c[_0x347eb5(0x2fd)](manDiaLlog_query),_0x362e6c[_0x347eb5(0x18a)]=function(){var _0x21c07a=_0x347eb5;if(_0x362e6c[_0x21c07a(0x30f)]==0x4&&_0x362e6c[_0x21c07a(0x6aa)]==0xc8){var _0x4cbc06=null;_0x4cbc06=_0x362e6c[_0x21c07a(0x137)];var _0x32636f=_0x4cbc06[_0x21c07a(0x65a)]('\x0a');MDlogLINE=_0x32636f[0x0];if(MDlogLINE==_0x21c07a(0x342)&&VDstop_rec_after_each_call!=0x1){}else{MDlogEPOCH=_0x32636f[0x1];if(_0x6cf0e0!=_0x21c07a(0x380)&&VDstop_rec_after_each_call==0x1){var _0x3326e7=_0x21c07a(0x5b8)+session_id+_0x21c07a(0x5fc),_0x4d0aa5=_0x21c07a(0x2b2);LIVE_campaign_recording==_0x21c07a(0x615)||LIVE_campaign_recording==_0x21c07a(0x41f)?$(_0x21c07a(0x547))[_0x21c07a(0x628)](_0x21c07a(0x509)):$(_0x21c07a(0x547))[_0x21c07a(0x628)](_0x3326e7);mute_recordings=='Y'&&$(_0x21c07a(0x49e))['html'](_0x4d0aa5);MDlogRecorDings=_0x32636f[0x3];if(window[_0x21c07a(0x1c4)]){var _0x27dc00=MDlogRecorDings[_0x21c07a(0x65a)]('|'),_0x19839e=_0x27dc00[0x2];last_recording_filename=_0x27dc00[0x2],_0x19839e[_0x21c07a(0x35c)]>0x19&&(_0x19839e=_0x19839e['substr'](0x0,0x16),_0x19839e=_0x19839e+_0x21c07a(0x618)),$(_0x21c07a(0x2c1))['html'](_0x19839e),$('#RecorDID')['html'](_0x27dc00[0x3]);}}}}},delete _0x362e6c;}RedirecTxFEr=0x0,conf_dialed=0x0;}function CalLBacKsCounTCheck(){var _0x596795=_0x1c96bb,_0x3eb905=![];!_0x3eb905&&typeof XMLHttpRequest!=_0x596795(0x34f)&&(_0x3eb905=new XMLHttpRequest()),_0x3eb905&&(CBcount_query=_0x596795(0x4c6)+server_ip+_0x596795(0x7b6)+session_name+_0x596795(0x66e)+user+_0x596795(0x397)+pass+_0x596795(0x16b)+campaign+_0x596795(0x6cf),_0x3eb905[_0x596795(0x63c)](_0x596795(0x584),'crm_query.php'),_0x3eb905[_0x596795(0x636)]('Content-Type','application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x3eb905[_0x596795(0x2fd)](CBcount_query),_0x3eb905['onreadystatechange']=function(){var _0x5bc3c1=_0x596795;if(_0x3eb905['readyState']==0x4&&_0x3eb905[_0x5bc3c1(0x6aa)]==0xc8){var _0x199f07='',_0x44ba2e='',_0x4ac066=0x0,_0x44db5d=_0x3eb905[_0x5bc3c1(0x137)],_0x18ebd2=_0x44db5d[_0x5bc3c1(0x65a)]('|'),_0x1a9366=_0x18ebd2[0x0];scheduled_callbacks_count==_0x5bc3c1(0x80f)&&(_0x1a9366=_0x18ebd2[0x1]);liveCBcounT=_0x18ebd2[0x1];if(_0x1a9366==0x0)var _0x439538='Non';else{var _0x439538=_0x1a9366;(LastCallbackCount<_0x1a9366||LastCallbackCount>_0x1a9366)&&(LastCallbackCount=_0x1a9366,LastCallbackViewed=0x0);(scheduled_callbacks_alert==_0x5bc3c1(0x157)||scheduled_callbacks_alert=='BLINK_DEFER'||scheduled_callbacks_alert==_0x5bc3c1(0x7ca))&&(_0x4ac066=0x1);if(LastCallbackViewed>0x0&&_0x4ac066>0x0)var _0x66d8e5=0x1;else(scheduled_callbacks_alert==_0x5bc3c1(0x306)||scheduled_callbacks_alert==_0x5bc3c1(0x357))&&(_0x199f07=_0x5bc3c1(0x47a),_0x44ba2e=_0x5bc3c1(0x1b9)),(scheduled_callbacks_alert==_0x5bc3c1(0x34b)||scheduled_callbacks_alert==_0x5bc3c1(0x157))&&(_0x199f07=_0x5bc3c1(0x5a4),_0x44ba2e='</b>'),(scheduled_callbacks_alert=='BLINK_RED'||scheduled_callbacks_alert==_0x5bc3c1(0x7ca))&&(_0x199f07='<span\x20class=\x22blink\x22><b>',_0x44ba2e=_0x5bc3c1(0x322));}}},delete _0x3eb905);}function CalLBacKsLisTCheck(){var _0x378e44=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x378e44(0x5c3);var _0x32928a=0x1;(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active=='FORCE')&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe('VDADpause','','','','','1',auto_pause_precall_code):(_0x32928a=0x0,alert_box(_0x378e44(0x172)),button_click_log=button_click_log+''+SQLdate+'-----CheckCallbacksFailed---'+VDRP_stage+'|'));if(_0x32928a==0x1){LastCallbackViewed=0x1;var _0x24b334=![];!_0x24b334&&typeof XMLHttpRequest!=_0x378e44(0x34f)&&(_0x24b334=new XMLHttpRequest());if(_0x24b334){var _0x13d2d8=_0x378e44(0x4c6)+server_ip+'&session_name='+session_name+_0x378e44(0x66e)+user+_0x378e44(0x397)+pass+'&ACTION=CalLBacKLisT&campaign='+campaign+_0x378e44(0x6cf);_0x24b334[_0x378e44(0x63c)](_0x378e44(0x584),'crm_query.php'),_0x24b334['setRequestHeader']('Content-Type',_0x378e44(0x404)),_0x24b334[_0x378e44(0x2fd)](_0x13d2d8),_0x24b334[_0x378e44(0x18a)]=function(){var _0x32e50b=_0x378e44;if(_0x24b334['readyState']==0x4&&_0x24b334[_0x32e50b(0x6aa)]==0xc8){var _0x5c7d25=null;_0x5c7d25=_0x24b334[_0x32e50b(0x137)];var _0x31e34b=_0x5c7d25[_0x32e50b(0x65a)]('\x0a'),_0x529047=_0x31e34b[0x0],_0x5bb9b8=0x0,_0x509384=0x0,_0x2f2d47=_0x32e50b(0x335);while(_0x5bb9b8<_0x529047){_0x5bb9b8++,loop_s=_0x5bb9b8[_0x32e50b(0x81e)]();if(loop_s[_0x32e50b(0x42d)](/1$|3$|5$|7$|9$/))var _0x528c9b='#DDDDFF';else var _0x528c9b=_0x32e50b(0x723);var _0x3a4ddb=_0x5bb9b8+_0x509384,_0xb7a1fb=_0x31e34b[_0x3a4ddb][_0x32e50b(0x65a)](_0x32e50b(0x4ba)),_0x4953d4=_0xb7a1fb[0x0]+'\x20'+_0xb7a1fb[0x1],_0x591b12=_0xb7a1fb[0x2],_0x37389f=_0xb7a1fb[0x2];disable_alter_custphone==_0x32e50b(0x150)&&(_0x37389f=_0x32e50b(0x685));var _0x5b09d3=_0xb7a1fb[0x3],_0x4b8182=_0xb7a1fb[0x4],_0x337076=_0xb7a1fb[0x5],_0x1a2ded=_0xb7a1fb[0x6],_0x3a0217=_0xb7a1fb[0x7],_0x46fc04=_0xb7a1fb[0x8],_0x142d14=_0xb7a1fb[0x9],_0x137d1f=_0xb7a1fb[0xa],_0x233f6=_0xb7a1fb[0xb],_0x152ad1=_0xb7a1fb[0xd],_0x39c2e9=_0x142d14,_0x50e50a='';_0x39c2e9['length']>0xa&&(_0x39c2e9=_0x39c2e9[_0x32e50b(0x7e8)](0x0,0xa),_0x39c2e9=_0x39c2e9+_0x32e50b(0x618));if(_0x137d1f>0x0){var _0x47e796='<a\x20href=\x22#\x22\x20onclick=\x22new_callback_call(\x27'+_0x5b09d3+'\x27,\x27'+_0x4b8182+_0x32e50b(0x287);_0x233f6[_0x32e50b(0x35c)]<0x3&&(_0x47e796=_0x32e50b(0x655)),_0x2f2d47=_0x2f2d47+'<tr\x20bgcolor=\x22'+_0x528c9b+'\x22><td\x20style=\x22text-align:\x20center;\x22>'+_0x5bb9b8+_0x32e50b(0x151)+_0x46fc04+_0x32e50b(0x4ac)+_0x37389f+_0x32e50b(0x1ff)+_0x39c2e9+_0x32e50b(0x6d7)+_0x4b8182+_0x32e50b(0x6e6)+_0x5b09d3+_0x32e50b(0x617)+_0x4953d4+_0x32e50b(0x537)+_0x337076+_0x32e50b(0x151)+_0x3a0217+'</strong></td><td\x20style=\x22text-align:\x20center;\x22><a\x20href=\x22#\x22\x20class=\x22btn\x20btn-warning\x20btn-icon\x20btn-sm\x20me-1\x20last-calls-action-dial\x22\x20onclick=\x22NeWManuaLDiaLCalL(\x27CALLLOG\x27,\x271\x27,\x27'+_0x37389f+_0x32e50b(0x6e6)+_0x4b8182+_0x32e50b(0x67e)+_0x50e50a;}else _0x2f2d47=_0x2f2d47+_0x32e50b(0x62c)+_0x528c9b+_0x32e50b(0x283)+_0x5bb9b8+_0x32e50b(0x151)+_0x46fc04+_0x32e50b(0x4ac)+_0x37389f+'</strong></td><td\x20style=\x22text-align:\x20center;\x22>'+_0x39c2e9+_0x32e50b(0x1d1)+_0x4953d4+'</td><td\x20style=\x22text-align:\x20center;\x22>'+_0x337076+_0x32e50b(0x537)+_0x3a0217+_0x32e50b(0x7de);}_0x2f2d47=_0x2f2d47+_0x32e50b(0x40a),$(_0x32e50b(0x240))[_0x32e50b(0x628)](_0x2f2d47);}},delete _0x24b334;}}}function InternalChatsCheck(_0x19dbb4){var _0x35db2d=_0x1c96bb,_0x4cf69f=![],_0x5192a8='',_0x575118='';!_0x4cf69f&&typeof XMLHttpRequest!=_0x35db2d(0x34f)&&(_0x4cf69f=new XMLHttpRequest());if(_0x4cf69f){var _0x484f2b=_0x35db2d(0x4c6)+server_ip+_0x35db2d(0x7b6)+session_name+_0x35db2d(0x66e)+user+'&pass='+pass+_0x35db2d(0x1ca);_0x4cf69f[_0x35db2d(0x63c)]('POST','crm_query.php'),_0x4cf69f[_0x35db2d(0x636)](_0x35db2d(0x638),'application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x4cf69f['send'](_0x484f2b),_0x4cf69f['onreadystatechange']=function(){var _0x3da2bc=_0x35db2d;if(_0x4cf69f[_0x3da2bc(0x30f)]==0x4&&_0x4cf69f[_0x3da2bc(0x6aa)]==0xc8){var _0x113254=null;_0x113254=_0x4cf69f[_0x3da2bc(0x137)];var _0x4561b5=_0x113254[_0x3da2bc(0x65a)]('|'),_0x1a5a33=_0x4561b5[0x0],_0x283e06=_0x4561b5[0x1],_0x5617a3=_0x4561b5[0x2];_0x1a5a33>0x0?_0x283e06>0x0?($(_0x3da2bc(0x21e))[_0x3da2bc(0x45c)](),$(_0x3da2bc(0x2c6))[_0x3da2bc(0x6c6)](_0x3da2bc(0x6a5),_0x3da2bc(0x68d))):($(_0x3da2bc(0x21e))['hide'](),$('#chat-icon')[_0x3da2bc(0x6c6)](_0x3da2bc(0x6a5),_0x3da2bc(0x68d))):(_0x1a5a33='NO',$(_0x3da2bc(0x21e))[_0x3da2bc(0x345)](),$(_0x3da2bc(0x2c6))['css'](_0x3da2bc(0x6a5),_0x3da2bc(0x67b)));var _0x25ce98=$(_0x3da2bc(0x564));$('#InternalMessageCount')&&(_0x5617a3>$(_0x3da2bc(0x1e7))[_0x3da2bc(0x1b2)]()&&$(_0x3da2bc(0x1e7))[_0x3da2bc(0x1b2)]()>0x0&&!$(_0x3da2bc(0x6a7))[_0x3da2bc(0x789)](_0x3da2bc(0x677))&&$(_0x3da2bc(0x52b))[_0x3da2bc(0x28b)](),$(_0x3da2bc(0x1e7))[_0x3da2bc(0x1b2)](_0x5617a3));}};}}function alert_box(_0x5cb6a1){var _0x5516df=_0x1c96bb;alert_box_close_counter<=0x0&&(agent_events(_0x5516df(0x563),_0x5cb6a1,aec),aec++),$(_0x5516df(0x4e4))[_0x5516df(0x628)](_0x5cb6a1),$('#AlertBox')[_0x5516df(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5});}function CalLBacKsLisTClose(){button_click_log=button_click_log+''+SQLdate+'-----CalLBacKsLisTClose---|',auto_resume_precall=='Y'&&AutoDial_ReSume_PauSe('VDADready'),CalLBacKsCounTCheck();}function CalLLoGVieWClose(){var _0x3f1756=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3f1756(0x18e),auto_resume_precall=='Y'&&AutoDial_ReSume_PauSe(_0x3f1756(0x374));}function LeaDSearcHVieWClose(){var _0xbf3fc4=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xbf3fc4(0x7db),auto_resume_precall=='Y'&&inbound_lead_search<0x1&&AutoDial_ReSume_PauSe(_0xbf3fc4(0x374)),ShoWGenDerPulldown(),hideDiv('SearcHForMDisplaYBox');}function ContactSearcHVieWClose(){var _0x2de6cd=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x2de6cd(0x780),ShoWGenDerPulldown(),hideDiv(_0x2de6cd(0x7d9));}function new_callback_call(_0x542734,_0x3a82d5,_0x3b5bcf){var _0x743906=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----new_callback_call---'+_0x542734+'\x20'+_0x3a82d5+'\x20'+_0x3b5bcf+'|',waiting_on_dispo>0x0?(alert_box(_0x743906(0x605)+agent_log_id+_0x743906(0x4ec)+waiting_on_dispo+''),button_click_log=button_click_log+''+SQLdate+_0x743906(0x2bc)+agent_log_id+'\x20'+waiting_on_dispo+'|'):(LastCallbackViewed=0x1,LastCallbackCount=LastCallbackCount-0x1,auto_dial_level=0x0,manual_dial_in_progress=0x1,MainPanelToFront(),buildDiv(_0x743906(0x30b)),alt_phone_dialing==0x1&&buildDiv(_0x743906(0x2ef)),$(_0x743906(0x4d5))[_0x743906(0x789)](_0x743906(0x677),!![]),ManualDialNext(_0x542734,_0x3a82d5,'','','','0','',_0x3b5bcf));}function manual_dial_finished(){alt_phone_dialing=starting_alt_phone_dialing,auto_dial_level=starting_dial_level,MainPanelToFront(),CalLBacKsCounTCheck(),manual_dial_in_progress=0x0;}function NeWManuaLDiaLCalL(_0x37986e,_0x4b2e33,_0x25e691,_0x181b44,_0xabd0f4,_0x4c39c9,_0x4d289d){var _0x5c0fa2=_0x1c96bb;_0x4c39c9=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x5c0fa2(0x5cd)+_0x37986e+'\x20'+_0x4b2e33+'\x20'+_0x25e691+'\x20'+_0x181b44+'\x20'+_0xabd0f4+'|');_0x4d289d==_0x5c0fa2(0x18f)&&(manual_entry_dial=0x1);var _0x4a7a5c=0x1;if(dial_method=='MANUAL'&&(lastcustchannel[_0x5c0fa2(0x35c)]>0x0||manual_call_live>0x0))_0x4a7a5c=0x0,alert_box(_0x5c0fa2(0x3cc));else starting_dial_level!=0x0&&dial_next_failed<0x1&&(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active==_0x5c0fa2(0x464))&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe('VDADpause','','','','','1',auto_pause_precall_code):(_0x4a7a5c=0x0,alert_box('VOUS\x20DEVEZ\x20TRE\x20EN\x20PAUSE\x20POUR\x20COMPOSER\x20MANUELLEMENT\x20UN\x20NOUVEAU\x20LEAD\x20EN\x20MODE\x20AUTO-DIAL'),button_click_log=button_click_log+''+SQLdate+_0x5c0fa2(0x7c4)+VDRP_stage+'|'));_0x4a7a5c==0x1&&(_0x37986e==_0x5c0fa2(0x60a)?NeWManuaLDiaLCalLSubmiTfast():(_0x37986e=='CALLLOG'&&(hideDiv('SearcHForMDisplaYBox'),hideDiv('SearcHResultSDisplaYBox'),$('#MDDiaLCodE')[_0x5c0fa2(0x1b2)](_0x4b2e33),$(_0x5c0fa2(0x1ae))[_0x5c0fa2(0x1b2)](_0x25e691),$(_0x5c0fa2(0x704))['val'](_0x25e691),$('#MDLeadID')['val'](_0x181b44),$(_0x5c0fa2(0x688))[_0x5c0fa2(0x1b2)](_0xabd0f4),disable_alter_custphone==_0x5c0fa2(0x150)&&$('#MDPhonENumbeR')['val'](_0x5c0fa2(0x685))),_0x37986e==_0x5c0fa2(0x141)&&(hideDiv('SearcHForMDisplaYBox'),hideDiv(_0x5c0fa2(0x616)),$('#MDDiaLCodE')['val'](_0x4b2e33),$(_0x5c0fa2(0x1ae))[_0x5c0fa2(0x1b2)](_0x25e691),$(_0x5c0fa2(0x63b))[_0x5c0fa2(0x1b2)](_0x181b44),$(_0x5c0fa2(0x688))[_0x5c0fa2(0x1b2)](_0xabd0f4)),agent_allow_group_alias=='Y'&&($('#ManuaLDiaLGrouPSelecteD')['html'](_0x5c0fa2(0x7b0)+active_group_alias+''),$(_0x5c0fa2(0x758))['html'](_0x5c0fa2(0x725))),in_group_dial_display>0x0&&($(_0x5c0fa2(0x45b))[_0x5c0fa2(0x628)]('Dial\x20In-Group:\x20'+active_ingroup_dial+''),$('#ManuaLDiaLInGrouP')[_0x5c0fa2(0x628)](_0x5c0fa2(0x234))),(in_group_dial=='BOTH'||in_group_dial==_0x5c0fa2(0x6b0))&&(nocall_dial_flag='DISABLED',$('#NoDiaLSelecteD')[_0x5c0fa2(0x628)](_0x5c0fa2(0x5ae)+nocall_dial_flag+'\x20&nbsp;\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22NoDiaLSwitcH(\x27\x27);\x22>Click\x20Here\x20to\x20Activate</a>')),$(_0x5c0fa2(0x27f))[_0x5c0fa2(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5}),NeWManuaLDiaLBox_open=0x1,agent_events(_0x5c0fa2(0x198),'',aec),aec++,$('#search_phone_number')[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x5ab))['val'](''),$(_0x5c0fa2(0x400))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x526))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x35d))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x3ad))['val'](''),$(_0x5c0fa2(0x3e6))[_0x5c0fa2(0x1b2)](''),$(_0x5c0fa2(0x788))[_0x5c0fa2(0x1b2)]('')));}function LeaDSearcHSelecT(_0x373b58,_0x3ca99f){var _0x3aefe3=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----LeaDSearcHSelecT---'+_0x373b58+'\x20'+_0x3ca99f+'|';var _0x2c9ccb=0x0;VD_live_customer_call==0x1&&(_0x2c9ccb=0x1);if(_0x2c9ccb==0x1){if(typeof _0x157ec6==_0x3aefe3(0x34f)){var _0x157ec6=![];!_0x157ec6&&typeof XMLHttpRequest!='undefined'&&(_0x157ec6=new XMLHttpRequest()),_0x157ec6&&(checkVDAI_query='server_ip='+server_ip+_0x3aefe3(0x7b6)+session_name+_0x3aefe3(0x66e)+user+_0x3aefe3(0x397)+pass+'&campaign='+campaign+_0x3aefe3(0x7a1)+_0x3aefe3(0x650)+_0x373b58+_0x3aefe3(0x44a)+$(_0x3aefe3(0x486))['val']()+'&agent_log_id='+agent_log_id+_0x3aefe3(0x466)+$(_0x3aefe3(0x5e7))[_0x3aefe3(0x1b2)]()+_0x3aefe3(0x1bb)+VU_user_group+'&conf_exten='+session_id,_0x157ec6[_0x3aefe3(0x63c)](_0x3aefe3(0x584),'crm_query.php'),_0x157ec6[_0x3aefe3(0x636)](_0x3aefe3(0x638),_0x3aefe3(0x404)),_0x157ec6[_0x3aefe3(0x2fd)](checkVDAI_query),_0x157ec6[_0x3aefe3(0x18a)]=function(){var _0x451b83=_0x3aefe3;if(_0x157ec6[_0x451b83(0x30f)]==0x4&&_0x157ec6[_0x451b83(0x6aa)]==0xc8){var _0xfe6575=null;lead_change=_0x157ec6[_0x451b83(0x137)];var _0x1fee8f=lead_change[_0x451b83(0x65a)]('\x0a');if(_0x1fee8f[0x0]=='1'){var _0x27235e=_0x1fee8f[0x1][_0x451b83(0x65a)]('|');VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three;var _0x415a43='',_0x97f610=_0x1fee8f[0x2][_0x451b83(0x65a)]('|');_0x97f610[0x0][_0x451b83(0x35c)]>0x5&&(VDIC_web_form_address=_0x97f610[0x0]);var _0x49048d=_0x97f610[0x1],_0x3f274b=_0x97f610[0x2],_0x1b0314=_0x97f610[0x3];VDCL_group_id=_0x97f610[0x4],CalL_ScripT_id=_0x97f610[0x5],CalL_AutO_LauncH=_0x97f610[0x6],CalL_XC_a_Dtmf=_0x97f610[0x7],CalL_XC_a_NuMber=_0x97f610[0x8],CalL_XC_b_Dtmf=_0x97f610[0x9],CalL_XC_b_NuMber=_0x97f610[0xa];_0x97f610[0xb]['length']>0x1&&_0x97f610[0xb]!=_0x451b83(0x2f1)?LIVE_default_xfer_group=_0x97f610[0xb]:LIVE_default_xfer_group=default_xfer_group;_0x97f610[0xc][_0x451b83(0x35c)]>0x1&&_0x97f610[0xc]!=_0x451b83(0x2e7)?LIVE_campaign_recording=_0x97f610[0xc]:LIVE_campaign_recording=campaign_recording;_0x97f610[0xd][_0x451b83(0x35c)]>0x1&&_0x97f610[0xd]!=_0x451b83(0x502)?LIVE_campaign_rec_filename=_0x97f610[0xd]:LIVE_campaign_rec_filename=campaign_rec_filename;_0x97f610[0xe][_0x451b83(0x35c)]>0x1&&_0x97f610[0xe]!=_0x451b83(0x502)?LIVE_default_group_alias=_0x97f610[0xe]:LIVE_default_group_alias=default_group_alias;_0x97f610[0xf][_0x451b83(0x35c)]>0x1&&_0x97f610[0xf]!=_0x451b83(0x502)?LIVE_caller_id_number=_0x97f610[0xf]:LIVE_caller_id_number=default_group_alias_cid;_0x97f610[0x10]['length']>0x0?LIVE_web_vars=_0x97f610[0x10]:LIVE_web_vars=default_web_vars;_0x97f610[0x11][_0x451b83(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x97f610[0x11]);CalL_XC_c_NuMber=_0x97f610[0x15],CalL_XC_d_NuMber=_0x97f610[0x16],CalL_XC_e_NuMber=_0x97f610[0x17],CalL_XC_e_NuMber=_0x97f610[0x17],uniqueid_status_display=_0x97f610[0x18],uniqueid_status_prefix=_0x97f610[0x1a],did_id=_0x97f610[0x1c],did_extension=_0x97f610[0x1d],did_pattern=_0x97f610[0x1e],did_description=_0x97f610[0x1f],closecallid=_0x97f610[0x20],xfercallid=_0x97f610[0x21];_0x97f610[0x22][_0x451b83(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x97f610[0x22]);_0x97f610[0x23][_0x451b83(0x35c)]>0x1&&(CalL_ScripT_color=_0x97f610[0x23]);_0x97f610[0x24][_0x451b83(0x35c)]>0x0&&(CalL_ScripT_id_two=_0x97f610[0x24]);_0x97f610[0x25][_0x451b83(0x35c)]>0x0&&(CalL_ScripT_color_two=_0x97f610[0x25]);_0x97f610[0x26][_0x451b83(0x35c)]>0x0&&(browser_alert_sound=_0x97f610[0x26],browser_alert_volume=_0x97f610[0x27]);$('#lead_id')[_0x451b83(0x1b2)](_0x27235e[0x0]),LeaDPreVDispO=_0x1fee8f[0x6],fronter=_0x1fee8f[0x7],$(_0x451b83(0x48f))[_0x451b83(0x1b2)](_0x1fee8f[0x8]),$(_0x451b83(0x416))[_0x451b83(0x1b2)](_0x1fee8f[0x9]),$(_0x451b83(0x465))['val'](_0x1fee8f[0xa]),$(_0x451b83(0x40c))['val'](_0x1fee8f[0xb]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x451b83(0x150)){var _0x732687=$(_0x451b83(0x69e));disable_alter_custphone=='Y'&&_0x732687[_0x451b83(0x1b2)](_0x1fee8f[0xc]);}$(_0x451b83(0x5e7))['val'](_0x1fee8f[0xc]),$(_0x451b83(0x79a))[_0x451b83(0x1b2)](_0x1fee8f[0xd]),$(_0x451b83(0x485))['val'](_0x1fee8f[0xe]),$('#middle_initial')[_0x451b83(0x1b2)](_0x1fee8f[0xf]),$('#last_name')[_0x451b83(0x1b2)](_0x1fee8f[0x10]),$(_0x451b83(0x47d))['val'](_0x1fee8f[0x11]),$(_0x451b83(0x826))[_0x451b83(0x1b2)](_0x1fee8f[0x12]),$(_0x451b83(0x22b))['val'](_0x1fee8f[0x13]),$('#city')[_0x451b83(0x1b2)](_0x1fee8f[0x14]),$('#state')[_0x451b83(0x1b2)](_0x1fee8f[0x15]),$(_0x451b83(0x300))[_0x451b83(0x1b2)](_0x1fee8f[0x16]),$('#postal_code')['val'](_0x1fee8f[0x17]),$(_0x451b83(0x816))[_0x451b83(0x1b2)](_0x1fee8f[0x18]),$(_0x451b83(0x1b7))['val'](_0x1fee8f[0x19]),$('#date_of_birth')[_0x451b83(0x1b2)](_0x1fee8f[0x1a]),$(_0x451b83(0x59a))[_0x451b83(0x1b2)](_0x1fee8f[0x1b]),$(_0x451b83(0x1c3))[_0x451b83(0x1b2)](_0x1fee8f[0x1c]),$(_0x451b83(0x6bb))[_0x451b83(0x1b2)](_0x1fee8f[0x1d]);var _0x3805b3=new RegExp('!N','g');_0x1fee8f[0x1e]=_0x1fee8f[0x1e][_0x451b83(0x74b)](_0x3805b3,'\x0a'),$(_0x451b83(0x1af))[_0x451b83(0x1b2)](_0x1fee8f[0x1e]),$('#called_count')['val'](_0x1fee8f[0x1f]),CBentry_time=_0x1fee8f[0x20],CBcallback_time=_0x1fee8f[0x21],CBuser=_0x1fee8f[0x22],CBcomments=_0x1fee8f[0x23],dialed_number=_0x1fee8f[0x24],dialed_label=_0x1fee8f[0x25],source_id=_0x1fee8f[0x26],EAphone_code=_0x1fee8f[0x27],EAphone_number=_0x1fee8f[0x28],EAalt_phone_notes=_0x1fee8f[0x29],EAalt_phone_active=_0x1fee8f[0x2a],EAalt_phone_count=_0x1fee8f[0x2b],$(_0x451b83(0x6d0))['val'](_0x1fee8f[0x2c]),$(_0x451b83(0x6ca))['val'](_0x1fee8f[0x2d]),$(_0x451b83(0x29a))[_0x451b83(0x1b2)](_0x1fee8f[0x2f]),custom_field_names=_0x1fee8f[0x30],custom_field_values=_0x1fee8f[0x31],custom_field_types=_0x1fee8f[0x32];if(qc_enabled>0x0){$(_0x451b83(0x471))[_0x451b83(0x1b2)](_0x1fee8f[0x35]),$('#audit_comments_button')[_0x451b83(0x1b2)](_0x1fee8f[0x35]);comments_all_tabs==_0x451b83(0x20d)&&$(_0x451b83(0x31f))[_0x451b83(0x1b2)](_0x1fee8f[0x35]);var _0x2f3b1a=new RegExp('!N','g'),_0x517249=new RegExp('--------ADMINFONTBEGIN--------','g'),_0x208537=new RegExp('--------ADMINFONTEND--------','g');_0x1fee8f[0x36]=_0x1fee8f[0x36][_0x451b83(0x74b)](_0x2f3b1a,'\x0a'),_0x1fee8f[0x36]=_0x1fee8f[0x36][_0x451b83(0x74b)](_0x517249,''),_0x1fee8f[0x36]=_0x1fee8f[0x36][_0x451b83(0x74b)](_0x208537,''),$(_0x451b83(0x651))['html'](_0x1fee8f[0x36]);}$(_0x451b83(0x7fa))[_0x451b83(0x1b2)](_0x1fee8f[0x37]),$(_0x451b83(0x7bf))['html']('<span\x20class=\x22label\x20label-call-direction\x20label-warning\x22>'+_0x1fee8f[0x37]+_0x451b83(0x1b9)),$(_0x451b83(0x6d2))[_0x451b83(0x1b2)](_0x1fee8f[0x3a]),entry_date=_0x1fee8f[0x3b],did_custom_one=_0x1fee8f[0x3c],did_custom_two=_0x1fee8f[0x3d],did_custom_three=_0x1fee8f[0x3e],did_custom_four=_0x1fee8f[0x3f],did_custom_five=_0x1fee8f[0x40],status_group_statuses_data=_0x1fee8f[0x41],last_call_date=_0x1fee8f[0x42],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data['length']>0x7){var _0x1d5216=status_group_statuses_data[_0x451b83(0x65a)](','),_0x1780a5=_0x1d5216[_0x451b83(0x35c)],_0x29e0ec=0x0;while(_0x29e0ec<_0x1780a5){var _0x171adc=_0x1d5216[_0x29e0ec],_0x2e11b9=_0x171adc['split']('|');gVARstatuses[_0x29e0ec]=_0x2e11b9[0x0],gVARstatusnames[_0x29e0ec]=_0x2e11b9[0x1],gVARSELstatuses[_0x29e0ec]='Y',gVARCBstatuses[_0x29e0ec]=_0x2e11b9[0x2],gVARMINstatuses[_0x29e0ec]=_0x2e11b9[0x3],gVARMAXstatuses[_0x29e0ec]=_0x2e11b9[0x4],gVARCBstatuses[_0x29e0ec]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+'\x20'+_0x2e11b9[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x29e0ec++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x451b83(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x451b83(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses[_0x451b83(0x57f)](gVARSELstatuses),VARCBstatuses=sVARCBstatuses[_0x451b83(0x57f)](gVARCBstatuses),VARMINstatuses=sVARMINstatuses[_0x451b83(0x57f)](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x451b83(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+'\x20'+gVARCBstatusesLIST+'\x20',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0x25646e='',_0x107f57='',_0x2b210a='',_0x17ddc7='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x13c251=0x0;while(HK_statuses_camp>_0x13c251){var _0x49cf5b=0x0;while(VD_statuses_ct>_0x49cf5b){HKstatuses[_0x13c251]==VARstatuses[_0x49cf5b]&&(hotkeys[HKhotkeys[_0x13c251]]=HKstatuses[_0x13c251]+_0x451b83(0x828)+HKstatusnames[_0x13c251],HKhotkeys[_0x13c251]>=0x1&&HKhotkeys[_0x13c251]<=0x3&&(_0x107f57=_0x107f57+''+HKhotkeys[_0x13c251]+_0x451b83(0x4ec)+HKstatuses[_0x13c251]+_0x451b83(0x4ec)+HKstatusnames[_0x13c251]+_0x451b83(0x40f)),HKhotkeys[_0x13c251]>=0x4&&HKhotkeys[_0x13c251]<=0x6&&(_0x2b210a=_0x2b210a+''+HKhotkeys[_0x13c251]+_0x451b83(0x4ec)+HKstatuses[_0x13c251]+'\x20-\x20'+HKstatusnames[_0x13c251]+_0x451b83(0x40f)),HKhotkeys[_0x13c251]>=0x7&&HKhotkeys[_0x13c251]<=0x9&&(_0x17ddc7=_0x17ddc7+''+HKhotkeys[_0x13c251]+_0x451b83(0x4ec)+HKstatuses[_0x13c251]+_0x451b83(0x4ec)+HKstatusnames[_0x13c251]+_0x451b83(0x40f)),_0x25646e=_0x25646e+''+HKhotkeys[_0x13c251]+'\x20'+HKstatuses[_0x13c251]+'\x20'+HKstatusnames[_0x13c251]+'|\x20'),_0x49cf5b++;}_0x13c251++;}}agent_display_fields[_0x451b83(0x42d)](adfREGentry_date)&&$(_0x451b83(0x699))[_0x451b83(0x628)](entry_date);agent_display_fields['match'](adfREGsource_id)&&$(_0x451b83(0x7d3))['html'](source_id);if(agent_display_fields[_0x451b83(0x42d)](adfREGdate_of_birth)){}agent_display_fields[_0x451b83(0x42d)](adfREGrank)&&$(_0x451b83(0x284))[_0x451b83(0x628)]($(_0x451b83(0x6d0))[_0x451b83(0x1b2)]());agent_display_fields[_0x451b83(0x42d)](adfREGowner)&&$(_0x451b83(0x59e))['html']($('#owner')['val']());agent_display_fields['match'](adfREGlast_local_call_time)&&$(_0x451b83(0x2e6))[_0x451b83(0x628)](last_call_date);if(hide_gender>0x0)$(_0x451b83(0x578))[_0x451b83(0x1b2)](_0x1fee8f[0x19]);else{var _0x28db84=0x0;if($(_0x451b83(0x1b7))[_0x451b83(0x1b2)]()=='M')var _0x28db84=0x1;if($(_0x451b83(0x1b7))[_0x451b83(0x1b2)]()=='F')var _0x28db84=0x2;$(_0x451b83(0x578))[_0x451b83(0x1b2)]($('#gender')[_0x451b83(0x1b2)]());}hideDiv('SearcHForMDisplaYBox'),hideDiv(_0x451b83(0x616)),$(_0x451b83(0x1d4))[_0x451b83(0x1b2)](''),$(_0x451b83(0x5ab))[_0x451b83(0x1b2)](''),$(_0x451b83(0x400))[_0x451b83(0x1b2)](''),$('#search_first_name')['val'](''),$(_0x451b83(0x35d))[_0x451b83(0x1b2)](''),$(_0x451b83(0x3ad))[_0x451b83(0x1b2)](''),$(_0x451b83(0x3e6))['val'](''),$(_0x451b83(0x788))[_0x451b83(0x1b2)](''),lead_dial_number=$(_0x451b83(0x5e7))['val']();var _0x5dde99=$(_0x451b83(0x5e7))[_0x451b83(0x1b2)](),_0x4c1b6b=phone_number_format(_0x5dde99),_0x297c83=dialed_number,_0x299a34=phone_number_format(_0x297c83);if(CBentry_time[_0x451b83(0x35c)]>0x2){$(_0x451b83(0x782))[_0x451b83(0x628)](_0x451b83(0x25e)),$(_0x451b83(0x6ff))[_0x451b83(0x628)]('<b>Last\x20Call:\x20</b>'+CBentry_time),$('#CBcommentsBoxB')[_0x451b83(0x628)](_0x451b83(0x57d)+CBcallback_time),$('#CBcommentsBoxC')[_0x451b83(0x628)](_0x451b83(0x488)+CBuser),$(_0x451b83(0x1e1))['html'](_0x451b83(0x3c7)+CBcomments);if(show_previous_callback==_0x451b83(0x20d)){}}(quick_transfer_button=='IN_GROUP'||quick_transfer_button=='LOCKED_IN_GROUP')&&(quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=default_xfer_group),$(_0x451b83(0x7e6))[_0x451b83(0x628)](_0x451b83(0x596)+lastcustchannel+_0x451b83(0x6e6)+lastcustserverip+_0x451b83(0x6cd)+quick_transfer_button_locked+_0x451b83(0x753)));prepopulate_transfer_preset_enabled>0x0&&((prepopulate_transfer_preset==_0x451b83(0x7a6)||prepopulate_transfer_preset==_0x451b83(0x46b))&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_a_NuMber),$(_0x451b83(0x747))[_0x451b83(0x1b2)]('D1')),(prepopulate_transfer_preset==_0x451b83(0x572)||prepopulate_transfer_preset==_0x451b83(0x4f3))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_b_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D2')),(prepopulate_transfer_preset==_0x451b83(0x7da)||prepopulate_transfer_preset=='LOCKED_PRESET_3')&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_c_NuMber),$('#xfername')['val']('D3')),(prepopulate_transfer_preset=='PRESET_4'||prepopulate_transfer_preset==_0x451b83(0x22f))&&($(_0x451b83(0x5d3))['val'](CalL_XC_d_NuMber),$(_0x451b83(0x747))[_0x451b83(0x1b2)]('D4')),(prepopulate_transfer_preset==_0x451b83(0x5a7)||prepopulate_transfer_preset==_0x451b83(0x165))&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_e_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D5')));(quick_transfer_button==_0x451b83(0x7a6)||quick_transfer_button==_0x451b83(0x572)||quick_transfer_button=='PRESET_3'||quick_transfer_button==_0x451b83(0x5ac)||quick_transfer_button==_0x451b83(0x5a7)||quick_transfer_button==_0x451b83(0x46b)||quick_transfer_button==_0x451b83(0x4f3)||quick_transfer_button==_0x451b83(0x4da)||quick_transfer_button=='LOCKED_PRESET_4'||quick_transfer_button=='LOCKED_PRESET_5')&&((quick_transfer_button==_0x451b83(0x7a6)||quick_transfer_button==_0x451b83(0x46b))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_a_NuMber),$('#xfername')['val']('D1')),(quick_transfer_button==_0x451b83(0x572)||quick_transfer_button==_0x451b83(0x4f3))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_b_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D2')),(quick_transfer_button==_0x451b83(0x7da)||quick_transfer_button==_0x451b83(0x4da))&&($(_0x451b83(0x5d3))[_0x451b83(0x1b2)](CalL_XC_c_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D3')),(quick_transfer_button==_0x451b83(0x5ac)||quick_transfer_button=='LOCKED_PRESET_4')&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_d_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D4')),(quick_transfer_button==_0x451b83(0x5a7)||quick_transfer_button==_0x451b83(0x165))&&($('#xfernumber')[_0x451b83(0x1b2)](CalL_XC_e_NuMber),$('#xfername')[_0x451b83(0x1b2)]('D5')),quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=$('#xfernumber')[_0x451b83(0x1b2)]()),$(_0x451b83(0x7e6))['html'](_0x451b83(0x1d3)+lastcustchannel+_0x451b83(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27'+quick_transfer_button_locked+'\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_quickxfer.gif\x22\x20border=\x220\x22\x20alt=\x22QUICK\x20TRANSFER\x22\x20/></a>'));var _0x55ecfa=0x0,_0x2ce89d='',_0x1a71a0='';while(_0x55ecfa<XFgroupCOUNT){VARxfergroups[_0x55ecfa]==LIVE_default_xfer_group?_0x1a71a0='selected\x20':_0x1a71a0='',_0x2ce89d=_0x2ce89d+_0x451b83(0x182)+_0x1a71a0+'value=\x22'+VARxfergroups[_0x55ecfa]+'\x22>'+VARxfergroupsnames[_0x55ecfa]+_0x451b83(0x48e),_0x55ecfa++;}$('#XfeRGrouPLisT')['html']('<select\x20size=\x221\x22\x20name=\x22XfeRGrouP\x22\x20class=\x22form-select\x22\x20id=\x22XfeRGrouP\x22\x20onChange=\x22XferAgentSelectLink();return\x20false;\x22>'+_0x2ce89d+_0x451b83(0x51b));VDCL_group_id['length']>0x1?group=VDCL_group_id:group=campaign;(dialed_label[_0x451b83(0x35c)]<0x2||dialed_label==_0x451b83(0x502))&&(dialed_label=_0x451b83(0x38c));if(hide_gender<0x1){var _0x42057f=$(_0x451b83(0x578))[_0x451b83(0x1b2)]();$(_0x451b83(0x1b7))[_0x451b83(0x1b2)](_0x42057f);}LeaDDispO='';var _0x1b27d5=new RegExp(_0x451b83(0x6d5),'ig');VDIC_web_form_address[_0x451b83(0x42d)](_0x1b27d5)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x451b83(0x18f),'CUSTOM','1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x451b83(0x74b)](_0x1b27d5,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x451b83(0x18f),_0x451b83(0x402),'1');VDIC_web_form_address_two[_0x451b83(0x42d)](_0x1b27d5)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x451b83(0x18f),_0x451b83(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x451b83(0x74b)](_0x1b27d5,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x451b83(0x18f),_0x451b83(0x402),'2');VDIC_web_form_address_three['match'](_0x1b27d5)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x451b83(0x18f),_0x451b83(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0x1b27d5,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x451b83(0x18f),_0x451b83(0x402),'3');if(view_scripts==0x1){if(CalL_ScripT_id[_0x451b83(0x35c)]>0x0){var _0x3c77fd=_0x451b83(0x5d4),_0x3bd5dd=URLDecode(_0x3c77fd,_0x451b83(0x18f),_0x451b83(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x451b83(0x5c2)||LIVE_campaign_recording=='ALLFORCE')?(delayed_script_load=_0x451b83(0x18f),RefresHScript(_0x451b83(0x666))):load_script_contents(_0x451b83(0x376),'');}else RefresHScript('','YES');if(CalL_ScripT_id_two[_0x451b83(0x35c)]>0x0&&SSenable_second_script>0x0){var _0x3c77fd=_0x451b83(0x5d4),_0x3bd5dd=URLDecode(_0x3c77fd,_0x451b83(0x18f),'DEFAULT','0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x451b83(0x5c2)||LIVE_campaign_recording==_0x451b83(0x41f))?(delayed_script_load=_0x451b83(0x18f),RefresHScript2(_0x451b83(0x666))):load_script_contents(_0x451b83(0x250),'');}else RefresHScript2('',_0x451b83(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad();CalL_AutO_LauncH==_0x451b83(0x6af)&&(delayed_script_load=='YES'&&load_script_contents(_0x451b83(0x376),''),ScriptPanelToFront());CalL_AutO_LauncH==_0x451b83(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load==_0x451b83(0x18f)&&load_script_contents('Script2Contents',''),ScriptPanel2ToFront());api_switch_lead_triggered=0x0;if(useIE>0x0){var _0x21e2bd=new RegExp(_0x451b83(0x5a2),'ig');if(CopY_tO_ClipboarD[_0x451b83(0x42d)](_0x21e2bd))var _0xa12353=0x1;else{var _0x4dd74b=$('#'+CopY_tO_ClipboarD);window['clipboardData']['setData'](_0x451b83(0x222),_0x4dd74b[_0x451b83(0x1b2)]());}}}else{}_0x157ec6=undefined,delete _0x157ec6;}});}}}function NeWManuaLDiaLCalLSubmiT(_0x312bae,_0x119c7b){var _0x3341e8=_0x1c96bb;$(_0x3341e8(0x705))[_0x3341e8(0x17d)](_0x3341e8(0x45c)),$(_0x3341e8(0x27f))[_0x3341e8(0x7c3)]('hide');_0x119c7b==_0x3341e8(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x3341e8(0x55a)+_0x312bae+'|');var _0x6cf0d=0x1;waiting_on_dispo>0x0&&(alert_box(_0x3341e8(0x587)+agent_log_id+_0x3341e8(0x4ec)+waiting_on_dispo+''),button_click_log=button_click_log+''+SQLdate+_0x3341e8(0x6a4)+agent_log_id+'\x20'+waiting_on_dispo+'|',_0x6cf0d=0x0);if(_0x6cf0d>0x0){var _0x1892b4=0x0,_0x11b4c1=$(_0x3341e8(0x26d))[_0x3341e8(0x1b2)](),_0x25594d=$(_0x3341e8(0x1ae))[_0x3341e8(0x1b2)](),_0x292cf3=$('#MDLeadID')[_0x3341e8(0x1b2)](),_0x16ae56=$(_0x3341e8(0x3c1))[_0x3341e8(0x1b2)](),_0x607ab2=$('#MDType')[_0x3341e8(0x1b2)](),_0x58cc14=$(_0x3341e8(0x709))[_0x3341e8(0x1b2)](),_0x3fbde8=$(_0x3341e8(0x48f))['val'](),_0x4e6641=_0x3341e8(0x6b7);($('#LeadLookuP')[_0x3341e8(0x789)]('checked')==!![]||manual_dial_search_checkbox==_0x3341e8(0x7fc))&&(_0x4e6641=_0x3341e8(0x318));_0x25594d==_0x3341e8(0x685)&&(_0x25594d=$(_0x3341e8(0x704))[_0x3341e8(0x1b2)]());typeof _0x11b4c1!==_0x3341e8(0x34f)&&(_0x11b4c1['length']<0x1&&(_0x11b4c1=$(_0x3341e8(0x40c))['val']()));typeof _0x16ae56!==_0x3341e8(0x34f)&&(_0x16ae56['length']>0x0&&(_0x292cf3=$(_0x3341e8(0x3c1))['val']()));if(NeWManuaLDiaLBox_open>0x0&&_0x25594d['length']<0x5&&_0x292cf3['length']<0x1&&_0x58cc14[_0x3341e8(0x35c)]<0x1)button_click_log=button_click_log+''+SQLdate+_0x3341e8(0x1fb)+agent_log_id+'\x20'+NeWManuaLDiaLBox_open+'\x20'+_0x25594d+'\x20'+_0x292cf3+'\x20'+_0x58cc14+'|',alert_box(_0x3341e8(0x2d7));else{hideDiv(_0x3341e8(0x2f2)),NeWManuaLDiaLBox_open=0x0;if(_0x58cc14[_0x3341e8(0x35c)]>0x0&&active_ingroup_dial[_0x3341e8(0x35c)]<0x1&&manual_dial_override_field=='ENABLED')agent_dialed_number=0x1,agent_dialed_type='MANUAL_OVERRIDE',basic_originate_call(session_id,'NO','YES',_0x58cc14,_0x3341e8(0x18f),'','1','0');else{active_ingroup_dial[_0x3341e8(0x35c)]<0x1&&(auto_dial_level=0x0,manual_dial_in_progress=0x1,agent_dialed_number=0x1);MainPanelToFront();_0x312bae==_0x3341e8(0x1a7)&&active_ingroup_dial[_0x3341e8(0x35c)]<0x1?(agent_dialed_type=_0x3341e8(0x265),buildDiv(_0x3341e8(0x30b)),alt_phone_dialing==0x1&&buildDiv(_0x3341e8(0x2ef)),$(_0x3341e8(0x4d5))[_0x3341e8(0x789)]('checked',!![])):(agent_dialed_type=_0x3341e8(0x7ac),alt_number_dialing==_0x3341e8(0x3d5)||alt_number_dialing==_0x3341e8(0x3f5)||alt_number_dialing=='SELECTED_TIMER_ADDR3'?$(_0x3341e8(0x69b))['prop'](_0x3341e8(0x677),!![]):($('#LeadPreview')[_0x3341e8(0x789)]('checked',![]),$(_0x3341e8(0x69b))['prop'](_0x3341e8(0x677),![])));if(active_group_alias[_0x3341e8(0x35c)]>0x1)var _0x1892b4=0x1;ManualDialNext('',_0x292cf3,_0x11b4c1,_0x25594d,_0x4e6641,_0x3fbde8,_0x1892b4,_0x607ab2);}$('#MDPhonENumbeR')['val'](''),$(_0x3341e8(0x709))[_0x3341e8(0x1b2)](''),$(_0x3341e8(0x63b))[_0x3341e8(0x1b2)](''),$('#MDLeadIDEntry')[_0x3341e8(0x1b2)](''),$(_0x3341e8(0x688))[_0x3341e8(0x1b2)](''),$('#MDPhonENumbeRHiddeN')[_0x3341e8(0x1b2)]('');}}}function NeWManuaLDiaLCalLSubmiTfast(){var _0x265564=_0x1c96bb,_0x1c4776=$(_0x265564(0x40c))[_0x265564(0x1b2)](),_0x37bbe1=$(_0x265564(0x5e7))['val'](),_0x15cf21=$(_0x265564(0x48f))[_0x265564(0x1b2)]();if(_0x1c4776[_0x265564(0x35c)]<0x1||_0x37bbe1[_0x265564(0x35c)]<0x5)alert_box(_0x265564(0x24c)),button_click_log=button_click_log+''+SQLdate+_0x265564(0x680)+_0x1c4776+'\x20'+_0x37bbe1+'|';else{if(waiting_on_dispo>0x0)alert_box('Retard\x20du\x20systme,\x20veuillez\x20ressayer<BR>Code:'+agent_log_id+_0x265564(0x4ec)+waiting_on_dispo+''),button_click_log=button_click_log+''+SQLdate+_0x265564(0x51d)+agent_log_id+'\x20'+waiting_on_dispo+'|';else{var _0x5aa63e='new';($(_0x265564(0x529))[_0x265564(0x789)]('checked')==!![]||manual_dial_search_checkbox==_0x265564(0x7fc))&&(_0x5aa63e=_0x265564(0x318)),agent_dialed_number=0x1,agent_dialed_type=_0x265564(0x7aa),auto_dial_level=0x0,manual_dial_in_progress=0x1,MainPanelToFront(),buildDiv(_0x265564(0x30b)),alt_phone_dialing==0x1&&buildDiv(_0x265564(0x2ef)),$(_0x265564(0x4d5))['prop'](_0x265564(0x677),![]),ManualDialNext('','',_0x1c4776,_0x37bbe1,_0x5aa63e,_0x15cf21,'0');}}}function NoDiaLSwitcH(){var _0x3ef8dd=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3ef8dd(0x776),nocall_dial_flag==_0x3ef8dd(0x2e7)?(nocall_dial_flag=_0x3ef8dd(0x20d),$('#NoDiaLSelecteD')[_0x3ef8dd(0x628)](_0x3ef8dd(0x5ae)+nocall_dial_flag+_0x3ef8dd(0x474))):(nocall_dial_flag=_0x3ef8dd(0x2e7),$(_0x3ef8dd(0x478))[_0x3ef8dd(0x628)](_0x3ef8dd(0x5ae)+nocall_dial_flag+_0x3ef8dd(0x4be)));}function ManualDialCheckChanneL(_0x401595){var _0x23f262=_0x1c96bb;if(_0x401595==_0x23f262(0x18f))var _0x1aaafd=XDnextCID;else var _0x1aaafd=MDnextCID;var _0x1e4132=![];!_0x1e4132&&typeof XMLHttpRequest!=_0x23f262(0x34f)&&(_0x1e4132=new XMLHttpRequest());if(_0x1e4132){var _0x56f4a1='N';script_recording_delay<0x1&&routing_initiated_recording=='Y'&&(LIVE_campaign_recording==_0x23f262(0x5c2)||LIVE_campaign_recording=='ALLFORCE')&&(_0x56f4a1='Y'),manDiaLlook_query=_0x23f262(0x4c6)+server_ip+_0x23f262(0x7b6)+session_name+_0x23f262(0x23d)+session_id+'&user='+user+'&pass='+pass+_0x23f262(0x549)+_0x1aaafd+_0x23f262(0x741)+agent_log_id+'&lead_id='+$(_0x23f262(0x486))[_0x23f262(0x1b2)]()+_0x23f262(0x66a)+MD_ring_secondS+_0x23f262(0x44a)+_0x401595+'&campaign='+campaign+_0x23f262(0x466)+dialed_number+_0x23f262(0x548)+_0x56f4a1,_0x1e4132['open'](_0x23f262(0x584),_0x23f262(0x550)),_0x1e4132[_0x23f262(0x636)](_0x23f262(0x638),'application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x1e4132[_0x23f262(0x2fd)](manDiaLlook_query),_0x1e4132[_0x23f262(0x18a)]=function(){var _0x3a4718=_0x23f262;if(_0x1e4132['readyState']==0x4&&_0x1e4132[_0x3a4718(0x6aa)]==0xc8){var _0x470361=null,_0x575093=_0x1e4132[_0x3a4718(0x137)],_0x241f5e=new RegExp('\x0a','g');_0x575093=_0x575093['replace'](_0x241f5e,_0x3a4718(0x46d)),_0x470361=_0x1e4132[_0x3a4718(0x137)];var _0x347ca3=_0x470361[_0x3a4718(0x65a)]('\x0a'),_0x19962d=_0x347ca3[0x0],_0x366a7b=new RegExp(_0x3a4718(0x7f7),'ig');if(_0x19962d=='NO'){MD_ring_secondS++;var _0x1402ae=lead_dial_number,_0x716139=phone_number_format(_0x1402ae);if(alt_dial_status_display=='0'){var _0x35b3e4='';status_display_NAME>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x3bb)+$(_0x3a4718(0x485))['val']()+'\x20'+$(_0x3a4718(0x2e8))[_0x3a4718(0x1b2)]()),status_display_CALLID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x35b)+_0x1aaafd),status_display_LEADID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x46c)+$(_0x3a4718(0x486))['val']()),status_display_LISTID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x6e5)+$(_0x3a4718(0x416))[_0x3a4718(0x1b2)]()),$(_0x3a4718(0x170))[_0x3a4718(0x628)]('\x20Calling:'+_0x716139+'\x20'+_0x35b3e4+'\x20&nbsp;\x20Waiting\x20for\x20Ring...'+MD_ring_secondS+_0x3a4718(0x6e7));}}else{if(_0x401595=='YES'){XDuniqueid=_0x347ca3[0x0],XDchannel=_0x347ca3[0x1];var _0x39981c=_0x347ca3[0x2];if(_0x39981c==_0x3a4718(0x7f9)){var _0x3e4625=_0x347ca3[0x3],_0x4a9125=_0x347ca3[0x4],_0x2b15bb=_0x3a4718(0x3ef)+XDchannel+'\x0a'+_0x3e4625;TimerActionRun('DiaLAlerT',_0x2b15bb,0x0),button_click_log=button_click_log+''+SQLdate+'-----DiaLAlerT---Call-Rejected'+_0x3e4625+'|',agent_events('agent_alert',_0x3a4718(0x64c)+_0x3e4625+'\x20'+_0x4a9125,aec),aec++;}$('#xferuniqueid')['val'](_0x347ca3[0x0]),$(_0x3a4718(0x63f))[_0x3a4718(0x1b2)](_0x347ca3[0x1]),lastxferchannel=_0x347ca3[0x1],$(_0x3a4718(0x32c))[_0x3a4718(0x1b2)](0x0),XD_live_customer_call=0x1,XD_live_call_secondS=0x0,MD_channel_look=0x0,active_threeway=0x1;var _0x21d421=$(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)]();hide_xfer_number_to_dial==_0x3a4718(0x20d)&&(_0x21d421='\x20');var _0x35b3e4='';status_display_NAME>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x3bb)+$('#first_name')['val']()+'\x20'+$('#last_name')[_0x3a4718(0x1b2)]()),status_display_CALLID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x35b)+_0x1aaafd),status_display_LEADID>0x0&&(_0x35b3e4=_0x35b3e4+'\x20Lead:\x20'+$('#lead_id')[_0x3a4718(0x1b2)]()),status_display_LISTID>0x0&&(_0x35b3e4=_0x35b3e4+'\x20List:\x20'+$(_0x3a4718(0x416))[_0x3a4718(0x1b2)]()),$(_0x3a4718(0x498))[_0x3a4718(0x628)](_0x3a4718(0x5ff)+_0x21d421+_0x3a4718(0x21b)),$(_0x3a4718(0x2d4))[_0x3a4718(0x345)](),$(_0x3a4718(0x729))['html'](_0x3a4718(0x53e)),$(_0x3a4718(0x61d))[_0x3a4718(0x628)](_0x3a4718(0x7b9)),$(_0x3a4718(0x545))[_0x3a4718(0x628)](_0x3a4718(0x7ab)),$(_0x3a4718(0x623))[_0x3a4718(0x628)]('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-warning\x20btn-sm\x22\x20onclick=\x22xfercall_send_hangup(\x27YES\x27);return\x20false;\x22>Raccrocher\x20le\x20transfert</a>'),$(_0x3a4718(0x249))[_0x3a4718(0x628)](_0x3a4718(0x213)+lastxferchannel+'\x27,\x27'+server_ip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_XB_parkxferline_ON.gif\x22\x20border=\x220\x22\x20alt=\x22Park\x20Xfer\x20Line\x22\x20style=\x22vertical-align:middle\x22\x20/></a>'),$(_0x3a4718(0x5c7))[_0x3a4718(0x628)](_0x3a4718(0x273)),xferchannellive=0x1,XDcheck='',agent_events(_0x3a4718(0x70d),MDnextCID,aec),aec++;}else{MDuniqueid=_0x347ca3[0x0],MDchannel=_0x347ca3[0x1];var _0x8eca0=_0x347ca3[0x2];if(_0x8eca0==_0x3a4718(0x7f9)){var _0x5da88f=_0x347ca3[0x3],_0x312f70=_0x347ca3[0x4],_0x2b15bb=_0x3a4718(0x4cc)+MDchannel+'\x0a'+_0x5da88f;TimerActionRun('DiaLAlerT',_0x2b15bb,0x0),button_click_log=button_click_log+''+SQLdate+_0x3a4718(0x3d4)+_0x5da88f+'|',agent_events(_0x3a4718(0x563),_0x3a4718(0x64c)+_0x5da88f+'\x20'+_0x312f70,aec),aec++;}custchannellive=0x1,$(_0x3a4718(0x186))[_0x3a4718(0x1b2)](_0x347ca3[0x0]),$(_0x3a4718(0x68e))[_0x3a4718(0x628)](_0x347ca3[0x1]),lastcustchannel=_0x347ca3[0x1],$('#livecall')[_0x3a4718(0x7b8)](_0x3a4718(0x585),image_livecall_ON['src']),$(_0x3a4718(0x4e0))[_0x3a4718(0x6c6)](_0x3a4718(0x20e),_0x3a4718(0x16f)),$(_0x3a4718(0x1a2))[_0x3a4718(0x1b2)](0x0),$('#SecondSDISP')['html']('0'),VD_live_customer_call=0x1,VD_live_call_secondS=0x0,customer_sec=0x0,MD_channel_look=0x0;var _0x1402ae=lead_dial_number,_0x716139=phone_number_format(_0x1402ae),_0x35b3e4='';status_display_NAME>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x3bb)+$(_0x3a4718(0x485))[_0x3a4718(0x1b2)]()+'\x20'+$('#last_name')[_0x3a4718(0x1b2)]());status_display_CALLID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x35b)+_0x1aaafd);status_display_LEADID>0x0&&(_0x35b3e4=_0x35b3e4+'\x20Lead:\x20'+$(_0x3a4718(0x486))[_0x3a4718(0x1b2)]());status_display_LISTID>0x0&&(_0x35b3e4=_0x35b3e4+_0x3a4718(0x6e5)+$(_0x3a4718(0x416))[_0x3a4718(0x1b2)]());$(_0x3a4718(0x170))[_0x3a4718(0x628)](_0x3a4718(0x72d)+_0x716139+'\x20'+_0x35b3e4+_0x3a4718(0x2dc)),$('#ParkControl')[_0x3a4718(0x628)](_0x3a4718(0x67a)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_parkcall.gif\x22\x20border=\x220\x22\x20alt=\x22Park\x20Call\x22\x20/></a>'),$(_0x3a4718(0x19e))[_0x3a4718(0x628)]('<button\x20id=\x22tbParkControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-warning\x20btn-lg\x22\x20onclick=\x22mainxfer_send_redirect(\x27ParK\x27,\x27'+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+_0x3a4718(0x269));(ivr_park_call=='ENABLED'||ivr_park_call=='ENABLED_PARK_ONLY')&&$(_0x3a4718(0x233))[_0x3a4718(0x628)](_0x3a4718(0x77b)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_ivrparkcall.gif\x22\x20border=\x220\x22\x20alt=\x22IVR\x20Park\x20Call\x22\x20/></a>');$(_0x3a4718(0x714))['html'](_0x3a4718(0x291)),$(_0x3a4718(0x54d))[_0x3a4718(0x628)](_0x3a4718(0x7ff)),$(_0x3a4718(0x5eb))['html'](_0x3a4718(0x7fb)),$(_0x3a4718(0x3c6))['html'](_0x3a4718(0x35f)),$(_0x3a4718(0x154))[_0x3a4718(0x628)]('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-success\x22\x20onclick=\x22mainxfer_send_redirect(\x27XfeRLOCAL\x27,\x27'+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22>Transfrer</a>'),$('#DialBlindTransfer')[_0x3a4718(0x628)](_0x3a4718(0x1d3)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+_0x3a4718(0x14a)),$(_0x3a4718(0x2d3))[_0x3a4718(0x628)](_0x3a4718(0x321)),$(_0x3a4718(0x38f))[_0x3a4718(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27UP\x27,\x27'+MDchannel+'\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_up.gif\x22\x20border=\x220\x22></a>'),$(_0x3a4718(0x6ba))[_0x3a4718(0x628)](_0x3a4718(0x448)+MDchannel+_0x3a4718(0x1ee));(quick_transfer_button=='IN_GROUP'||quick_transfer_button==_0x3a4718(0x2d8))&&(quick_transfer_button_orig='',quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=default_xfer_group),$(_0x3a4718(0x7e6))[_0x3a4718(0x628)](_0x3a4718(0x596)+lastcustchannel+_0x3a4718(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27'+quick_transfer_button_locked+_0x3a4718(0x753)));prepopulate_transfer_preset_enabled>0x0&&((prepopulate_transfer_preset==_0x3a4718(0x7a6)||prepopulate_transfer_preset==_0x3a4718(0x46b))&&($(_0x3a4718(0x5d3))['val'](CalL_XC_a_NuMber),$('#xfername')['val']('D1')),(prepopulate_transfer_preset==_0x3a4718(0x572)||prepopulate_transfer_preset==_0x3a4718(0x4f3))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_b_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D2')),(prepopulate_transfer_preset=='PRESET_3'||prepopulate_transfer_preset==_0x3a4718(0x4da))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_c_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D3')),(prepopulate_transfer_preset==_0x3a4718(0x5ac)||prepopulate_transfer_preset=='LOCKED_PRESET_4')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_d_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D4')),(prepopulate_transfer_preset==_0x3a4718(0x5a7)||prepopulate_transfer_preset=='LOCKED_PRESET_5')&&($('#xfernumber')[_0x3a4718(0x1b2)](CalL_XC_e_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D5')));(quick_transfer_button==_0x3a4718(0x7a6)||quick_transfer_button==_0x3a4718(0x572)||quick_transfer_button==_0x3a4718(0x7da)||quick_transfer_button==_0x3a4718(0x5ac)||quick_transfer_button==_0x3a4718(0x5a7)||quick_transfer_button==_0x3a4718(0x46b)||quick_transfer_button=='LOCKED_PRESET_2'||quick_transfer_button==_0x3a4718(0x4da)||quick_transfer_button==_0x3a4718(0x22f)||quick_transfer_button==_0x3a4718(0x165))&&((quick_transfer_button==_0x3a4718(0x7a6)||quick_transfer_button==_0x3a4718(0x46b))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_a_NuMber),$(_0x3a4718(0x747))['val']('D1')),(quick_transfer_button==_0x3a4718(0x572)||quick_transfer_button=='LOCKED_PRESET_2')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_b_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D2')),(quick_transfer_button==_0x3a4718(0x7da)||quick_transfer_button=='LOCKED_PRESET_3')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_c_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D3')),(quick_transfer_button==_0x3a4718(0x5ac)||quick_transfer_button=='LOCKED_PRESET_4')&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_d_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D4')),(quick_transfer_button==_0x3a4718(0x5a7)||quick_transfer_button==_0x3a4718(0x165))&&($(_0x3a4718(0x5d3))[_0x3a4718(0x1b2)](CalL_XC_e_NuMber),$(_0x3a4718(0x747))[_0x3a4718(0x1b2)]('D5')),quick_transfer_button_orig='',quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=$(_0x3a4718(0x5d3))['val']()),$('#QuickXfer')[_0x3a4718(0x628)](_0x3a4718(0x1d3)+lastcustchannel+'\x27,\x27'+lastcustserverip+_0x3a4718(0x6cd)+quick_transfer_button_locked+_0x3a4718(0x753)));custom_3way_button_transfer_enabled>0x0&&$(_0x3a4718(0x6ea))[_0x3a4718(0x628)](_0x3a4718(0x7f0));if(call_requeue_button>0x0){var _0x1ed7b2=$(_0x3a4718(0x314))['val'](),_0x30b3f7=new RegExp(_0x3a4718(0x59d),'ig');_0x1ed7b2[_0x3a4718(0x42d)](_0x30b3f7)||VU_closer_campaigns[_0x3a4718(0x42d)](_0x30b3f7)?$('#ReQueueCall')[_0x3a4718(0x628)](_0x3a4718(0x2c9)):$(_0x3a4718(0x7d6))[_0x3a4718(0x628)]('<img\x20src=\x22./images/vdc_LB_requeue_call_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Re-Queue\x20Call\x22\x20/>');}var _0x42d0fa=0x0,_0x456085='',_0x21ec2c='';while(_0x42d0fa<XFgroupCOUNT){VARxfergroups[_0x42d0fa]==LIVE_default_xfer_group?_0x21ec2c=_0x3a4718(0x293):_0x21ec2c='',_0x456085=_0x456085+_0x3a4718(0x182)+_0x21ec2c+_0x3a4718(0x457)+VARxfergroups[_0x42d0fa]+'\x22>'+VARxfergroupsnames[_0x42d0fa]+'</option>\x0a',_0x42d0fa++;}$('#XfeRGrouPLisT')['html']('<select\x20size=\x221\x22\x20name=\x22XfeRGrouP\x22\x20id=\x22XfeRGrouP\x22\x20class=\x22form-select\x22\x20onChange=\x22XferAgentSelectLink();return\x20false;\x22>'+_0x456085+_0x3a4718(0x51b)),DialLog(_0x3a4718(0x380)),custchannellive=0x1,agent_events('call_answered',_0x1aaafd,aec),aec++;if(_0x8eca0==_0x3a4718(0x568)){var _0x1e8e08=_0x347ca3[0x3],_0x2c3dc7=_0x347ca3[0x4],_0x311deb=_0x347ca3[0x5],_0x8c9fd4=new RegExp(_0x3a4718(0x1fe),'ig'),_0x192089=new RegExp(_0x3a4718(0x29c),'ig'),_0x55e726=new RegExp('hangup','ig');_0x1e8e08['match'](_0x8c9fd4)&&(button_click_log=button_click_log+''+SQLdate+'-----SIPeventMESSAGE---'+_0x1e8e08+'|',TimerActionRun(_0x3a4718(0x296),_0x311deb,0x3));if(_0x1e8e08[_0x3a4718(0x42d)](_0x55e726)){button_click_log=button_click_log+''+SQLdate+_0x3a4718(0x394)+_0x1e8e08+'|',dialedcall_send_hangup();if(_0x1e8e08[_0x3a4718(0x42d)](_0x192089)&&_0x2c3dc7[_0x3a4718(0x35c)]>0x0){button_click_log=button_click_log+''+SQLdate+'-----SIPeventDISPO---'+_0x2c3dc7+'\x20'+_0x1e8e08+'|',CustomerData_update('NO');if(per_call_notes==_0x3a4718(0x20d)&&comments_dispo_screen!=_0x3a4718(0x5c6)){var _0x541d0d=$('#call_notes')['val']();_0x541d0d[_0x3a4718(0x35c)]>0x0&&$(_0x3a4718(0x53c))['val']($('#call_notes')[_0x3a4718(0x1b2)]());}SIPaction_dispo_count=0x4,SIPaction_dispo_finish=0x1,alt_phone_dialing=starting_alt_phone_dialing,alt_dial_active=0x0,alt_dial_status_display=0x0,$(_0x3a4718(0x5c9))[_0x3a4718(0x1b2)](_0x2c3dc7),$('#DispoSelectStop')[_0x3a4718(0x789)](_0x3a4718(0x677),!![]),dialedcall_send_hangup('NO','NO',_0x2c3dc7),custom_fields_enabled>0x0&&(customsubmit_trigger=0x1);}}agent_events(_0x3a4718(0x563),_0x3a4718(0x5f2)+_0x1e8e08+'\x20'+_0x2c3dc7,aec),aec++;}_0x8eca0==_0x3a4718(0x798)&&(MDcheck_for_answer=0x1),SSbrowser_call_alerts>0x0&&(browser_alert_sound!=''&&browser_alert_sound!='---NONE---'&&browser_alert_sound!=_0x3a4718(0x192)&&(button_click_log=button_click_log+''+SQLdate+'-----MANplay_browser_sound---'+browser_alert_sound+'\x20'+browser_alert_volume+'|',play_browser_sound(browser_alert_sound,browser_alert_volume)));}}}},delete _0x1e4132;}MD_ring_secondS>0x1d&&MD_ring_secondS>manual_dial_timeout&&(alert_box(_0x23f262(0x4b9)+manual_dial_timeout+'\x0a'),button_click_log=button_click_log+''+SQLdate+_0x23f262(0x751)+MD_ring_secondS+'\x20'+manual_dial_timeout+'\x20'+MD_channel_look+'\x20'+'|',MD_channel_look=0x0,MD_ring_secondS=0x0,MD_dial_timed_out=0x1,_0x401595==_0x23f262(0x18f)&&($(_0x23f262(0x498))[_0x23f262(0x628)](''),$(_0x23f262(0x2d4))[_0x23f262(0x45c)](),$(_0x23f262(0x729))[_0x23f262(0x628)](_0x23f262(0x6c8)),$(_0x23f262(0x61d))[_0x23f262(0x628)]('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-success\x20btn-sm\x22\x20onclick=\x22SendManualDial(\x27YES\x27,\x27YES\x27);return\x20false;\x22>Composer\x20le\x20numro</a>'),$(_0x23f262(0x545))[_0x23f262(0x628)](_0x23f262(0x825))));}function UpdateFieldsData(){var _0x2690c3=_0x1c96bb,_0x4d98c6=update_fields_data+',';update_fields=0x0,update_fields_data='';var _0x41f05b=![];!_0x41f05b&&typeof XMLHttpRequest!='undefined'&&(_0x41f05b=new XMLHttpRequest()),_0x41f05b&&(UpdateFields_query=_0x2690c3(0x4c6)+server_ip+_0x2690c3(0x7b6)+session_name+_0x2690c3(0x64d)+session_id+_0x2690c3(0x66e)+user+_0x2690c3(0x397)+pass+_0x2690c3(0x44a)+update_fields_data,_0x41f05b[_0x2690c3(0x63c)](_0x2690c3(0x584),_0x2690c3(0x550)),_0x41f05b['setRequestHeader']('Content-Type',_0x2690c3(0x404)),_0x41f05b[_0x2690c3(0x2fd)](UpdateFields_query),_0x41f05b['onreadystatechange']=function(){var _0x25b22d=_0x2690c3;if(_0x41f05b['readyState']==0x4&&_0x41f05b['status']==0xc8){var _0x4d80a5=null;_0x4d80a5=_0x41f05b['responseText'];var _0x26fa11=_0x4d80a5['split']('\x0a'),_0x5e1589=_0x26fa11[0x0];if(_0x5e1589==_0x25b22d(0x5bc)){var _0x3f68a9='',_0x5d7737=new RegExp(_0x25b22d(0x3a5),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x5d7737)&&($(_0x25b22d(0x48f))[_0x25b22d(0x1b2)](_0x26fa11[0x1]),_0x3f68a9=_0x3f68a9+'---\x20vendor_lead_code\x20'+_0x26fa11[0x1]);var _0x28c6a9=new RegExp(_0x25b22d(0x546),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x28c6a9)&&(source_id=_0x26fa11[0x2],_0x3f68a9=_0x3f68a9+'---\x20source_id\x20'+_0x26fa11[0x2]);var _0x2dde00=new RegExp(_0x25b22d(0x696),'ig');_0x4d98c6['match'](_0x2dde00)&&($(_0x25b22d(0x465))[_0x25b22d(0x1b2)](_0x26fa11[0x3]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x726)+_0x26fa11[0x3]);var _0x50401c=new RegExp(_0x25b22d(0x289),'ig');_0x4d98c6['match'](_0x50401c)&&($('#phone_code')[_0x25b22d(0x1b2)](_0x26fa11[0x4]),_0x3f68a9=_0x3f68a9+'---\x20phone_code\x20'+_0x26fa11[0x4]);var _0x57ba87=new RegExp('phone_number,','ig');if(_0x4d98c6['match'](_0x57ba87)){if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x25b22d(0x150)){var _0x20acc5=$(_0x25b22d(0x69e));disable_alter_custphone=='Y'&&_0x20acc5['val'](_0x26fa11[0x5]);}$(_0x25b22d(0x5e7))[_0x25b22d(0x1b2)](_0x26fa11[0x5]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x218)+_0x26fa11[0x5];}var _0x41056b=new RegExp(_0x25b22d(0x662),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x41056b)&&($(_0x25b22d(0x79a))['val'](_0x26fa11[0x6]),_0x3f68a9=_0x3f68a9+'---\x20title\x20'+_0x26fa11[0x6]);var _0x1b2b77=new RegExp(_0x25b22d(0x64b),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x1b2b77)&&($(_0x25b22d(0x485))[_0x25b22d(0x1b2)](_0x26fa11[0x7]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x297)+_0x26fa11[0x7]);var _0x190fb4=new RegExp(_0x25b22d(0x652),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x190fb4)&&($(_0x25b22d(0x2ac))[_0x25b22d(0x1b2)](_0x26fa11[0x8]),_0x3f68a9=_0x3f68a9+'---\x20middle_initial\x20'+_0x26fa11[0x8]);var _0x320ea8=new RegExp(_0x25b22d(0x806),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x320ea8)&&($(_0x25b22d(0x2e8))['val'](_0x26fa11[0x9]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x299)+_0x26fa11[0x9]);var _0x3eb05d=new RegExp(_0x25b22d(0x7b4),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x3eb05d)&&($(_0x25b22d(0x47d))['val'](_0x26fa11[0xa]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x61b)+_0x26fa11[0xa]);var _0x1f639a=new RegExp('address2,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x1f639a)&&($(_0x25b22d(0x826))[_0x25b22d(0x1b2)](_0x26fa11[0xb]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x752)+_0x26fa11[0xb]);var _0x9eefc5=new RegExp(_0x25b22d(0x3c8),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x9eefc5)&&($(_0x25b22d(0x22b))[_0x25b22d(0x1b2)](_0x26fa11[0xc]),_0x3f68a9=_0x3f68a9+'---\x20address3\x20'+_0x26fa11[0xc]);var _0x21009d=new RegExp(_0x25b22d(0x70f),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x21009d)&&($(_0x25b22d(0x323))[_0x25b22d(0x1b2)](_0x26fa11[0xd]),_0x3f68a9=_0x3f68a9+'---\x20city\x20'+_0x26fa11[0xd]);var _0x11ac92=new RegExp(_0x25b22d(0x532),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x11ac92)&&($('#state')[_0x25b22d(0x1b2)](_0x26fa11[0xe]),_0x3f68a9=_0x3f68a9+'---\x20state\x20'+_0x26fa11[0xe]);var _0x913ded=new RegExp(_0x25b22d(0x286),'ig');_0x4d98c6['match'](_0x913ded)&&($('#province')[_0x25b22d(0x1b2)](_0x26fa11[0xf]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x15c)+_0x26fa11[0xf]);var _0x3ee9bd=new RegExp(_0x25b22d(0x301),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x3ee9bd)&&($(_0x25b22d(0x67f))[_0x25b22d(0x1b2)](_0x26fa11[0x10]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x3ac)+_0x26fa11[0x10]);var _0x285004=new RegExp(_0x25b22d(0x350),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x285004)&&($('#country_code')['val'](_0x26fa11[0x11]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x536)+_0x26fa11[0x11]);var _0x28c956=new RegExp('gender,','ig');if(_0x4d98c6[_0x25b22d(0x42d)](_0x28c956)){$(_0x25b22d(0x1b7))[_0x25b22d(0x1b2)](_0x26fa11[0x12]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x307)+_0x26fa11[0x12];if(hide_gender>0x0)$(_0x25b22d(0x578))['val'](_0x26fa11[0x12]);else{var _0x3e6f43=0x0;if($(_0x25b22d(0x1b7))[_0x25b22d(0x1b2)]()=='M')var _0x3e6f43=0x1;if($(_0x25b22d(0x1b7))['val']()=='F')var _0x3e6f43=0x2;$(_0x25b22d(0x578))[_0x25b22d(0x1b2)]($(_0x25b22d(0x1b7))[_0x25b22d(0x1b2)]());var _0x2a806f=$(_0x25b22d(0x578))[_0x25b22d(0x1b2)]();$(_0x25b22d(0x1b7))['val'](_0x2a806f);}}var _0x3485e9=new RegExp(_0x25b22d(0x4f1),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x3485e9)&&($('#alt_phone')['val'](_0x26fa11[0x14]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x1e4)+_0x26fa11[0x14]);var _0x21c7dc=new RegExp('email,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x21c7dc)&&($(_0x25b22d(0x1c3))['val'](_0x26fa11[0x15]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x4e7)+_0x26fa11[0x15]);var _0x475976=new RegExp('security_phrase,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x475976)&&($('#security_phrase')['val'](_0x26fa11[0x16]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x619)+_0x26fa11[0x16]);var _0x785b14=new RegExp(_0x25b22d(0x4fb),'ig');if(_0x4d98c6[_0x25b22d(0x42d)](_0x785b14)){var _0x4d28a5=new RegExp('!N','g');_0x26fa11[0x17]=_0x26fa11[0x17][_0x25b22d(0x74b)](_0x4d28a5,'\x0a'),OtherTab=='1'&&comments_all_tabs==_0x25b22d(0x20d)?$('#other_tab_comments')[_0x25b22d(0x1b2)](_0x26fa11[0x17]):$(_0x25b22d(0x1af))[_0x25b22d(0x1b2)](_0x26fa11[0x17]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x359)+_0x26fa11[0x17];}var _0x306387=new RegExp('rank,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x306387)&&($(_0x25b22d(0x6d0))[_0x25b22d(0x1b2)](_0x26fa11[0x18]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x3b2)+_0x26fa11[0x18]);var _0x32897c=new RegExp(_0x25b22d(0x594),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x32897c)&&($(_0x25b22d(0x6ca))[_0x25b22d(0x1b2)](_0x26fa11[0x19]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x230)+_0x26fa11[0x19]);var _0x4177e9=new RegExp('entry_list_id,','ig');_0x4d98c6['match'](_0x4177e9)&&($('#entry_list_id')[_0x25b22d(0x1b2)](_0x26fa11[0x1b]),_0x3f68a9=_0x3f68a9+_0x25b22d(0x271)+_0x26fa11[0x1b]);var _0x26e81e=new RegExp(_0x25b22d(0x19b),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x26e81e)&&(custom_field_names=_0x26fa11[0x1c],_0x3f68a9=_0x3f68a9+'---\x20custom_field_names\x20'+_0x26fa11[0x1c],custom_field_values=_0x26fa11[0x1d],_0x3f68a9=_0x3f68a9+_0x25b22d(0x3a6)+_0x26fa11[0x1d],custom_field_types=_0x26fa11[0x1e],_0x3f68a9=_0x3f68a9+'---\x20custom_field_types\x20'+_0x26fa11[0x1e]);var _0x5a3ebf=new RegExp('formreload,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x5a3ebf)&&(FormContentsLoad(),_0x3f68a9=_0x3f68a9+'---\x20formreload\x20');var _0x4a60f6=new RegExp(_0x25b22d(0x32d),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0x4a60f6)&&(RefresHScript('',_0x25b22d(0x18f)),_0x3f68a9=_0x3f68a9+_0x25b22d(0x3b9));var _0xa6f48f=new RegExp(_0x25b22d(0x37b),'ig');_0x4d98c6[_0x25b22d(0x42d)](_0xa6f48f)&&(RefresHScript2('',_0x25b22d(0x18f)),_0x3f68a9=_0x3f68a9+_0x25b22d(0x609));var _0x5178c8=new RegExp('emailreload,','ig');_0x4d98c6[_0x25b22d(0x42d)](_0x5178c8)&&(EmailContentsLoad(),_0x3f68a9=_0x3f68a9+'---\x20emailreload\x20');var _0x182ce1=new RegExp('chatreload,','ig');_0x4d98c6['match'](_0x182ce1)&&(CustomerChatContentsLoad(),_0x3f68a9=_0x3f68a9+_0x25b22d(0x54e));var _0x54b17a=new RegExp(_0x25b22d(0x6d5),'ig');VDIC_web_form_address['match'](_0x54b17a)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x25b22d(0x18f),_0x25b22d(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x25b22d(0x74b)](_0x54b17a,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x25b22d(0x18f),_0x25b22d(0x402),'1'),VDIC_web_form_address_two['match'](_0x54b17a)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x25b22d(0x18f),_0x25b22d(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x25b22d(0x74b)](_0x54b17a,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x25b22d(0x18f),_0x25b22d(0x402),'2'),VDIC_web_form_address_three[_0x25b22d(0x42d)](_0x54b17a)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x25b22d(0x18f),_0x25b22d(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three[_0x25b22d(0x74b)](_0x54b17a,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x25b22d(0x18f),_0x25b22d(0x402),'3'),agent_events('update_fields',_0x3f68a9,aec),aec++;}else alert_box(_0x25b22d(0x3ea)+_0x41f05b[_0x25b22d(0x137)]),button_click_log=button_click_log+''+SQLdate+_0x25b22d(0x45a)+_0x41f05b[_0x25b22d(0x137)]+'\x20'+'|';}});}function ManualDialNext(_0x1a832d,_0x200311,_0x544ad0,_0x21ff37,_0x156511,_0x572c0f,_0x13f8f4,_0x48d272,_0x46094d){var _0xd281b3=_0x1c96bb;_0x46094d==_0xd281b3(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0xd281b3(0x1a9)+_0x1a832d+'\x20'+_0x200311+'\x20'+_0x544ad0+'\x20'+_0x21ff37+'\x20'+_0x156511+'\x20'+_0x572c0f+'\x20'+_0x13f8f4+'\x20'+_0x48d272+'\x20'+LIVE_campaign_recording+'|');UpdatESettingS();if(waiting_on_dispo>0x0){alert_box(_0xd281b3(0x587)+agent_log_id+_0xd281b3(0x4ec)+waiting_on_dispo+_0xd281b3(0x4ec)+manual_auto_hotkey_wait+''),button_click_log=button_click_log+''+SQLdate+_0xd281b3(0x5dc)+agent_log_id+'\x20'+waiting_on_dispo+'|',dial_next_failed=0x1;var _0x37178c=0x0;trigger_ready=0x1,alt_phone_dialing=starting_alt_phone_dialing,auto_dial_level=starting_dial_level,MainPanelToFront(),CalLBacKsCounTCheck(),starting_dial_level==0x0?$(_0xd281b3(0x7d7))[_0xd281b3(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22ManualDialNext(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x270\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_dialnextnumber.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/></a>'):(dial_method==_0xd281b3(0x21c)?(auto_dial_level=starting_dial_level,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$(_0xd281b3(0x7d7))[_0xd281b3(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADready\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_paused.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20paused\x22\x20/></a><br\x20/><img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>')):$(_0xd281b3(0x7d7))['html'](_0xd281b3(0x61f))):($(_0xd281b3(0x7d7))[_0xd281b3(0x628)](DiaLControl_auto_HTML),$(_0xd281b3(0x370))[_0xd281b3(0x628)](DiaLControl_auto_HTML2)),reselect_alt_dial=0x0);}else{inOUT=_0xd281b3(0x3a9),all_record='NO',all_record_count=0x0;var _0x524b24=VDRP_stage;dial_method==_0xd281b3(0x21c)?(auto_dial_level=0x0,in_man_dial_next_ready_count=0x0,VDRP_stage!='PAUSED'?agent_log_id=AutoDial_ReSume_PauSe(_0xd281b3(0x2ce),'','','','DIALNEXT','1',_0xd281b3(0x781)):auto_dial_level=starting_dial_level,$(_0xd281b3(0x7d7))[_0xd281b3(0x628)](_0xd281b3(0x47b))):active_ingroup_dial[_0xd281b3(0x35c)]<0x1&&$(_0xd281b3(0x7d7))[_0xd281b3(0x628)](_0xd281b3(0x674));var _0x256b95='';(_0x48d272==_0xd281b3(0x829)||_0x48d272==_0xd281b3(0x6db))&&(agent_dialed_type=_0x48d272,agent_dialed_number=_0x21ff37,_0x48d272==_0xd281b3(0x829)&&(_0x256b95='ALTPhonE'),_0x48d272==_0xd281b3(0x6db)&&(_0x256b95=_0xd281b3(0x683)));if(($(_0xd281b3(0x4d5))[_0xd281b3(0x789)](_0xd281b3(0x677))==!![]||manual_dial_validation=='Y'&&manual_entry_dial<0x1)&&active_ingroup_dial[_0xd281b3(0x35c)]<0x1){reselect_preview_dial=0x1,in_lead_preview_state=0x1;var _0x296e7d=_0xd281b3(0x18f);trigger_manual_validation=0x0;if(alt_phone_dialing==0x1){var _0x33318e=_0xd281b3(0x795)+_0x256b95+_0xd281b3(0x2a0);if(manual_preview_dial==_0xd281b3(0x252))var _0x33318e=_0xd281b3(0x795)+_0x256b95+_0xd281b3(0x1df);}else{var _0x33318e=_0xd281b3(0x795)+_0x256b95+_0xd281b3(0x6c9);if(manual_preview_dial==_0xd281b3(0x252))var _0x33318e=_0xd281b3(0x37e)+_0x256b95+_0xd281b3(0x358);}}else{reselect_preview_dial=0x0;var _0x296e7d='NO',_0x33318e=_0xd281b3(0x527);}agent_events(_0xd281b3(0x561),_0x21ff37+'\x20'+agent_dialed_type,aec),aec++;var _0x1d4ee6=![];!_0x1d4ee6&&typeof XMLHttpRequest!=_0xd281b3(0x34f)&&(_0x1d4ee6=new XMLHttpRequest());if(_0x1d4ee6){if(cid_choice[_0xd281b3(0x35c)]>0x3){var _0x89ea55=cid_choice;active_group_alias==_0xd281b3(0x510)&&(cid_lock=0x1);}else{var _0x89ea55=campaign_cid;(manual_dial_cid==_0xd281b3(0x3f3)||manual_dial_cid==_0xd281b3(0x1e8))&&(cid_lock=0x1,_0x89ea55=outbound_cid);}if(prefix_choice[_0xd281b3(0x35c)]>0x0)var _0x15340c=prefix_choice;else var _0x15340c=manual_dial_prefix;var _0x2dd40f=_0xd281b3(0x2b0)+conf_silent_prefix+''+session_id+'@'+ext_context,_0x1ca43f='N';script_recording_delay<0x1&&routing_initiated_recording=='Y'&&(LIVE_campaign_recording==_0xd281b3(0x5c2)||LIVE_campaign_recording==_0xd281b3(0x41f))&&(_0x1ca43f='Y');var _0x4b2bb0=manual_dial_validation;manual_entry_dial>0x0&&(_0x4b2bb0='N'),manDiaLnext_query='server_ip='+server_ip+_0xd281b3(0x7b6)+session_name+_0xd281b3(0x2b6)+session_id+'&user='+user+_0xd281b3(0x397)+pass+'&campaign='+campaign+_0xd281b3(0x214)+ext_context+_0xd281b3(0x7c0)+manual_dial_timeout+'&dial_prefix='+_0x15340c+_0xd281b3(0x1c6)+_0x89ea55+_0xd281b3(0x1d7)+_0x296e7d+'&agent_log_id='+agent_log_id+_0xd281b3(0x551)+_0x1a832d+'&lead_id='+_0x200311+_0xd281b3(0x46a)+_0x544ad0+'&phone_number='+_0x21ff37+_0xd281b3(0x4d8)+mdnLisT_id+_0xd281b3(0x44a)+_0x156511+_0xd281b3(0x7a8)+use_internal_dnc+_0xd281b3(0x4f6)+use_campaign_dnc+'&omit_phone_code='+omit_phone_code+_0xd281b3(0x738)+manual_dial_filter+_0xd281b3(0x664)+manual_dial_search_filter+_0xd281b3(0x3b5)+_0x572c0f+_0xd281b3(0x62e)+_0x13f8f4+_0xd281b3(0x4af)+active_group_alias+_0xd281b3(0x158)+agent_dialed_number+'&agent_dialed_type='+agent_dialed_type+_0xd281b3(0x78b)+vtiger_callback_id+'&dial_method='+dial_method+_0xd281b3(0x2ff)+manual_dial_call_time_check+_0xd281b3(0x5fb)+qm_extension+_0xd281b3(0x821)+active_ingroup_dial+_0xd281b3(0x3c0)+nocall_dial_flag+'&cid_lock='+cid_lock+'&last_VDRP_stage='+_0x524b24+_0xd281b3(0x548)+_0x1ca43f+_0xd281b3(0x2bd)+recording_exten+_0xd281b3(0x6d3)+LIVE_campaign_rec_filename+_0xd281b3(0x6be)+_0x2dd40f+'&manual_dial_validation='+manual_dial_validation+_0xd281b3(0x760)+phone_login,_0x1d4ee6[_0xd281b3(0x63c)](_0xd281b3(0x584),_0xd281b3(0x550)),_0x1d4ee6[_0xd281b3(0x636)]('Content-Type','application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x1d4ee6['send'](manDiaLnext_query),_0x1d4ee6[_0xd281b3(0x18a)]=function(){var _0x317a4b=_0xd281b3;if(_0x1d4ee6['readyState']==0x4&&_0x1d4ee6[_0x317a4b(0x6aa)]==0xc8){var _0x4f8a40=null;_0x4f8a40=_0x1d4ee6[_0x317a4b(0x137)];var _0x32360f=_0x4f8a40[_0x317a4b(0x65a)]('\x0a');MDnextCID=_0x32360f[0x0],LastCallCID=_0x32360f[0x0];var _0x59dda6=new RegExp(_0x317a4b(0x20c),'ig'),_0x391f8c=new RegExp('DNC','ig'),_0x23b6c8=new RegExp(_0x317a4b(0x5c5),'ig'),_0xc339ca=new RegExp(_0x317a4b(0x52a),'ig'),_0x2b9fa6=new RegExp(_0x317a4b(0x5b1),'ig'),_0x3c902e=new RegExp('CAMPLISTS','ig'),_0x1d3b06=new RegExp(_0x317a4b(0x54a),'ig'),_0x424204=new RegExp(_0x317a4b(0x232),'ig'),_0x5b876e=new RegExp('OUTSIDE','ig'),_0x536b88=new RegExp(_0x317a4b(0x4e3),'ig');if(MDnextCID[_0x317a4b(0x42d)](_0x59dda6)||MDnextCID[_0x317a4b(0x42d)](_0x391f8c)||MDnextCID[_0x317a4b(0x42d)](_0x23b6c8)||MDnextCID['match'](_0x3c902e)||MDnextCID[_0x317a4b(0x42d)](_0x1d3b06)||MDnextCID[_0x317a4b(0x42d)](_0x424204)||MDnextCID[_0x317a4b(0x42d)](_0x5b876e)||MDnextCID[_0x317a4b(0x42d)](_0x536b88)){button_click_log=button_click_log+''+SQLdate+_0x317a4b(0x2a9)+MDnextCID+'\x20'+'|',dial_next_failed=0x1;var _0x16c124=0x0;trigger_ready=0x1,alt_phone_dialing=starting_alt_phone_dialing,auto_dial_level=starting_dial_level,MainPanelToFront(),CalLBacKsCounTCheck(),MDnextCID[_0x317a4b(0x42d)](_0x59dda6)&&(alert_box(_0x317a4b(0x3db)+campaign),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x391f8c)&&(alert_box(_0x317a4b(0x730)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x23b6c8)&&(alert_box(_0x317a4b(0x576)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x3c902e)&&(alert_box('Ce\x20numro\x20de\x20tlphone\x20n\x27est\x20pas\x20dans\x20les\x20listes\x20de\x20campagne\x0a'+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x1d3b06)&&(alert_box(_0x317a4b(0x739)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x424204)&&(alert_box(_0x317a4b(0x369)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID['match'](_0x5b876e)&&(alert_box(_0x317a4b(0x191)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x536b88)&&(alert_box(_0x317a4b(0x7e9)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0xc339ca)&&(alert_box(_0x317a4b(0x3ce)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),MDnextCID[_0x317a4b(0x42d)](_0x2b9fa6)&&(alert_box(_0x317a4b(0x373)+_0x21ff37),_0x16c124=0x1,in_lead_preview_state=0x0),_0x16c124==0x0&&(alert_box(_0x317a4b(0x309)+_0x21ff37+'|'+MDnextCID),_0x16c124=0x1),starting_dial_level==0x0?$('#DiaLControl')[_0x317a4b(0x628)](_0x317a4b(0x171)):(dial_method==_0x317a4b(0x21c)?(auto_dial_level=starting_dial_level,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$('#DiaLControl')[_0x317a4b(0x628)](_0x317a4b(0x21a))):$(_0x317a4b(0x7d7))[_0x317a4b(0x628)](_0x317a4b(0x61f))):($(_0x317a4b(0x7d7))['html'](DiaLControl_auto_HTML),$(_0x317a4b(0x370))[_0x317a4b(0x628)](DiaLControl_auto_HTML2)),reselect_alt_dial=0x0);}else{if(active_ingroup_dial['length']>0x0)AutoDial_ReSume_PauSe(_0x317a4b(0x374),'','','NO_STATUS_CHANGE'),AutoDialWaiting=0x1;else{fronter=user,manual_call_live=0x1,LasTCID=_0x32360f[0x0],$(_0x317a4b(0x486))[_0x317a4b(0x1b2)](_0x32360f[0x1]),LeaDPreVDispO=_0x32360f[0x2],$(_0x317a4b(0x48f))[_0x317a4b(0x1b2)](_0x32360f[0x4]),$(_0x317a4b(0x416))[_0x317a4b(0x1b2)](_0x32360f[0x5]),$(_0x317a4b(0x465))['val'](_0x32360f[0x6]),$(_0x317a4b(0x40c))['val'](_0x32360f[0x7]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x317a4b(0x150)){var _0x5b9695=$(_0x317a4b(0x69e));disable_alter_custphone=='Y'&&_0x5b9695[_0x317a4b(0x1b2)](_0x32360f[0x8]);}$('#phone_number')[_0x317a4b(0x1b2)](_0x32360f[0x8]),$(_0x317a4b(0x79a))[_0x317a4b(0x1b2)](_0x32360f[0x9]),$(_0x317a4b(0x485))[_0x317a4b(0x1b2)](_0x32360f[0xa]),$('#middle_initial')[_0x317a4b(0x1b2)](_0x32360f[0xb]),$(_0x317a4b(0x2e8))[_0x317a4b(0x1b2)](_0x32360f[0xc]),$('#address1')[_0x317a4b(0x1b2)](_0x32360f[0xd]),$(_0x317a4b(0x826))[_0x317a4b(0x1b2)](_0x32360f[0xe]),$(_0x317a4b(0x22b))[_0x317a4b(0x1b2)](_0x32360f[0xf]),$('#city')['val'](_0x32360f[0x10]),$(_0x317a4b(0x1c0))[_0x317a4b(0x1b2)](_0x32360f[0x11]),$(_0x317a4b(0x300))[_0x317a4b(0x1b2)](_0x32360f[0x12]),$('#postal_code')['val'](_0x32360f[0x13]),$(_0x317a4b(0x816))[_0x317a4b(0x1b2)](_0x32360f[0x14]),$(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)](_0x32360f[0x15]),$('#date_of_birth')['val'](_0x32360f[0x16]),$(_0x317a4b(0x59a))[_0x317a4b(0x1b2)](_0x32360f[0x17]),$('#email')[_0x317a4b(0x1b2)](_0x32360f[0x18]),$('#security_phrase')[_0x317a4b(0x1b2)](_0x32360f[0x19]);var _0x39f52b=new RegExp('!N','g');_0x32360f[0x1a]=_0x32360f[0x1a][_0x317a4b(0x74b)](_0x39f52b,'\x0a'),$('#comments')['val'](_0x32360f[0x1a]),$('#called_count')[_0x317a4b(0x1b2)](_0x32360f[0x1b]),previous_called_count=_0x32360f[0x1b],previous_dispo=_0x32360f[0x2],CBentry_time=_0x32360f[0x1c],CBcallback_time=_0x32360f[0x1d],CBuser=_0x32360f[0x1e],CBcomments=_0x32360f[0x1f],dialed_number=_0x32360f[0x20],dialed_label=_0x32360f[0x21],source_id=_0x32360f[0x22],$(_0x317a4b(0x6d0))[_0x317a4b(0x1b2)](_0x32360f[0x23]),$('#owner')[_0x317a4b(0x1b2)](_0x32360f[0x24]),CalL_ScripT_id=_0x32360f[0x25],script_recording_delay=_0x32360f[0x26],CalL_XC_a_NuMber=_0x32360f[0x27],CalL_XC_b_NuMber=_0x32360f[0x28],CalL_XC_c_NuMber=_0x32360f[0x29],CalL_XC_d_NuMber=_0x32360f[0x2a],CalL_XC_e_NuMber=_0x32360f[0x2b],$('#entry_list_id')[_0x317a4b(0x1b2)](_0x32360f[0x2c]),custom_field_names=_0x32360f[0x2d],custom_field_values=_0x32360f[0x2e],custom_field_types=_0x32360f[0x2f];var _0x1fea22=_0x32360f[0x30],_0x3458db=_0x32360f[0x31];post_phone_time_diff_alert_message=_0x32360f[0x32];if(qc_enabled>0x0){$(_0x317a4b(0x471))[_0x317a4b(0x1b2)](_0x32360f[0x33]),$('#audit_comments_button')[_0x317a4b(0x1b2)](_0x32360f[0x33]);comments_all_tabs==_0x317a4b(0x20d)&&$(_0x317a4b(0x31f))['val'](_0x32360f[0x33]);var _0x5d8ec5=new RegExp('!N','g'),_0x4b24ed=new RegExp(_0x317a4b(0x5aa),'g'),_0x28b4e8=new RegExp('--------ADMINFONTEND--------','g');_0x32360f[0x34]=_0x32360f[0x34][_0x317a4b(0x74b)](_0x5d8ec5,'\x0a'),_0x32360f[0x34]=_0x32360f[0x34][_0x317a4b(0x74b)](_0x4b24ed,''),_0x32360f[0x34]=_0x32360f[0x34][_0x317a4b(0x74b)](_0x28b4e8,''),$('#audit_comments')['html'](_0x32360f[0x34]);}$(_0x317a4b(0x7fa))[_0x317a4b(0x1b2)](_0x32360f[0x35]),$('#list_appel')[_0x317a4b(0x628)](_0x317a4b(0x43b)+_0x32360f[0x35]+_0x317a4b(0x1b9));var _0x47ffc9=_0x32360f[0x36];CalL_ScripT_color=_0x32360f[0x37],$(_0x317a4b(0x6d2))['val'](_0x32360f[0x38]),entry_date=_0x32360f[0x39],status_group_statuses_data=_0x32360f[0x3a],last_call_date=_0x32360f[0x3b],LIVE_default_xfer_group=_0x32360f[0x3c],CalL_ScripT_id_two=_0x32360f[0x3d],CalL_ScripT_color_two=_0x32360f[0x3e],browser_alert_sound=_0x32360f[0x3f],browser_alert_volume=_0x32360f[0x40],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data[_0x317a4b(0x35c)]>0x7){var _0x381ee6=status_group_statuses_data[_0x317a4b(0x65a)](','),_0x5e0cb0=_0x381ee6['length'],_0x4ec100=0x0;while(_0x4ec100<_0x5e0cb0){var _0x394568=_0x381ee6[_0x4ec100],_0x410af6=_0x394568[_0x317a4b(0x65a)]('|');gVARstatuses[_0x4ec100]=_0x410af6[0x0],gVARstatusnames[_0x4ec100]=_0x410af6[0x1],gVARSELstatuses[_0x4ec100]='Y',gVARCBstatuses[_0x4ec100]=_0x410af6[0x2],gVARMINstatuses[_0x4ec100]=_0x410af6[0x3],gVARMAXstatuses[_0x4ec100]=_0x410af6[0x4],gVARCBstatuses[_0x4ec100]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+'\x20'+_0x410af6[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x4ec100++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x317a4b(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x317a4b(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses[_0x317a4b(0x57f)](gVARSELstatuses),VARCBstatuses=sVARCBstatuses['concat'](gVARCBstatuses),VARMINstatuses=sVARMINstatuses['concat'](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x317a4b(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+'\x20'+gVARCBstatusesLIST+'\x20',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0x5cc9e1='',_0x2947bf='',_0x229fad='',_0x156b88='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x3c8c95=0x0;while(HK_statuses_camp>_0x3c8c95){var _0x40951c=0x0;while(VD_statuses_ct>_0x40951c){HKstatuses[_0x3c8c95]==VARstatuses[_0x40951c]&&(hotkeys[HKhotkeys[_0x3c8c95]]=HKstatuses[_0x3c8c95]+_0x317a4b(0x828)+HKstatusnames[_0x3c8c95],HKhotkeys[_0x3c8c95]>=0x1&&HKhotkeys[_0x3c8c95]<=0x3&&(_0x2947bf=_0x2947bf+''+HKhotkeys[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatuses[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatusnames[_0x3c8c95]+_0x317a4b(0x40f)),HKhotkeys[_0x3c8c95]>=0x4&&HKhotkeys[_0x3c8c95]<=0x6&&(_0x229fad=_0x229fad+''+HKhotkeys[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatuses[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatusnames[_0x3c8c95]+_0x317a4b(0x40f)),HKhotkeys[_0x3c8c95]>=0x7&&HKhotkeys[_0x3c8c95]<=0x9&&(_0x156b88=_0x156b88+''+HKhotkeys[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatuses[_0x3c8c95]+_0x317a4b(0x4ec)+HKstatusnames[_0x3c8c95]+'<br\x20/>'),_0x5cc9e1=_0x5cc9e1+''+HKhotkeys[_0x3c8c95]+'\x20'+HKstatuses[_0x3c8c95]+'\x20'+HKstatusnames[_0x3c8c95]+'|\x20'),_0x40951c++;}_0x3c8c95++;}}agent_display_fields[_0x317a4b(0x42d)](adfREGentry_date)&&$(_0x317a4b(0x699))[_0x317a4b(0x628)](entry_date);agent_display_fields[_0x317a4b(0x42d)](adfREGsource_id)&&$(_0x317a4b(0x7d3))[_0x317a4b(0x628)](source_id);if(agent_display_fields[_0x317a4b(0x42d)](adfREGdate_of_birth)){}agent_display_fields['match'](adfREGrank)&&$(_0x317a4b(0x284))[_0x317a4b(0x628)]($('#rank')[_0x317a4b(0x1b2)]());agent_display_fields['match'](adfREGowner)&&$(_0x317a4b(0x59e))[_0x317a4b(0x628)]($(_0x317a4b(0x6ca))[_0x317a4b(0x1b2)]());agent_display_fields[_0x317a4b(0x42d)](adfREGlast_local_call_time)&&$(_0x317a4b(0x2e6))[_0x317a4b(0x628)](last_call_date);timer_action=campaign_timer_action,timer_action_message=campaign_timer_action_message,timer_action_seconds=campaign_timer_action_seconds,timer_action_destination=campaign_timer_action_destination,lead_dial_number=dialed_number;var _0x15658a=dialed_number,_0x356038=phone_number_format(_0x15658a),_0x3c4442='';status_display_NAME>0x0&&(_0x3c4442=_0x3c4442+_0x317a4b(0x3bb)+$(_0x317a4b(0x485))[_0x317a4b(0x1b2)]()+'\x20'+$(_0x317a4b(0x2e8))['val']());status_display_CALLID>0x0&&(_0x3c4442=_0x3c4442+'\x20UID:\x20'+MDnextCID);status_display_LEADID>0x0&&(_0x3c4442=_0x3c4442+_0x317a4b(0x46c)+$(_0x317a4b(0x486))[_0x317a4b(0x1b2)]());status_display_LISTID>0x0&&(_0x3c4442=_0x3c4442+_0x317a4b(0x6e5)+$(_0x317a4b(0x416))[_0x317a4b(0x1b2)]());$(_0x317a4b(0x170))['html'](_0x317a4b(0x1f9)+_0x356038+'\x20'+_0x3c4442+_0x317a4b(0x227)+_0x33318e);(dialed_label[_0x317a4b(0x35c)]<0x2||dialed_label==_0x317a4b(0x502))&&(dialed_label=_0x317a4b(0x38c));if(hide_gender>0x0)$('#gender_list')['val'](_0x32360f[0x15]);else{var _0x2401c4=0x0;if($(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)]()=='M')var _0x2401c4=0x1;if($(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)]()=='F')var _0x2401c4=0x2;$(_0x317a4b(0x578))['val']($(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)]());var _0x4c4990=$('#gender_list')[_0x317a4b(0x1b2)]();$(_0x317a4b(0x1b7))[_0x317a4b(0x1b2)](_0x4c4990);}LeaDDispO='',VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three;_0x1fea22[_0x317a4b(0x35c)]>0x5&&(VDIC_web_form_address=_0x1fea22);_0x3458db[_0x317a4b(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x3458db);_0x47ffc9[_0x317a4b(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x47ffc9);var _0xd8700a=new RegExp(_0x317a4b(0x6d5),'ig');VDIC_web_form_address[_0x317a4b(0x42d)](_0xd8700a)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x317a4b(0x18f),_0x317a4b(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x317a4b(0x74b)](_0xd8700a,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x317a4b(0x18f),_0x317a4b(0x402),'1');VDIC_web_form_address_two[_0x317a4b(0x42d)](_0xd8700a)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x317a4b(0x18f),_0x317a4b(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x317a4b(0x74b)](_0xd8700a,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x317a4b(0x18f),_0x317a4b(0x402),'2');VDIC_web_form_address_three[_0x317a4b(0x42d)](_0xd8700a)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x317a4b(0x18f),_0x317a4b(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three[_0x317a4b(0x74b)](_0xd8700a,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x317a4b(0x18f),_0x317a4b(0x402),'3');if(CBentry_time[_0x317a4b(0x35c)]>0x2){$(_0x317a4b(0x782))['html'](_0x317a4b(0x25e)),$(_0x317a4b(0x6ff))[_0x317a4b(0x628)]('<b>Last\x20Call:\x20</b>'+CBentry_time),$('#CBcommentsBoxB')[_0x317a4b(0x628)](_0x317a4b(0x57d)+CBcallback_time),$(_0x317a4b(0x7cd))[_0x317a4b(0x628)](_0x317a4b(0x488)+CBuser),$(_0x317a4b(0x1e1))[_0x317a4b(0x628)]('<b>Comments:\x20</b><br\x20/>'+CBcomments);if(show_previous_callback==_0x317a4b(0x20d)){}}post_phone_time_diff_alert_message[_0x317a4b(0x35c)]>0xa&&$(_0x317a4b(0x599))[_0x317a4b(0x628)](_0x317a4b(0x47c)+post_phone_time_diff_alert_message+_0x317a4b(0x40f));if($('#LeadPreview')[_0x317a4b(0x789)](_0x317a4b(0x677))==![]&&(manual_dial_validation!='Y'||manual_entry_dial>0x0)){reselect_preview_dial=0x0,MD_channel_look=0x1,custchannellive=0x1,$('#HangupControl')[_0x317a4b(0x628)](_0x317a4b(0x291)),$(_0x317a4b(0x54d))[_0x317a4b(0x628)]('<button\x20id=\x22tbHangup\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-danger\x20btn-lg\x22\x20onclick=\x22dialedcall_send_hangup(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><i\x20class=\x22fa\x20fa-stop\x22></i>\x20Raccrocher</button>');(LIVE_campaign_recording==_0x317a4b(0x5c2)||LIVE_campaign_recording==_0x317a4b(0x41f))&&(all_record=_0x317a4b(0x18f));if(view_scripts==0x1){if(campaign_script[_0x317a4b(0x35c)]>0x0||CalL_ScripT_id[_0x317a4b(0x35c)]>0x0){var _0x93deee='http://127.0.0.1/testing.php',_0x7e97c4=URLDecode(_0x93deee,_0x317a4b(0x18f),_0x317a4b(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x317a4b(0x5c2)||LIVE_campaign_recording==_0x317a4b(0x41f))?(delayed_script_load=_0x317a4b(0x18f),RefresHScript('CLEAR'),RefresHScript2(_0x317a4b(0x666))):(load_script_contents(_0x317a4b(0x376),''),SSenable_second_script>0x0&&load_script_contents(_0x317a4b(0x250),''));}else RefresHScript('',_0x317a4b(0x18f)),RefresHScript2('',_0x317a4b(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad(),email_enabled>0x0&&EMAILgroupCOUNT>0x0&&EmailContentsLoad(),chat_enabled>0x0&&CHATgroupCOUNT>0x0&&CustomerChatContentsLoad(),(get_call_launch==_0x317a4b(0x6af)||get_call_launch==_0x317a4b(0x5a6))&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x376),''),ScriptPanelToFront()),(get_call_launch==_0x317a4b(0x71a)||get_call_launch==_0x317a4b(0x443))&&SSenable_second_script>0x0&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x250),''),ScriptPanel2ToFront()),get_call_launch==_0x317a4b(0x7eb)&&EmailPanelToFront();}else{custom_fields_enabled>0x0&&FormContentsLoad();if(view_scripts==0x1){if(campaign_script[_0x317a4b(0x35c)]>0x0||CalL_ScripT_id[_0x317a4b(0x35c)]>0x0){var _0x93deee=_0x317a4b(0x5d4),_0x7e97c4=URLDecode(_0x93deee,_0x317a4b(0x18f),_0x317a4b(0x402),'0');RefresHScript(),RefresHScript2();}else RefresHScript('',_0x317a4b(0x18f)),RefresHScript2('','YES');}reselect_preview_dial=0x1,get_call_launch==_0x317a4b(0x5a6)&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x376),''),ScriptPanelToFront()),get_call_launch=='PREVIEW_SCRIPTTWO'&&SSenable_second_script>0x0&&(delayed_script_load==_0x317a4b(0x18f)&&load_script_contents(_0x317a4b(0x250),''),ScriptPanel2ToFront()),$('#LeadPreview')[_0x317a4b(0x789)](_0x317a4b(0x677))==![]&&manual_dial_validation=='Y'&&(trigger_manual_validation=0x1,$(_0x317a4b(0x170))['html'](_0x317a4b(0x588)));}}}}},delete _0x1d4ee6,$(_0xd281b3(0x4d5))[_0xd281b3(0x789)](_0xd281b3(0x677))==![]&&(manual_dial_validation!='Y'||manual_entry_dial>0x0)&&(active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',xfer_agent_selected=0x0);}}}function ManualDialSkip(_0x3f70bc){var _0x5c7e68=_0x1c96bb;_0x3f70bc==_0x5c7e68(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----ManualDialSkip---|');if(manual_dial_in_progress==0x1)alert_box('VOUS\x20NE\x20POUVEZ\x20PAS\x20IGNORER\x20UN\x20RAPPEL\x20OU\x20UN\x20COMPOSITION\x20MANUELLE,\x20VOUS\x20DEVEZ\x20COMPOSER\x20LE\x20PROSPECT'),button_click_log=button_click_log+''+SQLdate+_0x5c7e68(0x6a3)+manual_dial_in_progress+'\x20'+'|';else{in_lead_preview_state=0x0;dial_method==_0x5c7e68(0x21c)?(auto_dial_level=starting_dial_level,$('#DiaLControl')[_0x5c7e68(0x628)]('<img\x20src=\x22./images/vdc_LB_blank_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22pause\x20button\x20disabled\x22\x20/><br\x20/><img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>')):$('#DiaLControl')[_0x5c7e68(0x628)]('<img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>');var _0x15403c=![];!_0x15403c&&typeof XMLHttpRequest!=_0x5c7e68(0x34f)&&(_0x15403c=new XMLHttpRequest()),_0x15403c&&(manDiaLskip_query=_0x5c7e68(0x4c6)+server_ip+_0x5c7e68(0x7b6)+session_name+_0x5c7e68(0x44d)+session_id+'&user='+user+_0x5c7e68(0x397)+pass+_0x5c7e68(0x650)+$(_0x5c7e68(0x486))['val']()+_0x5c7e68(0x44a)+previous_dispo+_0x5c7e68(0x6bf)+previous_called_count+_0x5c7e68(0x6b5)+campaign,_0x15403c['open'](_0x5c7e68(0x584),'crm_query.php'),_0x15403c[_0x5c7e68(0x636)](_0x5c7e68(0x638),_0x5c7e68(0x404)),_0x15403c[_0x5c7e68(0x2fd)](manDiaLskip_query),_0x15403c[_0x5c7e68(0x18a)]=function(){var _0x2a8120=_0x5c7e68;if(_0x15403c[_0x2a8120(0x30f)]==0x4&&_0x15403c[_0x2a8120(0x6aa)]==0xc8){var _0x3ec240=null;_0x3ec240=_0x15403c['responseText'];var _0x317f94=_0x3ec240['split']('\x0a');MDSnextCID=_0x317f94[0x0];if(MDSnextCID=='LEAD\x20NOT\x20REVERTED')alert_box(_0x2a8120(0x2cd)+_0x3ec240),button_click_log=button_click_log+''+SQLdate+'-----DialSkipFailRevert---'+_0x3ec240+'\x20'+'|';else{$('#lead_id')[_0x2a8120(0x1b2)](''),$('#vendor_lead_code')['val'](''),$('#list_id')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x7fa))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x7bf))[_0x2a8120(0x628)](''),$('#list_description')['val'](''),$(_0x2a8120(0x29a))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x465))['val'](''),$('#phone_code')['val']('');if(disable_alter_custphone=='Y'||disable_alter_custphone=='HIDE'){var _0x438cb4=$('#phone_numberDISP');_0x438cb4[_0x2a8120(0x1b2)]('');}$(_0x2a8120(0x5e7))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x79a))['val'](''),$(_0x2a8120(0x485))['val'](''),$('#middle_initial')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x2e8))[_0x2a8120(0x1b2)](''),$('#address1')['val'](''),$('#address2')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x22b))['val'](''),$(_0x2a8120(0x323))[_0x2a8120(0x1b2)](''),$('#state')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x300))['val'](''),$('#postal_code')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x816))[_0x2a8120(0x1b2)](''),$('#gender')['val'](''),$('#date_of_birth')[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x59a))[_0x2a8120(0x1b2)](''),$('#email')['val'](''),$(_0x2a8120(0x6bb))['val'](''),$(_0x2a8120(0x1af))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x317))[_0x2a8120(0x1b2)](''),$(_0x2a8120(0x651))[_0x2a8120(0x628)](''),qc_enabled>0x0&&($('#ViewCommentButton')['val'](''),$(_0x2a8120(0x372))[_0x2a8120(0x1b2)](''),comments_all_tabs=='ENABLED'&&$('#OtherViewCommentButton')[_0x2a8120(0x1b2)]('')),$('#called_count')['val'](''),$('#rank')[_0x2a8120(0x1b2)](''),$('#owner')['val'](''),VDCL_group_id='',fronter='',previous_called_count='',previous_dispo='',custchannellive=0x1,customer_sec=0x0,xfer_agent_selected=0x0,source_id='',entry_date='',agent_display_fields[_0x2a8120(0x42d)](adfREGentry_date)&&$('#entry_dateDISP')[_0x2a8120(0x628)]('\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20'),agent_display_fields['match'](adfREGsource_id)&&$(_0x2a8120(0x7d3))[_0x2a8120(0x628)](_0x2a8120(0x497)),agent_display_fields['match'](adfREGrank)&&$(_0x2a8120(0x284))[_0x2a8120(0x628)](_0x2a8120(0x47c)),agent_display_fields[_0x2a8120(0x42d)](adfREGowner)&&$(_0x2a8120(0x59e))[_0x2a8120(0x628)]('\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20'),agent_display_fields[_0x2a8120(0x42d)](adfREGlast_local_call_time)&&$(_0x2a8120(0x2e6))[_0x2a8120(0x628)](_0x2a8120(0x227)),post_phone_time_diff_alert_message[_0x2a8120(0x35c)]>0xa&&($(_0x2a8120(0x599))[_0x2a8120(0x628)](''),hideDiv(_0x2a8120(0x38a))),$(_0x2a8120(0x170))[_0x2a8120(0x628)]('\x20Lead\x20skipped,\x20go\x20on\x20to\x20next\x20lead'),dial_method==_0x2a8120(0x21c)?in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$(_0x2a8120(0x7d7))[_0x2a8120(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADready\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_paused.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20paused\x22\x20/></a><br\x20/><img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>')):$(_0x2a8120(0x7d7))[_0x2a8120(0x628)](_0x2a8120(0x61f)):$('#DiaLControl')[_0x2a8120(0x628)](_0x2a8120(0x171));}}},delete _0x15403c,active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',manual_call_live=0x0,dial_next_failed=0x0,xfer_agent_selected=0x0,RefresHScript(_0x5c7e68(0x666)),RefresHScript2(_0x5c7e68(0x666)),last_call_date='',inbound_post_call_survey='',inbound_survey_participate='',dead_trigger_first_ran=0x0,manual_cancel_skip=0x0,trigger_manual_validation=0x0,manual_entry_dial=0x0,SCRIPTweb_form_vars='',SCRIPT2web_form_vars='',MDcheck_for_answer=0x0,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_triggerCALL=0x0,transfer_no_dispoTEMP=0x0,leave_3way_start_recording_filename='',three_way_call_cid=orig_three_way_call_cid,manual_dial_preview<0x1&&($(_0x5c7e68(0x4d5))['prop'](_0x5c7e68(0x677),![]),hideDiv(_0x5c7e68(0x30b))),PauseCodeSelect_submit(_0x5c7e68(0x5cc)));}}function ManualValidateSubmit(){var _0x121574=_0x1c96bb,_0x42f7d3=$('#ManualValidateEntry')[_0x121574(0x1b2)]();button_click_log=button_click_log+''+SQLdate+_0x121574(0x5af)+_0x42f7d3+'\x20'+$(_0x121574(0x418))[_0x121574(0x1b2)]()+'\x20'+manual_dial_validation+'|',_0x42f7d3==$('#ManualValidateNumber')[_0x121574(0x1b2)]()&&_0x42f7d3!=''?(button_click_log=button_click_log+''+SQLdate+_0x121574(0x735)+_0x42f7d3+'\x20'+$('#ManualValidateNumber')['val']()+'\x20'+'|',hideDiv('ManualValidateBox'),manual_cancel_skip=0x0,ManualDialOnly(MDOalt,'0','1')):(alert_box('Le\x20numro\x20que\x20vous\x20avez\x20entr\x20ne\x20correspond\x20pas\x0a'+_0x42f7d3+'\x20-\x20'+$(_0x121574(0x418))[_0x121574(0x1b2)]()),button_click_log=button_click_log+''+SQLdate+'-----ManualValidateFailed---'+_0x42f7d3+'\x20'+$('#ManualValidateNumber')[_0x121574(0x1b2)]()+'\x20'+'|');}function ManualValidateCancel(){var _0x6ece9f=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x6ece9f(0x718)+$(_0x6ece9f(0x418))[_0x6ece9f(0x1b2)]()+'\x20'+manual_dial_validation+'|',hideDiv('ManualValidateBox'),manual_cancel_skip>0x0&&(button_click_log=button_click_log+''+SQLdate+_0x6ece9f(0x316)+manual_cancel_skip+'\x20'+manual_dial_validation+'|',manual_cancel_skip=0x0,ManualDialSkip('NO'));}function ManualDialOnly(_0x107914,_0x97ebec,_0x477025){var _0x232ee3=_0x1c96bb;_0x97ebec==_0x232ee3(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x232ee3(0x50b)+_0x107914+'\x20'+manual_dial_validation+'\x20'+_0x477025+'|');if(_0x107914==_0x232ee3(0x1d9)){var _0x204524=$(_0x232ee3(0x59a))[_0x232ee3(0x1b2)]();lead_dial_number=$('#alt_phone')['val'](),dialed_number=lead_dial_number,dialed_label=_0x232ee3(0x829);}else{if(_0x107914==_0x232ee3(0x683)){var _0x204524=$(_0x232ee3(0x22b))[_0x232ee3(0x1b2)]();lead_dial_number=$(_0x232ee3(0x22b))[_0x232ee3(0x1b2)](),dialed_number=lead_dial_number,dialed_label='ADDR3';}else{var _0x204524=$('#phone_number')[_0x232ee3(0x1b2)]();lead_dial_number=$(_0x232ee3(0x5e7))[_0x232ee3(0x1b2)](),dialed_number=lead_dial_number,dialed_label=_0x232ee3(0x38c);}}if(_0x477025=='0'&&manual_dial_validation=='Y'&&manual_entry_dial<0x1)MDOalt=_0x107914,$('#ManualValidateNumber')[_0x232ee3(0x1b2)](dialed_number),$(_0x232ee3(0x332))[_0x232ee3(0x1b2)](''),$(_0x232ee3(0x65c))[_0x232ee3(0x628)](dialed_number);else{UpdatESettingS(),in_lead_preview_state=0x0,inOUT=_0x232ee3(0x3a9),alt_dial_status_display=0x0,all_record='NO',all_record_count=0x0,$('#uniqueid')[_0x232ee3(0x1b2)]('');var _0x4b3c1d=0x0;WebFormRefresH(''),WebFormTwoRefresH(''),WebFormThreeRefresH('');dialed_label=='ALT'&&$('#CusTInfOSpaN')[_0x232ee3(0x628)](_0x232ee3(0x460));dialed_label==_0x232ee3(0x6db)&&$(_0x232ee3(0x782))[_0x232ee3(0x628)](_0x232ee3(0x639));last_mdtype=dialed_label;var _0x8fe8a3=new RegExp('X','g');if(dialed_label[_0x232ee3(0x42d)](_0x8fe8a3)){$(_0x232ee3(0x782))[_0x232ee3(0x628)]('\x20<b>\x20ALT\x20DIAL\x20NUMBER:\x20'+dialed_label+'</b>'),$(_0x232ee3(0x646))[_0x232ee3(0x628)](_0x232ee3(0x1cc)+EAphone_code+'\x20'+EAphone_number);var _0x1a5230='';EAalt_phone_active=='Y'?_0x1a5230=_0x232ee3(0x1f1)+EAphone_number+'\x27,\x27'+EAalt_phone_count+_0x232ee3(0x6e6)+$(_0x232ee3(0x486))['val']()+_0x232ee3(0x15e):_0x1a5230='<a\x20href=\x22#\x22\x20onclick=\x22alt_phone_change(\x27'+EAphone_number+'\x27,\x27'+EAalt_phone_count+_0x232ee3(0x6e6)+$('#lead_id')[_0x232ee3(0x1b2)]()+_0x232ee3(0x7a9),$('#EAcommentsBoxB')[_0x232ee3(0x628)]('<b>Active:\x20</b>'+EAalt_phone_active+_0x232ee3(0x40f)+_0x1a5230),$(_0x232ee3(0x65f))[_0x232ee3(0x628)](_0x232ee3(0x5e8)+EAalt_phone_count),$(_0x232ee3(0x467))[_0x232ee3(0x628)]('<b>Notes:\x20</b><br\x20/>'+EAalt_phone_notes);}var _0x5fe841=![];!_0x5fe841&&typeof XMLHttpRequest!='undefined'&&(_0x5fe841=new XMLHttpRequest());if(_0x5fe841){if(cid_choice[_0x232ee3(0x35c)]>0x3){var _0xdc0844=cid_choice;_0x4b3c1d=0x1,active_group_alias==_0x232ee3(0x510)&&(cid_lock=0x1);}else{var _0xdc0844=campaign_cid;(manual_dial_cid==_0x232ee3(0x3f3)||manual_dial_cid==_0x232ee3(0x1e8))&&(cid_lock=0x1,_0xdc0844=outbound_cid);}if(prefix_choice[_0x232ee3(0x35c)]>0x0)var _0x2e063d=prefix_choice;else var _0x2e063d=manual_dial_prefix;var _0x2ca802=_0x232ee3(0x2b0)+conf_silent_prefix+''+session_id+'@'+ext_context,_0x165777='N';script_recording_delay<0x1&&routing_initiated_recording=='Y'&&(LIVE_campaign_recording==_0x232ee3(0x5c2)||LIVE_campaign_recording==_0x232ee3(0x41f))&&(_0x165777='Y'),manDiaLonly_query=_0x232ee3(0x4c6)+server_ip+_0x232ee3(0x7b6)+session_name+_0x232ee3(0x149)+session_id+_0x232ee3(0x66e)+user+_0x232ee3(0x397)+pass+'&lead_id='+$('#lead_id')[_0x232ee3(0x1b2)]()+'&phone_number='+_0x204524+_0x232ee3(0x46a)+$(_0x232ee3(0x40c))[_0x232ee3(0x1b2)]()+'&campaign='+campaign+'&ext_context='+ext_context+_0x232ee3(0x7c0)+manual_dial_timeout+_0x232ee3(0x5df)+_0x2e063d+_0x232ee3(0x1c6)+_0xdc0844+_0x232ee3(0x382)+omit_phone_code+_0x232ee3(0x62e)+_0x4b3c1d+'&account='+active_group_alias+_0x232ee3(0x158)+dialed_number+_0x232ee3(0x71d)+dialed_label+_0x232ee3(0x4fe)+dial_method+_0x232ee3(0x741)+agent_log_id+_0x232ee3(0x26a)+$(_0x232ee3(0x6bb))['val']()+_0x232ee3(0x5fb)+qm_extension+_0x232ee3(0x51c)+LastCallCID+_0x232ee3(0x3fd)+cid_lock+'&routing_initiated_recording='+_0x165777+'&exten='+recording_exten+'&recording_filename='+LIVE_campaign_rec_filename+'&channel='+_0x2ca802+'&vendor_lead_code='+$(_0x232ee3(0x400))['val']()+_0x232ee3(0x760)+phone_login+_0x232ee3(0x35a)+encodeURIComponent($('#state')[_0x232ee3(0x1b2)]())+'&postal_code='+encodeURIComponent($(_0x232ee3(0x788))[_0x232ee3(0x1b2)]()),_0x5fe841[_0x232ee3(0x63c)](_0x232ee3(0x584),_0x232ee3(0x550)),_0x5fe841[_0x232ee3(0x636)](_0x232ee3(0x638),'application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x5fe841['send'](manDiaLonly_query),_0x5fe841['onreadystatechange']=function(){var _0x369d73=_0x232ee3;if(_0x5fe841[_0x369d73(0x30f)]==0x4&&_0x5fe841[_0x369d73(0x6aa)]==0xc8){var _0x141938=null;_0x141938=_0x5fe841[_0x369d73(0x137)];var _0x375a0d=_0x141938[_0x369d73(0x65a)]('\x0a');MDnextCID=_0x375a0d[0x0],LastCallCID=_0x375a0d[0x0];agent_log_id[_0x369d73(0x35c)]>0x0&&(previous_agent_log_id=agent_log_id);agent_log_id=_0x375a0d[0x1];if(MDnextCID==_0x369d73(0x38d))alert_box(_0x369d73(0x331)+_0x141938),button_click_log=button_click_log+''+SQLdate+'-----DialOnlyFailed---'+_0x141938+'\x20'+'|';else{LasTCID=_0x375a0d[0x0],MD_channel_look=0x1,custchannellive=0x1,manual_call_live=0x1;var _0xca4928=_0x204524,_0x130d94=phone_number_format(_0xca4928);if(alt_dial_status_display=='0'){var _0xb17394='';status_display_NAME>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x3bb)+$(_0x369d73(0x485))[_0x369d73(0x1b2)]()+'\x20'+$('#last_name')[_0x369d73(0x1b2)]()),status_display_CALLID>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x35b)+MDnextCID),status_display_LEADID>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x46c)+$(_0x369d73(0x486))[_0x369d73(0x1b2)]()),status_display_LISTID>0x0&&(_0xb17394=_0xb17394+_0x369d73(0x6e5)+$('#list_id')[_0x369d73(0x1b2)]()),$(_0x369d73(0x170))[_0x369d73(0x628)](_0x369d73(0x55e)+_0x130d94+'\x20'+_0xb17394+_0x369d73(0x5d1)),$('#HangupControl')['html'](_0x369d73(0x291)),$('#HangupControl2')['html'](_0x369d73(0x7ff));}(LIVE_campaign_recording==_0x369d73(0x5c2)||LIVE_campaign_recording==_0x369d73(0x41f))&&(all_record=_0x369d73(0x18f));if(view_scripts==0x1){if(campaign_script[_0x369d73(0x35c)]>0x0||CalL_ScripT_id[_0x369d73(0x35c)]>0x0){var _0x257298=_0x369d73(0x5d4),_0x5a06dc=URLDecode(_0x257298,'YES',_0x369d73(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x369d73(0x5c2)||LIVE_campaign_recording==_0x369d73(0x41f))?(delayed_script_load=_0x369d73(0x18f),RefresHScript(_0x369d73(0x666)),RefresHScript2(_0x369d73(0x666))):(load_script_contents(_0x369d73(0x376),''),SSenable_second_script>0x0&&load_script_contents(_0x369d73(0x250),''));}else RefresHScript('','YES'),RefresHScript2('',_0x369d73(0x18f));}if(custom_fields_enabled>0x0){}email_enabled>0x0&&EmailContentsLoad(),chat_enabled>0x0&&CustomerChatContentsLoad(),get_call_launch==_0x369d73(0x6af)&&(delayed_script_load==_0x369d73(0x18f)&&load_script_contents(_0x369d73(0x376),''),ScriptPanelToFront()),get_call_launch==_0x369d73(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load=='YES'&&load_script_contents(_0x369d73(0x250),''),ScriptPanel2ToFront()),get_call_launch==_0x369d73(0x7eb)&&EmailPanelToFront();}}},delete _0x5fe841,active_group_alias='',cid_choice='',prefix_choice='',agent_dialed_number='',agent_dialed_type='',xfer_agent_selected=0x0,three_way_call_cid=orig_three_way_call_cid;}}}function AutoDial_ReSume_PauSe(_0x1d648b,_0x49ff5d,_0x5dd967,_0xad2ff5,_0x26b8aa,_0x594ae6,_0x5c8a35,_0x1424cf){var _0x17fa03=_0x1c96bb;_0x1424cf==_0x17fa03(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x17fa03(0x3e0)+_0x1d648b+'\x20'+_0x49ff5d+'\x20'+_0xad2ff5+'\x20'+_0x26b8aa+'\x20'+_0x594ae6+'\x20'+_0x5c8a35+'|');if(VD_live_customer_call==0x1)alert_box(_0x17fa03(0x2ad)+VD_live_customer_call+'\x0a'+VDRP_stage),button_click_log=button_click_log+''+SQLdate+'-----ON_CALL_pause_resume_stopped---'+VD_live_customer_call+'\x20'+VDRP_stage+'|';else{if(CFAI_sent>0x0&&_0x1424cf==_0x17fa03(0x18f))alert_box_close_counter=0xa,alert_box(_0x17fa03(0x1e9)+CFAI_sent),button_click_log=button_click_log+''+SQLdate+'-----CFAI_stopped_pause_click---'+CFAI_sent+'\x20'+_0x1d648b+'\x20'+agent_log_id+'|',agent_events(_0x17fa03(0x563),_0x17fa03(0x20b)+agent_log_id,aec),aec++;else{var _0x200542='';_0x1d648b==_0x17fa03(0x374)?(VDRP_stage=_0x17fa03(0x3ec),VDRP_stage_seconds=0x0,safe_pause_counter=0x0,_0x5c8a35='',INgroupCOUNT>0x0&&(PIXIScrm_closer_blended==0x0?VDRP_stage='CLOSER':VDRP_stage=_0x17fa03(0x3ec)),agent_events(_0x17fa03(0x724),VDRP_stage,aec),aec++,AutoDialReady=0x1,AutoDialWaiting=0x1,dial_method=='INBOUND_MAN'?(auto_dial_level=starting_dial_level,dial_next_failed=0x0,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x1,in_man_dial_next_ready_count=0x0,$('#DiaLControl')['html']('<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADpause\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_active.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20active\x22\x20/></a><br\x20/><img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>')):$('#DiaLControl')[_0x17fa03(0x628)](_0x17fa03(0x5ef))):($(_0x17fa03(0x7d7))['html'](DiaLControl_auto_HTML_ready),$(_0x17fa03(0x370))['html'](DiaLControl_auto_HTML_ready2))):(VDRP_stage='PAUSED',agent_events('state_paused',VDRP_stage,aec),aec++,VDRP_stage_seconds=0x0,AutoDialReady=0x0,AutoDialWaiting=0x0,pause_code_counter=0x0,dial_next_failed=0x0,safe_pause_counter=0x5,in_man_dial_next_ready_trigger=0x0,dial_method==_0x17fa03(0x21c)?(auto_dial_level=starting_dial_level,in_man_dial_next_ready_seconds>0x0&&in_man_dial_next_ready_count<in_man_dial_next_ready_seconds?(in_man_dial_next_ready_trigger=0x0,in_man_dial_next_ready_count=0x0,$(_0x17fa03(0x7d7))[_0x17fa03(0x628)](_0x17fa03(0x21a))):$(_0x17fa03(0x7d7))[_0x17fa03(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADready\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_paused.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20paused\x22\x20/></a><br\x20/><a\x20href=\x22#\x22\x20onclick=\x22ManualDialNext(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x270\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_dialnextnumber.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/></a>')):($(_0x17fa03(0x7d7))[_0x17fa03(0x628)](DiaLControl_auto_HTML),$(_0x17fa03(0x370))['html'](DiaLControl_auto_HTML2)),agent_pause_codes_active=='FORCE'&&_0x26b8aa!=_0x17fa03(0x2b7)&&_0x26b8aa!=_0x17fa03(0x398)&&_0x26b8aa!=_0x17fa03(0x7ed)&&_0x594ae6!='1'&&PauseCodeSelectContent_create(),_0x594ae6=='1'?(_0x200542=_0x17fa03(0x13d)+_0x5c8a35,current_pause_code=_0x5c8a35):_0x5c8a35='');var _0xe2c7fb=![];!_0xe2c7fb&&typeof XMLHttpRequest!=_0x17fa03(0x34f)&&(_0xe2c7fb=new XMLHttpRequest()),_0xe2c7fb&&(autoDiaLready_query='server_ip='+server_ip+'&session_name='+session_name+_0x17fa03(0x3a1)+_0x1d648b+_0x17fa03(0x66e)+user+_0x17fa03(0x397)+pass+_0x17fa03(0x44a)+VDRP_stage+'&agent_log_id='+agent_log_id+_0x17fa03(0x2bf)+_0x49ff5d+_0x17fa03(0x591)+_0x5dd967+_0x17fa03(0x6b5)+campaign+_0x17fa03(0x4fe)+dial_method+'&comments='+_0xad2ff5+_0x200542+_0x17fa03(0x5fb)+qm_extension,_0xe2c7fb[_0x17fa03(0x63c)]('POST',_0x17fa03(0x550)),_0xe2c7fb[_0x17fa03(0x636)]('Content-Type','application/x-www-form-urlencoded;\x20charset=UTF-8'),_0xe2c7fb[_0x17fa03(0x2fd)](autoDiaLready_query),_0xe2c7fb['onreadystatechange']=function(){var _0xeb8cbd=_0x17fa03;if(_0xe2c7fb[_0xeb8cbd(0x30f)]==0x4&&_0xe2c7fb[_0xeb8cbd(0x6aa)]==0xc8){var _0x2e88c4=null;_0x2e88c4=_0xe2c7fb['responseText'];var _0x483cf5=_0x2e88c4[_0xeb8cbd(0x65a)]('\x0a');if(_0x483cf5[0x1]=='Next\x20agent_log_id:'){agent_log_id[_0xeb8cbd(0x35c)]>0x0&&(previous_agent_log_id=agent_log_id);var _0x38d622=_0x483cf5[0x2];_0x38d622===undefined?button_click_log=button_click_log+''+SQLdate+_0xeb8cbd(0x762)+_0x38d622+'\x20'+_0x1d648b+'\x20'+agent_log_id+'|':agent_log_id=_0x38d622;}}},delete _0xe2c7fb),waiting_on_dispo=0x0;}}return agent_log_id;}function ReChecKCustoMerChaN(){var _0x527d9d=_0x1c96bb,_0x1ec175=![];!_0x1ec175&&typeof XMLHttpRequest!=_0x527d9d(0x34f)&&(_0x1ec175=new XMLHttpRequest()),_0x1ec175&&(recheckVDAI_query='server_ip='+server_ip+_0x527d9d(0x7b6)+session_name+_0x527d9d(0x66e)+user+_0x527d9d(0x397)+pass+'&campaign='+campaign+'&ACTION=VDADREcheckINCOMING'+_0x527d9d(0x741)+agent_log_id+_0x527d9d(0x650)+$('#lead_id')['val'](),_0x1ec175[_0x527d9d(0x63c)](_0x527d9d(0x584),_0x527d9d(0x550)),_0x1ec175[_0x527d9d(0x636)](_0x527d9d(0x638),_0x527d9d(0x404)),_0x1ec175[_0x527d9d(0x2fd)](recheckVDAI_query),_0x1ec175[_0x527d9d(0x18a)]=function(){var _0x2e7a3c=_0x527d9d;if(_0x1ec175[_0x2e7a3c(0x30f)]==0x4&&_0x1ec175[_0x2e7a3c(0x6aa)]==0xc8){var _0x5f1cdd=null;_0x5f1cdd=_0x1ec175['responseText'];var _0x57ceb6=_0x5f1cdd[_0x2e7a3c(0x65a)]('\x0a');if(_0x57ceb6[0x0]=='1'){var _0xdf0c5e=_0x57ceb6[0x1][_0x2e7a3c(0x65a)]('|');if(_0xdf0c5e[0x3]==lastcustchannel){}else $('#callchannel')[_0x2e7a3c(0x628)](_0xdf0c5e[0x3]),lastcustchannel=_0xdf0c5e[0x3],$(_0x2e7a3c(0x303))[_0x2e7a3c(0x1b2)](_0xdf0c5e[0x4]),lastcustserverip=_0xdf0c5e[0x4],custchannellive=0x1;}}},delete _0x1ec175);}function load_script_contents(_0x3e6d47,_0x34b6cb){var _0x24413e=_0x1c96bb,_0x606b42=campaign_script,_0x1149bf=CalL_ScripT_id,_0x29f8a5=SCRIPTweb_form_vars;_0x3e6d47==_0x24413e(0x250)&&SSenable_second_script>0x0&&(_0x606b42=campaign_script_two,_0x1149bf=CalL_ScripT_id_two,_0x29f8a5=SCRIPT2web_form_vars);var _0x4ad19a=null,_0x30149c=![];!_0x30149c&&typeof XMLHttpRequest!=_0x24413e(0x34f)&&(_0x30149c=new XMLHttpRequest()),_0x30149c&&(NeWscript_query='server_ip='+server_ip+_0x24413e(0x6e1)+inOUT+_0x24413e(0x6f6)+_0x606b42+''+'&SCRIPTin_script='+_0x1149bf+_0x24413e(0x7b6)+session_name+'&user='+user+_0x24413e(0x397)+pass+_0x24413e(0x6bf)+$(_0x24413e(0x7fd))[_0x24413e(0x1b2)]()+_0x24413e(0x807)+_0x34b6cb+_0x24413e(0x25c)+_0x3e6d47+_0x24413e(0x525)+_0x29f8a5,_0x30149c['open']('POST','script_display.php'),_0x30149c[_0x24413e(0x636)](_0x24413e(0x638),_0x24413e(0x404)),_0x30149c[_0x24413e(0x2fd)](NeWscript_query),_0x30149c['onreadystatechange']=function(){var _0x3acaa8=_0x24413e;_0x30149c['readyState']==0x4&&_0x30149c['status']==0xc8&&(_0x4ad19a=_0x30149c[_0x3acaa8(0x137)],$('#'+_0x3e6d47)[_0x3acaa8(0x628)](_0x4ad19a),agent_events(_0x3acaa8(0x355),_0x3e6d47,aec),aec++);},delete _0x30149c);}function alt_phone_change(_0x49cd88,_0x6c6660,_0x7ddcdf,_0x3b9227){var _0x575e5e=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x575e5e(0x3a0)+_0x49cd88+'\x20'+_0x6c6660+'\x20'+_0x7ddcdf+'\x20'+_0x3b9227+'|';var _0x3e2b7c='';_0x3b9227=='Y'?_0x3e2b7c=_0x575e5e(0x1f1)+EAphone_number+'\x27,\x27'+EAalt_phone_count+_0x575e5e(0x6e6)+$(_0x575e5e(0x486))[_0x575e5e(0x1b2)]()+'\x27,\x27N\x27);\x22>Change\x20this\x20phone\x20number\x20to\x20INACTIVE</a>':_0x3e2b7c=_0x575e5e(0x1f1)+EAphone_number+_0x575e5e(0x6e6)+EAalt_phone_count+_0x575e5e(0x6e6)+$(_0x575e5e(0x486))['val']()+_0x575e5e(0x7a9);$('#EAcommentsBoxB')[_0x575e5e(0x628)](_0x575e5e(0x4c8)+EAalt_phone_active+_0x575e5e(0x40f)+_0x3e2b7c);var _0x385cd0=![];!_0x385cd0&&typeof XMLHttpRequest!='undefined'&&(_0x385cd0=new XMLHttpRequest()),_0x385cd0&&(APC_query=_0x575e5e(0x4c6)+server_ip+_0x575e5e(0x7b6)+session_name+_0x575e5e(0x66e)+user+'&pass='+pass+'&campaign='+campaign+_0x575e5e(0x81d)+'&phone_number='+_0x49cd88+_0x575e5e(0x650)+_0x7ddcdf+'&called_count='+_0x6c6660+'&stage='+_0x3b9227,_0x385cd0['open'](_0x575e5e(0x584),_0x575e5e(0x550)),_0x385cd0[_0x575e5e(0x636)](_0x575e5e(0x638),_0x575e5e(0x404)),_0x385cd0[_0x575e5e(0x2fd)](APC_query),_0x385cd0[_0x575e5e(0x18a)]=function(){var _0x1d6934=_0x575e5e;if(_0x385cd0[_0x1d6934(0x30f)]==0x4&&_0x385cd0[_0x1d6934(0x6aa)]==0xc8){}},delete _0x385cd0);}function check_for_auto_incoming(){var _0x57cfda=_0x1c96bb;if(typeof _0x4316df==_0x57cfda(0x34f)){CFAI_sent=0x1;safe_pause_counter>0x0?button_click_log=button_click_log+''+SQLdate+_0x57cfda(0x487)+safe_pause_counter+'\x20'+VDRP_stage+'|':(all_record='NO',all_record_count=0x0);var _0x4316df=![];!_0x4316df&&typeof XMLHttpRequest!='undefined'&&(_0x4316df=new XMLHttpRequest()),_0x4316df&&(checkVDAI_query=_0x57cfda(0x4c6)+server_ip+_0x57cfda(0x7b6)+session_name+'&user='+user+_0x57cfda(0x397)+pass+_0x57cfda(0x569)+orig_pass+'&campaign='+campaign+_0x57cfda(0x2de)+'&agent_log_id='+agent_log_id+'&phone_login='+phone_login+_0x57cfda(0x801)+LOGemail+'&conf_exten='+session_id+'&camp_script='+campaign_script+''+'&in_script='+CalL_ScripT_id+_0x57cfda(0x38e)+lastcustserverip+_0x57cfda(0x2bd)+extension+_0x57cfda(0x3f4)+original_phone_login+_0x57cfda(0x7fe)+phone_pass+_0x57cfda(0x491)+VDRP_stage+_0x57cfda(0x36e)+previous_agent_log_id,_0x4316df[_0x57cfda(0x63c)]('POST',_0x57cfda(0x550)),_0x4316df[_0x57cfda(0x636)](_0x57cfda(0x638),'application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x4316df['send'](checkVDAI_query),_0x4316df[_0x57cfda(0x18a)]=function(){var _0x20604a=_0x57cfda;if(_0x4316df['readyState']==0x4&&_0x4316df['status']==0xc8){var _0x927297=null;CFAI_sent=0x0,_0x927297=_0x4316df[_0x20604a(0x137)];var _0x2eb08b=_0x927297['split']('\x0a');if(_0x2eb08b[0x0]=='1'){AutoDialWaiting=0x0,QUEUEpadding=0x0,UpdatESettingSChecK=0x1,safe_pause_counter=0x0;VDRP_stage==_0x20604a(0x156)&&(button_click_log=button_click_log+''+SQLdate+'-----paused_CFAI_caught---'+VDRP_stage+'\x20'+agent_log_id+'\x20'+previous_agent_log_id+'|',agent_log_id=previous_agent_log_id);VD_live_customer_call=0x1,VD_live_call_secondS=0x0,customer_sec=0x0;var _0x14bf48=_0x2eb08b[0x1][_0x20604a(0x65a)]('|');VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three;var _0x2fc061='',_0x39ef95=_0x2eb08b[0x2][_0x20604a(0x65a)]('|');_0x39ef95[0x0][_0x20604a(0x35c)]>0x5&&(VDIC_web_form_address=_0x39ef95[0x0]);var _0x4a5181=_0x39ef95[0x1],_0x2bf0a9=_0x39ef95[0x2],_0xe4aed5=_0x39ef95[0x3];VDCL_group_id=_0x39ef95[0x4],CalL_ScripT_id=_0x39ef95[0x5],CalL_AutO_LauncH=_0x39ef95[0x6],CalL_XC_a_Dtmf=_0x39ef95[0x7],CalL_XC_a_NuMber=_0x39ef95[0x8],CalL_XC_b_Dtmf=_0x39ef95[0x9],CalL_XC_b_NuMber=_0x39ef95[0xa];_0x39ef95[0xb]['length']>0x1&&_0x39ef95[0xb]!=_0x20604a(0x2f1)?LIVE_default_xfer_group=_0x39ef95[0xb]:LIVE_default_xfer_group=default_xfer_group;_0x39ef95[0xc][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xc]!=_0x20604a(0x2e7)?LIVE_campaign_recording=_0x39ef95[0xc]:LIVE_campaign_recording=campaign_recording;_0x39ef95[0xd][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xd]!=_0x20604a(0x502)?LIVE_campaign_rec_filename=_0x39ef95[0xd]:LIVE_campaign_rec_filename=campaign_rec_filename;_0x39ef95[0xe][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xe]!=_0x20604a(0x502)?LIVE_default_group_alias=_0x39ef95[0xe]:LIVE_default_group_alias=default_group_alias;_0x39ef95[0xf][_0x20604a(0x35c)]>0x1&&_0x39ef95[0xf]!='NONE'?LIVE_caller_id_number=_0x39ef95[0xf]:LIVE_caller_id_number=default_group_alias_cid;_0x39ef95[0x10]['length']>0x0?LIVE_web_vars=_0x39ef95[0x10]:LIVE_web_vars=default_web_vars;_0x39ef95[0x11][_0x20604a(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x39ef95[0x11]);var _0x55a433=_0x39ef95[0x12];if(_0x55a433==_0x20604a(0x502)||_0x55a433[_0x20604a(0x35c)]<0x2)timer_action=campaign_timer_action,timer_action_message=campaign_timer_action_message,timer_action_seconds=campaign_timer_action_seconds,timer_action_destination=campaign_timer_action_destination;else{var _0x49d731=_0x39ef95[0x13],_0xe5fb18=_0x39ef95[0x14],_0x384f12=_0x39ef95[0x1b];timer_action=_0x55a433,timer_action_message=_0x49d731,timer_action_seconds=_0xe5fb18,timer_action_destination=_0x384f12;}CalL_XC_c_NuMber=_0x39ef95[0x15],CalL_XC_d_NuMber=_0x39ef95[0x16],CalL_XC_e_NuMber=_0x39ef95[0x17],CalL_XC_e_NuMber=_0x39ef95[0x17],uniqueid_status_display=_0x39ef95[0x18],uniqueid_status_prefix=_0x39ef95[0x1a],did_id=_0x39ef95[0x1c],did_extension=_0x39ef95[0x1d],did_pattern=_0x39ef95[0x1e],did_description=_0x39ef95[0x1f],closecallid=_0x39ef95[0x20],xfercallid=_0x39ef95[0x21];_0x39ef95[0x22][_0x20604a(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x39ef95[0x22]);_0x39ef95[0x23][_0x20604a(0x35c)]>0x1&&(CalL_ScripT_color=_0x39ef95[0x23]);inbound_post_call_survey=_0x39ef95[0x24],inbound_survey_participate=_0x39ef95[0x25];_0x39ef95[0x26][_0x20604a(0x35c)]>0x0&&(CalL_ScripT_id_two=_0x39ef95[0x26]);_0x39ef95[0x27]['length']>0x0&&(CalL_ScripT_color_two=_0x39ef95[0x27]);_0x39ef95[0x28][_0x20604a(0x35c)]>0x0&&(browser_alert_sound=_0x39ef95[0x28],browser_alert_volume=_0x39ef95[0x29]);var _0xd8d3f1=_0x2eb08b[0x3][_0x20604a(0x65a)]('|');_0xd8d3f1[0x1][_0x20604a(0x35c)]>0x1&&_0xe4aed5=='Y'&&(_0x2fc061=_0x20604a(0x140)+_0xd8d3f1[0x0]+'\x20-\x20'+_0xd8d3f1[0x1]);$(_0x20604a(0x486))[_0x20604a(0x1b2)](_0x14bf48[0x0]),$('#uniqueid')['val'](_0x14bf48[0x1]),CIDcheck=_0x14bf48[0x2],CalLCID=_0x14bf48[0x2],LastCallCID=_0x14bf48[0x2],$(_0x20604a(0x68e))[_0x20604a(0x628)](_0x14bf48[0x3]),lastcustchannel=_0x14bf48[0x3],$(_0x20604a(0x303))[_0x20604a(0x1b2)](_0x14bf48[0x4]),lastcustserverip=_0x14bf48[0x4],$('#livecall')[_0x20604a(0x7b8)](_0x20604a(0x585),image_livecall_ON[_0x20604a(0x585)]),$(_0x20604a(0x4e0))[_0x20604a(0x6c6)](_0x20604a(0x20e),_0x20604a(0x16f)),$('#SecondS')[_0x20604a(0x1b2)](0x0),$(_0x20604a(0x4d7))[_0x20604a(0x628)]('0'),agent_events(_0x20604a(0x717),CalLCID,aec),aec++;uniqueid_status_display=='ENABLED'&&(custom_call_id=_0x20604a(0x673)+_0x14bf48[0x1]);uniqueid_status_display==_0x20604a(0x653)&&(custom_call_id=_0x20604a(0x673)+uniqueid_status_prefix+''+_0x14bf48[0x1]);uniqueid_status_display==_0x20604a(0x3b1)&&(custom_call_id=_0x20604a(0x673)+_0x39ef95[0x19]);custchannellive=0x1,LasTCID=_0x2eb08b[0x4],LeaDPreVDispO=_0x2eb08b[0x6],fronter=_0x2eb08b[0x7],$(_0x20604a(0x48f))[_0x20604a(0x1b2)](_0x2eb08b[0x8]),$('#list_id')[_0x20604a(0x1b2)](_0x2eb08b[0x9]),$(_0x20604a(0x465))['val'](_0x2eb08b[0xa]),$(_0x20604a(0x40c))[_0x20604a(0x1b2)](_0x2eb08b[0xb]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x20604a(0x150)){var _0xff61e4=$(_0x20604a(0x69e));disable_alter_custphone=='Y'&&_0xff61e4[_0x20604a(0x1b2)](_0x2eb08b[0xc]);}$(_0x20604a(0x5e7))[_0x20604a(0x1b2)](_0x2eb08b[0xc]),$(_0x20604a(0x79a))[_0x20604a(0x1b2)](_0x2eb08b[0xd]),$(_0x20604a(0x485))[_0x20604a(0x1b2)](_0x2eb08b[0xe]),$(_0x20604a(0x2ac))['val'](_0x2eb08b[0xf]),$('#last_name')[_0x20604a(0x1b2)](_0x2eb08b[0x10]),$(_0x20604a(0x47d))[_0x20604a(0x1b2)](_0x2eb08b[0x11]),$(_0x20604a(0x826))[_0x20604a(0x1b2)](_0x2eb08b[0x12]),$('#address3')[_0x20604a(0x1b2)](_0x2eb08b[0x13]),$(_0x20604a(0x323))[_0x20604a(0x1b2)](_0x2eb08b[0x14]),$('#state')['val'](_0x2eb08b[0x15]),$(_0x20604a(0x300))[_0x20604a(0x1b2)](_0x2eb08b[0x16]),$(_0x20604a(0x67f))[_0x20604a(0x1b2)](_0x2eb08b[0x17]),$(_0x20604a(0x816))[_0x20604a(0x1b2)](_0x2eb08b[0x18]),$('#gender')[_0x20604a(0x1b2)](_0x2eb08b[0x19]),$(_0x20604a(0x6e3))[_0x20604a(0x1b2)](_0x2eb08b[0x1a]),$(_0x20604a(0x59a))[_0x20604a(0x1b2)](_0x2eb08b[0x1b]),$(_0x20604a(0x1c3))[_0x20604a(0x1b2)](_0x2eb08b[0x1c]),$(_0x20604a(0x6bb))[_0x20604a(0x1b2)](_0x2eb08b[0x1d]);var _0x5bfc5d=new RegExp('!N','g');_0x2eb08b[0x1e]=_0x2eb08b[0x1e][_0x20604a(0x74b)](_0x5bfc5d,'\x0a'),$(_0x20604a(0x1af))[_0x20604a(0x1b2)](_0x2eb08b[0x1e]),$(_0x20604a(0x7fd))[_0x20604a(0x1b2)](_0x2eb08b[0x1f]),CBentry_time=_0x2eb08b[0x20],CBcallback_time=_0x2eb08b[0x21],CBuser=_0x2eb08b[0x22],CBcomments=_0x2eb08b[0x23],dialed_number=_0x2eb08b[0x24],dialed_label=_0x2eb08b[0x25],source_id=_0x2eb08b[0x26],EAphone_code=_0x2eb08b[0x27],EAphone_number=_0x2eb08b[0x28],EAalt_phone_notes=_0x2eb08b[0x29],EAalt_phone_active=_0x2eb08b[0x2a],EAalt_phone_count=_0x2eb08b[0x2b],$(_0x20604a(0x6d0))[_0x20604a(0x1b2)](_0x2eb08b[0x2c]),$(_0x20604a(0x6ca))['val'](_0x2eb08b[0x2d]),script_recording_delay=_0x2eb08b[0x2e],$('#entry_list_id')[_0x20604a(0x1b2)](_0x2eb08b[0x2f]),custom_field_names=_0x2eb08b[0x30],custom_field_values=_0x2eb08b[0x31],custom_field_types=_0x2eb08b[0x32];if(qc_enabled>0x0){$(_0x20604a(0x471))[_0x20604a(0x1b2)](_0x2eb08b[0x35]),$('#audit_comments_button')['val'](_0x2eb08b[0x35]);comments_all_tabs=='ENABLED'&&$(_0x20604a(0x31f))[_0x20604a(0x1b2)](_0x2eb08b[0x35]);var _0xa289da=new RegExp('!N','g'),_0x2718b3=new RegExp('--------ADMINFONTBEGIN--------','g'),_0x11d827=new RegExp('--------ADMINFONTEND--------','g');_0x2eb08b[0x36]=_0x2eb08b[0x36][_0x20604a(0x74b)](_0xa289da,'\x0a'),_0x2eb08b[0x36]=_0x2eb08b[0x36][_0x20604a(0x74b)](_0x2718b3,''),_0x2eb08b[0x36]=_0x2eb08b[0x36][_0x20604a(0x74b)](_0x11d827,''),$('#audit_comments')[_0x20604a(0x628)](_0x2eb08b[0x36]);}$(_0x20604a(0x7fa))[_0x20604a(0x1b2)](_0x2eb08b[0x37]),$(_0x20604a(0x7bf))[_0x20604a(0x628)](_0x20604a(0x43b)+_0x2eb08b[0x37]+_0x20604a(0x1b9)),CalL_ScripT_color=_0x2eb08b[0x39],$(_0x20604a(0x6d2))['val'](_0x2eb08b[0x3a]),entry_date=_0x2eb08b[0x3b],did_custom_one=_0x2eb08b[0x3c],did_custom_two=_0x2eb08b[0x3d],did_custom_three=_0x2eb08b[0x3e],did_custom_four=_0x2eb08b[0x3f],did_custom_five=_0x2eb08b[0x40],status_group_statuses_data=_0x2eb08b[0x41],last_call_date=_0x2eb08b[0x42],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data[_0x20604a(0x35c)]>0x7){var _0x595251=status_group_statuses_data[_0x20604a(0x65a)](','),_0x4c8d9d=_0x595251['length'],_0x110aa0=0x0;while(_0x110aa0<_0x4c8d9d){var _0x1def0c=_0x595251[_0x110aa0],_0x2a9461=_0x1def0c['split']('|');gVARstatuses[_0x110aa0]=_0x2a9461[0x0],gVARstatusnames[_0x110aa0]=_0x2a9461[0x1],gVARSELstatuses[_0x110aa0]='Y',gVARCBstatuses[_0x110aa0]=_0x2a9461[0x2],gVARMINstatuses[_0x110aa0]=_0x2a9461[0x3],gVARMAXstatuses[_0x110aa0]=_0x2a9461[0x4],gVARCBstatuses[_0x110aa0]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+'\x20'+_0x2a9461[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x110aa0++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x20604a(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x20604a(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses[_0x20604a(0x57f)](gVARSELstatuses),VARCBstatuses=sVARCBstatuses[_0x20604a(0x57f)](gVARCBstatuses),VARMINstatuses=sVARMINstatuses[_0x20604a(0x57f)](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x20604a(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+'\x20'+gVARCBstatusesLIST+'\x20',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0xc5ce56='',_0x1f765a='',_0x427237='',_0x21941a='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x5a0394=0x0;while(HK_statuses_camp>_0x5a0394){var _0x2a3458=0x0;while(VD_statuses_ct>_0x2a3458){HKstatuses[_0x5a0394]==VARstatuses[_0x2a3458]&&(hotkeys[HKhotkeys[_0x5a0394]]=HKstatuses[_0x5a0394]+_0x20604a(0x828)+HKstatusnames[_0x5a0394],HKhotkeys[_0x5a0394]>=0x1&&HKhotkeys[_0x5a0394]<=0x3&&(_0x1f765a=_0x1f765a+''+HKhotkeys[_0x5a0394]+_0x20604a(0x4ec)+HKstatuses[_0x5a0394]+_0x20604a(0x4ec)+HKstatusnames[_0x5a0394]+_0x20604a(0x40f)),HKhotkeys[_0x5a0394]>=0x4&&HKhotkeys[_0x5a0394]<=0x6&&(_0x427237=_0x427237+''+HKhotkeys[_0x5a0394]+_0x20604a(0x4ec)+HKstatuses[_0x5a0394]+_0x20604a(0x4ec)+HKstatusnames[_0x5a0394]+_0x20604a(0x40f)),HKhotkeys[_0x5a0394]>=0x7&&HKhotkeys[_0x5a0394]<=0x9&&(_0x21941a=_0x21941a+''+HKhotkeys[_0x5a0394]+_0x20604a(0x4ec)+HKstatuses[_0x5a0394]+_0x20604a(0x4ec)+HKstatusnames[_0x5a0394]+_0x20604a(0x40f)),_0xc5ce56=_0xc5ce56+''+HKhotkeys[_0x5a0394]+'\x20'+HKstatuses[_0x5a0394]+'\x20'+HKstatusnames[_0x5a0394]+'|\x20'),_0x2a3458++;}_0x5a0394++;}}agent_display_fields['match'](adfREGentry_date)&&$(_0x20604a(0x699))[_0x20604a(0x628)](entry_date);agent_display_fields['match'](adfREGsource_id)&&$('#source_idDISP')['html'](source_id);if(agent_display_fields[_0x20604a(0x42d)](adfREGdate_of_birth)){}agent_display_fields[_0x20604a(0x42d)](adfREGrank)&&$(_0x20604a(0x284))[_0x20604a(0x628)]($('#rank')[_0x20604a(0x1b2)]());agent_display_fields[_0x20604a(0x42d)](adfREGowner)&&$('#ownerDISP')['html']($(_0x20604a(0x6ca))[_0x20604a(0x1b2)]());agent_display_fields['match'](adfREGlast_local_call_time)&&$(_0x20604a(0x2e6))[_0x20604a(0x628)](last_call_date);if(hide_gender>0x0)$(_0x20604a(0x578))[_0x20604a(0x1b2)](_0x2eb08b[0x19]);else{var _0x4d20d6=0x0;if($(_0x20604a(0x1b7))['val']()=='M')var _0x4d20d6=0x1;if($('#gender')[_0x20604a(0x1b2)]()=='F')var _0x4d20d6=0x2;$('#gender_list')[_0x20604a(0x1b2)]($(_0x20604a(0x1b7))[_0x20604a(0x1b2)]());}lead_dial_number=$(_0x20604a(0x5e7))[_0x20604a(0x1b2)]();var _0x23935f=$(_0x20604a(0x5e7))[_0x20604a(0x1b2)](),_0x16335b=phone_number_format(_0x23935f),_0x3ba10a=dialed_number,_0x136ec4=phone_number_format(_0x3ba10a),_0xf35764='';status_display_NAME>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x3bb)+$('#first_name')[_0x20604a(0x1b2)]()+'\x20'+$(_0x20604a(0x2e8))[_0x20604a(0x1b2)]());status_display_CALLID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x35b)+LasTCID);status_display_LEADID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x46c)+$('#lead_id')[_0x20604a(0x1b2)]());status_display_LISTID>0x0&&(_0xf35764=_0xf35764+'\x20List:\x20'+$(_0x20604a(0x416))[_0x20604a(0x1b2)]());$('#MainStatuSSpan')[_0x20604a(0x628)](_0x20604a(0x68a)+_0x136ec4+'\x20'+custom_call_id+'\x20'+_0xf35764+'\x20&nbsp;\x20'+_0x2fc061);if(CBentry_time[_0x20604a(0x35c)]>0x2){$('#CusTInfOSpaN')[_0x20604a(0x628)]('\x20<b>\x20PREVIOUS\x20CALLBACK\x20</b>'),$(_0x20604a(0x6ff))['html'](_0x20604a(0x49a)+CBentry_time),$(_0x20604a(0x72a))['html'](_0x20604a(0x57d)+CBcallback_time),$('#CBcommentsBoxC')[_0x20604a(0x628)](_0x20604a(0x488)+CBuser),$(_0x20604a(0x1e1))['html'](_0x20604a(0x3c7)+CBcomments);if(show_previous_callback=='ENABLED'){}}dialed_label==_0x20604a(0x829)&&(lead_dial_number=$(_0x20604a(0x59a))[_0x20604a(0x1b2)](),dialed_number=lead_dial_number,$(_0x20604a(0x782))[_0x20604a(0x628)](_0x20604a(0x460)));dialed_label==_0x20604a(0x6db)&&(lead_dial_number=$(_0x20604a(0x22b))[_0x20604a(0x1b2)](),dialed_number=lead_dial_number,$(_0x20604a(0x782))[_0x20604a(0x628)]('\x20<b>\x20ALT\x20DIAL\x20NUMBER:\x20ADDRESS3\x20</b>'));var _0x4940d1=new RegExp('X','g');if(dialed_label[_0x20604a(0x42d)](_0x4940d1)){$(_0x20604a(0x782))[_0x20604a(0x628)](_0x20604a(0x489)+dialed_label+_0x20604a(0x48b)),$(_0x20604a(0x646))[_0x20604a(0x628)](_0x20604a(0x1cc)+EAphone_code+'\x20'+EAphone_number),lead_dial_number=EAphone_number,dialed_number=lead_dial_number;var _0x1a5793='';EAalt_phone_active=='Y'?_0x1a5793='<a\x20href=\x22#\x22\x20onclick=\x22alt_phone_change(\x27'+EAphone_number+_0x20604a(0x6e6)+EAalt_phone_count+_0x20604a(0x6e6)+$('#lead_id')[_0x20604a(0x1b2)]()+_0x20604a(0x15e):_0x1a5793=_0x20604a(0x1f1)+EAphone_number+_0x20604a(0x6e6)+EAalt_phone_count+'\x27,\x27'+$(_0x20604a(0x486))[_0x20604a(0x1b2)]()+_0x20604a(0x7a9),$(_0x20604a(0x368))[_0x20604a(0x628)](_0x20604a(0x4c8)+EAalt_phone_active+'<br\x20/>'+_0x1a5793),$(_0x20604a(0x65f))[_0x20604a(0x628)](_0x20604a(0x5e8)+EAalt_phone_count),$(_0x20604a(0x467))[_0x20604a(0x628)](_0x20604a(0x2ca)+EAalt_phone_notes);}if(_0x39ef95[0x1][_0x20604a(0x35c)]>0x0){inOUT='IN',$('#type_appel')[_0x20604a(0x628)](_0x20604a(0x430));var _0x23935f=$(_0x20604a(0x5e7))[_0x20604a(0x1b2)](),_0x16335b=phone_number_format(_0x23935f),_0x3ba10a=dialed_number,_0x136ec4=phone_number_format(_0x3ba10a),_0xf35764='';status_display_NAME>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x3bb)+$(_0x20604a(0x485))[_0x20604a(0x1b2)]()+'\x20'+$(_0x20604a(0x2e8))[_0x20604a(0x1b2)]());status_display_CALLID>0x0&&(_0xf35764=_0xf35764+'\x20UID:\x20'+CIDcheck);status_display_LEADID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x46c)+$(_0x20604a(0x486))[_0x20604a(0x1b2)]());status_display_LISTID>0x0&&(_0xf35764=_0xf35764+_0x20604a(0x6e5)+$(_0x20604a(0x416))[_0x20604a(0x1b2)]());var _0x487813='\x20Group-\x20'+_0x39ef95[0x1];status_display_ingroup==_0x20604a(0x2e7)&&(_0x487813='');}else $(_0x20604a(0x56b))[_0x20604a(0x628)]('<span\x20class=\x22label\x20label-call-direction\x20label-primary\x22>\x20<i\x20class=\x22fa\x20fa-arrow-circle-up\x20fa-rotate-45\x22></i>\x20Emission</span>');$(_0x20604a(0x1a4))[_0x20604a(0x628)](_0x20604a(0x67a)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_parkcall.gif\x22\x20border=\x220\x22\x20alt=\x22Park\x20Call\x22\x20/></a>'),$(_0x20604a(0x19e))['html'](_0x20604a(0x7f8)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x269));(ivr_park_call==_0x20604a(0x20d)||ivr_park_call=='ENABLED_PARK_ONLY')&&$(_0x20604a(0x233))[_0x20604a(0x628)](_0x20604a(0x77b)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_ivrparkcall.gif\x22\x20border=\x220\x22\x20alt=\x22IVR\x20Park\x20Call\x22\x20/></a>');$(_0x20604a(0x5eb))['html'](_0x20604a(0x7fb)),$(_0x20604a(0x3c6))[_0x20604a(0x628)](_0x20604a(0x35f)),$(_0x20604a(0x154))['html']('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-success\x22\x20onclick=\x22mainxfer_send_redirect(\x27XfeRLOCAL\x27,\x27'+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x811)),$(_0x20604a(0x194))[_0x20604a(0x628)](_0x20604a(0x1d3)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x14a)),$(_0x20604a(0x2d3))[_0x20604a(0x628)](_0x20604a(0x321));(quick_transfer_button==_0x20604a(0x16a)||quick_transfer_button==_0x20604a(0x2d8))&&(quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=default_xfer_group),$(_0x20604a(0x7e6))['html'](_0x20604a(0x596)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+_0x20604a(0x6cd)+quick_transfer_button_locked+_0x20604a(0x753)));prepopulate_transfer_preset_enabled>0x0&&((prepopulate_transfer_preset==_0x20604a(0x7a6)||prepopulate_transfer_preset==_0x20604a(0x46b))&&($('#xfernumber')[_0x20604a(0x1b2)](CalL_XC_a_NuMber),$('#xfername')[_0x20604a(0x1b2)]('D1')),(prepopulate_transfer_preset==_0x20604a(0x572)||prepopulate_transfer_preset==_0x20604a(0x4f3))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_b_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D2')),(prepopulate_transfer_preset==_0x20604a(0x7da)||prepopulate_transfer_preset==_0x20604a(0x4da))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_c_NuMber),$('#xfername')['val']('D3')),(prepopulate_transfer_preset=='PRESET_4'||prepopulate_transfer_preset==_0x20604a(0x22f))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_d_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D4')),(prepopulate_transfer_preset==_0x20604a(0x5a7)||prepopulate_transfer_preset=='LOCKED_PRESET_5')&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_e_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D5')));(quick_transfer_button==_0x20604a(0x7a6)||quick_transfer_button=='PRESET_2'||quick_transfer_button==_0x20604a(0x7da)||quick_transfer_button==_0x20604a(0x5ac)||quick_transfer_button==_0x20604a(0x5a7)||quick_transfer_button==_0x20604a(0x46b)||quick_transfer_button==_0x20604a(0x4f3)||quick_transfer_button==_0x20604a(0x4da)||quick_transfer_button=='LOCKED_PRESET_4'||quick_transfer_button==_0x20604a(0x165))&&((quick_transfer_button==_0x20604a(0x7a6)||quick_transfer_button==_0x20604a(0x46b))&&($('#xfernumber')['val'](CalL_XC_a_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D1')),(quick_transfer_button=='PRESET_2'||quick_transfer_button==_0x20604a(0x4f3))&&($(_0x20604a(0x5d3))['val'](CalL_XC_b_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D2')),(quick_transfer_button==_0x20604a(0x7da)||quick_transfer_button==_0x20604a(0x4da))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_c_NuMber),$('#xfername')[_0x20604a(0x1b2)]('D3')),(quick_transfer_button==_0x20604a(0x5ac)||quick_transfer_button==_0x20604a(0x22f))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_d_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D4')),(quick_transfer_button==_0x20604a(0x5a7)||quick_transfer_button==_0x20604a(0x165))&&($(_0x20604a(0x5d3))[_0x20604a(0x1b2)](CalL_XC_e_NuMber),$(_0x20604a(0x747))[_0x20604a(0x1b2)]('D5')),quick_transfer_button_locked>0x0&&(quick_transfer_button_orig=$(_0x20604a(0x5d3))[_0x20604a(0x1b2)]()),$(_0x20604a(0x7e6))['html'](_0x20604a(0x1d3)+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27'+quick_transfer_button_locked+_0x20604a(0x753)));inbound_post_call_survey==_0x20604a(0x20d)&&inbound_survey_participate=='Y'?($(_0x20604a(0x5d3))['val'](_0x20604a(0x39f)),$(_0x20604a(0x6c5))['prop']('checked',!![]),$('#HangupControl')[_0x20604a(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27XfeRBLIND\x27,\x27'+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_hangupcustomer.gif\x22\x20border=\x220\x22\x20alt=\x22Hangup\x20Customer\x22\x20/></a>'),$('#HangupControl2')[_0x20604a(0x628)]('<button\x20id=\x22tbHangup\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-danger\x20btn-lg\x22\x20onclick=\x22mainxfer_send_redirect(\x27XfeRBLIND\x27,\x27'+lastcustchannel+_0x20604a(0x6e6)+lastcustserverip+'\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><i\x20class=\x22fa\x20fa-stop\x22></i>\x20Raccrocher</button>'),button_click_log=button_click_log+''+SQLdate+_0x20604a(0x552)+inbound_post_call_survey+'\x20'+inbound_survey_participate+'\x20'+$(_0x20604a(0x5d3))[_0x20604a(0x1b2)]()+'|'):($(_0x20604a(0x714))[_0x20604a(0x628)](_0x20604a(0x291)),$(_0x20604a(0x54d))[_0x20604a(0x628)](_0x20604a(0x7ff)));custom_3way_button_transfer_enabled>0x0&&$(_0x20604a(0x6ea))[_0x20604a(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22custom_button_transfer();return\x20false;\x22><img\x20src=\x22./images/vdc_LB_customxfer.gif\x22\x20border=\x220\x22\x20alt=\x22Custom\x20Transfer\x22\x20/></a>');if(call_requeue_button>0x0){var _0x15e032=$(_0x20604a(0x314))['val'](),_0x39c613=new RegExp(_0x20604a(0x59d),'ig');_0x15e032[_0x20604a(0x42d)](_0x39c613)||VU_closer_campaigns[_0x20604a(0x42d)](_0x39c613)?$(_0x20604a(0x7d6))[_0x20604a(0x628)](_0x20604a(0x2c9)):$(_0x20604a(0x7d6))[_0x20604a(0x628)](_0x20604a(0x631));}var _0x227fa0=0x0,_0x741e04='',_0x46aff4='';while(_0x227fa0<XFgroupCOUNT){VARxfergroups[_0x227fa0]==LIVE_default_xfer_group?_0x46aff4='selected\x20':_0x46aff4='',_0x741e04=_0x741e04+_0x20604a(0x182)+_0x46aff4+_0x20604a(0x457)+VARxfergroups[_0x227fa0]+'\x22>'+VARxfergroupsnames[_0x227fa0]+'</option>\x0a',_0x227fa0++;}$(_0x20604a(0x790))[_0x20604a(0x628)](_0x20604a(0x621)+_0x741e04+_0x20604a(0x51b));lastcustserverip==server_ip&&($(_0x20604a(0x38f))[_0x20604a(0x628)](_0x20604a(0x341)+lastcustchannel+_0x20604a(0x60d)),$('#VolumeDownSpan')[_0x20604a(0x628)](_0x20604a(0x448)+lastcustchannel+_0x20604a(0x1cd)));dial_method==_0x20604a(0x21c)?$(_0x20604a(0x7d7))[_0x20604a(0x628)](_0x20604a(0x47b)):($('#DiaLControl')[_0x20604a(0x628)](DiaLControl_auto_HTML_OFF),$(_0x20604a(0x370))[_0x20604a(0x628)](DiaLControl_auto_HTML_OFF2));VDCL_group_id[_0x20604a(0x35c)]>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label=='NONE')&&(dialed_label=_0x20604a(0x38c));if(hide_gender<0x1){var _0x5c17ef=$(_0x20604a(0x578))[_0x20604a(0x1b2)]();$('#gender')[_0x20604a(0x1b2)](_0x5c17ef);}LeaDDispO='';var _0xcf300f=new RegExp(_0x20604a(0x6d5),'ig');VDIC_web_form_address[_0x20604a(0x42d)](_0xcf300f)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x20604a(0x18f),_0x20604a(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x20604a(0x74b)](_0xcf300f,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x20604a(0x18f),_0x20604a(0x402),'1');VDIC_web_form_address_two[_0x20604a(0x42d)](_0xcf300f)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x20604a(0x18f),_0x20604a(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x20604a(0x74b)](_0xcf300f,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x20604a(0x18f),_0x20604a(0x402),'2');VDIC_web_form_address_three['match'](_0xcf300f)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,'YES',_0x20604a(0x6d6),'3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0xcf300f,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x20604a(0x18f),_0x20604a(0x402),'3');(LIVE_campaign_recording==_0x20604a(0x5c2)||LIVE_campaign_recording=='ALLFORCE')&&(all_record=_0x20604a(0x18f));if(view_scripts==0x1){if(CalL_ScripT_id[_0x20604a(0x35c)]>0x0){var _0x51a2cd='http://127.0.0.1/testing.php',_0x432bb9=URLDecode(_0x51a2cd,_0x20604a(0x18f),_0x20604a(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording=='ALLCALLS'||LIVE_campaign_recording==_0x20604a(0x41f))?(delayed_script_load=_0x20604a(0x18f),RefresHScript(_0x20604a(0x666)),RefresHScript2(_0x20604a(0x666))):(load_script_contents(_0x20604a(0x376),''),SSenable_second_script>0x0&&load_script_contents(_0x20604a(0x250),''));}else RefresHScript('',_0x20604a(0x18f)),RefresHScript2('',_0x20604a(0x18f));if(CalL_ScripT_id_two[_0x20604a(0x35c)]>0x0&&SSenable_second_script>0x0){var _0x51a2cd=_0x20604a(0x5d4),_0x432bb9=URLDecode(_0x51a2cd,_0x20604a(0x18f),_0x20604a(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x20604a(0x5c2)||LIVE_campaign_recording==_0x20604a(0x41f))?(delayed_script_load='YES',RefresHScript2('CLEAR')):load_script_contents(_0x20604a(0x250),'');}else RefresHScript2('',_0x20604a(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad();email_enabled>0x0&&EmailContentsLoad();chat_enabled>0x0&&CustomerChatContentsLoad();CalL_AutO_LauncH==_0x20604a(0x6af)&&(delayed_script_load==_0x20604a(0x18f)&&load_script_contents(_0x20604a(0x376),''),ScriptPanelToFront());CalL_AutO_LauncH==_0x20604a(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load=='YES'&&load_script_contents(_0x20604a(0x250),''),ScriptPanel2ToFront());CalL_AutO_LauncH==_0x20604a(0x7eb)&&EmailPanelToFront();if(useIE>0x0){var _0x3a7bba=new RegExp('^NONE','ig');if(CopY_tO_ClipboarD[_0x20604a(0x42d)](_0x3a7bba))var _0x1ee80f=0x1;else{var _0x33e2e2=$('#'+CopY_tO_ClipboarD);window['clipboardData'][_0x20604a(0x7cc)](_0x20604a(0x222),_0x33e2e2[_0x20604a(0x1b2)]());}}SSbrowser_call_alerts>0x0&&(browser_alert_sound!=''&&browser_alert_sound!='---NONE---'&&browser_alert_sound!='---DISABLED---'&&(button_click_log=button_click_log+''+SQLdate+_0x20604a(0x624)+browser_alert_sound+'\x20'+browser_alert_volume+'|',play_browser_sound(browser_alert_sound,browser_alert_volume)));if(alert_enabled=='ON'){var _0x3ba10a=dialed_number,_0x136ec4=phone_number_format(_0x3ba10a);alert(_0x20604a(0x13a)+_0x136ec4+_0x20604a(0x823)+_0x39ef95[0x1]+_0x20604a(0x227)+_0x2fc061);}}else(email_enabled>0x0&&EMAILgroupCOUNT>0x0||chat_enabled>0x0&&CHATgroupCOUNT>0x0)&&AutoDialWaiting==0x1&&(QUEUEpadding++,QUEUEpadding==0x5&&(QUEUEpadding=0x0,check_for_incoming_other()));_0x4316df=undefined,delete _0x4316df,alert_box_close_counter==0x1&&(VDRP_stage!='PAUSED'&&(agent_log_id=AutoDial_ReSume_PauSe(_0x20604a(0x2ce),'','','','','','',_0x20604a(0x18f))),button_click_log=button_click_log+''+SQLdate+_0x20604a(0x57b)+previous_agent_log_id+'\x20'+agent_log_id+'|',alert_box_close_counter=0x0,$(_0x20604a(0x2f3))[_0x20604a(0x7c3)](_0x20604a(0x345))),agent_events(_0x20604a(0x563),_0x20604a(0x66b)+agent_log_id,aec),aec++;}});}}function check_for_incoming_other(_0x239f74){var _0x2e1661=_0x1c96bb;if(typeof _0x2db714==_0x2e1661(0x34f)){all_record='NO',all_record_count=0x0;var _0x2db714=![];!_0x2db714&&typeof XMLHttpRequest!=_0x2e1661(0x34f)&&(_0x2db714=new XMLHttpRequest());if(_0x2db714){checkVDAI_query=_0x2e1661(0x4c6)+server_ip+_0x2e1661(0x7b6)+session_name+_0x2e1661(0x66e)+user+'&pass='+pass+_0x2e1661(0x569)+orig_pass+_0x2e1661(0x6b5)+campaign+_0x2e1661(0x193)+'&agent_log_id='+agent_log_id+_0x2e1661(0x760)+phone_login+_0x2e1661(0x801)+LOGemail+_0x2e1661(0x5d7)+session_id+_0x2e1661(0x4f5)+campaign_script+''+_0x2e1661(0x428)+CalL_ScripT_id+_0x2e1661(0x38e)+lastcustserverip+_0x2e1661(0x2bd)+extension+_0x2e1661(0x3f4)+original_phone_login+_0x2e1661(0x7fe)+phone_pass;if(!_0x239f74)for(var _0x3f3eb0=0x0;_0x3f3eb0<incomingEMAILgroups['length'];_0x3f3eb0++){checkVDAI_query+=_0x2e1661(0x7f1)+incomingEMAILgroups[_0x3f3eb0];}for(var _0x3f3eb0=0x0;_0x3f3eb0<incomingCHATgroups[_0x2e1661(0x35c)];_0x3f3eb0++){checkVDAI_query+=_0x2e1661(0x76c)+incomingCHATgroups[_0x3f3eb0];}_0x2db714[_0x2e1661(0x63c)](_0x2e1661(0x584),'crm_query.php'),_0x2db714[_0x2e1661(0x636)](_0x2e1661(0x638),_0x2e1661(0x404)),_0x2db714['send'](checkVDAI_query),_0x2db714['onreadystatechange']=function(){var _0x2ba303=_0x2e1661;if(_0x2db714[_0x2ba303(0x30f)]==0x4&&_0x2db714[_0x2ba303(0x6aa)]==0xc8){var _0x53e7c8=null;_0x53e7c8=_0x2db714[_0x2ba303(0x137)];var _0x31d549=_0x53e7c8[_0x2ba303(0x65a)]('\x0a');if(_0x31d549[0x0]=='1'){AutoDialWaiting=0x0,UpdatESettingSChecK=0x1;var _0x48ab44=_0x31d549[0x1][_0x2ba303(0x65a)]('|');VDIC_web_form_address=PIXIScrm_web_form_address,VDIC_web_form_address_two=PIXIScrm_web_form_address_two,VDIC_web_form_address_three=PIXIScrm_web_form_address_three,CalL_AutO_LauncH=_0x48ab44[0x3],$(_0x2ba303(0x643))[_0x2ba303(0x7b8)](_0x2ba303(0x585),image_livecall_ON[_0x2ba303(0x585)]),$(_0x2ba303(0x4e0))[_0x2ba303(0x6c6)](_0x2ba303(0x20e),'2px\x20solid\x20rgb(41,\x20151,\x2074)');if(CalL_AutO_LauncH==_0x2ba303(0x7eb)||CalL_AutO_LauncH=='SCRIPT'||CalL_AutO_LauncH==_0x2ba303(0x401))$(_0x2ba303(0x721))[_0x2ba303(0x1b2)](_0x48ab44[0x4]),$(_0x2ba303(0x643))['attr']('src',image_liveemail_ON['src']);else CalL_AutO_LauncH==_0x2ba303(0x7c8)&&(chat_enabled>0x0&&($(_0x2ba303(0x571))[_0x2ba303(0x7b8)](_0x2ba303(0x585),image_customer_chat_ON['src']),$(_0x2ba303(0x280))['val'](_0x48ab44[0x4]),$('#customer_chat_id')[_0x2ba303(0x1b2)](_0x48ab44[0x4]),$(_0x2ba303(0x643))['attr'](_0x2ba303(0x585),image_livechat_ON[_0x2ba303(0x585)])));var _0x33178b='',_0x303713=_0x31d549[0x2][_0x2ba303(0x65a)]('|');_0x303713[0x0][_0x2ba303(0x35c)]>0x5&&(VDIC_web_form_address=_0x303713[0x0]);var _0x2c9ac2=_0x303713[0x1],_0x7fc45c=_0x303713[0x2],_0x10f4da=_0x303713[0x3];VDCL_group_id=_0x303713[0x4],CalL_ScripT_id=_0x303713[0x5],CalL_XC_a_Dtmf=_0x303713[0x7],CalL_XC_a_NuMber=_0x303713[0x8],CalL_XC_b_Dtmf=_0x303713[0x9],CalL_XC_b_NuMber=_0x303713[0xa];_0x303713[0xb][_0x2ba303(0x35c)]>0x1&&_0x303713[0xb]!=_0x2ba303(0x2f1)?LIVE_default_xfer_group=_0x303713[0xb]:LIVE_default_xfer_group=default_xfer_group;_0x303713[0xc]['length']>0x1&&_0x303713[0xc]!='DISABLED'?LIVE_campaign_recording=_0x303713[0xc]:LIVE_campaign_recording=campaign_recording;_0x303713[0xd][_0x2ba303(0x35c)]>0x1&&_0x303713[0xd]!=_0x2ba303(0x502)?LIVE_campaign_rec_filename=_0x303713[0xd]:LIVE_campaign_rec_filename=campaign_rec_filename;_0x303713[0xe]['length']>0x1&&_0x303713[0xe]!=_0x2ba303(0x502)?LIVE_default_group_alias=_0x303713[0xe]:LIVE_default_group_alias=default_group_alias;_0x303713[0xf][_0x2ba303(0x35c)]>0x1&&_0x303713[0xf]!=_0x2ba303(0x502)?LIVE_caller_id_number=_0x303713[0xf]:LIVE_caller_id_number=default_group_alias_cid;_0x303713[0x10][_0x2ba303(0x35c)]>0x0?LIVE_web_vars=_0x303713[0x10]:LIVE_web_vars=default_web_vars;_0x303713[0x11][_0x2ba303(0x35c)]>0x5&&(VDIC_web_form_address_two=_0x303713[0x11]);var _0x4dfb3b=_0x303713[0x12];if(_0x4dfb3b==_0x2ba303(0x502)||_0x4dfb3b['length']<0x2)timer_action=campaign_timer_action,timer_action_message=campaign_timer_action_message,timer_action_seconds=campaign_timer_action_seconds,timer_action_destination=campaign_timer_action_destination;else{var _0x4813f0=_0x303713[0x13],_0x2f5dc7=_0x303713[0x14],_0x189f01=_0x303713[0x1b];timer_action=_0x4dfb3b,timer_action_message=_0x4813f0,timer_action_seconds=_0x2f5dc7,timer_action_destination=_0x189f01;}CalL_XC_c_NuMber=_0x303713[0x15],CalL_XC_d_NuMber=_0x303713[0x16],CalL_XC_e_NuMber=_0x303713[0x17],CalL_XC_e_NuMber=_0x303713[0x17],uniqueid_status_display=_0x303713[0x18],uniqueid_status_prefix=_0x303713[0x1a],did_id=_0x303713[0x1c],did_extension=_0x303713[0x1d],did_pattern=_0x303713[0x1e],did_description=_0x303713[0x1f],closecallid=_0x303713[0x20],xfercallid=_0x303713[0x21];_0x303713[0x22][_0x2ba303(0x35c)]>0x5&&(VDIC_web_form_address_three=_0x303713[0x22]);_0x303713[0x23]['length']>0x1&&(CalL_ScripT_color=_0x303713[0x23]);_0x303713[0x24][_0x2ba303(0x35c)]>0x0&&(CalL_ScripT_id_two=_0x303713[0x24]);_0x303713[0x25]['length']>0x0&&(CalL_ScripT_color_two=_0x303713[0x25]);var _0x423c1=_0x31d549[0x3]['split']('|');_0x423c1[0x1][_0x2ba303(0x35c)]>0x1&&_0x10f4da=='Y'&&(_0x33178b=_0x2ba303(0x140)+_0x423c1[0x0]+'\x20-\x20'+_0x423c1[0x1]);$('#lead_id')[_0x2ba303(0x1b2)](_0x48ab44[0x0]),$(_0x2ba303(0x186))[_0x2ba303(0x1b2)](_0x48ab44[0x1]),CIDcheck=_0x48ab44[0x2],CalLCID=_0x48ab44[0x2],LastCallCID=_0x48ab44[0x2],$('#callchannel')[_0x2ba303(0x628)](_0x48ab44[0x3]),lastcustchannel=_0x48ab44[0x3],$(_0x2ba303(0x303))[_0x2ba303(0x1b2)](_0x48ab44[0x4]),lastcustserverip=_0x48ab44[0x4],$(_0x2ba303(0x1a2))[_0x2ba303(0x1b2)](0x0),$(_0x2ba303(0x4d7))['html']('0'),lastcustchannel=_0x48ab44[0x6];uniqueid_status_display==_0x2ba303(0x20d)&&(custom_call_id=_0x2ba303(0x673)+_0x48ab44[0x1]);uniqueid_status_display==_0x2ba303(0x653)&&(custom_call_id=_0x2ba303(0x673)+uniqueid_status_prefix+''+_0x48ab44[0x1]);uniqueid_status_display==_0x2ba303(0x3b1)&&(custom_call_id=_0x2ba303(0x673)+_0x303713[0x19]);VD_live_customer_call=0x1,VD_live_call_secondS=0x0,customer_sec=0x0,currently_in_email_or_chat=0x1,custchannellive=0x1,LasTCID=_0x31d549[0x4],LeaDPreVDispO=_0x31d549[0x6],fronter=_0x31d549[0x7],$('#vendor_lead_code')[_0x2ba303(0x1b2)](_0x31d549[0x8]),$(_0x2ba303(0x416))[_0x2ba303(0x1b2)](_0x31d549[0x9]),$(_0x2ba303(0x465))['val'](_0x31d549[0xa]),$('#phone_code')[_0x2ba303(0x1b2)](_0x31d549[0xb]);if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x2ba303(0x150)){var _0x458379=$(_0x2ba303(0x69e));disable_alter_custphone=='Y'&&_0x458379[_0x2ba303(0x1b2)](_0x31d549[0xc]);}$('#phone_number')[_0x2ba303(0x1b2)](_0x31d549[0xc]),$('#title')['val'](_0x31d549[0xd]),$('#first_name')[_0x2ba303(0x1b2)](_0x31d549[0xe]),$(_0x2ba303(0x2ac))[_0x2ba303(0x1b2)](_0x31d549[0xf]),$(_0x2ba303(0x2e8))['val'](_0x31d549[0x10]),$(_0x2ba303(0x47d))[_0x2ba303(0x1b2)](_0x31d549[0x11]),$(_0x2ba303(0x826))[_0x2ba303(0x1b2)](_0x31d549[0x12]),$('#address3')[_0x2ba303(0x1b2)](_0x31d549[0x13]),$('#city')[_0x2ba303(0x1b2)](_0x31d549[0x14]),$(_0x2ba303(0x1c0))[_0x2ba303(0x1b2)](_0x31d549[0x15]),$(_0x2ba303(0x300))['val'](_0x31d549[0x16]),$(_0x2ba303(0x67f))[_0x2ba303(0x1b2)](_0x31d549[0x17]),$(_0x2ba303(0x816))[_0x2ba303(0x1b2)](_0x31d549[0x18]),$(_0x2ba303(0x1b7))[_0x2ba303(0x1b2)](_0x31d549[0x19]),$(_0x2ba303(0x6e3))[_0x2ba303(0x1b2)](_0x31d549[0x1a]),$(_0x2ba303(0x59a))[_0x2ba303(0x1b2)](_0x31d549[0x1b]),$('#email')[_0x2ba303(0x1b2)](_0x31d549[0x1c]),$(_0x2ba303(0x6bb))[_0x2ba303(0x1b2)](_0x31d549[0x1d]);var _0x7b85d1=new RegExp('!N','g');_0x31d549[0x1e]=_0x31d549[0x1e][_0x2ba303(0x74b)](_0x7b85d1,'\x0a'),$(_0x2ba303(0x1af))['val'](_0x31d549[0x1e]),$('#called_count')[_0x2ba303(0x1b2)](_0x31d549[0x1f]),CBentry_time=_0x31d549[0x20],CBcallback_time=_0x31d549[0x21],CBuser=_0x31d549[0x22],CBcomments=_0x31d549[0x23],dialed_number=_0x31d549[0x24],dialed_label=_0x31d549[0x25],source_id=_0x31d549[0x26],EAphone_code=_0x31d549[0x27],EAphone_number=_0x31d549[0x28],EAalt_phone_notes=_0x31d549[0x29],EAalt_phone_active=_0x31d549[0x2a],EAalt_phone_count=_0x31d549[0x2b],$(_0x2ba303(0x6d0))[_0x2ba303(0x1b2)](_0x31d549[0x2c]),$(_0x2ba303(0x6ca))[_0x2ba303(0x1b2)](_0x31d549[0x2d]),script_recording_delay=_0x31d549[0x2e],$('#entry_list_id')[_0x2ba303(0x1b2)](_0x31d549[0x2f]),custom_field_names=_0x31d549[0x30],custom_field_values=_0x31d549[0x31],custom_field_types=_0x31d549[0x32],$(_0x2ba303(0x7fa))[_0x2ba303(0x1b2)](_0x31d549[0x33]),$('#list_appel')[_0x2ba303(0x628)]('<span\x20class=\x22label\x20label-call-direction\x20label-warning\x22>'+_0x31d549[0x33]+_0x2ba303(0x1b9)),$(_0x2ba303(0x6d2))[_0x2ba303(0x1b2)](_0x31d549[0x36]),entry_date=_0x31d549[0x37],did_custom_one=_0x31d549[0x38],did_custom_two=_0x31d549[0x39],did_custom_three=_0x31d549[0x3a],did_custom_four=_0x31d549[0x3b],did_custom_five=_0x31d549[0x3c],status_group_statuses_data=_0x31d549[0x3d],last_call_date=_0x31d549[0x3e],VARstatuses=[],VARstatusnames=[],VARSELstatuses=[],VARCBstatuses=[],VARMINstatuses=[],VARMAXstatuses=[],VARCBstatusesLIST='',VD_statuses_ct=0x0,VARSELstatuses_ct=0x0,gVARstatuses=[],gVARstatusnames=[],gVARSELstatuses=[],gVARCBstatuses=[],gVARMINstatuses=[],gVARMAXstatuses=[],gVARCBstatusesLIST='',gVD_statuses_ct=0x0,gVARSELstatuses_ct=0x0;if(status_group_statuses_data['length']>0x7){var _0x1e5b6e=status_group_statuses_data[_0x2ba303(0x65a)](','),_0x16aab2=_0x1e5b6e['length'],_0x5bbbf0=0x0;while(_0x5bbbf0<_0x16aab2){var _0x331eac=_0x1e5b6e[_0x5bbbf0],_0x585091=_0x331eac[_0x2ba303(0x65a)]('|');gVARstatuses[_0x5bbbf0]=_0x585091[0x0],gVARstatusnames[_0x5bbbf0]=_0x585091[0x1],gVARSELstatuses[_0x5bbbf0]='Y',gVARCBstatuses[_0x5bbbf0]=_0x585091[0x2],gVARMINstatuses[_0x5bbbf0]=_0x585091[0x3],gVARMAXstatuses[_0x5bbbf0]=_0x585091[0x4],gVARCBstatuses[_0x5bbbf0]=='Y'&&(gVARCBstatusesLIST=gVARCBstatusesLIST+'\x20'+_0x585091[0x0]),gVD_statuses_ct++,gVARSELstatuses_ct++,_0x5bbbf0++;}}else gVARstatuses=cVARstatuses,gVARstatusnames=cVARstatusnames,gVARSELstatuses=cVARSELstatuses,gVARCBstatuses=cVARCBstatuses,gVARMINstatuses=cVARMINstatuses,gVARMAXstatuses=cVARMAXstatuses,gVARCBstatusesLIST=cVARCBstatusesLIST,gVD_statuses_ct=cVD_statuses_ct,gVARSELstatuses_ct=cVARSELstatuses_ct;VARstatuses=sVARstatuses[_0x2ba303(0x57f)](gVARstatuses),VARstatusnames=sVARstatusnames[_0x2ba303(0x57f)](gVARstatusnames),VARSELstatuses=sVARSELstatuses['concat'](gVARSELstatuses),VARCBstatuses=sVARCBstatuses['concat'](gVARCBstatuses),VARMINstatuses=sVARMINstatuses[_0x2ba303(0x57f)](gVARMINstatuses),VARMAXstatuses=sVARMAXstatuses[_0x2ba303(0x57f)](gVARMAXstatuses),VARCBstatusesLIST=sVARCBstatusesLIST+'\x20'+gVARCBstatusesLIST+'\x20',VD_statuses_ct=Number(sVD_statuses_ct)+Number(gVD_statuses_ct),VARSELstatuses_ct=Number(sVARSELstatuses_ct)+Number(gVARSELstatuses_ct);var _0x11388d='',_0x414555='',_0x5399b5='',_0x3fd01d='';if(HK_statuses_camp>0x0){hotkeys=[];var _0x3a927b=0x0;while(HK_statuses_camp>_0x3a927b){var _0x4c9bcf=0x0;while(VD_statuses_ct>_0x4c9bcf){HKstatuses[_0x3a927b]==VARstatuses[_0x4c9bcf]&&(hotkeys[HKhotkeys[_0x3a927b]]=HKstatuses[_0x3a927b]+_0x2ba303(0x828)+HKstatusnames[_0x3a927b],HKhotkeys[_0x3a927b]>=0x1&&HKhotkeys[_0x3a927b]<=0x3&&(_0x414555=_0x414555+''+HKhotkeys[_0x3a927b]+_0x2ba303(0x4ec)+HKstatuses[_0x3a927b]+_0x2ba303(0x4ec)+HKstatusnames[_0x3a927b]+_0x2ba303(0x40f)),HKhotkeys[_0x3a927b]>=0x4&&HKhotkeys[_0x3a927b]<=0x6&&(_0x5399b5=_0x5399b5+''+HKhotkeys[_0x3a927b]+_0x2ba303(0x4ec)+HKstatuses[_0x3a927b]+_0x2ba303(0x4ec)+HKstatusnames[_0x3a927b]+_0x2ba303(0x40f)),HKhotkeys[_0x3a927b]>=0x7&&HKhotkeys[_0x3a927b]<=0x9&&(_0x3fd01d=_0x3fd01d+''+HKhotkeys[_0x3a927b]+_0x2ba303(0x4ec)+HKstatuses[_0x3a927b]+_0x2ba303(0x4ec)+HKstatusnames[_0x3a927b]+_0x2ba303(0x40f)),_0x11388d=_0x11388d+''+HKhotkeys[_0x3a927b]+'\x20'+HKstatuses[_0x3a927b]+'\x20'+HKstatusnames[_0x3a927b]+'|\x20'),_0x4c9bcf++;}_0x3a927b++;}}agent_display_fields['match'](adfREGentry_date)&&$(_0x2ba303(0x699))[_0x2ba303(0x628)](entry_date);agent_display_fields[_0x2ba303(0x42d)](adfREGsource_id)&&$(_0x2ba303(0x7d3))['html'](source_id);if(agent_display_fields[_0x2ba303(0x42d)](adfREGdate_of_birth)){}agent_display_fields[_0x2ba303(0x42d)](adfREGrank)&&$(_0x2ba303(0x284))[_0x2ba303(0x628)]($('#rank')[_0x2ba303(0x1b2)]());agent_display_fields['match'](adfREGowner)&&$(_0x2ba303(0x59e))[_0x2ba303(0x628)]($(_0x2ba303(0x6ca))[_0x2ba303(0x1b2)]());agent_display_fields[_0x2ba303(0x42d)](adfREGlast_local_call_time)&&$(_0x2ba303(0x2e6))[_0x2ba303(0x628)](last_call_date);if(hide_gender>0x0)$(_0x2ba303(0x578))[_0x2ba303(0x1b2)](_0x31d549[0x19]);else{var _0x292914=0x0;if($('#gender')[_0x2ba303(0x1b2)]()=='M')var _0x292914=0x1;if($(_0x2ba303(0x1b7))['val']()=='F')var _0x292914=0x2;$(_0x2ba303(0x578))[_0x2ba303(0x1b2)]($(_0x2ba303(0x1b7))[_0x2ba303(0x1b2)]());}lead_dial_number=$(_0x2ba303(0x5e7))['val']();var _0x471bfd=$(_0x2ba303(0x5e7))[_0x2ba303(0x1b2)](),_0x5de750=phone_number_format(_0x471bfd),_0x2c7569=dialed_number,_0x36079f=phone_number_format(_0x2c7569),_0x320020='';status_display_NAME>0x0&&(_0x320020=_0x320020+_0x2ba303(0x3bb)+$('#first_name')[_0x2ba303(0x1b2)]()+'\x20'+$(_0x2ba303(0x2e8))[_0x2ba303(0x1b2)]());status_display_CALLID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x35b)+LasTCID);status_display_LEADID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x46c)+$(_0x2ba303(0x486))[_0x2ba303(0x1b2)]());status_display_LISTID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x6e5)+$(_0x2ba303(0x416))[_0x2ba303(0x1b2)]());$(_0x2ba303(0x170))[_0x2ba303(0x628)](_0x2ba303(0x13a)+_0x36079f+'\x20'+custom_call_id+'\x20'+_0x320020+_0x2ba303(0x227)+_0x33178b);if(CBentry_time[_0x2ba303(0x35c)]>0x2){$(_0x2ba303(0x782))[_0x2ba303(0x628)](_0x2ba303(0x25e)),$(_0x2ba303(0x6ff))[_0x2ba303(0x628)](_0x2ba303(0x49a)+CBentry_time),$(_0x2ba303(0x72a))[_0x2ba303(0x628)]('<b>CallBack:\x20</b>'+CBcallback_time),$(_0x2ba303(0x7cd))[_0x2ba303(0x628)]('<b>Agent:\x20</b>'+CBuser),$(_0x2ba303(0x1e1))['html'](_0x2ba303(0x3c7)+CBcomments);if(show_previous_callback=='ENABLED'){}}dialed_label=='ALT'&&$('#CusTInfOSpaN')[_0x2ba303(0x628)](_0x2ba303(0x460));dialed_label==_0x2ba303(0x6db)&&$(_0x2ba303(0x782))[_0x2ba303(0x628)](_0x2ba303(0x639));var _0x2b2f3a=new RegExp('X','g');if(dialed_label[_0x2ba303(0x42d)](_0x2b2f3a)){$(_0x2ba303(0x782))['html'](_0x2ba303(0x489)+dialed_label+_0x2ba303(0x48b)),$('#EAcommentsBoxA')[_0x2ba303(0x628)](_0x2ba303(0x1cc)+EAphone_code+'\x20'+EAphone_number);var _0x56f564='';EAalt_phone_active=='Y'?_0x56f564=_0x2ba303(0x1f1)+EAphone_number+_0x2ba303(0x6e6)+EAalt_phone_count+_0x2ba303(0x6e6)+$(_0x2ba303(0x486))['val']()+'\x27,\x27N\x27);\x22>Change\x20this\x20phone\x20number\x20to\x20INACTIVE</a>':_0x56f564=_0x2ba303(0x1f1)+EAphone_number+_0x2ba303(0x6e6)+EAalt_phone_count+_0x2ba303(0x6e6)+$('#lead_id')[_0x2ba303(0x1b2)]()+_0x2ba303(0x7a9),$('#EAcommentsBoxB')[_0x2ba303(0x628)](_0x2ba303(0x4c8)+EAalt_phone_active+'<br\x20/>'+_0x56f564),$(_0x2ba303(0x65f))[_0x2ba303(0x628)](_0x2ba303(0x5e8)+EAalt_phone_count),$(_0x2ba303(0x467))['html'](_0x2ba303(0x2ca)+EAalt_phone_notes);}if(_0x303713[0x1][_0x2ba303(0x35c)]>0x0){inOUT='IN';var _0x471bfd=$(_0x2ba303(0x5e7))[_0x2ba303(0x1b2)](),_0x5de750=phone_number_format(_0x471bfd),_0x2c7569=dialed_number,_0x36079f=phone_number_format(_0x2c7569),_0x320020='';status_display_NAME>0x0&&(_0x320020=_0x320020+_0x2ba303(0x3bb)+$('#first_name')['val']()+'\x20'+$('#last_name')[_0x2ba303(0x1b2)]());status_display_CALLID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x35b)+CIDcheck);status_display_LEADID>0x0&&(_0x320020=_0x320020+_0x2ba303(0x46c)+$(_0x2ba303(0x486))[_0x2ba303(0x1b2)]());status_display_LISTID>0x0&&(_0x320020=_0x320020+'\x20List:\x20'+$(_0x2ba303(0x416))[_0x2ba303(0x1b2)]());var _0x1c8491=_0x2ba303(0x808)+_0x303713[0x1];status_display_ingroup=='DISABLED'&&(_0x1c8491=''),$(_0x2ba303(0x170))['html']('Appel\x20entrant\x20:'+_0x36079f+'\x20'+custom_call_id+'\x20'+_0x1c8491+_0x2ba303(0x13f)+_0x33178b+'\x20'+_0x320020);}$(_0x2ba303(0x714))[_0x2ba303(0x628)](_0x2ba303(0x291)),$(_0x2ba303(0x54d))[_0x2ba303(0x628)](_0x2ba303(0x7ff));var _0x8bbdda=0x0,_0x32f82d='',_0xe8220='';while(_0x8bbdda<XFgroupCOUNT){VARxfergroups[_0x8bbdda]==LIVE_default_xfer_group?_0xe8220='selected\x20':_0xe8220='',_0x32f82d=_0x32f82d+'<option\x20'+_0xe8220+_0x2ba303(0x457)+VARxfergroups[_0x8bbdda]+'\x22>'+VARxfergroupsnames[_0x8bbdda]+_0x2ba303(0x48e),_0x8bbdda++;}$(_0x2ba303(0x790))[_0x2ba303(0x628)](_0x2ba303(0x621)+_0x32f82d+'</select>');lastcustserverip==server_ip&&($(_0x2ba303(0x38f))[_0x2ba303(0x628)](_0x2ba303(0x341)+lastcustchannel+_0x2ba303(0x60d)),$('#VolumeDownSpan')[_0x2ba303(0x628)]('<a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27DOWN\x27,\x27'+lastcustchannel+_0x2ba303(0x1cd)));dial_method==_0x2ba303(0x21c)?$(_0x2ba303(0x7d7))[_0x2ba303(0x628)](_0x2ba303(0x47b)):($(_0x2ba303(0x7d7))[_0x2ba303(0x628)](DiaLControl_auto_HTML_OFF),$(_0x2ba303(0x370))[_0x2ba303(0x628)](DiaLControl_auto_HTML_OFF2));VDCL_group_id['length']>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label=='NONE')&&(dialed_label=_0x2ba303(0x38c));if(hide_gender<0x1){var _0x566015=$(_0x2ba303(0x578))[_0x2ba303(0x1b2)]();$(_0x2ba303(0x1b7))[_0x2ba303(0x1b2)](_0x566015);}LeaDDispO='';var _0x366e20=new RegExp(_0x2ba303(0x6d5),'ig');VDIC_web_form_address[_0x2ba303(0x42d)](_0x366e20)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x2ba303(0x18f),_0x2ba303(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x2ba303(0x74b)](_0x366e20,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x2ba303(0x18f),_0x2ba303(0x402),'1');VDIC_web_form_address_two[_0x2ba303(0x42d)](_0x366e20)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x2ba303(0x18f),'CUSTOM','2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x2ba303(0x74b)](_0x366e20,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,'YES','DEFAULT','2');VDIC_web_form_address_three['match'](_0x366e20)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x2ba303(0x18f),'CUSTOM','3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0x366e20,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,'YES',_0x2ba303(0x402),'3');(LIVE_campaign_recording=='ALLCALLS'||LIVE_campaign_recording==_0x2ba303(0x41f))&&(all_record='YES');if(view_scripts==0x1){if(CalL_ScripT_id['length']>0x0){var _0x5c7072=_0x2ba303(0x5d4),_0x56dbba=URLDecode(_0x5c7072,_0x2ba303(0x18f),_0x2ba303(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x2ba303(0x5c2)||LIVE_campaign_recording=='ALLFORCE')?(delayed_script_load='YES',RefresHScript(_0x2ba303(0x666))):load_script_contents(_0x2ba303(0x376),'');}else RefresHScript('',_0x2ba303(0x18f));if(CalL_ScripT_id_two['length']>0x0&&SSenable_second_script>0x0){var _0x5c7072=_0x2ba303(0x5d4),_0x56dbba=URLDecode(_0x5c7072,_0x2ba303(0x18f),_0x2ba303(0x402),'0');script_recording_delay>0x0&&(LIVE_campaign_recording==_0x2ba303(0x5c2)||LIVE_campaign_recording==_0x2ba303(0x41f))?(delayed_script_load='YES',RefresHScript2(_0x2ba303(0x666))):load_script_contents(_0x2ba303(0x250),'');}else RefresHScript2('',_0x2ba303(0x18f));}custom_fields_enabled>0x0&&FormContentsLoad();email_enabled>0x0&&EmailContentsLoad();chat_enabled>0x0&&CustomerChatContentsLoad('','',_0x239f74);CalL_AutO_LauncH=='SCRIPT'&&(delayed_script_load==_0x2ba303(0x18f)&&load_script_contents(_0x2ba303(0x376),''),ScriptPanelToFront());CalL_AutO_LauncH==_0x2ba303(0x71a)&&SSenable_second_script>0x0&&(delayed_script_load=='YES'&&load_script_contents('Script2Contents',''),ScriptPanel2ToFront());CalL_AutO_LauncH==_0x2ba303(0x7eb)&&EmailPanelToFront();if(useIE>0x0){var _0x1c8c72=new RegExp(_0x2ba303(0x5a2),'ig');if(CopY_tO_ClipboarD[_0x2ba303(0x42d)](_0x1c8c72))var _0x46f2bc=0x1;else{var _0x3f132c=$('#'+CopY_tO_ClipboarD);window[_0x2ba303(0x405)][_0x2ba303(0x7cc)](_0x2ba303(0x222),_0x3f132c[_0x2ba303(0x1b2)]());}}if(alert_enabled=='ON'){var _0x2c7569=dialed_number,_0x36079f=phone_number_format(_0x2c7569);alert(_0x2ba303(0x13a)+_0x36079f+'\x0a\x20Group-\x20'+_0x303713[0x1]+_0x2ba303(0x227)+_0x33178b);}agent_events(_0x2ba303(0x642),CalL_AutO_LauncH,aec),aec++;}_0x2db714=undefined,delete _0x2db714;}};}}}function RefresHScript(_0x353b50,_0x550f43){var _0x8f5222=_0x1c96bb;_0x550f43==_0x8f5222(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----RefresHScript---'+_0x353b50+'|');if(_0x353b50==_0x8f5222(0x666))$(_0x8f5222(0x376))['html'](_0x8f5222(0x147));else{$(_0x8f5222(0x565))[_0x8f5222(0x628)](_0x8f5222(0x147)),WebFormRefresH('','','1'),WebFormTwoRefresH('','','1'),WebFormThreeRefresH('','','1');var _0xf93214=URLDecode('',_0x8f5222(0x18f),_0x8f5222(0x402),'0');load_script_contents(_0x8f5222(0x376),'');}}function RefresHScript2(_0x2bd000,_0x35622c){var _0x401d0f=_0x1c96bb;if(SSenable_second_script>0x0){_0x35622c=='YES'&&(button_click_log=button_click_log+''+SQLdate+'-----RefresHScript2---'+_0x2bd000+'|');if(_0x2bd000==_0x401d0f(0x666))$('#Script2Contents')['html']('');else{$(_0x401d0f(0x391))[_0x401d0f(0x628)](''),WebFormRefresH('','','1'),WebFormTwoRefresH('','','1'),WebFormThreeRefresH('','','1');var _0x467c41=URLDecode('',_0x401d0f(0x18f),_0x401d0f(0x402),'0');load_script_contents(_0x401d0f(0x250),'');}}}function WebFormRefresH(_0xda3189,_0x361d38,_0x3dc40f){var _0x194d27=_0x1c96bb,_0x36793c=0x0;VDCL_group_id['length']>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label=='NONE')&&(dialed_label='MAIN');if(_0x361d38!=_0x194d27(0x18f)){if(hide_gender<0x1){var _0x50cf13=$(_0x194d27(0x578))[_0x194d27(0x1b2)]();$('#gender')['val'](_0x50cf13);}}var _0xf57426=new RegExp(_0x194d27(0x6d5),'ig');VDIC_web_form_address['match'](_0xf57426)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x194d27(0x18f),_0x194d27(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x194d27(0x74b)](_0xf57426,'')):_0x36793c=0x1,(_0x36793c>0x0||_0x3dc40f>0x0)&&(VDIC_web_form_address[_0x194d27(0x42d)](_0xf57426)?(TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,'YES',_0x194d27(0x6d6),'1'),TEMP_VDIC_web_form_address=TEMP_VDIC_web_form_address[_0x194d27(0x74b)](_0xf57426,'')):TEMP_VDIC_web_form_address=URLDecode(VDIC_web_form_address,_0x194d27(0x18f),_0x194d27(0x402),'1'));}function WebFormTwoRefresH(_0x24939b,_0x4410d5){var _0x452e14=_0x1c96bb;VDCL_group_id[_0x452e14(0x35c)]>0x1?group=VDCL_group_id:group=campaign;(dialed_label['length']<0x2||dialed_label==_0x452e14(0x502))&&(dialed_label=_0x452e14(0x38c));if(_0x4410d5!=_0x452e14(0x18f)){if(hide_gender<0x1){var _0x5cabda=$(_0x452e14(0x578))[_0x452e14(0x1b2)]();$('#gender')[_0x452e14(0x1b2)](_0x5cabda);}}var _0x312209=new RegExp(_0x452e14(0x6d5),'ig');VDIC_web_form_address_two[_0x452e14(0x42d)](_0x312209)?(TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,_0x452e14(0x18f),_0x452e14(0x6d6),'2'),TEMP_VDIC_web_form_address_two=TEMP_VDIC_web_form_address_two[_0x452e14(0x74b)](_0x312209,'')):TEMP_VDIC_web_form_address_two=URLDecode(VDIC_web_form_address_two,'YES',_0x452e14(0x402),'2');}function WebFormThreeRefresH(_0x5110ee,_0x3ae772){var _0x18dedd=_0x1c96bb;VDCL_group_id[_0x18dedd(0x35c)]>0x1?group=VDCL_group_id:group=campaign;(dialed_label[_0x18dedd(0x35c)]<0x2||dialed_label==_0x18dedd(0x502))&&(dialed_label='MAIN');if(_0x3ae772!=_0x18dedd(0x18f)){if(hide_gender<0x1){var _0x21b7da=$(_0x18dedd(0x578))[_0x18dedd(0x1b2)]();$(_0x18dedd(0x1b7))[_0x18dedd(0x1b2)](_0x21b7da);}}var _0x3f2c80=new RegExp(_0x18dedd(0x6d5),'ig');VDIC_web_form_address_three['match'](_0x3f2c80)?(TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x18dedd(0x18f),'CUSTOM','3'),TEMP_VDIC_web_form_address_three=TEMP_VDIC_web_form_address_three['replace'](_0x3f2c80,'')):TEMP_VDIC_web_form_address_three=URLDecode(VDIC_web_form_address_three,_0x18dedd(0x18f),'DEFAULT','3');}function DispoHanguPAgaiN(){var _0x531046=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x531046(0x6ac),form_cust_channel=AgaiNHanguPChanneL,$('#callchannel')[_0x531046(0x628)](AgaiNHanguPChanneL),$(_0x531046(0x303))[_0x531046(0x1b2)](AgaiNHanguPServeR),lastcustchannel=AgaiNHanguPChanneL,lastcustserverip=AgaiNHanguPServeR,VD_live_call_secondS=AgainCalLSecondS,CalLCID=AgaiNCalLCID,$('#DispoSelectHAspan')['html'](''),dialedcall_send_hangup();}function DispoLeavE3wayAgaiN(){var _0x249529=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x249529(0x7c6),XDchannel=DispO3wayXtrAchannel,$('#xfernumber')[_0x249529(0x1b2)](DispO3wayCalLxfernumber),MDchannel=DispO3waychannel,lastcustserverip=DispO3wayCalLserverip,$('#DispoSelectHAspan')[_0x249529(0x628)](''),leave_3way_call(_0x249529(0x5b2)),DispO3waychannel='',DispO3wayXtrAchannel='',DispO3wayCalLserverip='',DispO3wayCalLxfernumber='',DispO3wayCalLcamptail='';}function bothcall_send_hangup(_0x5c1cb4){var _0x72ae4e=_0x1c96bb;_0x5c1cb4==_0x72ae4e(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x72ae4e(0x3e5)),xfer_agent_selected=0x0,hangup_both=0x1,lastcustchannel[_0x72ae4e(0x35c)]>0x3&&dialedcall_send_hangup(),lastxferchannel[_0x72ae4e(0x35c)]>0x3&&xfercall_send_hangup(),$('#TransferMain')[_0x72ae4e(0x7c3)](_0x72ae4e(0x345));}function dialedcall_send_hangup(_0x29a838,_0x4b5a32,_0x25c28a,_0x14bfb7,_0x4ca4ef){var _0x209134=_0x1c96bb,_0x5f14c8=0x0;if(allow_required_fields=='Y'){var _0x4cd3b9=$('#required_fields')['val'](),_0x178931='';if(_0x4cd3b9[_0x209134(0x35c)]>0x4){var _0x467ae1=new RegExp(_0x209134(0x1c5),'ig'),_0x4f92ed=new RegExp('first_name','ig'),_0x23a501=new RegExp('middle_initial','ig'),_0x252de5=new RegExp('last_name','ig'),_0x401c0f=new RegExp(_0x209134(0x580),'ig'),_0x5b40f2=new RegExp('address2','ig'),_0x26d7da=new RegExp(_0x209134(0x818),'ig'),_0x20ec8d=new RegExp('city','ig'),_0x552716=new RegExp('state','ig'),_0x41f1e4=new RegExp(_0x209134(0x4b3),'ig'),_0x9d60a0=new RegExp(_0x209134(0x1f0),'ig'),_0xb67547=new RegExp(_0x209134(0x697),'ig'),_0x58319f=new RegExp(_0x209134(0x554),'ig'),_0x314aad=new RegExp('vendor_lead_code','ig'),_0x13abd1=new RegExp(_0x209134(0x43e),'ig'),_0x3c1954=new RegExp(_0x209134(0x379),'ig');if(_0x4cd3b9['match'](_0x467ae1)){var _0x103240=$(_0x209134(0x79a))[_0x209134(0x1b2)]();_0x103240[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x78f));}if(_0x4cd3b9[_0x209134(0x42d)](_0x4f92ed)){var _0x4bee1e=$(_0x209134(0x485))[_0x209134(0x1b2)]();_0x4bee1e['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x690));}if(_0x4cd3b9[_0x209134(0x42d)](_0x23a501)){var _0x39c3eb=$(_0x209134(0x2ac))['val']();_0x39c3eb[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x4ef));}if(_0x4cd3b9[_0x209134(0x42d)](_0x252de5)){var _0x32c8e9=$(_0x209134(0x2e8))[_0x209134(0x1b2)]();_0x32c8e9['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x204));}if(_0x4cd3b9['match'](_0x401c0f)){var _0x1d741c=$(_0x209134(0x47d))[_0x209134(0x1b2)]();_0x1d741c[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x4d9));}if(_0x4cd3b9[_0x209134(0x42d)](_0x5b40f2)){var _0xfa4426=$(_0x209134(0x826))[_0x209134(0x1b2)]();_0xfa4426['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x71e));}if(_0x4cd3b9[_0x209134(0x42d)](_0x26d7da)){var _0x21d3a9=$(_0x209134(0x22b))[_0x209134(0x1b2)]();_0x21d3a9[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+'\x20address3');}if(_0x4cd3b9[_0x209134(0x42d)](_0x20ec8d)){var _0x733646=$(_0x209134(0x323))[_0x209134(0x1b2)]();_0x733646[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x2c2));}if(_0x4cd3b9['match'](_0x552716)){var _0x49f7c3=$(_0x209134(0x1c0))[_0x209134(0x1b2)]();_0x49f7c3[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+'\x20state');}if(_0x4cd3b9[_0x209134(0x42d)](_0x41f1e4)){var _0xa4eb71=$(_0x209134(0x67f))[_0x209134(0x1b2)]();_0xa4eb71[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x74d));}if(_0x4cd3b9['match'](_0x9d60a0)){var _0xad31e2=$(_0x209134(0x300))[_0x209134(0x1b2)]();_0xad31e2[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x52e));}if(_0x4cd3b9[_0x209134(0x42d)](_0x314aad)){var _0x56f8e1=$('#vendor_lead_code')[_0x209134(0x1b2)]();_0x56f8e1['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x2c4));}if(_0x4cd3b9[_0x209134(0x42d)](_0xb67547)){var _0x379b58=$(_0x209134(0x40c))[_0x209134(0x1b2)]();_0x379b58[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x68c));}if(_0x4cd3b9[_0x209134(0x42d)](_0x58319f)){var _0x17ae3b=$(_0x209134(0x59a))[_0x209134(0x1b2)]();_0x17ae3b[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x164));}if(_0x4cd3b9[_0x209134(0x42d)](_0x13abd1)){var _0x139c45=$(_0x209134(0x6bb))[_0x209134(0x1b2)]();_0x139c45[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+'\x20security_phrase');}if(_0x4cd3b9['match'](_0x3c1954)){var _0x5964e0=$(_0x209134(0x1c3))[_0x209134(0x1b2)]();_0x5964e0['length']<0x1&&(_0x5f14c8++,_0x178931=_0x178931+'\x20email');}}if(custom_fields_enabled>0x0){var _0x1207e3=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x6f2)][_0x209134(0x295)][_0x209134(0x6e4)],_0x5c7e64=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x6f2)][_0x209134(0x207)]['value'],_0xce452e=vcFormIFrame[_0x209134(0x1e3)]['form_custom_fields'][_0x209134(0x516)][_0x209134(0x6e4)],_0x3f2cde=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x6f2)][_0x209134(0x61e)][_0x209134(0x6e4)],_0x5b17c7=vcFormIFrame[_0x209134(0x1e3)]['form_custom_fields'][_0x209134(0x29d)][_0x209134(0x6e4)];if(_0x1207e3[_0x209134(0x35c)]>0x2){var _0x1d8e2b=_0x1207e3['split']('|'),_0x4251e5=_0x1d8e2b[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x4251e5){var _0x36bcdb=_0x1d8e2b[_0x3a5213];if(_0x36bcdb[_0x209134(0x35c)]>0x0){var _0x306cbd=$('#'+_0x36bcdb)[_0x209134(0x1b2)]();_0x306cbd[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x76d)+_0x36bcdb);}_0x3a5213++;}}if(_0x5c7e64['length']>0x2){var _0x143d77=_0x5c7e64[_0x209134(0x65a)]('|'),_0x3676cb=_0x143d77[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x3676cb){var _0x36bcdb=_0x143d77[_0x3a5213]+'[]';if(_0x36bcdb[_0x209134(0x35c)]>0x2){var _0x1eb04a=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x66d)](_0x36bcdb);if(_0x1eb04a[_0x209134(0x35c)]>0x0){var _0x788e53=_0x1eb04a[_0x209134(0x35c)],_0x37208a=0x0;for(var _0x354a74=0x0;_0x354a74<_0x788e53;_0x354a74++){_0x1eb04a[_0x354a74][_0x209134(0x677)]&&_0x37208a++;;}_0x37208a<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x3ae)+_0x143d77[_0x3a5213]);}}_0x3a5213++;}}if(_0xce452e[_0x209134(0x35c)]>0x2){var _0x1706e8=_0xce452e[_0x209134(0x65a)]('|'),_0x2121b=_0x1706e8[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x2121b){var _0x36bcdb=_0x1706e8[_0x3a5213]+'[]';if(_0x36bcdb[_0x209134(0x35c)]>0x2){var _0x1eb04a=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x66d)](_0x36bcdb);if(_0x1eb04a[_0x209134(0x35c)]>0x0){var _0x788e53=_0x1eb04a[_0x209134(0x35c)],_0x37208a=0x0;for(var _0x354a74=0x0;_0x354a74<_0x788e53;_0x354a74++){_0x1eb04a[_0x354a74][_0x209134(0x677)]&&_0x37208a++;;}_0x37208a<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x6d8)+_0x1706e8[_0x3a5213]);}}_0x3a5213++;}}if(_0x3f2cde[_0x209134(0x35c)]>0x2){var _0x6e9670=_0x3f2cde[_0x209134(0x65a)]('|'),_0x12c733=_0x6e9670[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x12c733){var _0x36bcdb=_0x6e9670[_0x3a5213];if(_0x36bcdb['length']>0x0){var _0x495ac8=$('#'+_0x36bcdb)['val']();_0x495ac8[_0x209134(0x35c)]<0x1&&(_0x5f14c8++,_0x178931=_0x178931+_0x209134(0x184)+_0x36bcdb);}_0x3a5213++;}}if(_0x5b17c7[_0x209134(0x35c)]>0x2){var _0x7f10df=_0x5b17c7['split']('|'),_0x7e79b9=_0x7f10df[_0x209134(0x35c)],_0x3a5213=0x0;while(_0x3a5213<_0x7e79b9){var _0x36bcdb=_0x7f10df[_0x3a5213]+'[]';if(_0x36bcdb[_0x209134(0x35c)]>0x2){var _0x1de50e=vcFormIFrame[_0x209134(0x1e3)][_0x209134(0x387)](_0x36bcdb),_0x788e53=_0x1de50e[_0x209134(0x3f0)][_0x209134(0x35c)],_0xd6ccd6=0x0;for(var _0x354a74=0x0;_0x354a74<_0x788e53;_0x354a74++){_0x1de50e['options'][_0x354a74][_0x209134(0x6a0)]==!![]&&_0xd6ccd6++;;}_0xd6ccd6<0x1&&(_0x5f14c8++,_0x178931=_0x178931+'\x20MULTI:\x20'+_0x7f10df[_0x3a5213]);}_0x3a5213++;}}}}if(_0x5f14c8>0x0)alert_box('VOUS\x20DEVEZ\x20REMPLIR\x20TOUS\x20LES\x20CHAMPS\x20OBLIGATOIRES\x20AVANT\x20DE\x20POUVOIR\x20RACCROCHER\x20CET\x20APPEL:\x20'+_0x178931),button_click_log=button_click_log+''+SQLdate+_0x209134(0x445)+_0x178931+'|';else{VDCL_group_id[_0x209134(0x35c)]>0x1?group=VDCL_group_id:group=campaign;var _0x3798fb=$(_0x209134(0x68e))[_0x209134(0x628)](),_0x261871=$(_0x209134(0x303))[_0x209134(0x1b2)](),_0x27d350=lastcustchannel,_0x55b682=lastcustserverip;AgaiNHanguPChanneL=lastcustchannel,AgaiNHanguPServeR=lastcustserverip,AgainCalLSecondS=VD_live_call_secondS,AgaiNCalLCID=CalLCID,dial_next_failed=0x0;customer_sec<0x1&&(customer_sec=VD_live_call_secondS);var _0x2ffb12=0x0;_0x4ca4ef==_0x209134(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----dialedcall_send_hangup---'+group+'|'+_0x3798fb+'|'+CalLCID+'|'+VD_live_call_secondS+'|');document[_0x209134(0x387)](_0x209134(0x6fb))&&typeof document[_0x209134(0x387)](_0x209134(0x6fb))[_0x209134(0x43a)][_0x209134(0x4ae)]==_0x209134(0x555)&&document[_0x209134(0x387)](_0x209134(0x6fb))[_0x209134(0x43a)][_0x209134(0x4ae)](_0x209134(0x201));RedirecTxFEr<0x1&&(MD_channel_look==0x1||auto_dial_level==0x0)&&(MD_channel_look=0x0,DialTimeHangup(_0x209134(0x38c)));if(_0x3798fb[_0x209134(0x35c)]>0x3){var _0x49b32b=![];!_0x49b32b&&typeof XMLHttpRequest!=_0x209134(0x34f)&&(_0x49b32b=new XMLHttpRequest());if(_0x49b32b){var _0x18cb96=_0x209134(0x6cb)+epoch_sec+user_abb,_0x5e7cf6=_0x27d350;custhangup_query='server_ip='+server_ip+_0x209134(0x7b6)+session_name+_0x209134(0x6c1)+user+_0x209134(0x397)+pass+_0x209134(0x6be)+_0x5e7cf6+_0x209134(0x145)+_0x55b682+_0x209134(0x793)+_0x18cb96+_0x209134(0x52d)+auto_dial_level+_0x209134(0x614)+CalLCID+_0x209134(0x632)+VD_live_call_secondS+_0x209134(0x2bd)+session_id+_0x209134(0x6b5)+group+_0x209134(0x27a)+_0x14bfb7+_0x209134(0x78e)+campaign+_0x209134(0x5fb)+qm_extension,_0x49b32b[_0x209134(0x63c)](_0x209134(0x584),_0x209134(0x58c)),_0x49b32b[_0x209134(0x636)](_0x209134(0x638),_0x209134(0x404)),_0x49b32b[_0x209134(0x2fd)](custhangup_query),_0x49b32b[_0x209134(0x18a)]=function(){var _0x477012=_0x209134;_0x49b32b[_0x477012(0x30f)]==0x4&&_0x49b32b['status']==0xc8&&(Nactiveext=null,Nactiveext=_0x49b32b['responseText'],VD_live_customer_call=0x0,agent_events(_0x477012(0x65d),'',aec),aec++);},delete _0x49b32b;}_0x2ffb12=0x1;}else _0x2ffb12=0x1;_0x2ffb12==0x1&&(VD_live_customer_call=0x0,VD_live_call_secondS=0x0,MD_ring_secondS=0x0,CalLCID='',MDnextCID='',cid_lock=0x0,MD_dial_timed_out=0x0,MDcheck_for_answer=0x0,DialLog(_0x209134(0x1ab),_0x14bfb7),conf_dialed=0x0,_0x29a838=='NO'?open_dispo_screen=0x0:auto_dial_level==0x0?$(_0x209134(0x69b))[_0x209134(0x789)](_0x209134(0x677))==!![]?(reselect_alt_dial=0x1,open_dispo_screen=0x0):(reselect_alt_dial=0x0,open_dispo_screen=0x1):$('#DiaLAltPhonE')[_0x209134(0x789)]('checked')==!![]?(reselect_alt_dial=0x1,open_dispo_screen=0x0,auto_dial_level=0x0,manual_dial_in_progress=0x1,auto_dial_alt_dial=0x1):(reselect_alt_dial=0x0,open_dispo_screen=0x1),$(_0x209134(0x68e))[_0x209134(0x628)](''),$(_0x209134(0x303))[_0x209134(0x1b2)](''),lastcustchannel='',lastcustserverip='',MDchannel='',manual_call_live=0x0,post_phone_time_diff_alert_message[_0x209134(0x35c)]>0xa&&($(_0x209134(0x599))[_0x209134(0x628)](''),hideDiv(_0x209134(0x38a)),post_phone_time_diff_alert_message=''),$(_0x209134(0x643))[_0x209134(0x7b8)](_0x209134(0x585),image_livecall_OFF['src']),$(_0x209134(0x4e0))[_0x209134(0x6c6)]('border-bottom',_0x209134(0x34e)),$('#type_appel')[_0x209134(0x628)](''),$(_0x209134(0x7bf))[_0x209134(0x628)](''),enable_first_webform>0x0&&$(_0x209134(0x4d2))['html']('<img\x20src=\x22./images/vdc_LB_webform_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Web\x20Form\x22\x20/>'),enable_second_webform>0x0&&$('#WebFormSpanTwo')['html']('<img\x20src=\x22./images/vdc_LB_webform_two_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Web\x20Form\x202\x22\x20/>'),enable_third_webform>0x0&&$(_0x209134(0x3fc))[_0x209134(0x628)](_0x209134(0x34c)),$(_0x209134(0x1a4))[_0x209134(0x628)](_0x209134(0x600)),$(_0x209134(0x19e))[_0x209134(0x628)]('<button\x20id=\x22tbParkControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-warning\x20btn-lg\x22\x20disabled=\x22\x22><i\x20class=\x22fa\x20fa-music\x22></i>\x20Mise\x20en\x20attente</button>'),(ivr_park_call==_0x209134(0x20d)||ivr_park_call==_0x209134(0x73a))&&$('#ivrParkControl')[_0x209134(0x628)](_0x209134(0x566)),$(_0x209134(0x714))['html'](_0x209134(0x7f4)),$(_0x209134(0x54d))['html'](_0x209134(0x2cc)),$('#XferControl')[_0x209134(0x628)](_0x209134(0x160)),$(_0x209134(0x3c6))['html']('<button\x20id=\x22tbferControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-info\x20btn-lg\x22\x20disabled=\x22\x22><i\x20class=\x22fa\x20fa-exchange\x22></i>\x20Transfert</button>'),$(_0x209134(0x154))[_0x209134(0x628)](_0x209134(0x162)),$(_0x209134(0x194))['html'](_0x209134(0x6a9)),$('#DialBlindVMail')[_0x209134(0x628)](_0x209134(0x58f)),$(_0x209134(0x38f))[_0x209134(0x628)](_0x209134(0x586)),$(_0x209134(0x6ba))[_0x209134(0x628)](_0x209134(0x53d)),quick_transfer_button_enabled>0x0&&$(_0x209134(0x7e6))[_0x209134(0x628)](_0x209134(0x1a3)),custom_3way_button_transfer_enabled>0x0&&$(_0x209134(0x6ea))[_0x209134(0x628)](_0x209134(0x237)),call_requeue_button>0x0&&$(_0x209134(0x7d6))[_0x209134(0x628)](_0x209134(0x631)),$(_0x209134(0x4c9))[_0x209134(0x628)]('\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20'),auto_dial_level==0x0&&dial_method!=_0x209134(0x21c)?$('#DiaLAltPhonE')[_0x209134(0x789)]('checked')==!![]?(reselect_alt_dial=0x1,_0x25c28a==_0x209134(0x7ba)?ManualDialOnly(_0x209134(0x1d9),'NO','0'):_0x25c28a==_0x209134(0x6db)?ManualDialOnly(_0x209134(0x683),'NO','0'):_0x4b5a32=='YES'&&(alt_dial_active=0x0,alt_dial_status_display=0x0,reselect_alt_dial=0x0,manual_auto_hotkey=0x1)):(_0x4b5a32==_0x209134(0x18f)?(alt_dial_active=0x0,alt_dial_status_display=0x0,manual_auto_hotkey=0x1):$(_0x209134(0x7d7))['html']('<a\x20href=\x22#\x22\x20onclick=\x22ManualDialNext(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x270\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_dialnextnumber.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/></a>'),reselect_alt_dial=0x0):$(_0x209134(0x69b))[_0x209134(0x789)](_0x209134(0x677))==!![]?(reselect_alt_dial=0x1,_0x25c28a=='ALTPH2'?ManualDialOnly('ALTPhonE','NO','0'):_0x25c28a==_0x209134(0x6db)?ManualDialOnly(_0x209134(0x683),'NO','0'):_0x4b5a32==_0x209134(0x18f)&&(manual_auto_hotkey=0x1,alt_dial_active=0x0,alt_dial_status_display=0x0,$(_0x209134(0x170))[_0x209134(0x628)](''),dial_method==_0x209134(0x21c)?$(_0x209134(0x7d7))['html']('<img\x20src=\x22./images/vdc_LB_blank_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22pause\x20button\x20disabled\x22\x20/><br\x20/><img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>'):($('#DiaLControl')[_0x209134(0x628)](DiaLControl_auto_HTML_OFF),$(_0x209134(0x370))[_0x209134(0x628)](DiaLControl_auto_HTML_OFF2)),reselect_alt_dial=0x0)):(dial_method=='INBOUND_MAN'?$(_0x209134(0x7d7))[_0x209134(0x628)](_0x209134(0x47b)):($(_0x209134(0x7d7))[_0x209134(0x628)](DiaLControl_auto_HTML_OFF),$(_0x209134(0x370))[_0x209134(0x628)](DiaLControl_auto_HTML_OFF2)),reselect_alt_dial=0x0),ShoWTransferMain(_0x209134(0x658)));}manual_entry_dial=0x0;}function xfercall_send_hangup(_0x4e1cb8){var _0x599051=_0x1c96bb,_0x1ba9a2=$(_0x599051(0x63f))[_0x599051(0x1b2)](),_0x4b7fed=lastxferchannel,_0xf0c5b5=0x0;xfer_in_call=0x0;_0x4e1cb8==_0x599051(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----xfercall_send_hangup---'+_0x1ba9a2+'|');hangup_xfer_record_start=='Y'&&hangup_both<0x1&&leaving_threeway<0x1&&recording_active<0x1&&conf_send_recording(_0x599051(0x270),session_id,'','','','');hangup_both=0x0;MD_channel_look==0x1&&leaving_threeway<0x1&&(MD_channel_look=0x0,DialTimeHangup(_0x599051(0x6e8)));if(_0x1ba9a2['length']>0x3){var _0x2d7d2c=![];!_0x2d7d2c&&typeof XMLHttpRequest!=_0x599051(0x34f)&&(_0x2d7d2c=new XMLHttpRequest());if(_0x2d7d2c){var _0x4b6186=_0x599051(0x3f1)+epoch_sec+user_abb,_0x2d1eea=_0x4b7fed;custhangup_query=_0x599051(0x4c6)+server_ip+_0x599051(0x7b6)+session_name+_0x599051(0x6c1)+user+_0x599051(0x397)+pass+_0x599051(0x6be)+_0x2d1eea+_0x599051(0x793)+_0x4b6186+_0x599051(0x78e)+campaign+_0x599051(0x5fb)+qm_extension,_0x2d7d2c[_0x599051(0x63c)]('POST',_0x599051(0x58c)),_0x2d7d2c[_0x599051(0x636)](_0x599051(0x638),_0x599051(0x404)),_0x2d7d2c[_0x599051(0x2fd)](custhangup_query),_0x2d7d2c[_0x599051(0x18a)]=function(){var _0xe43600=_0x599051;_0x2d7d2c[_0xe43600(0x30f)]==0x4&&_0x2d7d2c[_0xe43600(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x2d7d2c[_0xe43600(0x137)],agent_events(_0xe43600(0x6ef),'',aec),aec++);},_0xf0c5b5=0x1,delete _0x2d7d2c;}}else _0xf0c5b5=0x1;_0xf0c5b5==0x1&&(XD_live_customer_call=0x0,XD_live_call_secondS=0x0,MD_ring_secondS=0x0,MD_channel_look=0x0,XDnextCID='',XDcheck='',xferchannellive=0x0,active_threeway=0x0,consult_custom_wait=0x0,consult_custom_go=0x0,consult_custom_sent=0x0,xfer_agent_selected=0x0,MD_dial_timed_out=0x0,transfer_no_dispoTEMP=0x0,manual_dial_preview<0x1&&($(_0x599051(0x4d5))['prop']('checked',![]),hideDiv(_0x599051(0x30b))),$(_0x599051(0x63f))[_0x599051(0x1b2)](''),lastxferchannel='',$(_0x599051(0x498))['html'](''),$(_0x599051(0x2d4))['show'](),$('#Leave3WayCall')['html'](_0x599051(0x6c8)),$('#DialWithCustomer')['html'](_0x599051(0x51e)),$(_0x599051(0x545))['html'](_0x599051(0x825)),$('#HangupXferLine')[_0x599051(0x628)](_0x599051(0x48a)),$(_0x599051(0x249))['html']('<img\x20src=\x22./images/vdc_XB_parkxferline_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Park\x20Xfer\x20Line\x22\x20style=\x22vertical-align:middle\x22\x20/>'),$(_0x599051(0x5c7))[_0x599051(0x628)](_0x599051(0x273)));}function DialTimeHangup(_0x50f801){var _0x34187b=_0x1c96bb;if(RedirecTxFEr<0x1&&leaving_threeway<0x1){MD_channel_look=0x0;var _0x3a0068=![];!_0x3a0068&&typeof XMLHttpRequest!=_0x34187b(0x34f)&&(_0x3a0068=new XMLHttpRequest());if(_0x3a0068){var _0x3eef42=_0x34187b(0x407)+epoch_sec+user_abb;custhangup_query=_0x34187b(0x4c6)+server_ip+'&session_name='+session_name+_0x34187b(0x242)+user+_0x34187b(0x397)+pass+_0x34187b(0x2bd)+session_id+'&ext_context='+ext_context+_0x34187b(0x793)+_0x3eef42+_0x34187b(0x78e)+campaign+_0x34187b(0x5fb)+qm_extension,_0x3a0068[_0x34187b(0x63c)](_0x34187b(0x584),_0x34187b(0x58c)),_0x3a0068[_0x34187b(0x636)](_0x34187b(0x638),_0x34187b(0x404)),_0x3a0068[_0x34187b(0x2fd)](custhangup_query),_0x3a0068['onreadystatechange']=function(){var _0x71f924=_0x34187b;_0x3a0068['readyState']==0x4&&_0x3a0068[_0x71f924(0x6aa)]==0xc8&&(Nactiveext=null,Nactiveext=_0x3a0068['responseText']);},delete _0x3a0068;}}}function CustomerData_update(_0x2d7dfc){var _0x220995=_0x1c96bb;_0x2d7dfc==_0x220995(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x220995(0x727)+_0x2d7dfc+'|');updatelead_complete=0x0;if(OtherTab=='1'&&comments_all_tabs==_0x220995(0x20d)){var _0x5cb01e=$(_0x220995(0x317))[_0x220995(0x1b2)]();_0x5cb01e[_0x220995(0x35c)]>0x0&&$(_0x220995(0x1af))[_0x220995(0x1b2)]($(_0x220995(0x317))[_0x220995(0x1b2)]());}var _0x10d440=new RegExp('&','g'),_0x291140=new RegExp('\x5c?','g'),_0x141a20=new RegExp('\x5c#','g'),_0x10c181=$(_0x220995(0x1af))['val']()[_0x220995(0x74b)](_0x10d440,'--AMP--');_0x10c181=_0x10c181[_0x220995(0x74b)](_0x291140,_0x220995(0x7b2)),_0x10c181=_0x10c181[_0x220995(0x74b)](_0x141a20,_0x220995(0x1c8));var _0x415b64=![];!_0x415b64&&typeof XMLHttpRequest!='undefined'&&(_0x415b64=new XMLHttpRequest());if(_0x415b64){if(hide_gender<0x1){var _0x35ca86=$(_0x220995(0x578))[_0x220995(0x1b2)]();$('#gender')[_0x220995(0x1b2)](_0x35ca86);}VLupdate_query=_0x220995(0x4c6)+server_ip+'&session_name='+session_name+'&campaign='+campaign+_0x220995(0x6a1)+user+_0x220995(0x397)+pass+_0x220995(0x650)+encodeURIComponent($(_0x220995(0x486))['val']())+_0x220995(0x3b5)+encodeURIComponent($(_0x220995(0x48f))[_0x220995(0x1b2)]())+_0x220995(0x466)+encodeURIComponent($(_0x220995(0x5e7))['val']())+_0x220995(0x451)+encodeURIComponent($('#title')[_0x220995(0x1b2)]())+'&first_name='+encodeURIComponent($('#first_name')['val']())+_0x220995(0x6b8)+encodeURIComponent($(_0x220995(0x2ac))[_0x220995(0x1b2)]())+_0x220995(0x7a0)+encodeURIComponent($(_0x220995(0x2e8))[_0x220995(0x1b2)]())+_0x220995(0x333)+encodeURIComponent($('#address1')[_0x220995(0x1b2)]())+_0x220995(0x203)+encodeURIComponent($(_0x220995(0x826))['val']())+_0x220995(0x1ac)+encodeURIComponent($('#address3')[_0x220995(0x1b2)]())+_0x220995(0x602)+encodeURIComponent($(_0x220995(0x323))[_0x220995(0x1b2)]())+_0x220995(0x35a)+encodeURIComponent($(_0x220995(0x1c0))[_0x220995(0x1b2)]())+_0x220995(0x33b)+encodeURIComponent($('#province')[_0x220995(0x1b2)]())+'&postal_code='+encodeURIComponent($('#postal_code')['val']())+_0x220995(0x78d)+encodeURIComponent($(_0x220995(0x816))[_0x220995(0x1b2)]())+_0x220995(0x5d6)+encodeURIComponent($(_0x220995(0x1b7))[_0x220995(0x1b2)]())+'&date_of_birth='+encodeURIComponent($('#date_of_birth')[_0x220995(0x1b2)]())+_0x220995(0x3f6)+encodeURIComponent($(_0x220995(0x59a))['val']())+_0x220995(0x42b)+encodeURIComponent($(_0x220995(0x1c3))[_0x220995(0x1b2)]())+_0x220995(0x75f)+encodeURIComponent($('#security_phrase')[_0x220995(0x1b2)]())+_0x220995(0x3bc)+_0x10c181,_0x415b64[_0x220995(0x63c)](_0x220995(0x584),'crm_query.php'),_0x415b64[_0x220995(0x636)](_0x220995(0x638),_0x220995(0x404)),_0x415b64[_0x220995(0x2fd)](VLupdate_query),_0x415b64[_0x220995(0x18a)]=function(){var _0x1eb044=_0x220995;_0x415b64[_0x1eb044(0x30f)]==0x4&&_0x415b64[_0x1eb044(0x6aa)]==0xc8&&(updatelead_complete=0x1);},delete _0x415b64;}}function DispoSelectContent_create(_0x3dab3d,_0x2f9ef0,_0x45df77){var _0x9ea94f=_0x1c96bb;_0x45df77==_0x9ea94f(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----DispoSelectContent_create---'+_0x3dab3d+'\x20'+_0x2f9ef0+'|');if(disable_dispo_screen>0x0)$(_0x9ea94f(0x5c9))[_0x9ea94f(0x1b2)](disable_dispo_status),DispoSelect_submit();else{customer_3way_hangup_dispo_message[_0x9ea94f(0x35c)]>0x1&&$('#Dispo3wayMessage')[_0x9ea94f(0x628)]('<br\x20/><b>'+customer_3way_hangup_dispo_message+_0x9ea94f(0x5b4));APIManualDialQueue>0x0&&$(_0x9ea94f(0x1e0))[_0x9ea94f(0x628)](_0x9ea94f(0x810)+APIManualDialQueue+_0x9ea94f(0x5b4));if(per_call_notes==_0x9ea94f(0x20d)&&comments_dispo_screen!='REPLACE_CALL_NOTES'){var _0x29be0f=$(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]();_0x29be0f[_0x9ea94f(0x35c)]>0x0&&$(_0x9ea94f(0x41e))[_0x9ea94f(0x1b2)]($(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]()),$(_0x9ea94f(0x3f9))[_0x9ea94f(0x628)](_0x9ea94f(0x72c)+$(_0x9ea94f(0x41e))[_0x9ea94f(0x1b2)]()+_0x9ea94f(0x57a));}else{var _0x29be0f=$(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]();_0x29be0f[_0x9ea94f(0x35c)]>0x0&&$('#call_notes')[_0x9ea94f(0x1b2)]($(_0x9ea94f(0x53c))[_0x9ea94f(0x1b2)]()),$(_0x9ea94f(0x3f9))['html'](_0x9ea94f(0x667)+$(_0x9ea94f(0x41e))[_0x9ea94f(0x1b2)]()+_0x9ea94f(0x5ea));}if(comments_dispo_screen=='ENABLED'||comments_dispo_screen=='REPLACE_CALL_NOTES'){var _0x452eea=$('#dispo_comments')['val']();_0x452eea[_0x9ea94f(0x35c)]>0x0&&$('#comments')[_0x9ea94f(0x1b2)]($('#dispo_comments')[_0x9ea94f(0x1b2)]());var _0x310cf5=_0x9ea94f(0x66f);_0x310cf5=_0x310cf5+'<textarea\x20name=\x22dispo_comments\x22\x20id=\x22dispo_comments\x22\x20rows=\x222\x22\x20cols=\x22100\x22\x20class=\x22form-control\x20cust_form_text\x22\x20value=\x22\x22>'+$('#comments')[_0x9ea94f(0x1b2)]()+'</textarea>\x0a',_0x310cf5=_0x310cf5+_0x9ea94f(0x1c7),$('#DispoCommentsContent')['html'](_0x310cf5);}else $(_0x9ea94f(0x348))[_0x9ea94f(0x628)]('<input\x20type=\x22hidden\x22\x20name=\x22dispo_comments\x22\x20id=\x22dispo_comments\x22\x20value=\x22\x22\x20/>');HidEGenDerPulldown(),AgentDispoing=0x1;var _0xa1386b='',_0x2831a='',_0x42d8e0='',_0x3acae2=parseInt(VARSELstatuses_ct/0x3),_0x513c5b=_0x3acae2*0x2,_0x3e4eed='',_0x59d877=0x0,_0xfbd509=0x0;if(hide_dispo_list<0x1)while(_0x59d877<VD_statuses_ct){if(VARSELstatuses[_0x59d877]=='Y'){_0xa1386b='';VARCBstatuses[_0x59d877]=='Y'&&(_0xa1386b='*');VARMINstatuses[_0x59d877]>0x0&&customer_sec<VARMINstatuses[_0x59d877]||VARMAXstatuses[_0x59d877]>0x0&&customer_sec>VARMAXstatuses[_0x59d877]?_0x3e4eed=_0x3e4eed+'<DEL>'+VARstatuses[_0x59d877]+_0x9ea94f(0x4ec)+VARstatusnames[_0x59d877]+_0x9ea94f(0x23e)+_0xa1386b+_0x9ea94f(0x611):_0x3dab3d==VARstatuses[_0x59d877]?_0x3e4eed=_0x3e4eed+'<a\x20href=\x22#\x22\x20class=\x22disposition-btn\x20btn\x20btn-outline\x20btn-primary\x20btnClicked\x22\x20onclick=\x22DispoSelect_submit(\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><i\x20class=\x22fa\x20fa-check\x22></i>\x20'+VARstatusnames[_0x59d877]+'\x20'+_0xa1386b+_0x9ea94f(0x66c):_0x3e4eed=_0x3e4eed+_0x9ea94f(0x205)+VARstatuses[_0x59d877]+_0x9ea94f(0x78c)+VARstatusnames[_0x59d877]+'\x20'+_0xa1386b+_0x9ea94f(0x66c);if(_0xfbd509==_0x3acae2){}if(_0xfbd509==_0x513c5b){}_0xfbd509++;}_0x59d877++;}else _0x3e4eed=_0x3e4eed+_0x9ea94f(0x4ab);_0x2f9ef0==_0x9ea94f(0x440)?$(_0x9ea94f(0x5c9))[_0x9ea94f(0x1b2)](''):$('#DispoSelection')['val'](_0x3dab3d),$(_0x9ea94f(0x800))[_0x9ea94f(0x628)](_0x3e4eed),focus_blur_enabled==0x1&&(document[_0x9ea94f(0x3bd)]['inert_button']['focus'](),document[_0x9ea94f(0x3bd)]['inert_button'][_0x9ea94f(0x656)]()),my_callback_option==_0x9ea94f(0x6c3)&&$(_0x9ea94f(0x7b7))[_0x9ea94f(0x789)](_0x9ea94f(0x677),!![]);}}function PauseCodeSelectContent_create(_0x426ccd){var _0x4c28c1=_0x1c96bb;_0x426ccd==_0x4c28c1(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x4c28c1(0x514));var _0x20b0f2=0x1;(AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1)&&(auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active=='FORCE')&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe(_0x4c28c1(0x2ce),'','','','','1',''):(_0x20b0f2=0x0,alert_box(_0x4c28c1(0x39b)),button_click_log=button_click_log+''+SQLdate+_0x4c28c1(0x678)+VDRP_stage+'\x20'+'|'));if(_0x20b0f2==0x1){if(APIManualDialQueue>0x0)PauseCodeSelect_submit('NXDIAL');else{HidEGenDerPulldown(),$('#PauseCodeSelectBox')[_0x4c28c1(0x7c3)]({'backdrop':_0x4c28c1(0x69a),'fadeDuration':0xfa,'fadeDelay':1.5,'keyboard':![]}),WaitingForNextStep=0x1,PauseCode_HTML='';var _0x856263=0x0;$(_0x4c28c1(0x7ef))[_0x4c28c1(0x1b2)]('');var _0x28b87e=parseInt(VD_pause_codes_ct/0x2);PauseCode_HTML='';var _0x278e3=0x0;while(_0x278e3<VD_pause_codes_ct){var _0x48e694='';VARpause_code_mgrapr[_0x278e3]=='YES'?(_0x856263++,_0x48e694='\x20*',PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x583)+VARpause_codes[_0x278e3]+_0x4c28c1(0x6e6)+VARpause_code_names[_0x278e3]+_0x4c28c1(0x501)+VARpause_code_names[_0x278e3]+''+_0x48e694+_0x4c28c1(0x3d9)):PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x17f)+VARpause_codes[_0x278e3]+_0x4c28c1(0x501)+VARpause_code_names[_0x278e3]+'</a>\x20',_0x278e3++,_0x278e3==_0x28b87e&&(PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x5f4));}if(agent_pause_codes_active==_0x4c28c1(0x464))var _0x357868='';else var _0x357868=_0x4c28c1(0x5c0);PauseCode_HTML=PauseCode_HTML+_0x4c28c1(0x611)+_0x357868,$(_0x4c28c1(0x3a2))['html'](PauseCode_HTML),agent_events('pause_code_open','',aec),aec++;}}focus_blur_enabled==0x1&&(document[_0x4c28c1(0x3bd)][_0x4c28c1(0x28d)]['focus'](),document[_0x4c28c1(0x3bd)][_0x4c28c1(0x28d)]['blur']());}function OpeNSearcHForMDisplaYBox(){var _0x15cded=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----OpeNSearcHForMDisplaYBox---|';var _0x2a4f6f=0x1;AutoDialWaiting==0x1||VD_live_customer_call==0x1||alt_dial_active==0x1||MD_channel_look==0x1||in_lead_preview_state==0x1?auto_pause_precall=='Y'&&(agent_pause_codes_active=='Y'||agent_pause_codes_active==_0x15cded(0x464))&&AutoDialWaiting==0x1&&VD_live_customer_call!=0x1&&alt_dial_active!=0x1&&MD_channel_look!=0x1&&in_lead_preview_state!=0x1?agent_log_id=AutoDial_ReSume_PauSe(_0x15cded(0x2ce),'','','','','1',auto_pause_precall_code):inOUT=='IN'&&(agent_lead_search==_0x15cded(0x562)||agent_lead_search==_0x15cded(0x325))?($(_0x15cded(0x1d4))[_0x15cded(0x1b2)]($('#phone_number')[_0x15cded(0x1b2)]()),inbound_lead_search=0x1):(_0x2a4f6f=0x0,alert_box(_0x15cded(0x4f7)+inOUT+'|'+agent_lead_search),button_click_log=button_click_log+''+SQLdate+'-----LeadSearchOpenPauseFailed---'+VDRP_stage+'\x20'+'|'):agent_lead_search==_0x15cded(0x562)&&(_0x2a4f6f=0x0,alert_box(_0x15cded(0x1eb)),button_click_log=button_click_log+''+SQLdate+_0x15cded(0x732)+VDRP_stage+'\x20'+'|'),_0x2a4f6f==0x1&&(HidEGenDerPulldown(),(VD_live_customer_call!=0x1||inOUT==_0x15cded(0x3a9))&&(WaitingForNextStep=0x1),agent_events(_0x15cded(0x3dd),'',aec),aec++);}function generate_contacts_search(_0x28eeab){var _0x1c9d56=_0x1c96bb;_0x28eeab==_0x1c9d56(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x1c9d56(0x45d)),HidEGenDerPulldown(),agent_events(_0x1c9d56(0x771),'',aec),aec++;}function generate_presets_pulldown(_0xee1fbe){var _0x3bf5c5=_0x1c96bb;_0xee1fbe==_0x3bf5c5(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x3bf5c5(0x3c5));Presets_HTML='',$('#PresetSelection')['val'](''),Presets_HTML='<table\x20cellpadding=\x225\x22\x20cellspacing=\x225\x22\x20width=\x22400px\x22><tr><td\x20bgcolor=\x22#CCCCFF\x22\x20width=\x22400px\x22\x20valign=\x22bottom\x22>';var _0x4d16df=0x0;while(_0x4d16df<VD_preset_names_ct){Presets_HTML=Presets_HTML+'<b><a\x20href=\x22#\x22\x20onclick=\x22PresetSelect_submit(\x27'+VARpreset_names[_0x4d16df]+_0x3bf5c5(0x6e6)+VARpreset_numbers[_0x4d16df]+_0x3bf5c5(0x6e6)+VARpreset_dtmfs[_0x4d16df]+_0x3bf5c5(0x6e6)+VARpreset_hide_numbers[_0x4d16df]+_0x3bf5c5(0x238)+VARpreset_names[_0x4d16df],VARpreset_hide_numbers[_0x4d16df]=='N'&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+VARpreset_numbers[_0x4d16df]),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703),_0x4d16df++;}(CalL_XC_a_NuMber[_0x3bf5c5(0x35c)]>0x0||CalL_XC_a_Dtmf[_0x3bf5c5(0x35c)]>0x0)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ed)+CalL_XC_a_NuMber+_0x3bf5c5(0x6e6)+CalL_XC_a_Dtmf+_0x3bf5c5(0x50c),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_a_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),(CalL_XC_b_NuMber[_0x3bf5c5(0x35c)]>0x0||CalL_XC_b_Dtmf[_0x3bf5c5(0x35c)]>0x0)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x2a5)+CalL_XC_b_NuMber+_0x3bf5c5(0x6e6)+CalL_XC_b_Dtmf+_0x3bf5c5(0x778),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_b_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),CalL_XC_c_NuMber['length']>0x0&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x470)+CalL_XC_c_NuMber+_0x3bf5c5(0x2cf),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_c_NuMber),Presets_HTML=Presets_HTML+'</a></b><br\x20/>'),CalL_XC_d_NuMber[_0x3bf5c5(0x35c)]>0x0&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x54b)+CalL_XC_d_NuMber+_0x3bf5c5(0x18c),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_d_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),CalL_XC_e_NuMber[_0x3bf5c5(0x35c)]>0x0&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x1d2)+CalL_XC_e_NuMber+_0x3bf5c5(0x62a),hide_xfer_number_to_dial==_0x3bf5c5(0x2e7)&&(Presets_HTML=Presets_HTML+_0x3bf5c5(0x4ec)+CalL_XC_e_NuMber),Presets_HTML=Presets_HTML+_0x3bf5c5(0x703)),Presets_HTML=Presets_HTML+_0x3bf5c5(0x665),$('#PresetsSelectBoxContent')[_0x3bf5c5(0x628)](Presets_HTML);}function PresetSelect_submit(_0x5e0a19,_0x3e9ec6,_0x177a98,_0x82575c,_0x2b9198){var _0x1212f4=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x1212f4(0x5a1)+_0x5e0a19+'\x20'+_0x3e9ec6+'\x20'+_0x177a98+'\x20'+_0x82575c+'\x20'+_0x2b9198+'|',_0x2b9198=='Y'&&(hideDiv(_0x1212f4(0x414)),hideDiv(_0x1212f4(0x7d9))),hideDiv(_0x1212f4(0x65e)),$(_0x1212f4(0x2a2))[_0x1212f4(0x1b2)](_0x177a98),$('#xfername')['val'](_0x5e0a19),_0x82575c=='Y'&&hide_xfer_number_to_dial==_0x1212f4(0x2e7)?($(_0x1212f4(0x5b7))[_0x1212f4(0x1b2)](_0x3e9ec6),$('#xfernumber')[_0x1212f4(0x1b2)]('')):($(_0x1212f4(0x5b7))[_0x1212f4(0x1b2)](''),$('#xfernumber')[_0x1212f4(0x1b2)](_0x3e9ec6)),scroll(0x0,0x0);}function vmmessages_button(_0x3b609e){var _0x3090fa=_0x1c96bb;leave_vm_message_group_exists>0x0?generate_vmmessages_pulldown(_0x3b609e):mainxfer_send_redirect(_0x3090fa(0x190),lastcustchannel,lastcustserverip,'',leave_vm_no_dispo,'',_0x3b609e);}function generate_vmmessages_pulldown(_0x1421d3){var _0x29fd78=_0x1c96bb;_0x1421d3=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x29fd78(0x338));VMMessages_HTML='',$(_0x29fd78(0x559))[_0x29fd78(0x1b2)](''),$(_0x29fd78(0x7b1))[_0x29fd78(0x628)](_0x29fd78(0x5fd));var _0x2b2848=![];!_0x2b2848&&typeof XMLHttpRequest!=_0x29fd78(0x34f)&&(_0x2b2848=new XMLHttpRequest()),_0x2b2848&&(VMMG_list_query='server_ip='+server_ip+_0x29fd78(0x7b6)+session_name+_0x29fd78(0x66e)+user+'&pass='+pass+_0x29fd78(0x5e9)+campaign+_0x29fd78(0x44a)+leave_vm_message_group_id+_0x29fd78(0x2c5)+customer_HHMM,_0x2b2848['open'](_0x29fd78(0x584),_0x29fd78(0x550)),_0x2b2848[_0x29fd78(0x636)](_0x29fd78(0x638),_0x29fd78(0x404)),_0x2b2848[_0x29fd78(0x2fd)](VMMG_list_query),_0x2b2848[_0x29fd78(0x18a)]=function(){var _0x4a6a5b=_0x29fd78;_0x2b2848[_0x4a6a5b(0x30f)]==0x4&&_0x2b2848['status']==0xc8&&$(_0x4a6a5b(0x7b1))[_0x4a6a5b(0x628)](_0x2b2848[_0x4a6a5b(0x137)]);},delete _0x2b2848);}function VMMessageSelect_submit(_0x42702e,_0x29010a,_0x1a9497,_0x5abe92){var _0x249b71=_0x1c96bb,_0x14e242=new RegExp('|','g'),_0xf4dff2=_0x42702e[_0x249b71(0x74b)](/\|/g,'\x20');button_click_log=button_click_log+''+SQLdate+_0x249b71(0x1a5)+_0xf4dff2+'\x20'+_0x29010a+'\x20'+_0x1a9497+'\x20'+_0x5abe92+'|',hideDiv('VMMessageSelectBox'),$(_0x249b71(0x559))['val'](_0x42702e);var _0x175587=![];!_0x175587&&typeof XMLHttpRequest!=_0x249b71(0x34f)&&(_0x175587=new XMLHttpRequest()),_0x175587&&(VMMG_list_query=_0x249b71(0x4c6)+server_ip+_0x249b71(0x7b6)+session_name+_0x249b71(0x66e)+user+_0x249b71(0x397)+pass+_0x249b71(0x7f5)+campaign+_0x249b71(0x44a)+_0x42702e+_0x249b71(0x549)+LasTCID+'&lead_id='+$('#lead_id')[_0x249b71(0x1b2)](),_0x175587[_0x249b71(0x63c)](_0x249b71(0x584),'crm_query.php'),_0x175587[_0x249b71(0x636)]('Content-Type',_0x249b71(0x404)),_0x175587[_0x249b71(0x2fd)](VMMG_list_query),_0x175587[_0x249b71(0x18a)]=function(){var _0x224150=_0x249b71;if(_0x175587[_0x224150(0x30f)]==0x4&&_0x175587['status']==0xc8){var _0x150762=_0x175587[_0x224150(0x137)],_0x55a031=new RegExp(_0x224150(0x7f9),'ig');_0x150762[_0x224150(0x42d)](_0x55a031)?(alert_box(_0x150762),button_click_log=button_click_log+''+SQLdate+_0x224150(0x73f)+_0x150762+'|'):mainxfer_send_redirect('XfeRVMAIL',lastcustchannel,lastcustserverip,'',leave_vm_no_dispo,'','');}},delete _0x175587),scroll(0x0,0x0);}function GroupAliasSelectContent_create(_0x168303){var _0x13ceca=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+'-----GroupAliasSelectContent_create---'+_0x168303+'|',HidEGenDerPulldown(),WaitingForNextStep=0x1,GroupAlias_HTML='',$(_0x13ceca(0x39e))[_0x13ceca(0x1b2)]('');var _0x249346=parseInt(VD_group_aliases_ct/0x2);GroupAlias_HTML='<table\x20cellpadding=\x225\x22\x20cellspacing=\x225\x22\x20width=\x22500px\x22><tr><td\x20colspan=\x222\x22>\x20GROUP\x20ALIAS</td></tr><tr><td\x20bgcolor=\x22#99FF99\x22\x20height=\x22300px\x22\x20width=\x22240px\x22\x20valign=\x22top\x22><span\x20id=\x22GroupAliasSelectA\x22>';_0x168303>0x0&&(_0x249346=_0x249346-0x1,GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x649)+campaign_cid+_0x13ceca(0x302)+campaign_cid+_0x13ceca(0x48d),GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x236)+$('#phone_number')['val']()+_0x13ceca(0x70b)+$(_0x13ceca(0x5e7))['val']()+'</a></b><br\x20/><br\x20/>',GroupAlias_HTML=GroupAlias_HTML+'<b><a\x20href=\x22#\x22\x20onclick=\x22GroupAliasSelect_submit(\x27AGENT_PHONE\x27,\x27'+outbound_cid+'\x27,\x270\x27);return\x20false;\x22>AGENT_PHONE\x20-\x20'+outbound_cid+_0x13ceca(0x48d));var _0x2aafc2=0x0;while(_0x2aafc2<VD_group_aliases_ct){GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x522)+VARgroup_alias_ids[_0x2aafc2]+_0x13ceca(0x6e6)+VARcaller_id_numbers[_0x2aafc2]+'\x27,\x271\x27);return\x20false;\x22>'+VARgroup_alias_ids[_0x2aafc2]+_0x13ceca(0x4ec)+VARgroup_alias_names[_0x2aafc2]+_0x13ceca(0x4ec)+VARcaller_id_numbers[_0x2aafc2]+_0x13ceca(0x48d),_0x2aafc2++,_0x2aafc2==_0x249346&&(GroupAlias_HTML=GroupAlias_HTML+'</span></td><td\x20bgcolor=\x22#99FF99\x22\x20height=\x22300px\x22\x20width=\x22240px\x22\x20valign=\x22top\x22><span\x20id=GroupAliasSelectB>');}var _0x130741='<b><a\x20href=\x22#\x22\x20onclick=\x22GroupAliasSelect_submit(\x27\x27,\x27\x27,\x270\x27);return\x20false;\x22>Go\x20Back</a>';GroupAlias_HTML=GroupAlias_HTML+_0x13ceca(0x298)+_0x130741,$(_0x13ceca(0x589))[_0x13ceca(0x628)](GroupAlias_HTML),focus_blur_enabled==0x1&&(document[_0x13ceca(0x3bd)][_0x13ceca(0x28d)][_0x13ceca(0x55c)](),document[_0x13ceca(0x3bd)][_0x13ceca(0x28d)][_0x13ceca(0x656)]());}function ManuaLDiaLInGrouPSelectContent_create(){var _0x4d7a9d=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x4d7a9d(0x69f),HidEGenDerPulldown(),WaitingForNextStep=0x1,DiaLInGrouP_HTML='',$(_0x4d7a9d(0x4e8))[_0x4d7a9d(0x1b2)]('');var _0x232824=parseInt(dialINgroupCOUNT/0x2);DiaLInGrouP_HTML=_0x4d7a9d(0x556);var _0x14c651=0x0;while(_0x14c651<dialINgroupCOUNT){DiaLInGrouP_HTML=DiaLInGrouP_HTML+_0x4d7a9d(0x6da)+VARdialingroups[_0x14c651]+_0x4d7a9d(0x208)+VARdialingroups[_0x14c651]+'</a></b><br\x20/><br\x20/>',_0x14c651++,_0x14c651==_0x232824&&(DiaLInGrouP_HTML=DiaLInGrouP_HTML+_0x4d7a9d(0x14e));}var _0x233af4=_0x4d7a9d(0x461);DiaLInGrouP_HTML=DiaLInGrouP_HTML+_0x4d7a9d(0x298)+_0x233af4,$(_0x4d7a9d(0x13b))['html'](DiaLInGrouP_HTML),focus_blur_enabled==0x1&&(document['inert_form'][_0x4d7a9d(0x28d)][_0x4d7a9d(0x55c)](),document['inert_form'][_0x4d7a9d(0x28d)][_0x4d7a9d(0x656)]());}function WeBForMDispoSelect_submit(){var _0x3cc83e=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x3cc83e(0x419),leaving_threeway=0x0,blind_transfer=0x0,$(_0x3cc83e(0x68e))[_0x3cc83e(0x628)](''),$(_0x3cc83e(0x303))[_0x3cc83e(0x1b2)](''),$(_0x3cc83e(0x63f))[_0x3cc83e(0x1b2)](''),$('#MainStatuSSpanZZ')['html'](''),$(_0x3cc83e(0x2d4))['show'](),$('#Leave3WayCall')[_0x3cc83e(0x628)]('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-info\x20btn-sm\x22\x20\x20data-dismiss=\x22modal\x22\x20aria-label=\x22Close\x22>Fermer</a>'),$('#DialWithCustomer')[_0x3cc83e(0x628)](_0x3cc83e(0x51e)),$('#ParkCustomerDial')[_0x3cc83e(0x628)]('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-danger\x20btn-sm\x22\x20onclick=\x22xfer_park_dial(\x27YES\x27);return\x20false;\x22>Mise\x20en\x20attente\x20Client</a>'),$(_0x3cc83e(0x5c7))[_0x3cc83e(0x628)](_0x3cc83e(0x273));var _0x2fb05b=$('#DispoSelection')[_0x3cc83e(0x1b2)]();_0x2fb05b['length']<0x1?(alert_box(_0x3cc83e(0x4b2)),button_click_log=button_click_log+''+SQLdate+'-----EmptyDispoAlert---'+_0x2fb05b+'\x20'+'|'):($(_0x3cc83e(0x782))[_0x3cc83e(0x628)](''),LeaDDispO=_0x2fb05b,WebFormRefresH('NO',_0x3cc83e(0x18f)),enable_first_webform>0x0&&$(_0x3cc83e(0x4d2))[_0x3cc83e(0x628)](_0x3cc83e(0x40e)),enable_second_webform>0x0&&$(_0x3cc83e(0x434))[_0x3cc83e(0x628)](_0x3cc83e(0x294)),enable_third_webform>0x0&&$('#WebFormSpanThree')['html']('<img\x20src=\x22./images/vdc_LB_webform_three_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Web\x20Form\x203\x22\x20/>'),window[_0x3cc83e(0x63c)](TEMP_VDIC_web_form_address,web_form_target,_0x3cc83e(0x804)),DispoSelect_submit());}function DispoSelect_submit(_0x125acc,_0x3702ee,_0x2e7969,_0x4b2b26=![],_0x426302=''){var _0x5b76fe=_0x1c96bb;_0x2e7969==_0x5b76fe(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x5b76fe(0x41d));VDCL_group_id[_0x5b76fe(0x35c)]>0x1?group=VDCL_group_id:group=campaign;leaving_threeway=0x0,blind_transfer=0x0,CheckDEADcallON=0x0,CheckDEADcallCOUNT=0x0,dead_trigger_count=0x0;var _0x19450b=customer_sec;customer_sec=0x0,currently_in_email_or_chat=0x0,customer_3way_hangup_counter=0x0,customer_3way_hangup_counter_trigger=0x0,waiting_on_dispo=0x1,recording_active=0x0;var _0x1e0238=$(_0x5b76fe(0x69d))['html'](),_0x25a961=last_recording_filename,_0x53e95b='';$(_0x5b76fe(0x68e))[_0x5b76fe(0x628)](''),$('#callserverip')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x63f))[_0x5b76fe(0x1b2)](''),$('#MainStatuSSpanZZ')['html'](''),$('#choixnum')[_0x5b76fe(0x45c)](),$(_0x5b76fe(0x729))[_0x5b76fe(0x628)](_0x5b76fe(0x6c8)),$(_0x5b76fe(0x61d))[_0x5b76fe(0x628)](_0x5b76fe(0x51e)),$('#ParkCustomerDial')[_0x5b76fe(0x628)]('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-danger\x20btn-sm\x22\x20onclick=\x22xfer_park_dial(\x27YES\x27);return\x20false;\x22>Mise\x20en\x20attente\x20Client</a>'),$(_0x5b76fe(0x5c7))['html']('<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-danger\x20btn-sm\x22\x20onclick=\x22bothcall_send_hangup(\x27YES\x27);return\x20false;\x22>Raccrocher\x20la\x20ligne</a>');var _0x30ec48=$(_0x5b76fe(0x5c9))[_0x5b76fe(0x1b2)]();if(_0x30ec48[_0x5b76fe(0x35c)]<0x1)alert_box('Vous\x20devez\x20slectionner\x20une\x20disposition'),button_click_log=button_click_log+''+SQLdate+'-----EmptyDispoAlert2---'+_0x30ec48+'\x20'+'|';else{if($('#lead_id')[_0x5b76fe(0x1b2)]()=='')waiting_on_dispo=0x0,AgentDispoing=0x0,$('#DispoSelectBox')[_0x5b76fe(0x7c3)]('hide'),button_click_log=button_click_log+''+SQLdate+_0x5b76fe(0x82d)+$(_0x5b76fe(0x486))['val']()+'\x20'+_0x30ec48+'|',agent_events('dispo_set_twice','',aec),aec++;else{if($(_0x5b76fe(0x69b))[_0x5b76fe(0x789)]('checked')==!![]){var _0x53d2a1='';$('#MainStatuSSpan')[_0x5b76fe(0x628)](_0x53d2a1),alt_dial_status_display=0x0;}$(_0x5b76fe(0x782))[_0x5b76fe(0x628)]('');var _0x23b161=new RegExp('\x20'+_0x30ec48+'\x20','ig');if(SalestatusesLIST[_0x5b76fe(0x42d)](_0x23b161)&&_0x30ec48[_0x5b76fe(0x35c)]>0x0&&typeSaleCRM=='rendez-vous'&&_0x30ec48!='RVHOLD')$(_0x5b76fe(0x200))[_0x5b76fe(0x7c3)](_0x5b76fe(0x45c)),agent_events('rendezvous_select_open','',aec),aec++;else{if(VARCBstatusesLIST[_0x5b76fe(0x42d)](_0x23b161)&&_0x30ec48[_0x5b76fe(0x35c)]>0x0&&scheduled_callbacks>0x0&&_0x30ec48!=_0x5b76fe(0x4cd)){var _0xbb7d3e=parseInt(LastCallbackCount),_0x703a46=parseInt(callback_active_limit);_0x703a46>0x0&&_0xbb7d3e>=_0x703a46?($('#CallBackOnlyMe')['prop'](_0x5b76fe(0x677),![]),$(_0x5b76fe(0x7b7))[_0x5b76fe(0x789)]('disabled',!![])):$('#CallBackOnlyMe')[_0x5b76fe(0x789)](_0x5b76fe(0x312),![]);if(comments_callback_screen==_0x5b76fe(0x20d)||comments_callback_screen==_0x5b76fe(0x490)){var _0x252ac2=_0x5b76fe(0x243);_0x252ac2=_0x252ac2+_0x5b76fe(0x235)+$('#dispo_comments')[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x524),_0x252ac2=_0x252ac2+_0x5b76fe(0x1c7),$('#CBCommentsContent')[_0x5b76fe(0x628)](_0x252ac2);}else $(_0x5b76fe(0x19f))[_0x5b76fe(0x628)](_0x5b76fe(0x5f3)+$(_0x5b76fe(0x477))[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x5ea));$(_0x5b76fe(0x403))[_0x5b76fe(0x7c3)](_0x5b76fe(0x45c)),agent_events(_0x5b76fe(0x708),'',aec),aec++;}else{var _0x200fde=![];!_0x200fde&&typeof XMLHttpRequest!=_0x5b76fe(0x34f)&&(_0x200fde=new XMLHttpRequest());_0x200fde&&(DSupdate_query='server_ip='+server_ip+_0x5b76fe(0x7b6)+session_name+'&ACTION=updateDISPO&format=text&user='+user+_0x5b76fe(0x397)+pass+_0x5b76fe(0x569)+orig_pass+'&dispo_choice='+_0x30ec48+_0x5b76fe(0x650)+$(_0x5b76fe(0x486))['val']()+_0x5b76fe(0x6b5)+campaign+_0x5b76fe(0x52d)+auto_dial_level+_0x5b76fe(0x741)+agent_log_id+_0x5b76fe(0x77c)+CallBackDatETimE+_0x5b76fe(0x557)+RDVDatETimE+'&list_id='+$(_0x5b76fe(0x416))[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x50f)+CallBackrecipient+_0x5b76fe(0x7a8)+use_internal_dnc+_0x5b76fe(0x4f6)+use_campaign_dnc+_0x5b76fe(0x549)+LasTCID+_0x5b76fe(0x44a)+group+'&vtiger_callback_id='+vtiger_callback_id+_0x5b76fe(0x466)+$('#phone_number')[_0x5b76fe(0x1b2)]()+_0x5b76fe(0x46a)+$(_0x5b76fe(0x40c))[_0x5b76fe(0x1b2)]()+'&dial_method='+dial_method+_0x5b76fe(0x6ae)+$(_0x5b76fe(0x186))['val']()+'&CallBackLeadStatus='+CallBackLeadStatus+_0x5b76fe(0x30c)+RDVLeadStatus+'&comments='+encodeURIComponent(CallBackCommenTs)+'&custom_field_names='+custom_field_names+_0x5b76fe(0x1c1)+encodeURIComponent($(_0x5b76fe(0x53c))[_0x5b76fe(0x1b2)]())+_0x5b76fe(0x1fd)+encodeURIComponent($(_0x5b76fe(0x477))['val']())+'&cbcomment_comments='+encodeURIComponent($(_0x5b76fe(0x701))[_0x5b76fe(0x1b2)]())+_0x5b76fe(0x173)+DispoQMcsCODE+_0x5b76fe(0x59f)+email_enabled+_0x5b76fe(0x5bf)+_0x1e0238+_0x5b76fe(0x6d3)+_0x25a961+_0x5b76fe(0x6bf)+$(_0x5b76fe(0x7fd))['val']()+_0x5b76fe(0x5ec)+parked_hangup+_0x5b76fe(0x760)+phone_login+_0x5b76fe(0x801)+LOGemail+_0x5b76fe(0x5d7)+session_id+_0x5b76fe(0x4f5)+campaign_script+''+_0x5b76fe(0x428)+CalL_ScripT_id+_0x5b76fe(0x38e)+lastcustserverip+_0x5b76fe(0x2bd)+extension+_0x5b76fe(0x3f4)+original_phone_login+'&phone_pass='+phone_pass+_0x5b76fe(0x3cf)+callback_gmt_offset+_0x5b76fe(0x3ee)+callback_timezone+_0x5b76fe(0x37f)+_0x19450b,_0x200fde[_0x5b76fe(0x63c)](_0x5b76fe(0x584),'crm_query.php'),_0x200fde[_0x5b76fe(0x636)](_0x5b76fe(0x638),_0x5b76fe(0x404)),_0x200fde[_0x5b76fe(0x2fd)](DSupdate_query),_0x200fde[_0x5b76fe(0x18a)]=function(){var _0x1b8038=_0x5b76fe;if(_0x200fde['readyState']==0x4&&_0x200fde['status']==0xc8){var _0x2e78ec=null;_0x2e78ec=_0x200fde['responseText'];var _0x1f2991=_0x2e78ec[_0x1b8038(0x65a)]('\x0a');auto_dial_level<0x1&&(_0x1f2991[0x1]==_0x1b8038(0x4e2)&&(agent_log_id['length']>0x0&&(previous_agent_log_id=agent_log_id),agent_log_id=_0x1f2991[0x2])),_0x1f2991[0x3]==_0x1b8038(0x3fe)&&(_0x53e95b=_0x1f2991[0x4],SendURLs(_0x53e95b,'dispo')),waiting_on_dispo=0x0,agent_events(_0x1b8038(0x3a4),_0x30ec48,aec),aec++;}},delete _0x200fde);if($('#c_script_id')[_0x5b76fe(0x1b2)]()!=''){var _0x200fde=![];!_0x200fde&&typeof XMLHttpRequest!=_0x5b76fe(0x34f)&&(_0x200fde=new XMLHttpRequest());if(_0x200fde){var _0xf6fd68=$(_0x5b76fe(0x743))[_0x5b76fe(0x1b0)]();_0x200fde['open'](_0x5b76fe(0x584),_0x5b76fe(0x550)),_0x200fde[_0x5b76fe(0x636)](_0x5b76fe(0x638),_0x5b76fe(0x404)),_0x200fde[_0x5b76fe(0x2fd)](_0xf6fd68+_0x5b76fe(0x248)+user+'&pass='+pass+_0x5b76fe(0x569)+orig_pass+_0x5b76fe(0x319)+server_ip+_0x5b76fe(0x7b6)+session_name),_0x200fde[_0x5b76fe(0x18a)]=function(){var _0x26f066=_0x5b76fe;_0x200fde[_0x26f066(0x30f)]==0x4&&_0x200fde[_0x26f066(0x6aa)]==0xc8&&(waiting_on_dispo=0x0);},delete _0x200fde;}}$(_0x5b76fe(0x705))['tab'](_0x5b76fe(0x45c)),$(_0x5b76fe(0x565))[_0x5b76fe(0x628)](_0x5b76fe(0x147)),$(_0x5b76fe(0x486))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x48f))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x416))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x7fa))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x7bf))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x6d2))['val'](''),$('#entry_list_id')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x465))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x40c))[_0x5b76fe(0x1b2)]('');if(disable_alter_custphone=='Y'||disable_alter_custphone==_0x5b76fe(0x150)){var _0x5b5756=$(_0x5b76fe(0x69e));_0x5b5756[_0x5b76fe(0x1b2)]('');}$(_0x5b76fe(0x5e7))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x79a))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x485))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x2ac))['val'](''),$(_0x5b76fe(0x2e8))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x47d))[_0x5b76fe(0x1b2)](''),$('#address2')['val'](''),$('#address3')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x323))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1c0))['val'](''),$(_0x5b76fe(0x300))['val'](''),$(_0x5b76fe(0x67f))['val'](''),$('#country_code')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1b7))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x6e3))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x59a))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1c3))['val'](''),$(_0x5b76fe(0x6bb))['val'](''),$(_0x5b76fe(0x1af))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x317))[_0x5b76fe(0x1b2)](''),$('#audit_comments')[_0x5b76fe(0x628)](''),qc_enabled>0x0&&($(_0x5b76fe(0x471))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x372))['val'](''),comments_all_tabs==_0x5b76fe(0x20d)&&$(_0x5b76fe(0x31f))[_0x5b76fe(0x1b2)]('')),$(_0x5b76fe(0x7fd))['val'](''),$(_0x5b76fe(0x41e))['val'](''),$(_0x5b76fe(0x53c))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x721))['val'](''),$('#chat_id')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x2a6))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x477))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x701))[_0x5b76fe(0x1b2)](''),VDCL_group_id='',fronter='',inOUT=_0x5b76fe(0x3a9),vtiger_callback_id='0',recording_filename='',recording_id='',$(_0x5b76fe(0x186))['val'](''),MDuniqueid='',XDuniqueid='',tmp_pixiscrm_id='',EAphone_code='',EAphone_number='',EAalt_phone_notes='',EAalt_phone_active='',EAalt_phone_count='',XDnextCID='',XDcheck='',MDnextCID='',XD_live_customer_call=0x0,XD_live_call_secondS=0x0,xfer_in_call=0x0,active_threeway=0x0,MD_channel_look=0x0,MD_ring_secondS=0x0,uniqueid_status_display='',uniqueid_status_prefix='',custom_call_id='',API_selected_xfergroup='',API_selected_callmenu='',timer_action='',timer_action_seconds='',timer_action_mesage='',timer_action_destination='',did_pattern='',did_id='',did_extension='',did_description='',did_custom_one='',did_custom_two='',did_custom_three='',did_custom_four='',did_custom_five='',closecallid='',xfercallid='',custom_field_names='',custom_field_values='',custom_field_types='',customerparked=0x0,customerparkedcounter=0x0,consult_custom_wait=0x0,consult_custom_go=0x0,consult_custom_sent=0x0,MD_dial_timed_out=0x0,$(_0x5b76fe(0x80d))[_0x5b76fe(0x628)](''),$('#xfername')['val'](''),$('#xfernumhidden')[_0x5b76fe(0x1b2)](''),customer_3way_hangup_dispo_message='',$(_0x5b76fe(0x274))['html'](''),$('#DispoManualQueueMessage')[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x6d4))['html'](''),APIManualDialQueue_last=0x0,CallBackLeadStatus='',RDVLeadStatus='',CallBackDatETimE='',RDVDatETimE='',CallBackrecipient='',CallBackCommenTs='',DispoQMcsCODE='',active_ingroup_dial='',CalL_ScripT_id='',CalL_ScripT_color='',CalL_ScripT_id_two='',CalL_ScripT_color_two='',browser_alert_sound=CAMPbrowser_alert_sound,browser_alert_volume=CAMPbrowser_alert_volume,callback_gmt_offset='',callback_timezone='',$(_0x5b76fe(0x54c))[_0x5b76fe(0x628)](_0x5b76fe(0x7ae)),nocall_dial_flag=_0x5b76fe(0x2e7),$('#CallBackDatESelectioN')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x3e3))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x1d4))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x5ab))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x400))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x526))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x35d))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x3ad))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x3e6))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x788))['val'](''),$(_0x5b76fe(0x1ae))['val'](''),$(_0x5b76fe(0x709))['val'](''),$(_0x5b76fe(0x63b))[_0x5b76fe(0x1b2)](''),$('#MDLeadIDEntry')[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x688))[_0x5b76fe(0x1b2)](''),$(_0x5b76fe(0x704))[_0x5b76fe(0x1b2)](''),inbound_lead_search=0x0,cid_lock=0x0,timer_alt_trigger=0x0,last_mdtype='',$(_0x5b76fe(0x74a))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x7a7))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x69d))[_0x5b76fe(0x628)](''),dial_next_failed=0x0,xfer_agent_selected=0x0,hangup_both=0x0,source_id='',entry_date='',last_call_date='',inbound_post_call_survey='',inbound_survey_participate='',dead_trigger_first_ran=0x0,manual_cancel_skip=0x0,trigger_manual_validation=0x0,manual_entry_dial=0x0,SCRIPTweb_form_vars='',SCRIPT2web_form_vars='',MDcheck_for_answer=0x0,leave_3way_start_recording_trigger=0x0,leave_3way_start_recording_triggerCALL=0x0,transfer_no_dispoTEMP=0x0,leave_3way_start_recording_filename='',three_way_call_cid=orig_three_way_call_cid,manual_auto_next>0x0&&(manual_auto_next_trigger=0x1,manual_auto_next_count=manual_auto_next),agent_display_fields[_0x5b76fe(0x42d)](adfREGentry_date)&&$(_0x5b76fe(0x699))[_0x5b76fe(0x628)](_0x5b76fe(0x497)),agent_display_fields[_0x5b76fe(0x42d)](adfREGsource_id)&&$(_0x5b76fe(0x7d3))[_0x5b76fe(0x628)](_0x5b76fe(0x497)),agent_display_fields['match'](adfREGrank)&&$(_0x5b76fe(0x284))[_0x5b76fe(0x628)]('\x20&nbsp;\x20&nbsp;\x20'),agent_display_fields[_0x5b76fe(0x42d)](adfREGowner)&&$(_0x5b76fe(0x59e))[_0x5b76fe(0x628)]('\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20'),agent_display_fields[_0x5b76fe(0x42d)](adfREGlast_local_call_time)&&$(_0x5b76fe(0x2e6))['html'](_0x5b76fe(0x227)),(manual_dial_search_checkbox==_0x5b76fe(0x1b6)||manual_dial_search_checkbox==_0x5b76fe(0x7fc))&&$('#LeadLookuP')[_0x5b76fe(0x789)](_0x5b76fe(0x677),!![]),(manual_dial_search_checkbox=='UNSELECTED_RESET'||manual_dial_search_checkbox==_0x5b76fe(0x6f9))&&$(_0x5b76fe(0x529))[_0x5b76fe(0x789)]('checked',![]),post_phone_time_diff_alert_message[_0x5b76fe(0x35c)]>0xa&&($(_0x5b76fe(0x599))[_0x5b76fe(0x628)](''),hideDiv(_0x5b76fe(0x38a)),post_phone_time_diff_alert_message=''),manual_dial_in_progress==0x1&&manual_dial_finished(),manual_dial_preview<0x1&&($(_0x5b76fe(0x4d5))['prop'](_0x5b76fe(0x677),![]),hideDiv(_0x5b76fe(0x30b))),hide_gender<0x1&&($(_0x5b76fe(0x4f8))[_0x5b76fe(0x628)](''),$(_0x5b76fe(0x4dc))['html']('<select\x20size=\x221\x22\x20name=\x22gender_list\x22\x20class=\x22form-select\x22\x20id=\x22gender_list\x22><option\x20value=\x22U\x22>U\x20-\x20Undefined</option><option\x20value=\x22M\x22>M\x20-\x20Male</option><option\x20value=\x22F\x22>F\x20-\x20Female</option></select>')),_0x426302!=''&&PauseCodeSelect_submit(_0x426302),$('#DispoSelectBox')[_0x5b76fe(0x7c3)](_0x5b76fe(0x345)),$(_0x5b76fe(0x282))[_0x5b76fe(0x628)](_0x5b76fe(0x67d)),pause_after_next_call==_0x5b76fe(0x20d)&&$(_0x5b76fe(0x573))[_0x5b76fe(0x628)](_0x5b76fe(0x775)),CBcommentsBoxhide(),EAcommentsBoxhide(),ContactSearchReset(),script_top_dispo=='Y'&&(ScriptPanelToFront(),hideDiv(_0x5b76fe(0x2fb))),clear_script=='ENABLED'&&($(_0x5b76fe(0x565))[_0x5b76fe(0x628)]('<div\x20class=\x22alert\x20alert-info\x20alert-dismissable\x22><strong>Script\x20en\x20cours</strong></div>'),$('#Script2Contents')[_0x5b76fe(0x628)]('')),parked_hangup='0',chat_enabled>0x0&&$(_0x5b76fe(0x571))[_0x5b76fe(0x7b8)](_0x5b76fe(0x585),image_customer_chat_OFF[_0x5b76fe(0x585)]),CustomerChatContentsLoad(),EmailContentsLoad(),AgentDispoing=0x0,(alt_number_dialing==_0x5b76fe(0x3d5)||alt_number_dialing==_0x5b76fe(0x3f5)||alt_number_dialing==_0x5b76fe(0x737))&&$(_0x5b76fe(0x69b))['prop'](_0x5b76fe(0x677),!![]),(alt_number_dialing==_0x5b76fe(0x4df)||alt_number_dialing==_0x5b76fe(0x220)||alt_number_dialing==_0x5b76fe(0x34a))&&$('#DiaLAltPhonE')[_0x5b76fe(0x789)]('checked',![]),shift_logout_flag<0x1&&api_logout_flag<0x1?wrapup_waiting==0x0&&(_0x4b2b26==!![]||liveCBcounT>0x0&&scheduled_callbacks_force_dial=='Y'?(liveCBcounT>0x0&&scheduled_callbacks_force_dial=='Y'&&(_0x3702ee=auto_pause_precall_code,_0x125acc=0x1),auto_dial_level!='0'&&(AutoDialWaiting=0x0,QUEUEpadding=0x0,_0x125acc==0x1?AutoDial_ReSume_PauSe(_0x5b76fe(0x2ce),'','','','','1',_0x3702ee):AutoDial_ReSume_PauSe(_0x5b76fe(0x2ce))),PIXIScrm_pause_calling=0x1,dispo_check_all_pause!='1'&&(_0x4b2b26=![],$(_0x5b76fe(0x46f))[_0x5b76fe(0x789)](_0x5b76fe(0x677),![]))):auto_dial_level!='0'&&(updatedispo_resume_trigger=0x1)):shift_logout_flag>0x0?(trigger_shift_logout=0xa,hideDiv(_0x5b76fe(0x2b3)),$(_0x5b76fe(0x2e4))[_0x5b76fe(0x7c3)]({'fadeDuration':0xfa,'fadeDelay':1.5})):LogouT(_0x5b76fe(0x792),'',''),focus_blur_enabled==0x1&&(document[_0x5b76fe(0x3bd)][_0x5b76fe(0x28d)][_0x5b76fe(0x55c)](),document['inert_form']['inert_button'][_0x5b76fe(0x656)]());}}scroll(0x0,0x0);}}}function dead_trigger_url_send(){var _0x5dbba4=_0x1c96bb,_0x48d532=$(_0x5dbba4(0x69d))[_0x5dbba4(0x628)](),_0x5a706a=last_recording_filename,_0x1f8598=![];!_0x1f8598&&typeof XMLHttpRequest!=_0x5dbba4(0x34f)&&(_0x1f8598=new XMLHttpRequest()),_0x1f8598&&(DSupdate_query=_0x5dbba4(0x4c6)+server_ip+'&session_name='+session_name+_0x5dbba4(0x777)+user+_0x5dbba4(0x397)+pass+_0x5dbba4(0x569)+orig_pass+_0x5dbba4(0x650)+$(_0x5dbba4(0x486))[_0x5dbba4(0x1b2)]()+'&campaign='+campaign+_0x5dbba4(0x52d)+auto_dial_level+_0x5dbba4(0x741)+agent_log_id+_0x5dbba4(0x4d8)+$(_0x5dbba4(0x416))['val']()+'&MDnextCID='+LasTCID+'&stage='+group+_0x5dbba4(0x466)+$(_0x5dbba4(0x5e7))['val']()+_0x5dbba4(0x46a)+$(_0x5dbba4(0x40c))['val']()+_0x5dbba4(0x4fe)+dial_method+_0x5dbba4(0x6ae)+$('#uniqueid')['val']()+_0x5dbba4(0x1ea)+custom_field_names+_0x5dbba4(0x59f)+email_enabled+_0x5dbba4(0x5bf)+_0x48d532+'&recording_filename='+_0x5a706a+'&called_count='+$(_0x5dbba4(0x7fd))[_0x5dbba4(0x1b2)]()+_0x5dbba4(0x188)+CheckDEADcallCOUNT+_0x5dbba4(0x760)+phone_login+_0x5dbba4(0x801)+LOGemail+'&conf_exten='+session_id+_0x5dbba4(0x4f5)+campaign_script+''+_0x5dbba4(0x428)+CalL_ScripT_id+_0x5dbba4(0x38e)+lastcustserverip+_0x5dbba4(0x2bd)+extension+_0x5dbba4(0x3f4)+original_phone_login+'&phone_pass='+phone_pass,_0x1f8598[_0x5dbba4(0x63c)]('POST',_0x5dbba4(0x550)),_0x1f8598[_0x5dbba4(0x636)](_0x5dbba4(0x638),_0x5dbba4(0x404)),_0x1f8598[_0x5dbba4(0x2fd)](DSupdate_query),_0x1f8598['onreadystatechange']=function(){var _0x59a5a2=_0x5dbba4;if(_0x1f8598[_0x59a5a2(0x30f)]==0x4&&_0x1f8598[_0x59a5a2(0x6aa)]==0xc8){var _0x5ec8c5=null;_0x5ec8c5=_0x1f8598[_0x59a5a2(0x137)];var _0x107224=_0x5ec8c5[_0x59a5a2(0x65a)]('\x0a');agent_events(_0x59a5a2(0x581),LasTCID,aec),aec++;}},delete _0x1f8598);}function _0x1390(){var _0x21e96b=['\x20address2','This\x20agent\x20screen\x20was\x20not\x20opened\x20properly.','FIELD_email','#email_row_id','&LOGINvarFIVE=','#CCCCFF','state_ready','<a\x20href=\x22#\x22\x20onclick=\x22GroupAliasSelectContent_create(\x270\x27);\x22>Click\x20Here\x20to\x20Choose\x20a\x20Group\x20Alias</a>','---\x20gmt_offset_now\x20','-----customer_info_commit---','<table\x20cellpadding=\x225\x22\x20cellspacing=\x225\x22\x20width=\x22500px\x22><tr><td>GROUPS\x20NOT\x20SELECTED</td><td>SELECTED\x20GROUPS</td></tr><tr><td\x20bgcolor=\x22#99FF99\x22\x20height=\x22300px\x22\x20width=\x22240px\x22\x20valign=\x22top\x22><span\x20id=CloserSelectAdd>\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22CloserSelect_change(\x27-----ADD-ALL-----\x27,\x27ADD\x27);return\x20false;\x22><b>---\x20ADD\x20ALL\x20---</b><br\x20/>','#Leave3WayCall','#CBcommentsBoxB','#PauseCodeSelectBox','<br\x20/><b>Call\x20Notes:\x20</b><br\x20/><textarea\x20name=\x22call_notes_dispo\x22\x20id=\x22call_notes_dispo\x22\x20rows=\x222\x22\x20cols=\x22100\x22\x20class=\x22form-control\x20cust_form_text\x22\x20value=\x22\x22>','\x20Called:\x20','ALERT_AUDIO','ParK','Ce\x20numro\x20de\x20tlphone\x20est\x20dans\x20la\x20liste\x20Rouge\x20:\x0a','\x27);return\x20false;\x22>HANGUP</a></td><td></td></tr>','-----LeadSearchOpenLiveFailed---','Pause','OCT','-----ManualValidateSuccess---','&inbound_lead_search=','SELECTED_TIMER_ADDR3','&manual_dial_filter=','Ce\x20numro\x20de\x20tlphone\x20ne\x20figure\x20pas\x20dans\x20les\x20listes\x20systme\x0a','ENABLED_PARK_ONLY','-----PauseMaxAltState---','-----RDVSetFailed---','{#campaign#}','&filename=','-----VMMselectError---','{#LOGINvarTHREE#}','&agent_log_id=','&preset_number_e=','#pixiscrm_form','JLY','DiaLCalls:\x20','transfer_blind','#xfername','-----session_paused---','&phone=','#timer_alt_display','replace','sales','\x20postal_code','&ACTION=OriginateVDRelogin&format=text&channel=','&closer=','PRECAL','-----DialTimedOut---','---\x20address2\x20','\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_quickxfer.gif\x22\x20border=\x220\x22\x20alt=\x22QUICK\x20TRANSFER\x22\x20/></a>','AGENT','&leaving_threeway=','{#LOGINvarFOUR#}','#LogouTBoxLink','#ManuaLDiaLGrouP','1650712802','&outbound_cid=','VXvdcW','{#message#}','CBcommentsBox','logged_out_complete','&security_phrase=','&phone_login=','dead_max_dispo:\x20','-----AJAX_pause_resume_undefined---','WaitinGEmails:\x20','-----DeadMaxDispo---','APIFields:\x20','&group_name=','ALL_CALLS','ParKXfeR','&fullname=','&preset_number_b=','./images/vdc_XB_parkxferline_GRAB.gif','&inbound_chat_groups[]=','\x20CF:\x20','<button\x20id=\x22tbferControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-info\x20btn-lg\x22\x20onclick=\x22ShoWTransferMain(\x27OFF\x27,\x27YES\x27,\x27YES\x27);\x22><i\x20class=\x22fa\x20fa-exchange\x22></i>\x20Transfert</button>','-----DtMf_PreSet_b_DiaL---|','LOGIN','contact_search_open','ManualValidateBox','AXFER','\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_MUTE.gif\x22\x20border=\x220\x22\x20/></a>\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27UNMUTE\x27,\x27','<a\x20href=\x22#\x22\x20onclick=\x22next_call_pause_click();return\x20false;\x22>Next\x20Call\x20Pause</a>','-----NoDiaLSwitcH---|','&ACTION=DEADtriggerURL&format=text&user=','\x27,\x27N\x27,\x27N\x27);return\x20false;\x22>D2','-----CustomerGoneOK---|','&conf_silent_prefix=','<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27ParKivr\x27,\x27','&CallBackDatETimE=','Customer\x20Hung-up,\x203-way\x20Call\x20Ended\x20Automatically','default','</span></td><td\x20bgcolor=\x22#99FF99\x22\x20height=\x22300px\x22\x20width=\x22240px\x22\x20valign=\x22top\x22><span\x20id=TerritorySelectDelete></span></td></tr></table>','-----ContactSearcHVieWClose---|','NXDIAL','#CusTInfOSpaN','parse','\x27,\x27ADD\x27);return\x20false;\x22>','NeWSessioN','&ACTION=RedirectToParkIVR&format=text&channel=','#MgrApr_pass','#search_postal_code','prop','{#script_width#}','&vtiger_callback_id=','\x27,\x27ADD\x27,\x27YES\x27);return\x20false;\x22><i\x20class=\x22fa\x20fa-check\x22></i>\x20','&country_code=','&log_campaign=','\x20title','#XfeRGrouPLisT','XfeRINTERNAL','API','&queryCID=','&ACTION=customer_3way_hangup_process&format=text&user=','Preview\x20the\x20Lead\x20then\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27','-----api_logout---','En\x20attente','CALL\x20UNANSWERED','./images/vdc_LB_transferconf.gif','#title','&owner=','NEW_ID','-----PauseCodeOpen_mgrapr---','alertCID=1','ALL','&last_name=','&ACTION=LeaDSearcHSelecTUpdatE','./images/vdc_LB_mute_recording_AVAILABLE.gif','APIStatuS:\x20','{#postal_code#}','\x20Dial\x20Countdown:\x20','PRESET_1','#manual_auto_next_display','&use_internal_dnc=','\x27,\x27Y\x27);\x22>Change\x20this\x20phone\x20number\x20to\x20ACTIVE</a>','MANUAL_DIALFAST','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-default\x20btn-sm\x22>--</a>','MANUAL_DIALNOW','LVvdcW','server\x20time','<button\x20id=\x22tbParkControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-warning\x20btn-lg\x22\x20onclick=\x22mainxfer_send_redirect(\x27FROMParK\x27,\x27','Group\x20Alias:\x20','#VMMessageSelectBoxContent','--QUES--','AMPM','address1,','&user_custom_two=','&session_name=','#CallBackOnlyMe','attr','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-default\x20btn-sm\x22>Transfert\x20en\x20cours</a>','ALTPH2','XfeRBLIND','XfeR','#TimerContentSpan','&agentchannel=','#list_appel','&dial_timeout=','#CallBackDatEPrinT','width','modal','-----ManualDialFailed---','&ACTION=LEADINFOview&search=logfirst&format=text&user=','-----DispoLeavE3wayAgaiN---|','&disable_alter_custphone=','CHAT','-----in_man_dial_next_ready---','BLINK_RED_DEFER','UK_DASH','setData','#CBcommentsBoxC','\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_UNMUTE.gif\x22\x20border=\x220\x22\x20/></a></td></tr>','./images/vdc_LB_webform_OFF.gif','./images/vdc_LB_mute_recording_ON.gif','FEB','&epoch=','#source_idDISP','APIHanguP:\x20','blind_monitor_alert','#ReQueueCall','#DiaLControl','&ACTION=SysCIDdtmfOriginate&format=text&channel=','SearcHContactsDisplaYBox','PRESET_3','-----LeaDSearcHVieWClose---|','&LOGINvarTHREE=','Ce\x20statut\x20n\x27est\x20pas\x20disponible\x20pour\x20le\x20moment','&nbsp;</td><td\x20style=\x22text-align:\x20center;\x22\x20colspan=2>NON-DIALABLE&nbsp;</td></tr>\x20+\x20CB_cust_content','FINISH','CLICK','-----CustomFormWait---','NO_STATUS_CHANGE','num_tranfert','dispo_screen_open','-----PauseCodeSelect_MgrApr---','#QuickXfer','BAS_','substr','Ce\x20numro\x20de\x20tlphone\x20a\x20atteint\x20la\x20limite\x20du\x20nombre\x20d\x27appels\x20sur\x2024\u00a0heures\x0a','&stage=600&calls_waiting_vl_oneLABEL=NOM&calls_waiting_vl_twoLABEL=NOM','EMAIL','{#city#}','DIALNEXT','<img\x20src=\x22./images/vdc_LB_blank_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22pause\x20button\x20disabled\x22\x20/>','#PauseCodeSelection','<a\x20href=\x22#\x22\x20onclick=\x22custom_button_transfer();return\x20false;\x22><img\x20src=\x22./images/vdc_LB_customxfer.gif\x22\x20border=\x220\x22\x20alt=\x22Custom\x20Transfer\x22\x20/></a>','&inbound_email_groups[]=','consultative_checkbox','#statutPause','<img\x20src=\x22./images/vdc_LB_hangupcustomer_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Hangup\x20Customer\x22\x20/>','&ACTION=VMMG_selected&format=text&campaign=','PauseName:','^Local','<button\x20id=\x22tbParkControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-warning\x20btn-lg\x22\x20onclick=\x22mainxfer_send_redirect(\x27ParK\x27,\x27','ERROR','#list_name','<a\x20href=\x22#\x22\x20onclick=\x22ShoWTransferMain(\x27ON\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_transferconf.gif\x22\x20border=\x220\x22\x20alt=\x22Transfer\x20-\x20Conference\x22\x20/></a>','SELECTED_LOCK','#called_count','&phone_pass=','<button\x20id=\x22tbHangup\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-danger\x20btn-lg\x22\x20onclick=\x22dialedcall_send_hangup(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><i\x20class=\x22fa\x20fa-stop\x22></i>\x20Raccrocher</button>','#DispoSelectContent','&agent_email=','&in_script_two=','<h4><a\x20href=\x22/index.php\x22>CLIQUEZ\x20ICI\x20POUR\x20VOUS\x20RECONNECTER</a></h4>\x0a','toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=640,height=450','&channel_group=','last_name,','&script_override=','\x20Group-\x20','US_DASH','<a\x20href=\x22#\x22\x20onclick=\x22MuteRecording(\x27on\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_mute_recording_AVAILABLE.gif\x22\x20border=\x220\x22\x20alt=\x22Mute\x20Recording\x22\x20/></a><br\x20/>','#CustomerGoneBox','2px\x20solid\x20rgb(253,\x204,\x204)','#ParkCounterSpan','{#in_script#}','LIVE','<br\x20/><b>Manual\x20Dial\x20Queue\x20Calls\x20Waiting:\x20','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22>Transfrer</a>','transfer_panel_closed','NOV','{#security_phrase#}','-----ManualAutoNext---','#country_code','#DispoSelectBox','address3','#contacts_phone_number','&ACTION=userLOGout&format=text&user=','#PauseCodeMgrAprSelection','&ACTION=RedirectFromParkIVR&format=text&channel=','&ACTION=alt_phone_change','toString','RQXFER','2.14-658c','&dial_ingroup=','-----ForceHangupAlert---','\x0a\x20Group-\x20','-----SendManualDial---','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-danger\x20btn-sm\x22\x20onclick=\x22xfer_park_dial(\x27YES\x27);return\x20false;\x22>Mise\x20en\x20attente\x20Client</a>','#address2','NexTCalLPausE','\x20-----\x20','ALT','#TerritorySelectList','CLOSE','APITimerDestination:\x20','-----dispo_set_twice---','Votre\x20session\x20a\x20t\x20interrompue','FROMParK','responseText','DCMX','wrapup_after_hotkey:\x20','Appel\x20entrant\x20:','#DiaLInGrouPSelectContent','-----AgentEvent---','&sub_status=','.agc-nav-pause','&nbsp;\x20','\x20\x20Fronter:\x20','LEADSEARCH','#RDV_CBT_minute','./images/vdc_LB_senddtmf_OFF.gif','-----DeadTriggerURL---','&call_server_ip=','./images/vdc_LB_senddtmf.gif','<div\x20class=\x22alert\x20alert-info\x20alert-dismissable\x22><strong>Script\x20en\x20cours</strong></div>','ParKivr','&ACTION=manDiaLonly&conf_exten=','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_XB_blindtransfer.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Blind\x20Transfer\x22\x20style=\x22vertical-align:middle\x22\x20/></a>','./images/vdc_LB_blank_OFF.gif','IVR','session_disabled','</span></td><td\x20bgcolor=\x22#99FF99\x22\x20height=\x22300px\x22\x20width=\x22240px\x22\x20valign=\x22top\x22><span\x20id=DiaLInGrouPSelectB>','You\x20have\x20been\x20ready\x20for\x20too\x20long,\x20you\x20have\x20been\x20logged\x20out\x20of\x20your\x20session<br\x20/><br\x20/>','HIDE','</td><td\x20style=\x22text-align:\x20center;\x22><strong>','-----next_call_pause_click---|','-----api_dial_cancel---','#LocalCloser','#AgentViewLink','PAUSED','RED_DEFER','&agent_dialed_number=','Le\x20numro\x20de\x20transfert\x20doit\x20comporter\x20au\x20moins\x201\x20chiffre\x20:','&ACTION=PauseCodeSubmit&format=text&status=','{#list_id#}','---\x20province\x20','data-click-state','\x27,\x27N\x27);\x22>Change\x20this\x20phone\x20number\x20to\x20INACTIVE</a>','-----dead_call---','<img\x20src=\x22./images/vdc_LB_transferconf_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Transfer\x20-\x20Conference\x22\x20/>','all','<img\x20src=\x22./images/vdc_XB_localcloser_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22LOCAL\x20CLOSER\x22\x20style=\x22vertical-align:middle\x22\x20/>','</td><td>','\x20alt_phone','LOCKED_PRESET_5','SKIP','&ACTION=CALLSINQUEUEview&format=text&user=','<img\x20src=\x22./images/vdc_LB_grabivrparkcall_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Grab\x20IVR\x20Parked\x20Call\x22\x20/>','none','IN_GROUP','&ACTION=CalLBacKCounT&campaign=','---','Vous\x20devez\x20choisir\x20une\x20date','-----LogViewInvalid2---','2px\x20solid\x20rgb(41,\x20151,\x2074)','#MainStatuSSpan','<a\x20href=\x22#\x22\x20onclick=\x22ManualDialNext(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x270\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_dialnextnumber.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/></a>','VOUS\x20DEVEZ\x20TRE\x20EN\x20PAUSE\x20POUR\x20VRIFIER\x20LES\x20RAPPELS\x20EN\x20MODE\x20AUTO-DIAL','&qm_dispo_code=','format=text&server_ip=','#MgrApr_user','US_','px\x22\x20height=\x22','&LogouTKicKAlL=','&user_custom_one=','#contacts_first_name','99999','<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27ParKXfeR\x27,\x27','tab','-----ManualDialAltDonE---|','<a\x20href=\x22#\x22\x20style=\x22margin-right:\x208px;\x22\x20class=\x22btn\x20btn-primary\x20btn-lg\x22\x20onclick=\x22PauseCodeSelect_submit(\x27','<a\x20href=\x22#\x22\x20onclick=\x22DispoLeavE3wayAgaiN()\x22>Leave\x203Way\x20Call\x20Again</a>','ALREADY-RECEIVED','<option\x20','ONLY_EXCEPTIONS','\x20SELECT:\x20','#viewcommentsdisplay','#uniqueid','220310-0935','&dead_time=','WaitinGChats:\x20','onreadystatechange','log_text_red','\x27,\x27\x27,\x27N\x27,\x27N\x27);return\x20false;\x22>D4','\x22\x20+\x20lastcustserverip\x20+\x20\x22','-----CalLLoGVieWClose---|','YES','XfeRVMAIL','Ce\x20numro\x20de\x20tlphone\x20est\x20en\x20dehors\x20de\x20l\x27heure\x20d\x27appel\x20locale\x0a','---DISABLED---','&ACTION=VDADcheckINCOMINGother','#DialBlindTransfer','#LeaDInfOSpan','LeadIDSwitch:\x20','<a\x20href=\x22#\x22\x20onclick=\x22MuteRecording(\x27on\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_mute_recording_AVAILABLE.gif\x22\x20border=\x220\x22\x20alt=\x22Mute\x20Recording\x22\x20/></a>','manual_dial_open','-----CloserSelect_submit---|','LEADID','custom_field_names,','{#SQLdate#}','BLIND_TRANSFER','#ParkControl2','#CBCommentsContent','CUSTPHONE','\x20<input\x20type=\x22checkbox\x22\x20name=\x22LeadPreview\x22\x20id=\x22LeadPreview\x22\x20size=\x221\x22\x20value=\x220\x22\x20/>\x20LEAD\x20PREVIEW<br\x20/>','#SecondS','<img\x20src=\x22./images/vdc_LB_quickxfer_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22QUICK\x20TRANSFER\x22\x20/>','#ParkControl','-----VMMessageSelect_submit---','#contacts_department','PREVIEW','keyCode','-----ManualDialNext---','&clickmute=','end','&address3=','&VD_pass=','#MDPhonENumbeR','#comments','serialize','ACagcW','val','&stage=dispo','-----TerritorySelect_submit---|','-----XferAgentFailed---','SELECTED_RESET','#gender','PARK_FIELD_email','</span>','600','&user_group=','-----LogouT---','-----XferHungUp---','LIGNE\x20DE\x20TRANSFERT\x20RACCROCHE','Pause\x20Code\x20Selected:\x20','#state','&call_notes=','#statusMM','#email','MDlogRecorDings','title','&campaign_cid=','</td></tr></table>\x0a','--POUND--','-----XferAgentSelectLaunch---|','&ACTION=ManagerChatsCheck','#ManualQueueChoice','<b>Phone\x20Code\x20and\x20Number:\x20</b>','\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_down.gif\x22\x20border=\x220\x22\x20/></a>','&closecallid=','{#user_group#}','#contacts_group_name','\x20-\x20INFO</td><td\x20style=\x22text-align:\x20center;\x22>','<b><a\x20href=\x22#\x22\x20onclick=\x22PresetSelect_submit(\x27D5\x27,\x27','<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27XfeRBLIND\x27,\x27','#search_phone_number','ADDR3_','q--------q','&preview=','VMNOHANG','ALTPhonE','HANGUP_XFER','\x27);return\x20false;\x22>HANGUP</a></td><td><a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27UP\x27,\x27','\x20secondes<br\x20/><br\x20/>','&dialed_number=','ALL_BUT_EXCEPTIONS','\x27,\x27YES\x27,\x270\x27)\x22>\x20DIAL\x20LEAD</a>\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27ALTPhonE\x27,\x27YES\x27,\x270\x27)\x22>ALT\x20PHONE</a>\x20or\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27AddresS3\x27,\x27YES\x27,\x270\x27)\x22>ADDRESS3</a>','#DispoManualQueueMessage','#CBcommentsBoxD','-----PauseCodeCancel_mgrapr---','document','---\x20alt_phone\x20','\x20AGENT-TIME--','DURING_CALL','#InternalMessageCount','AGENT_PHONE_OVERRIDE','VRIFICATION\x20D\x27APPEL\x20EN\x20COURS,\x20VEUILLEZ\x20PATIENTER:\x20','&custom_field_names=','VOUS\x20DEVEZ\x20TRE\x20SUR\x20UN\x20APPEL\x20ENTRANT\x20ACTIF\x20POUR\x20RECHERCHER\x20UN\x20PROSPECT','fa-chevron-left','D4_DIAL_QUIET','\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_down.gif\x22\x20border=\x220\x22></a>','#blind_monitor_alert_span_contents','province','<a\x20href=\x22#\x22\x20onclick=\x22alt_phone_change(\x27','LPvdcW','-----LeadSearchFailed---','./images/vdc_LB_startrecording_OFF.gif','#AgentStatusEmails','{#phone_number#}','abort','57550EqsBnO','\x20Calling:\x20','alertCID=0','-----ManDialEmptyPhone---','{#gmt_offset_now#}','&dispo_comments=','message','</strong></td><td\x20style=\x22text-align:\x20center;\x22>','#RendezVousSelectBox','Hangup','-----CallXferFailed---','&address2=','\x20last_name','<a\x20href=\x22#\x22\x20class=\x22disposition-btn\x20btn\x20btn-outline\x20btn-primary\x20btnNoClicked\x22\x20onclick=\x22DispoSelectContent_create(\x27','{#did_pattern#}','custom_required_check','\x27,\x271\x27);return\x20false;\x22>','RedirectXtraCXNeW','-----DeadTriggerAudio---','CHECK-FOR-CALL\x20RUNNING:\x20','HOPPER\x20EMPTY','ENABLED','border-bottom','You\x20have\x20been\x20paused\x20for\x20too\x20long,\x20you\x20have\x20been\x20logged\x20out\x20of\x20your\x20session<br\x20/><br\x20/>','&script_width=','AUDIO','FSCREEN','<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27FROMParK\x27,\x27','&ext_context=','<a\x20href=\x22#\x22\x20onclick=\x22CloserSelect_change(\x27','{#called_count#}','{#dialed_number#}','---\x20phone_number\x20','&did_custom_two=','<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADready\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_paused.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20paused\x22\x20/></a><br\x20/><img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>','</strong>','INBOUND_MAN','\x0a<br\x20/><br\x20/><a\x20href=\x22#\x22\x20onclick=\x22AgentsXferSelect(\x270\x27,\x27AgentXferViewSelect\x27);return\x20false;>Fermer</a>&nbsp;','.notif-chat-box','#sessionIDspan','UNSELECTED_TIMER_ALT','Dial\x20In-Group:\x20','Text','./images/agc_live_call_OFF.png','ALT_','&entry_date=','#RDV_CBT_hour','\x20&nbsp;\x20','#refresh_historique','NOTICE_AUDIO','<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADpause\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_active.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20active\x22\x20/></a>','#address3','XBvdcW','FULLDATE_CUSTPHONE','-----BrowserCloseLogout---|','LOCKED_PRESET_4','---\x20owner\x20','dead_max:\x20','CALLBACK','#ivrParkControl','<a\x20href=\x22#\x22\x20onclick=\x22ManuaLDiaLInGrouPSelectContent_create(\x270\x27);\x22>Click\x20Here\x20to\x20Choose\x20a\x20Dial\x20In-Group</a>','<textarea\x20name=\x22cbcomment_comments\x22\x20id=\x22cbcomment_comments\x22\x20rows=\x222\x22\x20cols=\x22100\x22\x20class=\x22form-control\x20cust_form_text\x22\x20value=\x22\x22>','<b><a\x20href=\x22#\x22\x20onclick=\x22GroupAliasSelect_submit(\x27CUSTOMER\x27,\x27','<img\x20src=\x22./images/vdc_LB_customxfer_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Custom\x20Transfer\x22\x20/>','\x27,\x27N\x27);return\x20false;\x22>','{#date_of_birth#}','{#lead_id#}','#CallNotesSpan','RADIO','&ACTION=manDiaLlookCaLL&conf_exten=','</DEL>\x20','source_id','#CallBacKsLisT','RedirectXtraNeW','&ACTION=HangupConfDial&format=text&user=','<table\x20cellspacing=4\x20cellpadding=0><tr><td\x20align=\x22right\x22>Commentaires\x20:\x20</td><td\x20align=\x22left\x22>','XFER_OVERRIDE','&status=','#contacts_bu_name','PARK_FIELD_vendor_lead_code','&ACTION=updateFieldsScript&user=','#ParkXferLine','&format=text&channel=','&closer_choice=','VOUS\x20DEVEZ\x20ENTRER\x20UN\x20NUMRO\x20DE\x20TLPHONE\x20ET\x20UN\x20CODE\x20DE\x20COMPOSITION\x20POUR\x20UTILISER\x20LA\x20COMPOSITION\x20RAPIDE>','CHANanswer:\x20','\x22\x20onclick=\x22needToConfirmExit\x20=\x20false;\x22>CLICK\x20HERE\x20TO\x20LOG\x20IN\x20AGAIN</a>\x0a','&user_password=','Script2Contents','Alogin_notes:\x20','PREVIEW_ONLY','#statusT','&ACTION=RedirectToPark&format=text&channel=','TIME','&alt_num_status=','{#LOGINvarONE#}','YOU\x20DO\x20NOT\x20HAVE\x20PERMISSIONS\x20TO\x20TRANSFER\x20CALLS','-----InternalChatContentsLoad---|','StopMonitorConf','last_local_call_time','&script_span=','#LogouTProcess','\x20<b>\x20PREVIOUS\x20CALLBACK\x20</b>','&length_in_sec=0&phone_code=','REPEAT_AUDIO','./images/agc_live_chat_DEAD.gif','#XfeRGrouP','FIELD_owner','-----APIdialNextFocus---','MANUAL_PREVIEW','D5_DIAL_QUIET','{#address2#}','#CloserSelectDelete','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><i\x20class=\x22fa\x20fa-music\x22></i>\x20Mise\x20en\x20attente</button>','&security=','{#server_ip#}','./images/vdc_tab_chat_customer_red.gif','#MDDiaLCodE','#PauseCodeMgrAprContent','customer_gone','MonitorConf','---\x20entry_list_id\x20','&chat_id=','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-danger\x20btn-sm\x22\x20onclick=\x22bothcall_send_hangup(\x27YES\x27);return\x20false;\x22>Raccrocher\x20la\x20ligne</a>','#Dispo3wayMessage','DEAD_VLA','&extenName=','{#call_id#}','form','SIP','&stage=CALLHANGUP&nodeletevdac=','#CloserSelectAdd','-----VieWCalLLoG---','&ACTION=regTERRITORY&format=text&user=','EAcommentsMinBox','#NeWManuaLDiaLBox','#chat_id','getHours','#DispoSelectHAspan','\x22><td\x20align=center>','#rankDISP','VMAIL','province,','\x27,\x27ALT\x27);return\x20false;\x22>ALT</a>&nbsp;','iframe','phone_code,','\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_down.gif\x22\x20border=\x220\x22\x20/></a>\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27MUTING\x27,\x27','play','./images/vdc_LB_active.gif','inert_button','&protocol=','./vdc_email_display.php?lead_id=','SearcHForMDisplaYBox','<a\x20href=\x22#\x22\x20onclick=\x22dialedcall_send_hangup(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_hangupcustomer.gif\x22\x20border=\x220\x22\x20alt=\x22Hangup\x20Customer\x22\x20/></a>','#status','selected\x20','<img\x20src=\x22./images/vdc_LB_webform_two_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Web\x20Form\x202\x22\x20/>','custom_required','DiaLAlerT','---\x20first_name\x20','</span></td></tr></table><br\x20/><br\x20/>','---\x20last_name\x20','#entry_list_id','Slectionnez\x20la\x20date','dispo','custom_required_multi','-----api_transferconf---','NOTICE','\x27,\x27YES\x27,\x270\x27)\x22>\x20DIAL\x20LEAD</a>\x20or\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialSkip(\x27YES\x27)\x22>SKIP\x20LEAD</a>\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27ALTPhonE\x27,\x27YES\x27,\x270\x27)\x22>ALT\x20PHONE</a>\x20or\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27AddresS3\x27,\x27YES\x27,\x270\x27)\x22>ADDRESS3</a>','-----PauseCodeSelect_submit---','#conf_dtmf','&did_extension=','-----xfer_park_dial---|','<b><a\x20href=\x22#\x22\x20onclick=\x22PresetSelect_submit(\x27D2\x27,\x27','#customer_chat_id','FR_SPAC','<h4>PROCESSUS\x20DE\x20DCONNEXION\x20TERMIN,\x20VOUS\x20POUVEZ\x20MAINTENANT\x20FERMER\x20VOTRE\x20NAVIGATEUR\x20OU\x20VOUS\x20RECONNECTER</h4><br><br><img\x20src=\x22./images/loading3.gif\x22\x20height=\x22206px\x22\x20width=\x22206px\x22\x20alt=\x22PROCESSUS\x20DE\x20DCONNEXION\x20TERMIN,\x20VOUS\x20POUVEZ\x20MAINTENANT\x20FERMER\x20VOTRE\x20NAVIGATEUR\x20OU\x20VOUS\x20RECONNECTER\x22\x20/>','-----DialNextFailed---','&ext_priority=1&extrachannel=','&live_call_seconds=','#middle_initial','TOUJOURS\x20UN\x20APPEL\x20EN\x20DIRECT!\x20Vous\x20devez\x20d\x27abord\x20le\x20raccrocher\x0a','209yYSylV','ViewCommentsBox','Local/','&web_vars=','<img\x20src=\x22./images/vdc_LB_mute_recording_DISABLED.gif\x22\x20border=\x220\x22\x20alt=\x22Mute\x20Recording\x20Disabled\x22\x20/><br\x20/>','MainPanel','dial_timeout:\x20','CALLID','&ACTION=manDiaLnextCaLL&conf_exten=','LOGOUT','PAUSE-SET','&call_id=','left','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_XB_parkxferline_ON.gif\x22\x20border=\x220\x22\x20alt=\x22Park\x20Xfer\x20Line\x22\x20style=\x22vertical-align:middle\x22\x20/></a>','-----CallbackSystemDelay---','&exten=','&client=vdc&conf_exten=','&agent_log=','DELETE','#RecorDingFilename','\x20city','AGENT_CHOOSE','\x20vendor_lead_code','&start_date=','#chat-icon','\x22\x20onclick=\x22needToConfirmExit\x20=\x20false;\x22>CLIQUEZ\x20ICI\x20POUR\x20VOUS\x20RECONNECTER</a>\x0a','volume','<a\x20href=\x22#\x22\x20onclick=\x22call_requeue_launch();return\x20false;\x22><img\x20src=\x22./images/vdc_LB_requeue_call.gif\x22\x20border=\x220\x22\x20alt=\x22Re-Queue\x20Call\x22\x20/></a>','<b>Notes:\x20</b>','./images/vdc_LB_ivrparkcall.gif','<button\x20id=\x22tbHangup\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-danger\x20btn-lg\x22\x20disabled=\x22\x22><i\x20class=\x22fa\x20fa-stop\x22></i>\x20Raccrocher</button>','Le\x20prospect\x20n\x27a\x20pas\x20t\x20annul,\x20une\x20erreur\x20s\x27est\x20produite\x0a','VDADpause','\x27,\x27\x27,\x27N\x27,\x27N\x27);return\x20false;\x22>D3','APIPausE:\x20','ADR3DIAL','&VDstop_rec_after_each_call=','#DialBlindVMail','#choixnum','3way_start','click_quiet','VOUS\x20DEVEZ\x20ENTRER\x20UN\x20NUMRO\x20DE\x20TLPHONE\x20POUR\x20UTILISER\x20LA\x20COMPOSITION\x20MANUELLE','LOCKED_IN_GROUP','En\x20appel','Placing\x20call\x20to:','Plage\x20de\x20jours,\x20mois\x20ou\x20annes\x20invalide\x20dtecte.\x20Veuillez\x20corriger\x20et\x20soumettre\x20 \x20nouveau.','\x20&nbsp;','D2_DIAL','&ACTION=VDADcheckINCOMING','Manager\x20has\x20selected\x20territories\x20for\x20you<br\x20/>','&blind_transfer=','{#user#}','floor','event','#LogouTBox','{#address1#}','#last_local_call_timeDISP','DISABLED','#last_name','{#source_id#}','FIRST','&fronter=','#extension_xfer_entry','&LOGINvarONE=','./images/vdc_LB_grabparkedcall.gif','DiaLDiaLAltPhonE','Agent\x20Session:\x201','---NONE---','NeWManuaLDiaLBox','#AlertBox','#agentProductivityCommunication','-----ADD-ALL-----','3WAY','./images/vdc_XB_parkxferline_OFF.gif','#CallBackDatESelectioN','&ACTION=MuteRecording&format=text&channel=','MINUTE_','ScriptTopBGspan','READY_TIMEOUT','send','logged_in','&manual_dial_call_time_check=','#province','postal_code,','\x27,\x270\x27);return\x20false;\x22>CAMPAIGN\x20-\x20','#callserverip','#TransferMain','600px','BLINK','---\x20gender\x20','-----EAcommentsBoxshow---|','Erreur\x20non\x20spcifie\x0a','#agentProductivitySales','DiaLLeaDPrevieW','&RDVLeadStatus=','<a\x20href=\x22#\x22\x20onclick=\x22TerritorySelect_change(\x27','DEC','readyState','<a\x20href=\x22#\x22\x20onclick=\x22ShoWTransferMain(\x27OFF\x27,\x27YES\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_transferconf.gif\x22\x20border=\x220\x22\x20alt=\x22Transfer\x20-\x20Conference\x22\x20/></a>','moz','disabled','AL_TEXT_AMPM\x20\x20OCT\x2024\x202008\x2011:59:59\x20PM','#CloserSelectList','\x22><td>','-----ManualValidateDNskip---','#other_tab_comments','lookup','&server_ip=','{#did_custom_one#}','&parked_by=','AUDIO_AND_URL','#statusS','&ACTION=update_settings&format=text&agent_log_id=','#OtherViewCommentButton','&user_abb=','<a\x20href=\x22#\x22\x20onclick=\x22vmmessages_button(\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_XB_ammessage.gif\x22\x20border=\x220\x22\x20alt=\x22Blind\x20Transfer\x20VMail\x20Message\x22\x20style=\x22vertical-align:middle\x22\x20/></a>','</b></span>','#city','-----EAcommentsBoxhide---','LIVE_CALL_INBOUND_AND_MANUAL','[\x5cr]\x5cn','blind_monitor_notice_span','REPEAT_ALL','{#dialed_label#}','Passer\x20un\x20appel\x20au\x20numro\x20suivant','click','#xferlength','scriptreload,','<a\x20href=\x22#\x22\x20onclick=\x22conf_send_recording(\x27StopMonitorConf\x27,\x27','substring','MainPanelCustInfo','l\x27appel\x20n\x27a\x20pas\x20t\x20plac,\x20il\x20y\x20a\x20eu\x20une\x20erreur\x0a','#ManualValidateEntry','&address1=','which','<table\x20width=\x22100%\x22\x20class=\x22table\x20table-striped\x20table-condensed\x20table-hover\x20dataTable\x20no-footer\x22><thead><tr><th>#</th><th\x20style=\x22text-align:\x20center;\x22>Date\x20du\x20Rappel</th><th\x20style=\x22text-align:\x20center;\x22>Tlphone</th><th\x20style=\x22text-align:\x20center;\x22>INFO</th><th\x20style=\x22text-align:\x20center;\x22>Nom\x20&\x20Prnom</th><th\x20style=\x22text-align:\x20center;\x22>Compagne</th><th\x20style=\x22text-align:\x20center;\x22>Date\x20du\x20dernier\x20appel</th><th\x20style=\x22text-align:\x20center;\x22>Action</th></tr></thead>','GroupAliasSelectBox','<select\x20size=\x221\x22\x20name=\x22XfeRGrouP\x22\x20class=\x22form-select\x22\x20id=\x22XfeRGrouP\x22\x20onchange=\x22XferAgentSelectLink();return\x20false;\x22>','-----generate_vmmessage_pulldown---|','&ACTION=RUNurls&format=text&user=','ENTRY','&province=','D1_DIAL','./images/vdc_LB_stoprecording_OFF.gif','#CBT_minute','Dial\x20Alt\x20Phone\x20Number:\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27MaiNPhonE\x27,\x27YES\x27,\x270\x27)\x22>MAIN\x20PHONE</a>\x20or<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27ALTPhonE\x27,\x27YES\x27,\x270\x27)\x22>ALT\x20PHONE</a>\x20or<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27AddresS3\x27,\x27YES\x27,\x270\x27)\x22>ADDRESS3</a>\x20or\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialAltDonE(\x27YES\x27)\x22>FINISH\x20LEAD</a>','Merci\x20de\x20choisir\x20votre\x20numro\x20de\x20transfert!','<a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27UP\x27,\x27','LOG\x20NOT\x20ENTERED','<button\x20id=\x22tbPlayCall\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-success\x20btn-lg\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADready\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><i\x20class=\x22fa\x20fa-play\x22></i>\x20Reprendre</button>','./images/agc_live_email_ON.gif','hide','0123456789ABCDEFabcdef','&email_invite_lead_id=','#DispoCommentsContent','{#preset_number_b#}','UNSELECTED_TIMER_ADDR3','RED','<img\x20src=\x22./images/vdc_LB_webform_three_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Web\x20Form\x203\x22\x20/>','test','2px\x20solid\x20rgb(229,\x20229,\x20229)','undefined','country_code,','APITimerSeconds:\x20','83009','getYear','UNCHECKED','call_script','wrapper','BLINK_DEFER','\x27,\x27YES\x27,\x270\x27)\x22>\x20DIAL\x20LEAD</a>','---\x20comments\x20','&state=','\x20UID:\x20','length','#search_last_name','-----XferNumberFailed---','<button\x20id=\x22tbferControl\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-info\x20btn-lg\x22\x20onclick=\x22ShoWTransferMain(\x27ON\x27,\x27\x27,\x27YES\x27);\x22><i\x20class=\x22fa\x20fa-exchange\x22></i>\x20Transfert</button>','call_dead','&xfercallid=','&nodeletevdac=','&ext_priority=1','calls',',__lead_id=','&login_theme=softed&login_language=en_us\x22\x20style=\x22background-color:transparent;z-index:17;\x22\x20scrolling=\x22auto\x22\x20frameborder=\x220\x22\x20allowtransparency=\x22true\x22\x20id=\x22popupFrame\x22\x20name=\x22popupFrame\x22\x20width=\x22','./images/vdc_XB_parkxferline_ON.gif','#EAcommentsBoxB','Ce\x20numro\x20de\x20tlphone\x20n\x27est\x20pas\x20un\x20rappel\x0a','DialBlindTransfer','&email_row_id=','{#gender#}','-----agent_disabled---','&previous_agent_log_id=','RecorDing_ID:\x20','#DiaLControl2','#refreshCallbacks','#audit_comments_button','Le\x20prospect\x20suivant\x20a\x20dpass\x20sa\x20limite\x20quotidienne\x20d\x27appels,\x20veuillez\x20ressayer\x0a','VDADready','&search=','ScriptContents','&preset_name=','ParkXferLine','email','SEP','script2reload,','D3_DIAL','getDate','Preview\x20the\x20Lead\x20then<a\x20href=\x22#\x22\x20onclick=\x22ManualDialOnly(\x27','&customer_sec=','start','&FROMapi=','&omit_phone_code=','FROMParKXfeR','FSCREENWrapupBox','-----callinqueuegrab---','\x20Dial\x20Next\x20Countdown:\x20','getElementById','{#epoch#}','Manager\x20has\x20selected\x20groups\x20for\x20you<br\x20/>','post_phone_time_diff_span','#CloserSelectContent','MAIN','\x20CALL\x20NOT\x20PLACED','&customer_server_ip=','#VolumeUpSpan','{#dispo#}','#Script2Contents','TimerSpan','90009*','-----SIPeventHANGUP---','PARK_CUSTOMER_DIAL','DiaLInGrouPSelectBox','&pass=','REQUEUE','{#web_vars#}','{#user_custom_four#}','VOUS\x20DEVEZ\x20TRE\x20EN\x20PAUSE\x20POUR\x20ENTRER\x20UN\x20CODE\x20DE\x20PAUSE\x20EN\x20MODE\x20DE\x20COMPOSITION\x20AUTOMATIQUE','-----GroupAliasSelect_submit---','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=700,height=480','#GroupAliasSelection','83068888888888883999','-----alt_phone_change---','&ACTION=','#PauseCodeSelectContent','AgentStatusCalls','dispo_set','vendor_lead_code,','---\x20custom_field_values\x20','HANGUP','&preset_number_c=','OUT','Number\x20to\x20Dial\x20invalid:\x20','ScriptRefresH','---\x20postal_code\x20','#search_city','\x20CHECKBOX:\x20','<a\x20href=\x22/index.php?relogin=YES&session_epoch=','#SearcHResultSSpan','ENABLED_PRESERVE','---\x20rank\x20','login_invalid','&user_custom_five=','&vendor_lead_code=','#SearcHResultSContactsSpan','&ACTION=RedirectName&format=text&channel=','The\x20system\x20has\x20received\x20a\x20command\x20to\x20log\x20you\x20out,\x20you\x20have\x20been\x20logged\x20out\x20of\x20your\x20session<br\x20/><br\x20/>','---\x20scriptreload\x20','32389wVLOaL','\x20Name:\x20','&comments=','inert_form','location','&group_id=','&nocall_dial_flag=','#MDLeadIDEntry','CALLMENU','park_ivr_retrieved','START_STOP','-----generate_presets_pulldown---|','#XferControl2','<b>Comments:\x20</b><br\x20/>','address3,',':00','#CustomerChatIFrame','hangup','LA\x20NUMEROTATION\x20MANUELLE\x20N\x27EST\x20PAS\x20AUTORISEE\x20PENDANT\x20L\x27APPEL','#LeaDInfOBox','La\x20piste\x20suivante\x20est\x20un\x20numro\x20de\x20tlphone\x20DNC,\x20veuillez\x20ressayer\x0a','&callback_gmt_offset=','#search_alt_phone','DEAD_EXTERNAL','&clicks=','AgenT','-----DiaLAlerT---Call-Rejected','SELECTED','{#title#}','DIALONLY','href','</a>\x20','Vous\x20ne\x20pouvez\x20pas\x20vous\x20dconnecter\x20pendant\x20une\x20tentative\x20de\x20numrotation.\x20Attendez\x2050\x20secondes\x20pour\x20que\x20le\x20numro\x20choue\x20s\x27il\x20ne\x20rpond\x20pas','Pas\x20de\x20prospects\x20affects\x20 \x20la\x20campagne:\x0a','CallLogButtons','lead_search_open','-----conf_channels_detail---','PARK_PRESET_4','-----AutoDial_ReSume_PauSe---','&did_custom_three=','date_of_birth','#CallBackCommenTsField','&did_custom_four=','-----bothcall_send_hangup---|','#search_state','PARK_CUSTOMER','-----FormContentsLoad---|','XAMMAD','Update\x20Fields\x20Error!:\x20','&dispo=','READY','-----RDV_submit---|','&callback_timezone=','Appel\x20rejet\x20','options','HXvdcW','&phone_ip=','AGENT_PHONE','&original_phone_login=','SELECTED_TIMER_ALT','&alt_phone=','vmail','{#preset_number_d#}','#PerCallNotesContent','217958UYOJKG','./images/agc_live_chat_ON.gif','#WebFormSpanThree','&cid_lock=','Dispo\x20URLs:','&xferchannel=','#search_vendor_lead_code','WEBFORM','DEFAULT','#CallBackSelectBox','application/x-www-form-urlencoded;\x20charset=UTF-8','clipboardData','-----NormalLogout---|','HTvdcW','&department=','-----SendConfDTMF---','</table>','644gbgeZz','#phone_code','{#did_id#}','<img\x20src=\x22./images/vdc_LB_webform_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Web\x20Form\x22\x20/>','<br\x20/>','VOUS\x20DEVEZ\x20SLECTIONNER\x20UN\x20AGENT\x20\x20TRANSFRER\x20LORSQUE\x20VOUS\x20UTILISEZ\x20AGENTDIRECT','331','&ACTION=VolumeControl&format=text&channel=','<table\x20cellpadding=\x225\x22\x20cellspacing=\x225\x22\x20width=\x22500px\x22><tr><td>TERRITORIES\x20NOT\x20SELECTED</td><td>SELECTED\x20TERRITORIES</td></tr><tr><td\x20bgcolor=\x22#99FF99\x22\x20height=\x22300px\x22\x20width=\x22240px\x22\x20valign=\x22top\x22><span\x20id=TerritorySelectAdd>\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22TerritorySelect_change(\x27-----ADD-ALL-----\x27,\x27ADD\x27);return\x20false;\x22><b>---\x20ADD\x20ALL\x20---</b><br\x20/>','SearcHResultSContactsBox','</td><td>recording</td><td></td></tr>','#list_id','setTime','#ManualValidateNumber','-----WeBForMDispoSelect_submit---|','{#did_custom_five#}','-----ContactSearchReset---|','-----APIdialFocus---','-----DispoSelect_submit---|','#call_notes','ALLFORCE','SHOW','&ext_priority=1&auto_dial_level=','{#phone_login#}','8618517tsDwBA','APR','&customer_chat_id=','./images/vdc_LB_dialnextnumber.gif','31ImuhSY','&in_script=','ivrParkControl','wrapup_seconds:\x20','&email=','#CallLogSpan','match','CAMPLISTS_ALL','<center>','<span\x20class=\x22label\x20label-call-direction\x20label-success\x22>\x20<i\x20class=\x22fa\x20fa-arrow-circle-up\x20fa-rotate-225\x22></i>\x20Rception</span>','<img\x20src=\x22./images/vdc_LB_parkcall_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Grab\x20Parked\x20Call\x22\x20/>','&visibility=','background-color','#WebFormSpanTwo','transfer_local_closer','./images/blank.gif','LTMGAD','DeactivateDOlDSessioNSpan','-----DiaLInGrouPSelect_submit---','contentWindow','<span\x20class=\x22label\x20label-call-direction\x20label-warning\x22>','EU_','#agentProductivityCalls','security_phrase','#FSCREENWrapupMessage','ReSET','NOTHING','Local/5','PREVIEW_SCRIPTTWO','-----CloserSelect_change---','-----required_fields_alert---','&location=','&DB=0','<a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27DOWN\x27,\x27','90009','&stage=','WUSCRIPT','&no_delete_sessions=','&ACTION=manDiaLskip&conf_exten=','__vendor_lead_code=','PARK_PRESET_5','XFTAMM','&title=','&leave_3way_start_recording_trigger=','80ArZMqW','&ext_priority=1&extenName=park&parkedby=','&start_epoch=','&customer_zap_channel=','value=\x22','&VD_login=','Pause\x20Login','-----UpdateFieldsError---','#ManuaLDiaLInGrouPSelecteD','show','-----generate_contacts_search---|','EXTERNAL','-----InternalChatPanelToFront---|','\x20<b>\x20ALT\x20DIAL\x20NUMBER:\x20ALT\x20</b>','<b><a\x20href=\x22#\x22\x20onclick=\x22DiaLInGrouPSelect_submit(\x27\x27);return\x20false;\x22>Go\x20Back</a>','{#SIPexten#}','VICIast20','FORCE','#gmt_offset_now','&phone_number=','#EAcommentsBoxD','park_ivr_started','&pause_max_url_trigger=','&phone_code=','LOCKED_PRESET_1','\x20Lead:\x20','<br>','SETTINGS\x20GATHERED','#DispoSelectStop','<b><a\x20href=\x22#\x22\x20onclick=\x22PresetSelect_submit(\x27D3\x27,\x27','#ViewCommentButton','addClass','./images/vdc_volume_MUTE.gif','\x20&nbsp;\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22NoDiaLSwitcH(\x27\x27);\x22>Click\x20Here\x20to\x20Deactivate</a>','&check_for_answer=','{#recording_filename#}','#dispo_comments','#NoDiaLSelecteD','\x5c?&','<span\x20class=\x22blink\x22>','<img\x20src=\x22./images/vdc_LB_blank_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22pause\x20button\x20disabled\x22\x20/><br\x20/><img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>','\x20&nbsp;\x20&nbsp;\x20','#address1','-----','{#xfercallid#}','&agent_territories=','{#fronter#}','&pause_trigger=','<a\x20href=\x22#\x22\x20onclick=\x22MuteRecording(\x27off\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_mute_recording_ON.gif\x22\x20border=\x220\x22\x20alt=\x22Recording\x20Muted\x22\x20/></a>','-----CloserSelectContent_create---|','#first_name','#lead_id','-----safe_pause_CFAI---','<b>Agent:\x20</b>','\x20<b>\x20ALT\x20DIAL\x20NUMBER:\x20','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-warning\x20btn-sm\x22>Raccrocher\x20le\x20transfert</a>','</b>','MS_','</a></b><br\x20/><br\x20/>','</option>\x0a','#vendor_lead_code','REPLACE_CB_NOTES','&VDRP_stage=','CAMPAIGN','Next\x20Call\x20Pause\x20Set','XLvdcW','{#did_description#}','APIManualDialQueue:\x20','\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20&nbsp;\x20','#MainStatuSSpanZZ','{#LOGINvarFIVE#}','<b>Last\x20Call:\x20</b>','getMinutes','MAR','{#did_custom_two#}','#RecorDMute','-----api_pause---','Local','*CXFER*','&ACTION=CALLLOGview&format=text&user=','&closer_blended=','WelcomeBoxA','<a\x20href=\x22#\x22\x20\x20onclick=\x22conf_channels_detail(\x27HIDE\x27);\x22>Hide\x20conference\x20call\x20channel\x20information</a>','D3_DIAL_QUIET','&preset_dtmf_b=','&LOGINvarTWO=','MAY','agentdirectlink','Liste\x20des\x20statuts\x20de\x20disposition\x20masque','</strong></td><td\x20style=\x22text-align:\x20center;\x22><strong>','{#email#}','EndChat','&account=','&group=','./images/agc_live_call_DEAD.png','Vous\x20devez\x20slectionner\x20une\x20disposition','postal_code','block','-----CustomFormSubmit---','&user_custom_three=','pause_max:\x20','&SQLdate=','Expiration\x20du\x20dlai\x20d\x27appel,\x20contactez\x20votre\x20administrateur\x20systme\x20TT:\x20','-!P-','&ACTION=Hangup&format=text&channel=','VCagcW','ALTDIAL','\x20&nbsp;\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22NoDiaLSwitcH(\x27\x27);\x22>Click\x20Here\x20to\x20Activate</a>','APIFieldsData:\x20','{#fullname#}','ALL_ACTIVE','JAN','transfer_vmail','D5_DIAL','nextstep---','server_ip=','hidden','<b>Active:\x20</b>','#custdatetime','-----NoneInSessionCalL---','<a\x20href=\x22#\x22\x20onclick=\x22ManualQueueChoiceChange(\x271\x27);return\x20false;\x22>Manual\x20Queue\x20is\x20Off</a><br\x20/>','Appel\x20rejet:\x20','CBHOLD','\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_stoprecording.gif\x22\x20border=\x220\x22\x20alt=\x22Stop\x20Recording\x22\x20/></a>','PARK_PRESET_1','&did_pattern=','#RendezVousSelectioN','#WebFormSpan','<select\x20size=\x221\x22\x20name=\x22gender_list\x22\x20class=\x22form-select\x22\x20id=\x22gender_list\x22><option\x20value=\x22U\x22>U\x20-\x20Undefined</option><option\x20value=\x22M\x22>M\x20-\x20Male</option><option\x20value=\x22F\x22>F\x20-\x20Female</option></select>','<h4>TRAITEMENT\x20DE\x20LA\x20DCONNEXION...</h4><br><br><img\x20src=\x22./images/agent_loading_animation.gif\x22\x20height=\x22206px\x22\x20width=\x22206px\x22\x20alt=\x22TRAITEMENT\x20DE\x20LA\x20DCONNEXION...\x22\x20/>','#LeadPreview','<iframe\x20src=\x22','#SecondSDISP','&list_id=','\x20address1','LOCKED_PRESET_3','wrapup_bypass:\x20','#GENDERhideFORie','&stage=610','\x27,\x27ID:','UNSELECTED','#agentBox','ANYONE','Next\x20agent_log_id:','24-HOUR\x20CALL\x20LIMIT','#AlertBoxContent','talk','CRMwin','---\x20email\x20','#DiaLInGrouPSelection','#agentProductivityPause','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_parkcall.gif\x22\x20border=\x220\x22\x20alt=\x22Park\x20Call\x22\x20/></a>','YOU\x20MUST\x20BE\x20PAUSED\x20TO\x20SEARCH\x20FOR\x20A\x20LEAD','\x20-\x20','<b><a\x20href=\x22#\x22\x20onclick=\x22PresetSelect_submit(\x27D1\x27,\x27','crm_ext.php','\x20middle_initial','AgentXferViewSpan','alt_phone,','./images/vdc_LB_hangupcustomer_OFF.gif','LOCKED_PRESET_2','{#script_height#}','&camp_script=','&use_campaign_dnc=','VOUS\x20DEVEZ\x20TRE\x20EN\x20PAUSE\x20POUR\x20RECHERCHER\x20UN\x20PROSPECT:\x20','#GENDERhideFORieALT','ALERT','-----DELETE-ALL-----','comments,','CampCalls:\x20','dispo_max:\x20','&dial_method=','visibilitychange','-----EmailPanelToFront---|','\x27,\x27YES\x27);return\x20false;\x22>','NONE','removeClass','{#group#}','#DispoSelectBox\x20.handle\x20.fa','&LOGINvarFOUR=','&vendor_id=','{#user_custom_two#}','<img\x20src=\x22./images/vdc_LB_startrecording_altx2_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Start\x20Recording\x22\x20/>','FIELD_security_phrase','-----ManualDialOnly---','\x27,\x27N\x27,\x27N\x27);return\x20false;\x22>D1','-----ContactSearchSubmit---|','&preset_dtmf_a=','&recipient=','-FORCE-','#extension_xfer','&ext_priority=1&outbound_cid=','&ext_priority=1&FROMvdc=YES&uniqueid=','-----PauseCodeSelectContent_create---|','-----OriginateError---','custom_required_radio','&ACTION=CALLSINQUEUEgrab&format=text&user=','FIELD_province','#ChronoPause','-----EmailContentsLoad---|','</select>','&old_CID=','-----FastDialSystemDelay---','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-success\x20btn-sm\x22\x20onclick=\x22SendManualDial(\x27YES\x27,\x27YES\x27);return\x20false;\x22>Composer\x20le\x20numro</a>','D1_DIAL_QUIET','slice','&stage=2NDXfeR','<b><a\x20href=\x22#\x22\x20onclick=\x22GroupAliasSelect_submit(\x27','DEADcall:\x20','</textarea>\x0a','&ScrollDIV=1&','#search_first_name','En\x20attente\x20de\x20sonnerie...','Filename:\x20','#LeadLookuP','NO-HOPPER\x20DNC','#ChatAudioAlertFile','WRAPUP','&auto_dial_level=','\x20province','DIAL_WITH_CUSTOMER','TIMEOUT','-----leave_3way_call---','state,','#search_addr3_phone','&ACTION=RedirectToParkXfer&format=text&channel=','-----LeadSearchReset---|','---\x20country_code\x20','</td><td\x20style=\x22text-align:\x20center;\x22>','18daNrgf','./vdc_chat_display.php?lead_id=','webkit','{#did_extension#}','#call_notes_dispo','<img\x20src=\x22./images/vdc_volume_down_off.gif\x22\x20border=\x220\x22\x20/>','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-danger\x20btn-sm\x22\x20onclick=\x22leave_3way_call(\x27FIRST\x27,\x27YES\x27);return\x20false;\x22>Quitter\x20l\x27appel\x20 \x203</a>','<a\x20href=\x22#\x22\x20onclick=\x22ManualQueueChoiceChange(\x270\x27);return\x20false;\x22>Manual\x20Queue\x20is\x20On</a><br\x20/>','#DiaLLeaDPrevieWHide','UnixTime:\x20','#contacts_job_title','#busycallsdisplay','&dialed_label=','#ParkCustomerDial','source_id,','#RecorDControl','&routing_initiated_recording=','&MDnextCID=','SYSTEM','<b><a\x20href=\x22#\x22\x20onclick=\x22PresetSelect_submit(\x27D4\x27,\x27','#CallBackTimezone','#HangupControl2','---\x20chatreload\x20','transfer_panel_open','crm_query.php','&callback_id=','-----AskInGroupSurvey---','&ACTION=AGENTtimeREPORT&format=text&user=','alt_phone','function','<table\x20cellpadding=\x225\x22\x20cellspacing=\x225\x22\x20width=\x22500px\x22><tr><td\x20colspan=\x222\x22>\x20DIAL\x20IN-GROUP</td></tr><tr><td\x20bgcolor=\x22#99FF99\x22\x20height=\x22300px\x22\x20width=\x22240px\x22\x20valign=\x22top\x22><span\x20id=\x22DiaLInGrouPSelectA\x22>','&RDVDatETimE=','FSCREENWrapupMessage','#VMMessageSelection','-----NeWManuaLDiaLCalLSubmiT---','&date=','focus','&session_id=','\x20Calling:','-----livehangup_send_hangup---','display','call_dialed','LIVE_CALL_INBOUND','agent_alert','#InternalChatIFrame','#ScriptContents','<img\x20src=\x22./images/vdc_LB_ivrparkcall_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22IVR\x20Park\x20Call\x22\x20/>','-----CustomerGoneShow---|','SIP\x20ACTION','&orig_pass=','LTMG','#type_appel','-----TerritorySelect_change---','#TerritorySelectContent','-----3wayNoHangupOVR---','Dial\x20Next\x20Number','#AgentXferViewSelect','#CustomerChatImg','PRESET_2','#NexTCalLPausE','-----CBcommentsBoxhide---|','dispo_max_dispo:\x20','Ce\x20prospect\x20a\x20dpass\x20sa\x20limite\x20quotidienne\x20d\x27appels\x0a','&enable_sipsak_messages=','#gender_list','28634GOrouw','</textarea>','-----CFAI_close_pause_alert---','MGRLOCK','<b>CallBack:\x20</b>','\x20|\x5ct|\x5cn','concat','address1','dead_trigger_url_sent','&preset_number_d=','<a\x20href=\x22#\x22\x20style=\x22margin-right:\x208px;\x22\x20class=\x22btn\x20btn-primary\x20btn-lg\x22\x20onclick=\x22PauseCodeOpen_mgrapr(\x27','POST','src','<img\x20src=\x22./images/vdc_volume_up_off.gif\x22\x20border=\x220\x22\x20/>','Retard\x20du\x20systme,\x20veuillez\x20ressayer<BR>Code:','\x20<a\x20href=\x22#\x22\x20onclick=\x22showDiv(\x27ManualValidateBox\x27);\x22>Validating\x20Call</a>\x20...\x20&nbsp;\x20','#GroupAliasSelectContent','APItransferconf:\x20','logged_out','manager_send.php','{#did_custom_four#}','\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22CloserSelect_change(\x27-----ADD-ALL-----\x27,\x27ADD\x27);return\x20false;\x22><b>---\x20ADD\x20ALL\x20---</b><br\x20/>','<img\x20src=\x22./images/vdc_XB_ammessage_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Blind\x20Transfer\x20VMail\x20Message\x22\x20style=\x22vertical-align:middle\x22\x20/>','#FFFF66','&wrapup=','MAIN_','MESSAGE_ONLY','owner,','RESUME','<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27XfeRLOCAL\x27,\x27','TINYDATE','HOUR_','#post_phone_time_diff_span_contents','#alt_phone','#XfeRCID','612SSrgMg','AGENTDIRECT','#ownerDISP','&email_enabled=','&job_title=','-----PresetSelect_submit---','^NONE','{#phone_code#}','<b>','ENABLED_FULL','PREVIEW_SCRIPT','PRESET_5','./images/vdc_LB_stoprecording.gif','\x20\x20-\x20ACTIVE\x20DISPLAY\x20PAUSED\x20-\x20','--------ADMINFONTBEGIN--------','#search_lead_id','PRESET_4','./images/vdc_volume_UNMUTE.gif','No-Call\x20Dial:','-----ManualValidateSubmit---','AgentStatusEmails','NO-HOPPER\x20DAILY\x20CALL\x20LIMIT','SECOND','-----LeadSearchSubmit---|','</b><br\x20/>','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_ivrparkcall.gif\x22\x20border=\x220\x22\x20alt=\x22IVR\x20Park\x20Call\x22\x20/></a>','#consultativexfer','#xfernumhidden','<a\x20href=\x22#\x22\x20onclick=\x22conf_send_recording(\x27MonitorConf\x27,\x27','&list_name=','LEAVE_VM','-----MuteRecording---','GOOD','DialWithCustomer','#CustomerGoneChanneL','&recording_id=','<b><a\x20href=\x22#\x22\x20onclick=\x22PauseCodeSelect_submit(\x27\x27,\x27YES\x27);return\x20false;\x22>Go\x20Back</a>','&ACTION=RedirectVD&format=text&channel=','ALLCALLS','-----CalLBacKsLisTCheck---|','fromCharCode','DAILY\x20CALL\x20LIMIT','REPLACE_CALL_NOTES','#HangupBothLines','MANUALNEXT','#DispoSelection','1724535dgEZYY','PAUSE','MDSKIP','-----NeWManuaLDiaLCalL---','#calllogdate','APIpark:\x20','now','\x20&nbsp;\x20Waiting\x20for\x20Ring...','-----api_status---','#xfernumber','http://127.0.0.1/testing.php','APIdtmf:\x20','&gender=','&conf_exten=','IT_DASH','AUG','APIDiaL:\x20','-----shift_logout---','-----DialNextSystemDelay---','&chat_group_id=','&extension=','&dial_prefix=','GRAB_IVR_CUSTOMER','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_grabparkedcall.gif\x22\x20border=\x220\x22\x20alt=\x22Grab\x20Parked\x20Call\x22\x20/></a>','&script_height=','#TerritorySelectDelete','{#session_id#}','&ACTION=AGENTSview&format=text&user=','Status:\x20','#phone_number','<b>Alt\x20Count:\x20</b>','&ACTION=VMMG_list_build&format=text&campaign=','\x22\x20/>','#XferControl','&parked_hangup=','#AgentStatusCalls','FROMParKivr','<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADpause\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_active.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20active\x22\x20/></a><br\x20/><a\x20href=\x22#\x22\x20onclick=\x22ManualDialNext(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x270\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_dialnextnumber.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/></a>','selectedIndex','./images/vdc_tab_chat_internal.gif','SIP\x20Action:\x20','<input\x20type=\x22hidden\x22\x20name=\x22cbcomment_comments\x22\x20id=\x22cbcomment_comments\x22\x20value=\x22','<span\x20id=PauseCodeSelectB>','{#user_custom_three#}','Searching...\x0a','./images/agent_loading_animation.gif','Script2Panel','{#agent_log_id#}','&ACTION=SEARCHRESULTSview&format=text&user=','&qm_extension=','\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_LB_startrecording_altx2.gif\x22\x20border=\x220\x22\x20alt=\x22Start\x20Recording\x22\x20/></a>','Generating\x20VM\x20Messages\x20list...','0000','Numro\x20de\x20transfert\x20appel\x20:\x20<strong>','<img\x20src=\x22./images/vdc_LB_parkcall_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Park\x20Call\x22\x20/>','CallNotesButtons','&city=','LOCALFQDN','ADD','Retard\x20du\x20systme,\x20veuillez\x20ressayer<BR>code:','{#list_description#}','D4_DIAL','&login_theme=softed&login_language=en_us','---\x20script2reload\x20','FAST','#contacts_location','#CloserSelectBlended','\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_up.gif\x22\x20border=\x220\x22\x20/></a>','&list_description=','&hide_relogin_fields=','./images/vdc_LB_mute_recording_DISABLED.gif','<br\x20/><br\x20/>','right','\x27,\x27\x27);return\x20false;\x22><img\x20src=\x22./images/vdc_volume_up.gif\x22\x20border=\x220\x22\x20/></a>\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22volume_control(\x27DOWN\x27,\x27','&CalLCID=','NEVER','SearcHResultSDisplaYBox','\x27);return\x20false;\x22><strong>INFO</strong></a></td><td\x20style=\x22text-align:\x20center;\x22>','...','---\x20security_phrase\x20','&first_name=','---\x20address1\x20','{#original_phone_login#}','#DialWithCustomer','custom_required_select','<a\x20href=\x22#\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADready\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_paused.gif\x22\x20border=\x220\x22\x20alt=\x22You\x20are\x20paused\x22\x20/></a><br\x20/><a\x20href=\x22#\x22\x20onclick=\x22ManualDialNext(\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x270\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><img\x20src=\x22./images/vdc_LB_dialnextnumber.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/></a>','PARK_PRESET_2','<select\x20size=\x221\x22\x20name=\x22XfeRGrouP\x22\x20class=\x22form-select\x22\x20id=\x22XfeRGrouP\x22\x20onChange=\x22XferAgentSelectLink();return\x20false;\x22>','DISPO','#HangupXferLine','-----AUTOplay_browser_sound---','<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27FROMParKivr\x27,\x27','-----api_ingroup_change---','Script2RefresH','html','./images/vdc_tab_chat_customer_blink.gif','\x27,\x27\x27,\x27N\x27,\x27N\x27);return\x20false;\x22>D5','in_man_dial_next_ready_seconds:\x20','<tr\x20bgcolor=\x22','9921nIrrkv','&usegroupalias=','InGroupChange:\x20','PARK_FIELD_security_phrase','<img\x20src=\x22./images/vdc_LB_requeue_call_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Re-Queue\x20Call\x22\x20/>','&secondS=','&SIPexten=','XfeRLOCAL','#DDDDFF','setRequestHeader','&did_description=','Content-Type','\x20<b>\x20ALT\x20DIAL\x20NUMBER:\x20ADDRESS3\x20</b>','#webphone','#MDLeadID','open','rank','{#state#}','#xferchannel','./images/vdc_tab_chat_internal_red.gif','EU_DASH_24HR\x20\x202008-06-24\x2023:59:59','other_answered','#livecall','session_empty','GRABCL','#EAcommentsBoxA','&VD_campaign=','getMonth','<b><a\x20href=\x22#\x22\x20onclick=\x22GroupAliasSelect_submit(\x27CAMPAIGN\x27,\x27','EPOCH','first_name,','Call\x20Rejected:\x20','&ACTION=UpdateFields&conf_exten=','fa-chevron-right','Dial\x20Next\x20Call','&lead_id=','#audit_comments','middle_initial,','ENABLED_PREFIX','external_transferconf','ALT&nbsp;','blur','-----CallBackDatE_submit---|','OFF','-----CustomerGoneHangup---|','split','CallBackSelectBox','#ManualValidateContent','agent_hangup','PresetsSelectBox','#EAcommentsBoxC','RESUME-SET','&alt_dial=','title,','\x27,\x27DELETE\x27);return\x20false;\x22>','&manual_dial_search_filter=','</td></tr></table><br\x20/><br\x20/><table\x20cellpadding=\x220\x22\x20cellspacing=\x220\x22><tr><td\x20width=\x22330px\x22\x20align=\x22left\x22><b><a\x20href=\x22#\x22\x20onclick=\x22hideDiv(\x27PresetsSelectBox\x27);return\x20false;\x22>Close\x20[X]</a></b></td></tr></table>','CLEAR','<input\x20type=\x22hidden\x22\x20name=\x22call_notes_dispo\x22\x20id=\x22call_notes_dispo\x22\x20value=\x22','pause','charCodeAt','&DiaL_SecondS=','CHECK-FOR-CALL\x20COMPLETE:\x20','</a>','getElementsByName','&user=','<table\x20cellspacing=4\x20cellpadding=0><tr><td\x20align=\x22right\x22>Commentaires\x20:\x20<br></td><td\x20align=\x22left\x22>','\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22CloserSelect_change(\x27-----DELETE-ALL-----\x27,\x27DELETE\x27);return\x20false;\x22><b>---\x20DELETE\x20ALL\x20---</b><br\x20/>','{#last_name#}','&rank=','\x20Call\x20ID\x20','<img\x20src=\x22./images/vdc_LB_dialnextnumber_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Next\x20Number\x22\x20/>','#agentProductivityTotal','CXFER','checked','-----PauseCodeOpenFailed---','APIRecording:\x20','<a\x20href=\x22#\x22\x20onclick=\x22mainxfer_send_redirect(\x27ParK\x27,\x27','#a1a5b7','REPEAT_URL','<a\x20href=\x22#\x22\x20onclick=\x22DispoHanguPAgaiN()\x22>Hangup\x20Again</a>','\x27,\x27\x27,\x27YES\x27,\x27NO\x27);return\x20false;\x22><i\x20class=\x22fa\x20fa-headphones\x22></i></a>&nbsp;</td></tr>','#postal_code','-----FastDialFailed---','HLagcW','&ACTION=Originate&format=text&channel=','AddresS3','-ALL-----','XXXXXXXXXX','-----LogViewInvalid---','&preset_number_a=','#MDType','\x5c`|\x5c:|\x5c;|\x5c#|\x5c\x22|\x5c{|\x5c}|\x5c^|\x5c$|\x5cr|\x5ct|\x5cn|','\x20Incoming:\x20','#DiaLDiaLAltPhonEHide','\x20phone_code','#e99002','#callchannel','log_text','\x20first_name','-----api_hangup---','PAUSMX','getSeconds','-----ScriptPanel2ToFront---','JUN','gmt_offset_now,','phone_code','#CCCCCC','#entry_dateDISP','static','#DiaLAltPhonE','#DispoSelectBox\x20.handle','#RecorDID','#phone_numberDISP','-----ManuaLDiaLInGrouPSelectContent_create---|','selected','&ACTION=updateLEAD&format=text&user=','PauseCodeMgrAprBox','-----DialSkipFailed---','-----ManDialSystemDelay---','color','&did_custom_one=','#MuteChatAlert','SHIFT','<img\x20src=\x22./images/vdc_XB_blindtransfer_OFF.gif\x22\x20border=\x220\x22\x20alt=\x22Dial\x20Blind\x20Transfer\x22\x20style=\x22vertical-align:middle\x22\x20/>','status','<button\x20id=\x22tbPauseCall\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-secondary\x20btn-lg\x22><i\x20class=\x22fa\x20fa-pause\x22></i>\x20En\x20cours</button>','-----DispoHanguPAgaiN---|','START','&uniqueid=','SCRIPT','NO_DIAL','{#first_name#}','VMMessageSelectBox','./images/vdc_LB_parkcall.gif','&ACTION=Redirect&format=text&channel=','&campaign=','INGROUP','new','&middle_initial=','#outboundcallsspan','#VolumeDownSpan','#security_phrase','\x20<input\x20type=\x22checkbox\x22\x20name=\x22DiaLAltPhonE\x22\x20id=\x22DiaLAltPhonE\x22\x20size=\x221\x22\x20value=\x220\x22\x20/>\x20ALT\x20PHONE\x20DIAL<br\x20/>','Hidden','&channel=','&called_count=','AU_SPAC','&ACTION=Hangup&format=text&user=','\x20&nbsp;\x20<a\x20href=\x22#\x22\x20onclick=\x22TerritorySelect_change(\x27-----DELETE-ALL-----\x27,\x27DELETE\x27);return\x20false;\x22><b>---\x20DELETE\x20ALL\x20---</b><br\x20/>','CHECKED','&did_id=','#xferoverride','css','&customerparked=','<a\x20href=\x22#\x22\x20class=\x22btn\x20btn-info\x20btn-sm\x22\x20\x20data-dismiss=\x22modal\x22\x20aria-label=\x22Close\x22>Fermer</a>','\x27,\x27YES\x27,\x270\x27)\x22>\x20DIAL\x20LEAD</a>\x20or\x20<a\x20href=\x22#\x22\x20onclick=\x22ManualDialSkip(\x27YES\x27)\x22>SKIP\x20LEAD</a>','#owner','HLvdcW','-----conf_send_recordingAUTO---','\x27,\x27\x27,\x27\x27,\x27','total_log','&format=text','#rank','URL','#list_description','&recording_filename=','#ManualQueueNotice','^VAR','CUSTOM','\x20-\x20<a\x20href=\x22#\x22\x20onclick=\x22VieWLeaDInfO(\x27','\x20RADIO:\x20','{#uniqueid#}','<b><a\x20href=\x22#\x22\x20onclick=\x22DiaLInGrouPSelect_submit(\x27','ADDR3','#contacts_last_name','asc','&did_custom_five=','in_man_dial_next_ready','-----ScriptPanelToFront---','&inOUT=','&user_custom_four=','#date_of_birth','value','\x20List:\x20','\x27,\x27','\x20seconds','XFER','./images/agent_loading_done.gif','#CustomXfer','</td><td><a\x20href=\x22#\x22\x20onclick=\x22livehangup_send_hangup(\x27','ALERT_NOTICE','{#event#}','PAUSE_NO_COUNT','3way_agent_hangup','-----CallGrabError---','VOUS\x20DEVEZ\x20TRE\x20EN\x20PAUSE\x20POUR\x20VOIR\x20VOTRE\x20JOURNAL\x20D\x27APPELS','form_custom_fields','{#middle_initial#}','&stage=DISPLAY','NEW_WINDOW','&SCRIPTcamp_script=','&leave_3way_start_recording_filename=','ingroup_screen_open','UNSELECTED_LOCK','AgentXferViewSelect','CustomerChatIFrame','ScriptPanel','-----CallGrabFailed---','<button\x20id=\x22tbPauseCall\x22\x20type=\x22button\x22\x20class=\x22btn\x20btn-secondary\x20btn-lg\x22\x20onclick=\x22AutoDial_ReSume_PauSe(\x27VDADpause\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27\x27,\x27YES\x27);\x22><i\x20class=\x22fa\x20fa-pause\x22></i>\x20Pause</button>','#CBcommentsBoxA','webphoneSpan','#cbcomment_comments','time_sync','</a></b><br\x20/>','#MDPhonENumbeRHiddeN','.nav-tabs\x20a[href=\x22#tab-fiche\x22]','ingroup_screen_closed','./images/vdc_LB_parkcall_OFF.gif','callback_select_open','#MDDiaLOverridE','&postal_code=','\x27,\x270\x27);return\x20false;\x22>CUSTOMER\x20-\x20','PARK_FIELD_address3','3way_answered','{#user_custom_one#}','city,','/index.php?module=Users&action=Authenticate&return_module=Users&return_action=Login&user_name=','-----PauseMaxDispo---','&source_id=','CalLNotesDisplaYBox','#HangupControl','&date_of_birth=','{#alt_phone#}','call_answered','-----ManualValidateCancel---','#search_main_phone','SCRIPTTWO','.modal-backdrop','USERONLY','&agent_dialed_type='];_0x1390=function(){return _0x21e96b;};return _0x1390();}function SendURLs(_0x496f38,_0x3903f2){var _0x16b400=_0x1c96bb,_0x51b327=![];!_0x51b327&&typeof XMLHttpRequest!=_0x16b400(0x34f)&&(_0x51b327=new XMLHttpRequest()),_0x51b327&&(DUsend_query=_0x16b400(0x4c6)+server_ip+_0x16b400(0x7b6)+session_name+_0x16b400(0x339)+user+'&pass='+pass+'&orig_pass='+orig_pass+'&url_ids='+_0x496f38+_0x16b400(0x6b5)+campaign+_0x16b400(0x52d)+auto_dial_level+_0x16b400(0x1b3),_0x51b327[_0x16b400(0x63c)]('POST',_0x16b400(0x550)),_0x51b327[_0x16b400(0x636)](_0x16b400(0x638),'application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x51b327['send'](DUsend_query),_0x51b327[_0x16b400(0x18a)]=function(){var _0x165807=_0x16b400;if(_0x51b327[_0x165807(0x30f)]==0x4&&_0x51b327[_0x165807(0x6aa)]==0xc8){var _0x13c598=null;_0x13c598=_0x51b327[_0x165807(0x137)];}},delete _0x51b327);}function PauseCodeSelect_submit(_0x2d392a,_0x216dee){var _0x523da6=_0x1c96bb;_0x216dee=='YES'&&(button_click_log=button_click_log+''+SQLdate+_0x523da6(0x2a1)+_0x2d392a+'|');$(_0x523da6(0x72b))[_0x523da6(0x7c3)](_0x523da6(0x345)),ShoWGenDerPulldown(),WaitingForNextStep=0x0;var _0x1b1bbb=![];!_0x1b1bbb&&typeof XMLHttpRequest!=_0x523da6(0x34f)&&(_0x1b1bbb=new XMLHttpRequest()),_0x1b1bbb&&(VMCpausecode_query=_0x523da6(0x4c6)+server_ip+_0x523da6(0x7b6)+session_name+_0x523da6(0x66e)+user+_0x523da6(0x397)+pass+_0x523da6(0x15a)+_0x2d392a+_0x523da6(0x741)+agent_log_id+'&campaign='+campaign+_0x523da6(0x5de)+extension+_0x523da6(0x28e)+protocol+'&phone_ip='+phone_ip+_0x523da6(0x577)+enable_sipsak_messages+_0x523da6(0x44a)+pause_code_counter+_0x523da6(0x1c6)+LastCallCID+_0x523da6(0x52d)+starting_dial_level+_0x523da6(0x549)+LasTCID,pause_code_counter++,_0x1b1bbb[_0x523da6(0x63c)](_0x523da6(0x584),_0x523da6(0x550)),_0x1b1bbb[_0x523da6(0x636)](_0x523da6(0x638),_0x523da6(0x404)),_0x1b1bbb[_0x523da6(0x2fd)](VMCpausecode_query),_0x1b1bbb[_0x523da6(0x18a)]=function(){var _0x330717=_0x523da6;if(_0x1b1bbb[_0x330717(0x30f)]==0x4&&_0x1b1bbb[_0x330717(0x6aa)]==0xc8){var _0x448531=null,_0x448531=_0x1b1bbb[_0x330717(0x137)],_0x2f3f9a=_0x448531['split']('\x0a');_0x2f3f9a[0x1]==_0x330717(0x4e2)&&(agent_log_id['length']>0x0&&(previous_agent_log_id=agent_log_id),agent_log_id=_0x2f3f9a[0x2],current_pause_code=_0x2d392a,pause_max_exceptions[_0x330717(0x35c)]>0x2&&(VDRP_stage_seconds=0x0));}},delete _0x1b1bbb),LastCallCID='',scroll(0x0,0x0);}function PauseCodeOpen_mgrapr(_0x4c30ce,_0x200a77,_0x3bab64){var _0x1cedda=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x1cedda(0x79d)+_0x4c30ce+'|',$(_0x1cedda(0x81b))[_0x1cedda(0x1b2)](_0x4c30ce),$(_0x1cedda(0x26e))[_0x1cedda(0x628)](_0x1cedda(0x1bf)+_0x4c30ce+_0x1cedda(0x4ec)+_0x200a77);}function PauseCodeCancel_mgrapr(){var _0xb92308=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xb92308(0x1e2)+$(_0xb92308(0x81b))[_0xb92308(0x1b2)]()+'|',hideDiv(_0xb92308(0x6a2)),$(_0xb92308(0x175))[_0xb92308(0x1b2)](''),$(_0xb92308(0x787))['val'](''),$('#PauseCodeMgrAprSelection')[_0xb92308(0x1b2)](''),$(_0xb92308(0x26e))['html']('');}function PauseCodeSelect_MgrApr(){var _0x213022=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x213022(0x7e5)+$(_0x213022(0x81b))['val']()+'|',$(_0x213022(0x72b))['modal']('hide');var _0x5bcb21=$(_0x213022(0x175))[_0x213022(0x1b2)](),_0x2c9472=$(_0x213022(0x787))['val'](),_0x5d124d=![];!_0x5d124d&&typeof XMLHttpRequest!='undefined'&&(_0x5d124d=new XMLHttpRequest()),_0x5d124d&&(VMCpausecodeMgrApr_query=_0x213022(0x4c6)+server_ip+_0x213022(0x7b6)+session_name+'&user='+user+_0x213022(0x397)+pass+'&ACTION=PauseCodeMgrApr&format=text&MgrApr_user='+_0x5bcb21+'&MgrApr_pass='+_0x2c9472+_0x213022(0x6b5)+campaign+_0x213022(0x245)+$('#PauseCodeMgrAprSelection')['val']()+_0x213022(0x741)+agent_log_id+'&user_group='+VU_user_group,_0x5d124d[_0x213022(0x63c)](_0x213022(0x584),_0x213022(0x550)),_0x5d124d[_0x213022(0x636)](_0x213022(0x638),_0x213022(0x404)),_0x5d124d[_0x213022(0x2fd)](VMCpausecodeMgrApr_query),_0x5d124d[_0x213022(0x18a)]=function(){var _0x50a2e5=_0x213022;if(_0x5d124d['readyState']==0x4&&_0x5d124d[_0x50a2e5(0x6aa)]==0xc8){var _0x29fe73=null,_0x29fe73=_0x5d124d[_0x50a2e5(0x137)],_0xc0c765=_0x29fe73[_0x50a2e5(0x65a)]('\x0a');_0xc0c765[0x1]==_0x50a2e5(0x5bc)?(PauseCodeSelect_submit($(_0x50a2e5(0x81b))[_0x50a2e5(0x1b2)](),_0x50a2e5(0x18f)),PauseCodeCancel_mgrapr()):alert_box('Approbation\x20du\x20code\x20de\x20suspension\x20du\x20gestionnaire\x20non\x20valide:\x20'+_0x5bcb21+'');}},delete _0x5d124d),scroll(0x0,0x0);}function GroupAliasSelect_submit(_0x299530,_0x4341ab,_0x1ff07e){var _0x51a5f5=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0x51a5f5(0x39c)+_0x299530+'\x20'+_0x4341ab+'\x20'+_0x1ff07e+'|',hideDiv(_0x51a5f5(0x336)),ShoWGenDerPulldown(),WaitingForNextStep=0x0,_0x1ff07e>0x0&&(active_group_alias=_0x299530,$('#ManuaLDiaLGrouPSelecteD')['html'](_0x51a5f5(0x7b0)+active_group_alias+''),$('#XfeRDiaLGrouPSelecteD')['html'](_0x51a5f5(0x7b0)+active_group_alias+'')),cid_choice=_0x4341ab,scroll(0x0,0x0);}function DiaLInGrouPSelect_submit(_0xed1e23,_0x364b5e){var _0xc3f0fe=_0x1c96bb;button_click_log=button_click_log+''+SQLdate+_0xc3f0fe(0x439)+_0xed1e23+'\x20'+_0x364b5e+'|',hideDiv(_0xc3f0fe(0x396)),ShoWGenDerPulldown(),WaitingForNextStep=0x0,_0xed1e23['length']>0x0&&(active_ingroup_dial=_0xed1e23,$(_0xc3f0fe(0x45b))['html'](_0xc3f0fe(0x221)+active_ingroup_dial+'')),scroll(0x0,0x0);}function UpdatESettingS(){var _0x28b6ed=_0x1c96bb,_0x4f0ec4=![];!_0x4f0ec4&&typeof XMLHttpRequest!=_0x28b6ed(0x34f)&&(_0x4f0ec4=new XMLHttpRequest()),_0x4f0ec4&&(VUVCsettings_query='server_ip='+server_ip+_0x28b6ed(0x7b6)+session_name+_0x28b6ed(0x66e)+user+'&pass='+pass+_0x28b6ed(0x31e)+agent_log_id+_0x28b6ed(0x6b5)+campaign,_0x4f0ec4[_0x28b6ed(0x63c)]('POST',_0x28b6ed(0x550)),_0x4f0ec4[_0x28b6ed(0x636)]('Content-Type','application/x-www-form-urlencoded;\x20charset=UTF-8'),_0x4f0ec4[_0x28b6ed(0x2fd)](VUVCsettings_query),_0x4f0ec4[_0x28b6ed(0x18a)]=function(){var _0xb79be6=_0x28b6ed;if(_0x4f0ec4[_0xb79be6(0x30f)]==0x4&&_0x4f0ec4[_0xb79be6(0x6aa)]==0xc8){var _0x595215=null,_0x595215=_0x4f0ec4[_0xb79be6(0x137)],_0x13a544=_0x595215['split']('\x0a');if(_0x13a544[0x0]==_0xb79be6(0x2f0)){if(_0x13a544[0x1]==_0xb79be6(0x46e)){var _0x22cc44=_0x13a544[0x2]['split'](_0xb79be6(0x42a));wrapup_seconds=_0x22cc44[0x1];var _0x5c160d=_0x13a544[0x3][_0xb79be6(0x65a)](_0xb79be6(0x231));dead_max=_0x5c160d[0x1];var _0x445add=_0x13a544[0x4]['split'](_0xb79be6(0x4fd));dispo_max=_0x445add[0x1];var _0x5a87e2=_0x13a544[0x5][_0xb79be6(0x65a)](_0xb79be6(0x4b7));pause_max=_0x5a87e2[0x1];var _0x5b08b3=_0x13a544[0x6]['split'](_0xb79be6(0x761));dead_max_dispo=_0x5b08b3[0x1];var _0x279d26=_0x13a544[0x7][_0xb79be6(0x65a)](_0xb79be6(0x575));dispo_max_dispo=_0x279d26[0x1];var _0x276c12=_0x13a544[0x8][_0xb79be6(0x65a)](_0xb79be6(0x2b4));dial_timeout=_0x276c12[0x1];var _0x575b19=_0x13a544[0x9][_0xb79be6(0x65a)](_0xb79be6(0x4db));wrapup_bypass=_0x575b19[0x1];var _0x5c24ce=_0x13a544[0xa]['split']('wrapup_message:\x20');wrapup_message=_0x5c24ce[0x1];var _0x509129=_0x13a544[0xb]['split'](_0xb79be6(0x139));wrapup_after_hotkey=_0x509129[0x1];var _0x7d0be1=_0x13a544[0xc][_0xb79be6(0x65a)]('manual_dial_timeout:\x20');manual_dial_timeout=_0x7d0be1[0x1],manual_dial_timeout=0x1c20;var _0x58bab2=_0x13a544[0xd][_0xb79be6(0x65a)](_0xb79be6(0x62b));in_man_dial_next_ready_seconds=_0x58bab2[0x1];if(wrapup_seconds>0x0){var _0x497e38=wrapup_message['replace'](regWFS,'');_0x497e38=_0x497e38[_0xb79be6(0x74b)](regWMS,''),wrapup_message[_0xb79be6(0x42d)](regWMS)?wrapup_message[_0xb79be6(0x42d)](regWFS)&&load_script_contents(_0xb79be6(0x558),_0x497e38):wrapup_message[_0xb79be6(0x42d)](regWFS)&&$(_0xb79be6(0x43f))[_0xb79be6(0x628)](_0xb79be6(0x42f)+_0x497e38+'</center>');}}}}},delete _0x4f0ec4);}function DtMf_PreSet_a(){var _0x220c64=_0x1c96bb;$(_0x220c64(0x2a2))['val'](CalL_XC_a_Dtmf),$(_0x220c64(0x5d3))['val'](CalL_XC_a_NuMber),$(_0x220c64(0x747))[_0x220c64(0x1b2)]('D1');}function DtMf_PreSet_b(){var _0x514ca6=_0x1c96bb;$('#conf_dtmf')[_0x514ca6(0x1b2)](CalL_XC_b_Dtmf),$('#xfernumber')['val'](CalL_XC_b_NuMber),$('#xfername')[_0x514ca6(0x1b2)]('D2');}function DtMf_PreSet_c(){var _0x1edf92=_0x1c96bb;$(_0x1edf92(0x5d3))[_0x1edf92(0x1b2)](CalL_XC_c_NuMber),$(_0x1edf92(0x747))[_0x1edf92(0x1b2)]('D3');}function DtMf_PreSet_d(){var _0x1a7f3d=_0x1c96bb;$(_0x1a7f3d(0x5d3))[_0x1a7f3d(0x1b2)](CalL_XC_d_NuMber),$('#xfername')['val']('D4');}function DtMf_PreSet_e(){var _0xa79683=_0x1c96bb;$(_0xa79683(0x5d3))[_0xa79683(0x1b2)](CalL_XC_e_NuMber),$('#xfername')['val']('D5');}function DtMf_PreSet_a_DiaL(_0x411f2c,_0x2f8da0){var _0x3873db=_0x1c96bb;_0x2f8da0==_0x3873db(0x18f)&&(button_click_log=button_click_log+''+SQLdate+'-----DtMf_PreSet_a_DiaL---|');$('#conf_dtmf')[_0x3873db(0x1b2)](CalL_XC_a_Dtmf),$(_0x3873db(0x5d3))[_0x3873db(0x1b2)](CalL_XC_a_NuMber);var _0x31139e=session_id;_0x411f2c=='YES'&&(_0x31139e='7'+session_id);;basic_originate_call(CalL_XC_a_NuMber,'NO',_0x3873db(0x18f),_0x31139e,_0x3873db(0x18f),'','1','0');}function DtMf_PreSet_b_DiaL(_0x4e1cad,_0x2ad22a){var _0x1bec09=_0x1c96bb;_0x2ad22a==_0x1bec09(0x18f)&&(button_click_log=button_click_log+''+SQLdate+_0x1bec09(0x76f));$(_0x1bec09(0x2a2))[_0x1bec09(0x1b2)](CalL_XC_b_Dtmf),$('#xfernumber')['val'](CalL_XC_b_NuMber);var _0x1d84fe=session_id;_0x4e1cad==_0x1bec09(0x18f)&&(_0x1d84fe='7'+session_id);;basic_originate_call(CalL_XC_b_NuMber,'NO','YES',_0x1d84fe,_0x1bec09(0x18f),'','1','0');}function DtMf_PreSet_c_DiaL(_0x1c0ec3){var _0x33ff73=_0x1c96bb;$(_0x33ff73(0x5d3))[_0x33ff73(0x1b2)](CalL_XC_c_NuMber);var _0x13f298=session_id;_0x1c0ec3==_0x33ff73(0x18f)&&(_0x13f298='7'+session_id);;basic_originate_call(CalL_XC_c_NuMber,'NO',_0x33ff73(0x18f),_0x13f298,_0x33ff73(0x18f),'','1','0');}function DtMf_PreSet_d_DiaL(_0x7acaea){var _0x2da340=_0x1c96bb;$(_0x2da340(0x5d3))[_0x2da340(0x1b2)](CalL_XC_d_NuMber);var _0xcdbefd=session_id;_0x7acaea==_0x2da340(0x18f)&&(_0xcdbefd='7'+session_id);;basic_originate_call(CalL_XC_d_NuMber,'NO',_0x2da340(0x18f),_0xcdbefd,_0x2da340(0x18f),'','1','0');}function DtMf_PreSet_e_DiaL(_0x37a0c6){var _0x3c3d15=_0x1c96bb;$(_0x3c3d15(0x5d3))[_0x3c3d15(0x1b2)](CalL_XC_e_NuMber);var _0x559cb5=session_id;_0x37a0c6==_0x3c3d15(0x18f)&&(_0x559cb5='7'+session_id);;basic_originate_call(CalL_XC_e_NuMber,'NO',_0x3c3d15(0x18f),_0x559cb5,_0x3c3d15(0x18f),'','1','0');}function hangup_timer_xfer(){WaitingForNextStep=0x0,custchannellive=0x0,dialedcall_send_hangup();}function extension_timer_xfer(){var _0x454534=_0x1c96bb;$(_0x454534(0x5d3))[_0x454534(0x1b2)](timer_action_destination),mainxfer_send_redirect(_0x454534(0x7bb),lastcustchannel,lastcustserverip);}function callmen