if(typeof(encodeURIComponent)=="undefined"){encodeURIComponent=function(a){return(escape(a))}}function lz_array_indexOf(b,a){if(b!=null){for(var c=0;c0){b+=f+"."}if(a>=10){b+=a+":"}else{if(a<10){b+="0"+a+":"}}if(d>=10){b+=d+":"}else{if(d<10){b+="0"+d+":"}}if(e>=10){b+=e.toString()}else{if(e<10){b+="0"+e.toString()}}if(c){return"-"+b}return b}function lz_jssess(){this.Save=a;this.Load=b;this.DelimiterStart="LZSDS";this.DelimiterEnd="LZSDE";this.GeoResolutions=0;this.GeoResolved=[];this.UserId=lz_user_id;this.BrowserId=lz_browser_id;this.ServerId=lz_server_id;this.OVLCPos="";this.OVLCState="0";this.OVLCSound=1;this.Transcript=1;this.OVLCWM=0;this.ECH=0;this.TransFrom="";this.TransInto="";this.TransSID="";this.KBS=1;this.BDA=0;function a(){var d=this.DelimiterStart+lz_global_base64_url_encode(this.BrowserId+";"+this.UserId+";"+this.GeoResolved+";"+this.GeoResolutions+";"+this.ServerId+";"+this.OVLCPos+";"+this.OVLCState+";"+this.OVLCSound+";"+this.OVLCWM+";"+this.ECH+";"+this.TransFrom+";"+this.TransInto+";"+this.TransSID+";"+this.Transcript+";"+this.KBS+";"+this.BDA+";")+this.DelimiterEnd;if(window.name==null||window.name=="undefinded"||window.name==""||(window.name==null&&window.name.indexOf(this.DelimiterStart)==-1)){if(window.name==null||window.name=="undefinded"||window.name==""){window.name=d}else{window.name+=d}}else{var c=new RegExp(/\LZSDS.*?LZSDE/g);window.name=window.name.replace(c,"");window.name+=d}}function b(){var c=window.name;if(c.indexOf(this.DelimiterStart)!=-1){c=lz_global_base64_url_decode(c.split(this.DelimiterStart)[1].split(this.DelimiterEnd)[0]).split(";");if(this.ServerId==c[4]){this.BrowserId=c[0];this.UserId=c[1];this.GeoResolved=c[2].split(",");this.GeoResolutions=c[3];this.OVLCPos=c[5];this.OVLCState=c[6];this.OVLCSound=c[7];this.OVLCWM=parseInt(c[8]);this.ECH=parseInt(c[9]);this.TransFrom=c[10];this.TransInto=c[11];this.TransSID=c[12];this.Transcript=c[13];this.KBS=c[14];this.BDA=c[15]}}}}if(typeof String.prototype.endsWith!=="function"){String.prototype.endsWith=function(a){return this.indexOf(a,this.length-a.length)!==-1}}function lz_chat_window(){this.BrowserId="";this.LastActive=0;this.Closed=false;this.Deleted=false}function lz_geo_resolver(){this.ResolveAsync=b;this.TimeoutConnection=f;this.SetStatus=a;this.SetSpan=i;this.Status=0;this.Span=0;this.OnEndEvent;this.OnTimeoutEvent;this.OnSpanEvent;var e;var d;var h;var c;var g;function b(){e=this.OnEndEvent;d=this.OnTimeoutEvent;h=this.OnSpanEvent;g=setTimeout(this.TimeoutConnection,15000);c=document.createElement("script");c.id="livezilla_geoscript";c.async=true;c.src=lz_geo_url+"&gv=1021&method="+e+"&spanm="+h+"&oak="+lz_oak+"&ip="+lz_mip;lz_document_head.appendChild(c)}function f(){if(d!=null){d()}}function a(j){this.Status=j}function i(j){this.Span=j}}function lz_global_get_window_zoom(){return(window.innerWidth/document.documentElement.clientWidth)}function lz_global_get_window_height(){return(lz_is_ie)?document.documentElement.offsetHeight:window.innerHeight}function lz_global_get_window_width(b){if(!b){var a=document.documentElement.offsetHeight?document.documentElement:document.body;return a.clientWidth}else{return((lz_is_ie)?document.documentElement.offsetWidth:window.innerWidth)}}function lz_global_replace_breaks(a){a=a.replace(/[\r\n]+/g,"
");return a.replace(/[\t]+/g,"   ")}function lz_global_base64_url_encode(a){if(a.length==0){return""}a=lz_global_base64_encode(a.toString());a=a.replace(/=/g,"_");a=a.replace(/\+/g,"-");a=a.replace(/\//g,",");return a}function lz_global_base64_url_decode(a){if(!(a!=null&&a.length>0)){return""}a=a.replace(/_/g,"=");a=a.replace(/-/g,"+");a=a.replace(/,/g,"/");a=lz_global_base64_decode(a);return a}function lz_global_base64_decode(d){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var a="";var l,j,g;var k,h,f,e;var b=0;d=d.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(b>4);j=((h&15)<<4)|(f>>2);g=((f&3)<<6)|e;a=a+String.fromCharCode(l);if(f!=64){a=a+String.fromCharCode(j)}if(e!=64){a=a+String.fromCharCode(g)}}a=lz_global_utf8_decode(a);return a}function lz_global_base64_encode(h){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var a="";var l,j,f,k,g,e,d;var b=0;h=lz_global_utf8_encode(h);while(b>2;g=((l&3)<<4)|(j>>4);e=((j&15)<<2)|(f>>6);d=f&63;if(isNaN(j)){e=d=64}else{if(isNaN(f)){d=64}}a=a+c.charAt(k)+c.charAt(g)+c.charAt(e)+c.charAt(d)}return a}function lz_global_utf8_encode(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a}function lz_global_utf8_decode(d){try{var f="";var b=0;var e=c1=c2=0;while(b191)&&(e<224)){c2=d.charCodeAt(b+1);f+=String.fromCharCode(((e&31)<<6)|(c2&63));b+=2}else{c2=d.charCodeAt(b+1);c3=d.charCodeAt(b+2);f+=String.fromCharCode(((e&15)<<12)|((c2&63)<<6)|(c3&63));b+=3}}}return f}catch(a){}return""}function lz_set_title_mode(){window.title=document.title=lz_title_modes[lz_title_step++%2]}function lz_switch_title_mode(a){if(a){if(lz_title_timer==null){lz_title_timer=setInterval("lz_set_title_mode()",1000)}}else{if(lz_title_timer!=null){clearInterval(lz_title_timer);lz_title_timer=null;document.title=lz_title_modes[0];lz_title_step=0}}}function lz_global_timestamp(){var a=new Date();var b=Math.round((a.getTime()/1000));return(b)}function lz_global_get_time(a){var b=new Date(parseInt(a)*1000);var c=b.toLocaleTimeString();if(c=="Invalid Date"){return a}return c}function lz_global_microstamp(){var a=new Date();var b=a.getTime();return(b)}function lz_global_get_long_poll_runtime(){if(lz_chat_data.LastConnectionFailed){return 20}var a=lz_chat_data.PollTimeout-lz_chat_data.ChatFrequency-25;if(a>=60){a=65}return a}function lz_chat_get_locale_time(){var a=new Date().toLocaleTimeString();a=a.split(" (");return a[0]}function lz_chat_get_locale_date(){var a=new Date().toLocaleString();a=a.split(" (");return a[0]}function lz_global_handle_exception(c,b,a){try{return true}catch(d){}}function lz_global_trim(a){return a.replace(/^\s+|\s+$/g,"")}function lz_global_htmlentities(a){a=a.replace(/\/g,">");return a}function lz_global_get_page_offset_y(){if(window.pageYOffset!=null){return window.pageYOffset}else{return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function lz_global_get_page_offset_x(){if(window.pageXOffset!=null){return window.pageXOffset}else{return Math.max(document.documentElement.scrollLeft,document.body.scrollLeft)}}function lz_global_is_scroll_bar(a){if(a==null){return false}return a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth}function lz_global_impose_max_length(b,a){if(b.value.length>a){b.value=b.value.substring(0,a)}}function lz_chat_save_input_value(b,a,d){try{if(lz_array_indexOf(lz_chat_data.InputFieldIndices,b)>-1){lz_chat_data.InputFieldValues[lz_array_indexOf(lz_chat_data.InputFieldIndices,b)].Value=a.toString()}if(b==114&&lz_shared_kb_auto_search){if(a.length>10){if(lz_shared_kb_last_search_time<(lz_global_timestamp()-2)){if(typeof lz_chat_get_frame_object=="function"){lz_chat_get_frame_object("lz_chat_kb_input").value=a}lz_chat_init_search_kb(true,true)}}}}catch(c){}return true}function lz_chat_get_input_value(a){try{return lz_chat_data.InputFieldValues[lz_array_indexOf(lz_chat_data.InputFieldIndices,a)].Value}catch(b){return""}}function lz_chat_get_input(c){for(var b=0;b0)?i:g;this.ChatInformation=a;this.TicketInformation=f;this.CallMeBackInformation=n;this.Email=j;this.Option=null;this.ActiveDocument=h;this.UpdateOption=m;this.Update=c;this.Changed=false;this.UpdateOption();this.ChatInputsHidden=l;this.ChatInputsMandatory=b;this.TicketInputsHidden=k;this.TicketInputsMandatory=e;this.ChatVouchersRequired=d;this.StatusIcon=true;function m(){try{if(this.Option==null){this.Option=this.ActiveDocument.createElement("option")}this.Option.value=this.Id;this.Option.name=this.Email;this.Option.group=this;if(this.Amount==0){this.Option.style.color="#787878";this.Option.style.background="#f7f7f7"}else{this.Option.style.color="#000000";this.Option.style.background="#FFFFFF"}this.Option.label=" "+this.Description;this.Option.text=" "+this.Description}catch(p){}}function c(q,r,p,s){if(this.Id!=q||this.Amount!=r||this.Description!=((p.length>0)?p:q)||this.Email!=s){this.Id=q;this.Amount=r;this.Description=(p.length>0)?p:q;this.Email=s;this.Changed=true}else{this.Changed=false}}}function lz_group_list(_document,_selectBox){this.HeaderOnline=null;this.HeaderOffline=null;this.ForceSelectOption=null;this.ForceSelectMade=false;this.Groups=new Array();this.SelectBox=_selectBox;this.ActiveDocument=_document;this.GroupOnline=false;this.GroupOffline=null;this.StatusIcon=true;this.Add=lz_group_list_add;this.Update=lz_group_list_update;this.Place=lz_group_list_place_group;this.CreateHeader=lz_group_list_create_header;this.PlaceGroup=lz_group_list_place_group;this.GetGroupById=lz_group_list_get_group_by_id;this.SelectGroupById=lz_group_list_select_group_by_id;function lz_group_list_add(_id,_amount,_description,_email,_cihidden,_cimandatory,_tihidden,_timandatory,_cinf,_cmbinf,_tinf,_com){var existing=false;var currentGroup;var lastGroup;for(var i=0;i0);this.GroupOffline=(this.GroupOffline||lz_global_base64_decode(contents[1])==0);this.Add((lz_global_base64_decode(contents[0])),(lz_global_base64_decode(contents[1])),(lz_global_base64_decode(contents[2])),lz_global_base64_decode(contents[3]),eval(lz_global_base64_decode(contents[4])),eval(lz_global_base64_decode(contents[5])),eval(lz_global_base64_decode(contents[6])),eval(lz_global_base64_decode(contents[7])),lz_global_base64_decode(contents[8]),lz_global_base64_decode(contents[9]),lz_global_base64_decode(contents[10]),eval(lz_global_base64_decode(contents[11])))}if(this.HeaderOnline!=null){if(!this.GroupOnline&&this.HeaderOnline.parentNode==this.SelectBox){this.SelectBox.removeChild(this.HeaderOnline)}else{if(this.GroupOnline&&(this.HeaderOnline.parentNode==null||(this.HeaderOnline.parentNode!=null&&this.HeaderOnline.parentNode!=this.SelectBox))){this.SelectBox.insertBefore(this.HeaderOnline,this.SelectBox.childNodes[0])}}}if(!this.GroupOffline&&this.HeaderOffline!=null&&this.HeaderOffline.parentNode==this.SelectBox){this.SelectBox.removeChild(this.HeaderOffline)}if(this.Groups.length>addedGroups.length){var existing;for(var i=0;i0){this.SelectBox.insertBefore(_group.Option,this.HeaderOffline)}else{this.SelectBox.appendChild(_group.Option)}}_group.UpdateOption()}function lz_group_list_create_header(_pleaseSelectTitle){if(this.SelectBox.childNodes.length==0){this.ForceSelectOption=this.ActiveDocument.createElement("option");this.ForceSelectOption.text=_pleaseSelectTitle;this.ForceSelectOption.style.color="#000000";this.ForceSelectOption.style.background="#FFFFFF";this.ForceSelectOption.style.backgroundImage="none"}}function lz_group_list_get_group_by_id(_id){for(var i=0;i",this.Index.toString()).replace("",this.Value);if(p.indexOf("?")!=-1){p+="×tamp="+lz_global_timestamp()}else{p+="?timestamp="+lz_global_timestamp()}var o=document.createElement("script");o.id="livezilla_vscript"+this.Index.toString();o.src=p;document.getElementsByTagName("head")[0].appendChild(o)}function b(p,o){if(p!=null){if(lz_chat_get_frame_object("").getElementsByName("form_"+this.Index).length==1){lz_chat_get_frame_object("").getElementsByName("form_"+this.Index)[0].disabled=!o}}}function l(r,o){try{for(var q=0;q-1){return true}else{if(!o&&lz_array_indexOf(r[q].TicketInputsHidden,this.Index)>-1){return true}}}}catch(p){}return false}}function lz_chat_execute(_js){try{eval(lz_global_base64_decode(_js))}catch(ex){}}function lz_fade_in(a,b){var d=0;var c=setInterval(function(){if(d>=1){clearInterval(c)}if(d>=0.1){a.style.display=""}a.style.opacity=d;d+=0.1},b)}function lz_fade_out(a,b){var d=1;var c=setInterval(function(){if(d<=0.1){clearInterval(c);a.style.display="none"}a.style.opacity=d;d-=0.1},b)}function lz_is_placeholder_support(){var a=document.createElement("input");return("placeholder" in a)};var lz_move_active=false;var lz_move_x,lz_move_y,lz_move_tx,lz_move_ty;var lz_move_object;var lz_move_margins;var lz_zoom_factor=1;var lz_center_timeout=null;function lz_livebox(_name,_template,_width,_height,_mleft,_mtop,_mright,_mbottom,_position,_speed,_effect){this.lz_livebox_slide_finished=false;this.lz_livebox_template=_template;this.lz_livebox_name=_name;this.lz_livebox_move=lz_livebox_move_box;this.lz_livebox_show=lz_livebox_show_box;this.lz_livebox_hide=lz_livebox_hide_box;this.lz_livebox_create=lz_livebox_create_box;this.lz_livebox_unload=lz_livebox_unload_box;this.lz_livebox_shadow=lz_livebox_set_shadow;this.lz_livebox_background=lz_livebox_set_background;this.lz_livebox_preset=lz_livebox_center_set_preset;this.lz_livebox_close=lz_livebox_close_box;this.lz_livebox_chat=lz_livebox_direct_chat;this.lz_livebox_get_left=lz_livebox_center_get_left;this.lz_livebox_get_right=lz_livebox_center_get_right;this.lz_livebox_get_top=lz_livebox_center_get_top;this.lz_livebox_get_bottom=lz_livebox_center_get_bottom;this.lz_livebox_extended_pos=lz_livebox_extended_pos;this.lz_livebox_div=null;this.lz_livebox_shadow_class=null;this.lz_livebox_background_class=null;this.lz_livebox_background_div=null;this.lz_livebox_preset_top=null;this.lz_livebox_preset_left=null;this.lz_livebox_preset_right=null;this.lz_livebox_preset_bottom=null;this.lz_livebox_shown=false;this.lz_livebox_on_move=null;this.lz_livebox_fixed_mode=false;this.lzibst_width=_width;this.lzibst_height=_height;this.lzibst_margin=lz_move_margins=new Array(_mleft,_mtop,_mright,_mbottom);this.lzibst_position=_position.toString();if(this.lzibst_position.length==1){this.lzibst_position="0"+this.lzibst_position}this.lzibst_hposition=this.lzibst_position.substring(1,2).replace(0,"left").replace(1,"center").replace(2,"right");this.lzibst_vposition=this.lzibst_position.substring(0,1).replace(0,"top").replace(1,"center").replace(2,"bottom");this.lzibst_slide_speed=10;this.lzibst_effect=_effect;this.lzibst_slide_step=Math.max(_speed,2);function lz_livebox_direct_chat(_intid,_groupid){var fullname="";if(document.getElementById("lz_invitation_name")!=null&&document.getElementById("lz_invitation_name").value.length>0){fullname=lz_global_base64_url_encode(document.getElementById("lz_invitation_name").value)}lz_tracking_init_external_window(fullname,_intid,_groupid,"&"+lz_getp_chat,true)}function lz_livebox_close_box(uid){if(this.lz_livebox_background_div!=null){document.body.removeChild(this.lz_livebox_background_div);this.lz_livebox_background_div=null}if(!this.lz_livebox_slide_finished){return}document.body.removeChild(this.lz_livebox_div)}function lz_livebox_set_shadow(_intense,_x,_y,_color){this.lz_livebox_shadow_class=document.createElement("STYLE");this.lz_livebox_shadow_class.type="text/css";var style=document.createTextNode(".livezilla_livebox_shadow_class"+this.lz_livebox_name+"{-moz-box-shadow: "+_x+"px "+_y+"px "+_intense+"px "+_color+";-webkit-box-shadow: "+_x+"px "+_y+"px "+_intense+"px "+_color+";box-shadow: "+_x+"px "+_y+"px "+_intense+"px "+_color+";} ");if(this.lz_livebox_shadow_class.styleSheet){this.lz_livebox_shadow_class.styleSheet.cssText=style.nodeValue}else{this.lz_livebox_shadow_class.appendChild(style)}document.getElementsByTagName("head")[0].appendChild(this.lz_livebox_shadow_class)}function lz_livebox_set_background(_bgcolor,_bgop){if(this.lz_livebox_background_class==null){this.lz_livebox_background_class=document.createElement("STYLE");this.lz_livebox_background_class.type="text/css";var style=document.createTextNode(".livezilla_livebox_background_class"+this.lz_livebox_name+"{z-index:99990;top:0;left:0;right:0;bottom:0;position:absolute;filter:alpha(opacity="+(_bgop*100)+"); -moz-opacity:"+_bgop+"; -khtml-opacity: "+_bgop+"; opacity:"+_bgop+";background:"+_bgcolor+";} ");if(this.lz_livebox_background_class.styleSheet){this.lz_livebox_background_class.styleSheet.cssText=style.nodeValue}else{this.lz_livebox_background_class.appendChild(style)}document.getElementsByTagName("head")[0].appendChild(this.lz_livebox_background_class);this.lz_livebox_background_div=document.createElement("DIV");this.lz_livebox_background_div.style.position="fixed";this.lz_livebox_background_div.className="livezilla_livebox_background_class"+this.lz_livebox_name;document.body.appendChild(this.lz_livebox_background_div)}}function lz_livebox_create_box(){this.lz_livebox_div=document.createElement("DIV");if(this.lz_livebox_shadow_class!=null){this.lz_livebox_div.className="livezilla_livebox_shadow_class"+this.lz_livebox_name}this.lz_livebox_div.id=this.lz_livebox_name;this.lz_livebox_div.style.position="fixed";if(this.lzibst_effect==6&&!("opacity" in document.body.style)){this.lzibst_effect=0}if(this.lzibst_effect!=5){this.lz_livebox_div.style.height=this.lzibst_height+"px";this.lz_livebox_div.style.width=this.lzibst_width+"px"}else{this.lz_livebox_div.style.height="0px";this.lz_livebox_div.style.width="0px"}this.lz_livebox_div.style.overflow="hidden";this.lz_livebox_div.style.zIndex=99999;this.lz_livebox_div.style.cursor="move";this.lz_livebox_div.style.margin="0px";if(this.lzibst_effect==6){this.lz_livebox_div.style.opacity="0.0"}this.lz_livebox_div.innerHTML=this.lz_livebox_template.replace("",lz_global_base64_url_decode(lz_user_name));if(this.lzibst_effect==0){this.lz_livebox_div.style.display="none"}else{if(this.lzibst_effect==1){this.lz_livebox_div.style.top=-(this.lzibst_height+100)+"px"}else{if(this.lzibst_effect==2){this.lz_livebox_div.style.left=lz_global_get_window_width(false)+(this.lzibst_width+100)+"px"}else{if(this.lzibst_effect==3){this.lz_livebox_div.style.top=lz_global_get_window_height()+(this.lzibst_height+100)+"px"}else{if(this.lzibst_effect==4){this.lz_livebox_div.style.left=-(this.lzibst_width+100)+"px"}}}}}if(this.lzibst_effect==6&&this.lzibst_position=="22"){this.lz_livebox_div.style.left=-(this.lzibst_width+100)+"px"}document.body.appendChild(this.lz_livebox_div)}function lz_livebox_show_box(_zIndex){if(this.lz_livebox_shown){this.lz_livebox_div.style.display="";this.lz_livebox_div.style.visibility="visible";return}this.lz_livebox_shown=true;this.lz_livebox_div.style.zIndex=_zIndex;window.setTimeout("if(window['"+this.lz_livebox_name+"']!=null)window['"+this.lz_livebox_name+"'].lz_livebox_move()",1);if(!lz_is_mobile){document.onmousedown=lz_livebox_init_move;document.onmouseup=new Function("lz_move_active=false;lz_livebox_save_pos();")}}function lz_livebox_hide_box(){if(this.lz_livebox_shown){this.lz_livebox_div.style.display="none";this.lz_livebox_div.style.visibility="hidden"}}function lz_livebox_unload_box(){var currentopacity=parseFloat(this.lz_livebox_div.style.opacity);currentopacity-=0.06;this.lz_livebox_div.style.opacity=currentopacity;if(currentopacity>0){window.setTimeout("window['"+this.lz_livebox_name+"'].lz_livebox_unload()",2)}}function lz_livebox_init_move(e){try{var fobj=(!lz_is_ie)?e.target:event.srcElement;if(fobj.tagName.toLowerCase()=="input"||fobj.tagName.toLowerCase()=="textarea"||fobj.tagName.toLowerCase()=="iframe"||fobj.tagName.toLowerCase()=="a"){return}var count=0;while(fobj!=null&&fobj.style.zIndex!=99999&&count++<20){fobj=(!lz_is_ie)?fobj.parentNode:fobj.parentElement;if(!(fobj!=null&&fobj.className!="unmovable")){return true}}if(fobj!=null&&fobj.tagName!="undefined"&&fobj.style.zIndex==99999){lz_move_active=true;lz_move_object=fobj;lz_move_tx=parseInt(lz_move_object.style.left+0);lz_move_x=!lz_is_ie?e.clientX:event.clientX;if(lz_move_object.style.top!=""){lz_move_y=!lz_is_ie?e.clientY:event.clientY;lz_move_ty=parseInt(lz_move_object.style.top+0)}else{lz_move_y=!lz_is_ie?e.clientY:event.clientY;lz_move_ty=lz_global_get_window_height()-(parseInt(lz_move_object.style.bottom+0)+parseInt(lz_move_object.style.height))}if(lz_move_object.style.left!=""){lz_move_tx=parseInt(lz_move_object.style.left+0);lz_move_x=!lz_is_ie?e.clientX:event.clientX}else{lz_move_x=!lz_is_ie?e.clientX:event.clientX;lz_move_tx=lz_global_get_window_width(false)-(parseInt(lz_move_object.style.right+0)+parseInt(lz_move_object.style.width))}document.onmousemove=lz_livebox_process_move;return false}}catch(e){}}function lz_livebox_process_move(e){if(lz_move_active){var top=((!lz_is_ie)?lz_move_ty+e.clientY-lz_move_y:lz_move_ty+event.clientY-lz_move_y);lz_move_object.style.bottom="";lz_move_object.style.top=top+"px";var left=((!lz_is_ie)?lz_move_tx+e.clientX-lz_move_x:lz_move_tx+event.clientX-lz_move_x);lz_move_object.style.right="";lz_move_object.style.left=left+"px";if(window[lz_move_object.id].lz_livebox_on_move!=null){eval(window[lz_move_object.id].lz_livebox_on_move)}return false}}function lz_livebox_extended_pos(_obj,_ext){document.getElementById(_obj).style.top=(parseInt(document.getElementById(_obj).style.top.replace("px",""))+_ext)+"px"}function lz_livebox_move_box(){try{this.lz_livebox_div.style.bottom=this.lz_livebox_get_bottom(false);this.lz_livebox_div.style.right=this.lz_livebox_get_right(false);if(this.lzibst_effect==0){this.lz_livebox_div.style.left=this.lz_livebox_get_left(false);this.lz_livebox_div.style.top=this.lz_livebox_get_top(false);this.lz_livebox_div.style.right=this.lz_livebox_get_right(false);this.lz_livebox_div.style.bottom=this.lz_livebox_get_bottom(false);this.lz_livebox_div.style.display="";this.lz_livebox_slide_finished=true}else{if(this.lzibst_effect==1||this.lzibst_effect==3){var current=parseInt(this.lz_livebox_div.style.top.replace("px","").replace("pt",""));if(this.lzibst_effect==1){current+=this.lzibst_slide_step}else{current-=this.lzibst_slide_step}this.lz_livebox_div.style.top=current+"px";this.lz_livebox_div.style.left=this.lz_livebox_get_left(false);var topdist=parseInt(this.lz_livebox_get_top(false).replace("px",""));if((this.lzibst_effect==1&¤t<(topdist-this.lzibst_slide_step))||(this.lzibst_effect==3&¤t>(topdist-this.lzibst_slide_step))){window.setTimeout("if(window['"+this.lz_livebox_name+"']!=null)window['"+this.lz_livebox_name+"'].lz_livebox_move()",this.lzibst_slide_speed)}else{this.lz_livebox_div.style.top=topdist+"px";this.lz_livebox_slide_finished=true}}else{if(this.lzibst_effect==2||this.lzibst_effect==4){var current=parseInt(this.lz_livebox_div.style.left.replace("px","").replace("pt",""));if(this.lzibst_effect==2){current-=this.lzibst_slide_step}else{current+=this.lzibst_slide_step}this.lz_livebox_div.style.left=current+"px";this.lz_livebox_div.style.top=this.lz_livebox_get_top(false);var leftdist=parseInt(this.lz_livebox_get_left(false).replace("px",""));if((this.lzibst_effect==2&¤t>(leftdist-this.lzibst_slide_step))||(this.lzibst_effect==4&¤t<(leftdist-this.lzibst_slide_step))){window.setTimeout("if(window['"+this.lz_livebox_name+"']!=null)window['"+this.lz_livebox_name+"'].lz_livebox_move()",this.lzibst_slide_speed)}else{this.lz_livebox_div.style.left=leftdist+"px";this.lz_livebox_slide_finished=true}}else{if(this.lzibst_effect==5){var currentheight=parseInt(this.lz_livebox_div.style.height.replace("px","").replace("pt",""));var currentwidth=parseInt(this.lz_livebox_div.style.width.replace("px","").replace("pt",""));var wstep=this.lzibst_slide_step;var hstep=parseInt(this.lzibst_slide_step*(this.lzibst_height/this.lzibst_width));if(currentheight<(this.lzibst_height-hstep)){currentheight+=hstep}if(currentwidth<(this.lzibst_width-wstep)){currentwidth+=wstep}this.lz_livebox_div.style.height=currentheight+"px";this.lz_livebox_div.style.width=currentwidth+"px";this.lz_livebox_div.style.left=parseInt(this.lz_livebox_get_left(false).replace("px","").replace("pt",""))+((this.lzibst_width-currentwidth)/2)+"px";this.lz_livebox_div.style.top=parseInt(this.lz_livebox_get_top(false).replace("px","").replace("pt",""))+((this.lzibst_height-currentheight)/2)+"px";if((currentheight<(this.lzibst_height-hstep))||(currentwidth<(this.lzibst_width-wstep))){window.setTimeout("window['"+this.lz_livebox_name+"'].lz_livebox_move()",this.lzibst_slide_speed)}else{this.lz_livebox_div.style.height=this.lzibst_height+"px";this.lz_livebox_div.style.width=this.lzibst_width+"px";this.lz_livebox_slide_finished=true}}else{if(this.lzibst_effect==6){this.lz_livebox_div.style.left=this.lz_livebox_get_left(false);this.lz_livebox_div.style.top=this.lz_livebox_get_top(false);lz_fade_in(this.lz_livebox_div,40);this.lz_livebox_slide_finished=true}}}}}if(this.lz_livebox_slide_finished&&window.onresize==null){window.onresize=lz_livebox_init_center_boxes_hide}}catch(e){}}function lz_livebox_center_get_left(_abs){if(this.lz_livebox_fixed_mode){return"0px"}else{if(lz_is_mobile&&this.lzibst_hposition=="right"){return"auto"}else{if(this.lz_livebox_preset_left!=null){return this.lz_livebox_preset_left}else{if(this.lz_livebox_preset_right!=null){return"auto"}}}}var left=0;if(this.lzibst_hposition=="center"){left=parseInt((lz_global_get_window_width(true)*50/100));left-=parseInt(this.lzibst_width/2);if(this.lzibst_margin[0]!=0){left+=this.lzibst_margin[0]}if(this.lzibst_margin[2]!=0){left-=this.lzibst_margin[2]}if(_abs){left+=lz_global_get_page_offset_x()}return left+"px"}else{if(this.lzibst_hposition=="left"){if(this.lzibst_margin[0]!=0){left+=this.lzibst_margin[0]}if(this.lzibst_margin[2]!=0){left-=this.lzibst_margin[2]}if(_abs){left+=lz_global_get_page_offset_x()}return left+"px"}else{if(this.lzibst_hposition=="right"){left=lz_global_get_window_width(false);left-=parseInt(this.lzibst_width);if(this.lzibst_margin[0]!=0){left+=this.lzibst_margin[0]}if(this.lzibst_margin[2]!=0){left-=this.lzibst_margin[2]}return left+"px"}}}}function lz_livebox_center_get_top(_abs){if(this.lz_livebox_fixed_mode){return"0px"}else{if(lz_is_mobile&&this.lzibst_vposition=="bottom"){return"auto"}else{if(this.lz_livebox_preset_top!=null){return this.lz_livebox_preset_top}else{if(this.lz_livebox_preset_bottom!=null){return"auto"}}}}var top=0;if(this.lzibst_vposition=="center"){top=parseInt((lz_global_get_window_height()*50/100));if(_abs){top+=lz_global_get_page_offset_y()}top-=parseInt(this.lzibst_height/2);if(this.lzibst_margin[1]!=0){top+=this.lzibst_margin[1]}if(this.lzibst_margin[3]!=0){top-=this.lzibst_margin[3]}return parseInt(top)+"px"}else{if(this.lzibst_vposition=="top"){if(this.lzibst_margin[1]!=0){top+=this.lzibst_margin[1]}if(this.lzibst_margin[3]!=0){top-=this.lzibst_margin[3]}if(_abs){top+=lz_global_get_page_offset_y()}return parseInt(top)+"px"}else{if(this.lzibst_vposition=="bottom"){top=lz_global_get_window_height();top-=parseInt(this.lzibst_height);if(this.lzibst_margin[1]!=0){top+=this.lzibst_margin[1]}if(this.lzibst_margin[3]!=0){top-=this.lzibst_margin[3]}return parseInt(top)+"px"}}}}function lz_livebox_center_get_bottom(_abs){if(this.lz_livebox_fixed_mode){return"0px"}else{if(lz_is_mobile&&this.lzibst_vposition=="bottom"&&_abs){return(Math.floor(lz_zoom_factor*this.lzibst_margin[3])+document.documentElement.clientHeight-(lz_global_get_window_height()+lz_global_get_page_offset_y()))+"px"}else{if(lz_is_mobile&&this.lzibst_vposition=="bottom"){return Math.floor(lz_zoom_factor*this.lzibst_margin[3])+"px"}else{if(this.lz_livebox_preset_bottom!=null){return this.lz_livebox_preset_bottom}else{return"auto"}}}}}function lz_livebox_center_get_right(_abs){if(this.lz_livebox_fixed_mode){return"0px"}else{if(lz_is_mobile&&this.lzibst_hposition=="right"&&_abs){return(Math.floor(lz_zoom_factor*this.lzibst_margin[2])+document.documentElement.clientWidth-(lz_global_get_window_width(true)+lz_global_get_page_offset_x()))+"px"}else{if(lz_is_mobile&&this.lzibst_hposition=="right"){return Math.floor(lz_zoom_factor*this.lzibst_margin[2])+"px"}else{return"auto"}}}}function lz_livebox_center_set_preset(_preset,_vertical){if(_preset==null){return}var parts=_preset.split(",");if(_vertical&&parts[0]!=null){var presett=parseInt(parts[0].replace("px",""));if(presett<0){this.lz_livebox_preset_top=0+"px"}else{if(presett+this.lzibst_height>lz_global_get_window_height()){this.lz_livebox_preset_top=(lz_global_get_window_height()-this.lzibst_height)+"px"}else{if(!isNaN(presett)){this.lz_livebox_preset_top=parts[0]}}}}else{this.lz_livebox_preset_bottom=this.lzibst_margin[3]+"px"}if(parts[1]!=null){var presetl=parseInt(parts[1].replace("px",""));if(presetl<0){this.lz_livebox_preset_left=0+"px"}else{if(presetl+this.lzibst_width>lz_global_get_window_width(false)){this.lz_livebox_preset_left=(lz_global_get_window_width(false)-(this.lzibst_width+15))+"px"}else{this.lz_livebox_preset_left=parts[1]}}}}}function lz_livebox_scale_boxes(){var a=lz_global_get_window_zoom();if(lz_zoom_factor!=a){if(a<0.9){a+=0.1}if(a>1.5){a=1.5}lz_livebox_scale_box("lz_overlay_chat",a);lz_livebox_scale_box("lz_eye_catcher",a);lz_livebox_scale_box("lz_floating_button",a);lz_zoom_factor=a}}function lz_livebox_scale_box(c,b,d){try{if(document.getElementById(c)!=null){if(c=="lz_overlay_chat"||c=="lz_eye_catcher"){if(lz_chat_state_expanded&&!d){return}}document.getElementById(c).style["-webkit-transform"]="scale("+b+","+b+")";document.getElementById(c).style["-webkit-transform-origin"]=window[c].lzibst_hposition+" "+window[c].lzibst_vposition}}catch(a){}}function lz_livebox_is_visible(c){try{var b=c.getBoundingClientRect();return(b.top>=0&&b.left>=0&&b.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&b.right<=(window.innerWidth||document.documentElement.clientWidth))}catch(a){return true}}function lz_livebox_init_center_boxes_hide(){lz_livebox_init_center_boxes()}function lz_livebox_init_center_boxes(){if(lz_center_timeout!=null){clearTimeout(lz_center_timeout)}lz_center_timeout=setTimeout("lz_livebox_center_boxes();",100)}function lz_livebox_center_boxes(){if(lz_is_mobile){lz_livebox_scale_boxes()}else{if(document.getElementById("lz_overlay_chat")!=null&&lz_chat_state_expanded){lz_chat_change_state(true,true)}}lz_livebox_center_box("lz_request_window",true);lz_livebox_center_box("lz_alert_window",true);lz_livebox_center_box("lz_floating_button",true);lz_livebox_center_box("lz_overlay_box",true);lz_livebox_center_box("lz_floating_button_selector",true);if(lz_is_mobile&&lz_chat_state_expanded&&!lz_chat_fixed_mode){return}lz_livebox_center_box("lz_overlay_chat",true);lz_livebox_center_box("lz_eye_catcher",true)}function lz_livebox_center_box(c,b){if(document.getElementById(c)!=null){var a=false;if(window[c].lz_livebox_fixed_mode){a=false}else{if(!lz_chat_state_expanded){a=false}else{if(document.getElementById(c).style.position=="fixed"&&!lz_livebox_is_visible(document.getElementById(c))){a=true}else{if(document.getElementById(c).style.position=="absolute"){a=true}}}}if(b){document.getElementById(c).style.top=window[c].lz_livebox_get_top(a);document.getElementById(c).style.bottom=window[c].lz_livebox_get_bottom(a)}document.getElementById(c).style.left=window[c].lz_livebox_get_left(a);document.getElementById(c).style.right=window[c].lz_livebox_get_right(a);document.getElementById(c).style.position=(a)?"absolute":"fixed";if(!lz_chat_state_expanded&&c=="lz_eye_catcher"){if(window.innerWidth<(1.4*window[c].lzibst_width)){window[c].lz_livebox_hide()}else{window[c].lz_livebox_show()}}}}function lz_livebox_hide_box(a){if(document.getElementById(a)!=null){window[a].lz_livebox_hide()}}function lz_livebox_show_box(a){if(document.getElementById(a)!=null){window[a].lz_livebox_show()}}function lz_livebox_save_pos(){if(lz_session!=null&&document.getElementById("lz_overlay_chat")!=null){if(!lz_is_mobile){lz_session.OVLCPos=document.getElementById("lz_overlay_chat").style.top+","+document.getElementById("lz_overlay_chat").style.left}lz_session.Save()}};var lz_referrer=document.referrer;var lz_stopped=false;var lz_request_window=null;var lz_alert_window=null;var lz_request_active=null;var lz_request_last=null;var lz_overlay_box=null;var lz_overlay_chat=null;var lz_overlay_chat_height=0;var lz_overlay_chat_height_extended=0;var lz_overlay_chat_width=0;var lz_eye_catcher=null;var lz_floating_button=null;var lz_floating_button_selector=null;var lz_overlay_active=null;var lz_overlay_last=null;var lz_alert_active=null;var lz_website_push_active=null;var lz_chat_state_expanded=false;var lz_event_fire_id=null;var lz_session;var lz_poll_id=0;var lz_timer=null;var lz_timezone_offset=(new Date().getTimezoneOffset()/60)*-1;var lz_chat_windows=new Array();var lz_check_cw=null;var lz_cb_url=new Array();var lz_document_head=document.getElementsByTagName("head")[0];var lz_poll_required=false;var lz_timer_connection_error=null;var lz_last_image_reload=lz_global_timestamp();var lz_deactivate=null;var lz_force_monitoring=false;var lz_init_floating_selector=null;var lz_chat_fixed_mode=false;var lz_data_id=null;lz_tracking_start_system();function lz_tracking_start_system(){if(!lz_resources[0]||!lz_resources[1]||!lz_resources[2]||(lz_overlay_chat_available&&(!lz_resources[4]))){setTimeout(lz_tracking_start_system,50);return}lz_geo_resolution=new lz_geo_resolver();window.onerror=lz_global_handle_exception;lz_session=new lz_jssess();lz_session.Load();if(location.search.indexOf("lzcobrowse")!=-1){lz_session.Save();lz_tracking_poll_server();return}try{if(window.opener!=null&&typeof(window.opener.lz_get_session)!="undefined"){lz_session.UserId=window.opener.lz_get_session().UserId;lz_session.GeoResolved=window.opener.lz_get_session().GeoResolved}}catch(a){}lz_session.Save();if(!lz_tracking_geo_resolute()){lz_tracking_poll_server()}if(lz_is_mobile){window.addEventListener("resize",lz_livebox_init_center_boxes_hide);window.addEventListener("scroll",lz_livebox_init_center_boxes_hide);window.setInterval("lz_livebox_init_center_boxes(false)",1000)}}function lz_tracking_unload(){if(lz_floating_button!=null){lz_floating_button.lz_livebox_unload()}if(lz_request_window!=null){lz_request_window.lz_livebox_unload()}if(lz_overlay_box!=null){lz_overlay_box.lz_livebox_unload()}if(lz_overlay_chat!=null){lz_overlay_chat.lz_livebox_unload()}}function lz_tracking_add_chat_window(c,f){try{var h,g,e=false;for(var a in lz_chat_windows){if(lz_chat_windows[a].BrowserId==c||f){if(!f){lz_chat_windows[a].LastActive=lz_global_timestamp();lz_chat_windows[a].Deleted=false;lz_chat_windows[a].Closed=false}else{if(!lz_chat_windows[a].Deleted&&!lz_chat_windows[a].Closed&&(lz_chat_windows[a].LastActive<=(lz_global_timestamp()-10))){lz_chat_windows[a].Closed=true;g=true}}h=true}if(!lz_chat_windows[a].Closed){e=true}}if(!h&&!f){var d=new lz_chat_window();d.BrowserId=c;d.LastActive=lz_global_timestamp();lz_chat_windows.push(d);e=true}else{if(f&&g){lz_tracking_poll_server(1004)}}if(e&&lz_check_cw==null){lz_check_cw=setTimeout("lz_check_cw=null;lz_tracking_add_chat_window('"+c+"',true);",2000)}}catch(b){}}function lz_is_geo_resolution_needed(){return(lz_geo_resolution_needed&&lz_session.GeoResolved.length!=7&&lz_session.GeoResolutions<5)}function lz_tracking_remove_chat_window(c){try{for(var a in lz_chat_windows){if(lz_chat_windows[a].BrowserId==c){lz_chat_windows[a].Deleted=lz_chat_windows[a].Closed=true}}}catch(b){}}function lz_get_session(){return lz_session}function lz_tracking_server_request(d,a){if(lz_stopped){return}var e=document.getElementById(a);if(e==null){for(var c in lz_chat_windows){if(!lz_chat_windows[c].Deleted&&lz_chat_windows[c].Closed){lz_chat_windows[c].Deleted=true;d+="&clch="+lz_global_base64_encode(lz_chat_windows[c].BrowserId)}}d="?rqst=track"+d;var b=document.createElement("script");b.id=a;b.src=lz_poll_url+d;b.async=true;lz_document_head.appendChild(b)}else{lz_poll_required=true}}function lz_tracking_poll_server(d){try{var a="&b="+lz_global_base64_url_encode(lz_session.BrowserId)+"&pc="+lz_global_base64_url_encode(++lz_poll_id);a+=(lz_session.UserId!=null)?"&i="+lz_global_base64_url_encode(lz_session.UserId):"";if(lz_user_language.length>0){a+="&el="+lz_user_language}if(lz_area_code.length>0){a+="&code="+lz_area_code}if(lz_referrer.length>0){a+="&rf="+lz_global_base64_url_encode(lz_referrer)}a+=lz_tracking_get_user_upload_value("en",111,lz_user_name);a+=lz_tracking_get_user_upload_value("ee",112,lz_user_email);a+=lz_tracking_get_user_upload_value("ec",113,lz_user_company);a+=lz_tracking_get_user_upload_value("eq",114,lz_user_question);a+=lz_tracking_get_user_upload_value("ep",116,lz_user_phone);if(lz_data_id!=null){a+="&di="+lz_data_id}if(lz_poll_id<=3){var c=document.title;if(c.length>60){c=c.substring(0,60)+"..."}a+="&dc="+lz_global_base64_url_encode(c);a+="&cd="+lz_global_base64_url_encode(window.screen.colorDepth)+"&rh="+lz_global_base64_url_encode(screen.height)+"&rw="+lz_global_base64_url_encode(screen.width)+"&tzo="+lz_global_base64_url_encode(lz_timezone_offset);if(lz_geo_resolution_needed&&lz_session.GeoResolved.length==7){a+="&geo_lat="+lz_session.GeoResolved[0]+"&geo_long="+lz_session.GeoResolved[1]+"&geo_region="+lz_session.GeoResolved[2]+"&geo_city="+lz_session.GeoResolved[3]+"&geo_tz="+lz_session.GeoResolved[4]+"&geo_ctryiso="+lz_session.GeoResolved[5]+"&geo_isp="+lz_session.GeoResolved[6]}a+="&geo_rid="+lz_geo_resolution.Status;a+="&ue="+lz_global_base64_url_encode(lz_global_base64_url_encode(window.location.href));if(lz_geo_resolution.Span>0){a+="&geo_ss="+lz_geo_resolution.Span}}if(lz_request_active!=null){a+="&actreq=1"}if(lz_getp_track.length>0){a+="&"+lz_getp_track}if(lz_overlay_chat_available){a+=lz_chat_poll_parameters()}if(lz_deactivate!=null){a+="&deactr="+lz_global_base64_url_encode(lz_deactivate)}if(lz_init_floating_selector!=null){lz_stopped=false;a+="&ifs=1";if(lz_init_floating_selector[0]){a+="&ifs_oc=MQ_"}if(lz_init_floating_selector[1]){a+="&ifs_opi=MQ_"}if(lz_init_floating_selector[1]){a+="&ifs_pin="+lz_init_floating_selector[2]}if(lz_init_floating_selector[1]){a+="&ifs_pii="+lz_init_floating_selector[3]}if(lz_init_floating_selector[4]){a+="&ifs_opo=MQ_"}if(lz_init_floating_selector[5]){a+="&ifs_ot=MQ_"}if(lz_init_floating_selector[6]){a+="&ifs_okb=MQ_"}a+="&ifs_osf="+lz_init_floating_selector[7];a+="&ifs_ost="+lz_init_floating_selector[8];a+="&ifs_osg="+lz_init_floating_selector[9];if(lz_init_floating_selector[10]){a+="&ifs_cl1="+lz_init_floating_selector[10]}if(lz_init_floating_selector[11]){a+="&ifs_cl2="+lz_init_floating_selector[11]}if(lz_init_floating_selector[12]){a+="&ifs_cl3="+lz_init_floating_selector[12]}a+="&ifs_cht="+lz_init_floating_selector[13];a+="&ifs_add="+lz_global_base64_url_encode(lz_init_floating_selector[14])}if(lz_event_fire_id!=null){a+="&fe="+lz_global_base64_url_encode(lz_event_fire_id);lz_event_fire_id=null;lz_stopped=false}}catch(b){}if(!lz_stopped){lz_tracking_server_request(a,"livezilla_pollscript");clearTimeout(lz_timer);lz_timer=setTimeout("lz_tracking_poll_server();",(lz_poll_frequency*1000))}}function lz_tracking_get_user_upload_value(b,c,a){if(lz_chat_get_input_value(c)==""&&a!=""){return"&"+b+"="+a}return""}function lz_tracking_callback(c){if(lz_poll_frequency!=c){lz_poll_frequency=c;clearTimeout(lz_timer);lz_timer=setTimeout("lz_tracking_poll_server();",(lz_poll_frequency*1000))}if(lz_timer_connection_error!=null){clearTimeout(lz_timer_connection_error)}if(!lz_stopped){lz_timer_connection_error=setTimeout("lz_tracking_callback("+c+");",30*1000)}lz_tracking_remove_script("livezilla_pollscript");if(lz_last_image_reload<(lz_global_timestamp()-lz_poll_frequency)){lz_last_image_reload=lz_global_timestamp();var a=document.getElementsByTagName("a");var d=0;for(var b=0;b/g,lz_floating_button.lzibst_position);if(lz_floating_button.lzibst_position=="00"){e[0]+=(lz_floating_button.lzibst_width+10);e[1]+=30}else{if(lz_floating_button.lzibst_position=="10"){e[0]+=(lz_floating_button.lzibst_width+10)}else{if(lz_floating_button.lzibst_position=="20"){e[0]+=(lz_floating_button.lzibst_width+10);e[3]+=40}else{if(lz_floating_button.lzibst_position=="21"){e[3]+=(lz_floating_button.lzibst_height+10)}else{if(lz_floating_button.lzibst_position=="22"){e[2]+=(lz_floating_button.lzibst_width+14);e[3]+=40}else{if(lz_floating_button.lzibst_position=="12"){e[2]+=(lz_floating_button.lzibst_width+14)}else{if(lz_floating_button.lzibst_position=="02"){e[2]+=(lz_floating_button.lzibst_width+14);e[1]+=30}else{if(lz_floating_button.lzibst_position=="01"){e[1]+=(lz_floating_button.lzibst_height+10)}}}}}}}}lz_floating_button_selector=new lz_livebox("lz_floating_button_selector",d,420,c,e[0],e[1],e[2],e[3],lz_floating_button.lzibst_position,0,0);if(a){lz_floating_button_selector.lz_livebox_shadow(i,h,g,f)}lz_floating_button_selector.lz_livebox_create();lz_floating_button_selector.lz_livebox_show(99997);lz_floating_button_selector.lz_livebox_div.style.borderRadius="5px";lz_floating_button_selector.lz_livebox_div.style.overflow="visible";lz_floating_button_selector.lz_livebox_div.style.background="#FFF";lz_floating_button_selector.lz_livebox_div.style.border="2px solid #e5e5e5";lz_floating_button_selector.lz_livebox_div.style.cursor="default";lz_floating_button_selector.lz_livebox_div.style.visibility="hidden";lz_floating_button_selector.lz_livebox_div.className="lz_fbv2_vis"}}}function lz_tracking_add_overlay_box(q,a,h,e,o,k,g,p,n,i,f,b,c,l,d,t,r,s,m,j){if(lz_request_window==null&&lz_overlay_box==null&&lz_overlays_possible&&lz_overlay_last!=q){lz_overlay_last=lz_overlay_active=q;lz_overlay_box=new lz_livebox("lz_overlay_box",lz_global_base64_decode(a),d,t,f,b,c+20,l,h,e,o);if(k){lz_overlay_box.lz_livebox_shadow(g,p,n,"#"+i)}if(r){lz_overlay_box.lz_livebox_background("#"+s,m)}lz_overlay_box.lz_livebox_create();lz_overlay_box.lz_livebox_show(99999);lz_overlay_box.lz_livebox_div.style.borderRadius=j+"px";if(k){lz_overlay_box.lz_livebox_div.style.background="#FFFFFF"}if(lz_fixed_mode_possible()&&(d>lz_global_get_window_width(true)||t>lz_global_get_window_height()||lz_chat_fixed_mode)){lz_overlay_box.lz_livebox_fixed_mode=true;lz_overlay_box.lz_livebox_div.style.height="auto";lz_overlay_box.lz_livebox_div.style.width="auto";lz_overlay_box.lz_livebox_div.style.borderRadius="0";lz_overlay_box.lz_livebox_div.style.position="fixed";lz_overlay_box.lz_livebox_div.getElementsByTagName("div")[0].style.borderRadius="0";lz_overlay_box.lz_livebox_div.getElementsByTagName("div")[0].style.height="100%";lz_overlay_box.lz_livebox_div.getElementsByTagName("div")[0].style.width="100%";lz_overlay_box.lz_livebox_div.getElementsByTagName("div")[0].style.overflow="scroll"}window.focus()}}function lz_tracking_send_alert(b,a){if(lz_alert_active==null&&lz_overlays_possible){lz_alert_active=b;alert(lz_global_base64_decode(a));lz_alert_active=null;window.focus()}}function lz_tracking_remove_buttons(){for(var a=0;a",(lz_global_base64_decode(b)));lz_request_active=d;lz_request_window=new lz_livebox("lz_request_window",a,g,t,i,e,f,m,c,h,p);if(l){lz_request_window.lz_livebox_shadow(j,q,o,"#"+k)}if(r){lz_request_window.lz_livebox_background("#"+s,n)}if(lz_request_last!=d){lz_request_window.lz_livebox_create();lz_request_window.lz_livebox_show(99999);window.focus()}}}function lz_tracking_add_overlay_chat(k,g,b,c,a,h,i,d,e,f,j){lz_header_text=lz_global_base64_decode(g);if(lz_overlay_chat==null&&lz_overlays_possible){c=Math.min(c,lz_global_get_window_height());b=Math.min(b,lz_global_get_window_width());lz_overlay_chat_height_extended=lz_overlay_chat_height=c;lz_overlay_chat_width=b;lz_session.OVLCPos="";lz_session.OVLCState="0";i=(e=="22")?i+20:i;a=(e=="20")?a+20:a;k=(lz_global_base64_decode(k)).replace("",lz_header_text);c=(lz_session.OVLCState=="1")?c:31;lz_overlay_chat=new lz_livebox("lz_overlay_chat",k,lz_overlay_chat_width,c,a,h,i,d,e,0,6);lz_overlay_chat.lz_livebox_on_move="lz_chat_update_css();";if(!lz_is_mobile){lz_overlay_chat.lz_livebox_preset(lz_session.OVLCPos,false)}lz_overlay_chat.lz_livebox_create()}}function lz_tracking_add_eye_catcher(e,i,y,s,u,k,h,n,f,d,c,p,o,b,l,q,x,g,m,a,v,w){try{if(lz_eye_catcher==null&&lz_overlay_chat!=null&&lz_session.ECH!="1"){n+=lz_overlay_chat.lzibst_margin[3];h=(f=="22")?h+20+(s-i):h;h=(f=="21")?h+((s-i)/2):h;k=(f=="20")?(k+20):k;lz_eye_catcher=new lz_livebox("lz_eye_catcher",lz_global_base64_decode(e),i,y,k,0,h,n,f,0,6);if(!lz_is_mobile){lz_eye_catcher.lz_livebox_preset(lz_session.OVLCPos,false)}lz_eye_catcher.lz_livebox_create();if(lz_ec_type==1){if(d==1){var j=document.getElementById("lz_overlay_eyecatcher_shadow").getContext("2d");lz_tracking_cbubble(j,1,5,(i-p-3),y-25,10,true,c,p,o,b,null,null,null,null,null,false)}var r=document.getElementById("lz_overlay_eyecatcher_bubble").getContext("2d");lz_tracking_cbubble(r,1,5,(i-p-3),y-25,10,false,null,null,null,null,l,q,x,g,m,w)}document.getElementById("lz_eye_catcher").style.cursor="auto";if(lz_session.OVLCState!="1"){if(a>0){setTimeout("lz_fade_in(document.getElementById('lz_overlay_eyecatcher'),55);",a*1000)}else{document.getElementById("lz_overlay_eyecatcher").style.display=""}if(v>0){setTimeout("lz_tracking_remove_eye_catcher(null,null);",v*1000)}}else{document.getElementById("lz_eye_catcher").style.display="none"}}}catch(t){}}function lz_tracking_cbubble(t,q,p,r,d,u,c,b,l,k,a,i,o,v,f,j,w){try{q+=v;r-=v;t.beginPath();t.moveTo(q+u,p);t.lineTo(q+r-u,p);t.quadraticCurveTo(q+r,p,q+r,p+u);t.lineTo(q+r,p+d-u);t.quadraticCurveTo(q+r,p+d,q+r-u,p+d);var n=(r/2)-48;t.lineTo(n+q+60+u,p+d);t.lineTo(n+q+35+u,p+d+15);t.lineTo(n+q+10+u,p+d);t.lineTo(q+u,p+d);t.quadraticCurveTo(q,p+d,q,p+d-u);t.lineTo(q,p+u);t.quadraticCurveTo(q,p,q+u,p);t.closePath();t.save();if(c){t.shadowColor=a;t.shadowBlur=b;t.shadowOffsetX=l;t.shadowOffsetY=k;t.fill()}else{var g=t.createLinearGradient(q,p,0,d);g.addColorStop(0,f);g.addColorStop(1,j);t.fillStyle=g;t.fill();if(w){t.fillStyle=j;t.fillRect(q+(v/2),p+2+(v/2),2,d-(v/2)-5);t.fillRect(q+2+(v/2),p+(v/2),82-(v/2),d-(v/2)-1)}if(v>0){var h=t.createLinearGradient(q,p,0,d);h.addColorStop(0,i);h.addColorStop(1,o);t.strokeStyle=h;t.lineWidth=v}if(v>0){t.stroke()}}}catch(s){}}function lz_tracking_remove_eye_catcher(b,a){if(b!=null){if(b.stopPropagation){b.stopPropagation()}else{b.cancelBubble=true}}if(lz_session!=null&&document.getElementById("lz_overlay_eyecatcher")!=null){lz_session.ECH=1;lz_session.Save();lz_fade_out(document.getElementById("lz_eye_catcher"),25)}}function lz_tracking_remove_overlay_chat(){if(lz_overlay_chat!=null){clearTimeout(lz_chat_invite_timer);clearTimeout(lz_chat_waiting_posts_timer);lz_overlay_chat.lz_livebox_close();lz_overlay_chat=null}lz_tracking_remove_eye_catcher(null,null)}function lz_tracking_geo_failure(){lz_tracking_set_geo_span(lz_geo_error_span);lz_geo_resolution.SetStatus(4);lz_session.GeoResolved=Array("LTUyMg==","LTUyMg==","","","","","");lz_session.Save();lz_tracking_poll_server(1002)}function lz_tracking_init_external_window(a,c,e,b,d){if(b.indexOf("&en=")==-1&&a!=""){b+="&en="+a}if(b.indexOf("&intid=")==-1&&c!=""){b+="&intid="+c}if(b.indexOf("&intgroup=")==-1&&e!=""){b+="&hg=Pw__&intgroup="+e}if(b.indexOf("&dl=")==-1&&d){b+="&dl=MQ__"}b+="&"+lz_getp_chat;void (window.open(lz_poll_server+lz_poll_file_chat+"?a=MQ__"+b.replace("&&","&"),"LiveZilla","width="+lz_window_width+",height="+lz_window_height+",left=50,top=50,resizable=yes,menubar=no,location=no,status=yes,slidebars=no"))}function lz_tracking_deactivate(a,b){lz_deactivate=b;lz_tracking_poll_server(1214);lz_tracking_send_alert("dtr",a)}function lz_tracking_set_widget_visibility(a){if(lz_session.OVLCState!="0"&&!a){return}if(lz_eye_catcher!=null&&lz_overlay_chat!=null){if(a&&!lz_eye_catcher.lz_livebox_shown){lz_eye_catcher.lz_livebox_show(9999)}document.getElementById("lz_eye_catcher").style.display=(a&&lz_session.ECH!=1)?"":"none"}if(lz_overlay_chat!=null){if(a&&!lz_overlay_chat.lz_livebox_shown){lz_overlay_chat.lz_livebox_show(9999);if(lz_session.OVLCState=="1"){lz_chat_change_state(false,true)}lz_chat_set_init();lz_chat_update_css()}document.getElementById("lz_overlay_chat").style.display=(a)?"":"none"}}function lz_tracking_selector_init_callback(b){document.getElementById("lz_fbv2_callback_number").className="x2";var a=document.getElementById("lz_fbv2_callback_number").value;if(a.length<5){setTimeout("document.getElementById('lz_fbv2_callback_number').className = 'lz_anim_input';",200)}else{lz_tracking_init_external_window("","","","&t=Y2FsbGJhY2s_&cmb=MQ__&dl=MQ__"+b+"&ep="+lz_global_base64_url_encode(a),true);lz_tracking_init_floating_button_selector(null)}}function lz_tracking_add_tag(_html){var container=document.createElement("div");container.innerHTML=lz_global_base64_decode(_html);document.body.appendChild(container);var arr=container.getElementsByTagName("script");for(var n=0;n100){clearInterval(lz_chat_resize_interval);lz_chat_resize_interval=null}if(g>f){document.getElementById(c).style.height=f+"px";return}if(g0){d=(lz_desired_operator!=null)?lz_global_base64_url_encode(lz_desired_operator):""}var g="";var c=(lz_chat_get_input_value(114)!="")?lz_global_base64_url_encode(lz_chat_get_input_value(114)):lz_global_base64_url_encode(lz_last_post);if(lz_chat_data.InputFieldValues!=null){for(var e=0;e0&&!lz_chat_botmode&&!b){g+="&dl=MQ__&acid="+lz_global_base64_url_encode(lz_chat_id)+"&i="+lz_global_base64_url_encode(lz_session.UserId);lz_tracking_poll_server(1111)}else{g+="&mp=MQ_";if(document.getElementById("lz_chat_invite_id")!=null){lz_chat_decline_request(lz_request_active=document.getElementById("lz_chat_invite_id").value,false,false,true)}}if(c.length>0){g+="&eq="+c}if(a){g+="&t="+lz_global_base64_url_encode("kb")}else{if(b){g+="&t="+lz_global_base64_url_encode("ticket")}}g+="&epc="+lz_global_base64_url_encode(lz_color);lz_chat_change_state(true,true);lz_tracking_init_external_window("",d,f,g,false)}function lz_chat_switch_details(a){if(!a&&lz_mode_change_details){if(lz_chat_data.CurrentApplication=="chat"){lz_chat_change_data=true;lz_tracking_poll_server(1112)}}lz_mode_change_details=!lz_mode_change_details;lz_chat_prepare_data_form();lz_chat_set_focus(1)}function lz_chat_update_name(c){var a=lz_chat_get_input_value(111);if(lz_global_trim(a)==""){a=lz_guest_name}for(var b=0;b0)){c=(b)?(c+0.1):(c-0.1);if(!b&&c<0.2){c=0}document.getElementById("lz_chat_overlay_options_box").style.opacity=c;if(c<0.9){document.getElementById("lz_chat_overlay_options_box_bg").style.opacity=c}setTimeout("lz_chat_fade_options("+((b)?"true":"false")+");",20)}else{if(!b){document.getElementById("lz_chat_overlay_options_box_bg").style.display=(b)?"":"none";document.getElementById("lz_chat_overlay_options_box").style.display=(b)?"":"none";document.getElementById("lz_chat_overlay_options_frame").style.display="none";lz_chat_set_focus(2)}}}catch(a){}}function lz_chat_init_data_change(b){var a=lz_chat_get_input_value(111);if(b==null){b=lz_chat_get_input_value(112)}if(lz_chat_data.InputFieldIndices!=null){lz_chat_get_input(111).ChangeDataTo=a;lz_chat_get_input(112).ChangeDataTo=b;lz_chat_save_input_value(112,b);lz_chat_save_input_value(111,a)}lz_chat_change_data=true}function lz_chat_play_sound(a){if(lz_sound_available&&document.getElementById("lz_chat_overlay_options_sound").checked){if(lz_sound_player==null){lz_sound_player=new Audio(lz_poll_server+"sound/"+a+"."+lz_sound_format)}lz_sound_player.play()}}function lz_chat_set_talk_to_human(a,b){lz_chat_input_bot_state(false,false);lz_chat_talk_to_human=a;if(b&&a&&!lz_chat_delined){lz_tracking_poll_server(1119);lz_chat_set_focus(13)}}function lz_chat_input_bot_state(b,a){lz_chat_botmode=b;document.getElementById("lz_chat_text").style.display=(a)?"none":"";document.getElementById("lz_chat_bot_reply_loading").style.display=(!a||!b)?"none":"";if(b&&!a){setTimeout("lz_chat_set_focus(11);",200)}}function lz_chat_message(e,b){if(!lz_chat_change_data&&lz_chat_status==0){lz_chat_change_data=true}lz_closed=false;var d=(e==null)?lz_global_trim(document.getElementById("lz_chat_text").value):e;if(d.length>0&&lz_chat_botmode){lz_chat_input_bot_state(true,true)}var g=(lz_session.TransInto!=""&&lz_session.TransInto!=null)?lz_session.TransInto:"";if(lz_tr_api_key!=""&&g!=""&&lz_session.TransFrom!=null&&lz_session.TransFrom!=""&&lz_session.TransFrom.toUpperCase()!=g.toUpperCase()&&e==null){var i=document.createElement("script");i.type="text/javascript";window.doneTranslateCallback=function c(k){if(k.data!=null){lz_chat_message(d,k.data.translations[0].translatedText);window.doneTranslateCallback=null}else{alert("Sorry, there was an error while trying to translate:\r\n"+JSON.stringify(k));lz_chat_message(d,null)}};var a="https://www.googleapis.com/language/translate/v2?key="+lz_global_base64_decode(lz_tr_api_key)+"&format=html&source="+lz_session.TransFrom+"&target="+g+"&callback=doneTranslateCallback&q="+d;i.src=a;document.getElementsByTagName("head")[0].appendChild(i);document.getElementById("lz_chat_text").value="";return false}if(d.length>0){if(document.getElementById("lz_chat_invite_id")!=null&&lz_chat_status==0){lz_chat_decline_request(lz_request_active=document.getElementById("lz_chat_invite_id").value,true,false,true);if(d.length>document.getElementsByName("form_114")[0].value.length){document.getElementsByName("form_114")[0].value=d}lz_chat_start();return false}var f="";var j=new lz_chat_post();if(b!=null){j.MessageTranslationText=b;f=lz_global_htmlentities(j.MessageTranslationText)+"
"+lz_global_htmlentities(d)+"
"}else{f=lz_global_htmlentities(d)}j.MessageText=d;j.MessageId=lz_global_microstamp();j.MessageTime=lz_global_timestamp();lz_external.MessagesSent[lz_external.MessagesSent.length]=j;document.getElementById("lz_chat_text").value="";if(lz_operator==null){lz_chat_set_connecting(true,null,false)}var h=(lz_chat_last_poster!=lz_external.Id)?lz_global_base64_decode(lz_post_html):lz_global_base64_decode(lz_add_html);h=h.replace("",f);h=h.replace("",lz_global_timestamp());h=h.replace("",(lz_chat_get_input_value(111).length==0)?lz_guest_name:lz_global_htmlentities(lz_chat_get_input_value(111)));lz_chat_add_html_element(lz_global_base64_encode(h),false,null,null,lz_global_base64_encode(lz_external.Id),null);lz_tracking_poll_server(1114);lz_chat_set_focus(6)}return false}function lz_chat_set_group(a){lz_desired_group=lz_global_base64_decode(a);if(lz_chat_data.Groups!=null){lz_chat_data.SelectedGroup=lz_chat_data.Groups.GetGroupById(lz_desired_group);lz_chat_data.Groups.SelectGroupById(lz_chat_data.SelectedGroup.Id,document.getElementById("lz_form_groups"))}}function lz_chat_set_host(e,i,b,f,h,g,c,a,d){if(lz_overlay_chat!=null){lz_chat_id=lz_global_base64_decode(i);if(g!=null&&lz_session.TransInto==""){lz_session.TransInto=lz_global_base64_decode(g);lz_session.Save()}if(e!=null){if(!lz_chat_botmode){lz_chat_set_state_bar(true)}lz_operator=new lz_chat_operator();lz_operator.Id=lz_global_base64_decode(e);lz_operator.Group=lz_global_base64_decode(b);lz_operator.Fullname=lz_global_base64_decode(a);lz_desired_operator=lz_global_base64_decode(h)}else{lz_chat_set_state_bar(false);lz_desired_operator=null;lz_external.MessagesSent=new Array();lz_operator=null}document.getElementById("lz_cf_so").style.display=(d!=null&&d[1]==0)?"none":"block";document.getElementById("lz_cf_pr").style.display=(d!=null&&d[2]==0)?"none":"block";document.getElementById("lz_cf_fu").style.display=(d!=null&&d[5]==0)?"none":"block";document.getElementById("lz_chat_feedback_init").style.display=(d!=null&&d[3]==0)?"none":"block";if(d!=null&&d[1]==0){lz_sound_available=false}if(c!=null){document.getElementById("lz_chat_state_image").style.backgroundImage="url('"+lz_global_base64_decode(c)+"')"}document.getElementById("lz_chat_operator_fullname").innerHTML=(lz_operator!=null)?lz_operator.Fullname:"";document.getElementById("lz_chat_operator_groupname").innerHTML=(lz_operator!=null)?lz_global_base64_decode(f):""}}function lz_chat_set_state_bar(a){if(lz_overlay_chat!=null){if(a){document.getElementById("lz_chat_content_box").style.top="87px";document.getElementById("lz_chat_state_bar").style.display="block"}else{document.getElementById("lz_chat_content_box").style.top="6px";document.getElementById("lz_chat_state_bar").style.display="none"}}}function lz_chat_close(){lz_chat_logged_in=false;lz_leave_chat=true;lz_chat_set_state_bar(false);lz_tracking_poll_server(1120)}function lz_chat_print(){var a=lz_poll_server+"print.php?c="+lz_global_base64_url_encode(lz_chat_id)+"&b="+lz_global_base64_url_encode(lz_session.UserId+"_OVL")+"&i="+lz_global_base64_url_encode(lz_session.UserId)+"&r="+Math.random().toString();void (window.open(a,"LiveZilla","width=400,height=600,left=50,top=50,resizable=yes,menubar=no,location=no,status=yes,slidebars=no"))}function lz_chat_set_typing(b,a){if(lz_overlay_chat!=null){var c=false;if(lz_chat_connecting){if(!a&&lz_timer_connecting!=null){return}if(document.getElementById("lz_chat_overlay_info").innerHTML.length==0){c=true;document.getElementById("lz_chat_overlay_info").innerHTML=lz_text_connecting_info}else{document.getElementById("lz_chat_overlay_info").innerHTML=""}lz_timer_connecting=setTimeout("lz_chat_set_typing('',true);",700)}else{if(lz_timer_connecting!=null){clearTimeout(lz_timer_connecting)}lz_timer_connecting=null;c=b!=null;document.getElementById("lz_chat_overlay_typing_info").innerHTML=(b!=null)?lz_global_base64_decode(b):""}document.getElementById("lz_chat_content_box").style.bottom=(lz_chat_connecting)?"102px":"80px";document.getElementById("lz_chat_overlay_info").className=(c)?"lz_con_inf":"";document.getElementById("lz_chat_overlay_loading_bar").style.display=(lz_chat_connecting)?"block":"none";document.getElementById("lz_chat_overlay_info").style.display=(lz_chat_connecting)?"block":"none"}}function lz_chat_switch_extern_typing(b){var a=(b!=lz_external.Typing);if(b){if(lz_timer_typing!=null){clearTimeout(lz_timer_typing)}lz_timer_typing=setTimeout("lz_chat_switch_extern_typing(false);",5000)}lz_external.Typing=b;if(a&&lz_operator!=null){lz_tracking_poll_server(1115)}}function lz_chat_show_waiting_message(a){if(lz_chat_status<2){lz_chat_add_html_element(a,false,null,null,"sys",null)}}function lz_chat_set_connecting(d,c,a,b,e){if(c!=null){lz_external.Id=c}if(d&&lz_chat_data.TimerWaiting==null&&b!=null){lz_chat_data.TimerWaiting=setTimeout("lz_chat_show_waiting_message('"+b+"');",e*1000)}else{if(!d&&lz_chat_data.TimerWaiting!=null){clearTimeout(lz_chat_data.TimerWaiting);lz_chat_data.TimerWaiting=null}}lz_chat_connecting=d;if(d){lz_chat_set_typing(null,false)}if(document.getElementById("lz_chat_apo")!=null){document.getElementById("lz_chat_apo").style.visibility=(a)?"hidden":"visible"}}function lz_chat_set_last_post(a){lz_last_post=lz_global_base64_decode(a)}function lz_chat_require_leave_message(){lz_ticket_when_online=true;if(lz_chat_handle_ticket_forward(true)){return}lz_mode_create_ticket=true;lz_chat_close();if(document.getElementById("lz_chat_text").value.length>0&&document.getElementsByName("form_114")[0].value.length==0){document.getElementsByName("form_114")[0].value=document.getElementById("lz_chat_text").value}else{if(lz_last_post.length>0&&document.getElementsByName("form_114")[0].value.length==0){document.getElementsByName("form_114")[0].value=lz_last_post}}lz_chat_prepare_data_form();lz_chat_set_focus(65)}function lz_chat_message_return(){lz_mode_create_ticket=false;if(!lz_chat_delined){lz_chat_set_application(true,lz_chat_botmode)}}function lz_chat_prepare_data_form(){lz_chat_set_input_fields();if(lz_chat_data.SelectedGroup==null){return}var a=lz_chat_data.CurrentApplication=="chat"&&(lz_chat_data.SelectedGroup.Amount>0||lz_mode_change_details);var c=lz_mode_change_details||(!lz_ticket_when_online&&lz_chat_data.CurrentApplication=="chat"&&lz_chat_data.SelectedGroup.Amount>0);document.getElementById("lz_chat_overlay_data_form_cancel_button").style.display=(a)?"":"none";document.getElementById("lz_chat_overlay_data_form_cancel_button").innerHTML=(lz_chat_data.CurrentApplication=="chat"&&lz_mode_change_details)?lz_text_save:(lz_chat_status>0)?lz_text_back:lz_text_start_chat;document.getElementById("lz_chat_overlay_data_form_ok_button").style.display=(c)?"none":"";document.getElementById("lz_chat_overlay_data_form_ok_button").className=(true)?"lz_chat_overlay_options_box_base lz_overlay_chat_button unselectable":"lz_chat_overlay_options_box_base lz_overlay_chat_button lz_overlay_light_button unselectable";document.getElementById("lz_chat_data_form_header_title").innerHTML=(lz_chat_data.CurrentApplication=="chat"&&lz_chat_data.SelectedGroup.Amount>0)?lz_text_chat_header:lz_text_ticket_header;document.getElementById("lz_chat_data_form_header_text").innerHTML=(lz_chat_data.CurrentApplication=="chat"&&!lz_mode_create_ticket&&lz_chat_data.SelectedGroup.Amount>0)?((lz_mode_change_details&&!lz_mode_create_ticket)?"":lz_text_chat_information):lz_text_ticket_information;document.getElementById("lz_chat_data_form_header_title").className=(lz_chat_data.CurrentApplication=="chat"&&lz_chat_data.SelectedGroup.Amount>0)?"lz_chat_status_online":"lz_chat_status_offline";document.getElementById("lz_chat_data_form_header_text").style.display=(lz_chat_data.CurrentApplication=="ticket"||lz_mode_create_ticket||!lz_mode_change_details)?"":"none";document.getElementById("lz_chat_data_form_header_title").style.display=(lz_chat_data.CurrentApplication=="ticket"||lz_mode_create_ticket||!lz_mode_change_details)?"":"none";document.getElementById("lz_chat_data_header").style.visibility=(lz_chat_data.CurrentApplication=="ticket"||lz_mode_create_ticket||!lz_mode_change_details)?"visible":"hidden";document.getElementById("lz_chat_overlay_ticket").style.display=(lz_mode_ticket_feedback)?"":"none";document.getElementById("lz_chat_content_box").style.display=(lz_chat_data.CurrentApplication=="chat")?"":"none";document.getElementById("lz_chat_data_form").style.display=(document.getElementById("lz_chat_invite_id")==null&&!lz_mode_ticket_feedback&&(lz_chat_data.CurrentApplication!="chat"||lz_mode_create_ticket||lz_mode_change_details||(lz_mode_chat_login&&lz_chat_status==0&&!lz_chat_logged_in)))?"":"none";document.getElementById("lz_chat_ticket_received").style.display=(lz_mode_ticket_feedback&&!lz_flood)?"":"none";document.getElementById("lz_chat_text").disabled=(document.getElementById("lz_chat_data_form").style.display!="none");document.getElementById("lz_chat_overlay_data_form_cancel_button").style.backgroundImage=(!lz_mode_change_details)?"url('"+lz_poll_server+"templates/overlays/chat/images/icon_chat.png')":"";document.getElementById("lz_chat_overlay_data_form_ok_button").style.backgroundImage=(true)?"url('"+lz_poll_server+"templates/overlays/chat/images/icon_ticket.png')":"";if(lz_text_ticket_information==document.getElementById("lz_chat_data_form_header_text").innerHTML&&lz_chat_data.SelectedGroup!=null&&lz_chat_data.SelectedGroup.TicketInformation.length>0){document.getElementById("lz_chat_data_form_header_text").innerHTML+="
"+lz_chat_data.SelectedGroup.TicketInformation}if(lz_text_chat_header==document.getElementById("lz_chat_data_form_header_text").innerHTML&&lz_chat_data.SelectedGroup!=null&&lz_chat_data.SelectedGroup.ChatInformation.length>0){document.getElementById("lz_chat_data_form_header_text").innerHTML+="
"+lz_chat_data.SelectedGroup.ChatInformation}var b="";if(lz_chat_data.CurrentApplication=="chat"&&lz_chat_botmode&&lz_header_bot_text!=""&&!lz_mode_chat_login&&!lz_mode_create_ticket){b=lz_header_bot_text}else{b=(lz_chat_data.CurrentApplication=="chat"&&(lz_chat_data.SelectedGroup.Amount>0||lz_chat_status>0))?lz_header_online:lz_header_offline}document.getElementById("lz_chat_overlay_text").innerHTML=lz_global_base64_decode(b)}function lz_chat_data_form_result(a){document.getElementById("lz_form_mandatory").style.display="none";if(a){lz_check_missing_inputs(false);lz_chat_send_ticket()}else{if(lz_mode_ticket_feedback){lz_mode_create_ticket=true;lz_mode_ticket_feedback=false;lz_chat_prepare_data_form();lz_chat_set_focus(7)}else{if(lz_mode_change_details){lz_chat_switch_details(false)}else{if(lz_chat_data.CurrentApplication=="chat"){lz_chat_start()}}}}}function lz_chat_start(){lz_mode_create_ticket=false;if(lz_chat_status>0||(lz_chat_status==0&&lz_check_missing_inputs(true,"lz_chat_start"))){lz_chat_change_data=true;lz_chat_loading(false);if(document.getElementsByName("form_114")[0].value.length>0&&lz_chat_status==0){document.getElementById("lz_chat_text").value=document.getElementsByName("form_114")[0].value;lz_chat_message(null,null);document.getElementById("lz_chat_text").value=""}lz_chat_logged_in=true}lz_chat_prepare_data_form();lz_chat_set_focus(8)}function lz_chat_set_application(c,b,f,g,a,e){if(lz_overlay_chat!=null){var d=(lz_chat_data.CurrentApplication=="chat");lz_chat_status=a;lz_chat_delined=e;lz_chat_human_available=f;if(lz_operator!=null||lz_chat_connecting){c=true}if(lz_mode_change_details&&c!=d){lz_chat_switch_details(true)}if(!d&&c&&document.getElementsByName("form_114")[0].value.length>0){lz_mode_create_ticket=true}else{if(!c&&document.getElementById("lz_chat_text").value.length>0&&document.getElementsByName("form_114")[0].value.length==0){document.getElementsByName("form_114")[0].value=document.getElementById("lz_chat_text").value}}if(!lz_chat_delined&&!lz_mode_create_ticket&&lz_chat_data.SelectedGroup!=null&&lz_chat_data.SelectedGroup.Amount>0){c=true}lz_chat_change_widget_application(c);if(g!=""){lz_header_bot_text=g}if(lz_eye_catcher!=null){if(lz_ec_type==2&&document.getElementById("lz_ec_image")!=null){document.getElementById("lz_ec_image").src=lz_global_base64_url_decode(((c)?lz_ec_image:lz_ec_o_image))}else{if(lz_ec_type==1){document.getElementById("lz_ec_header_text").innerHTML=lz_global_base64_url_decode((c)?lz_ec_header:lz_ec_o_header);document.getElementById("lz_ec_sub_header_text").innerHTML=lz_global_base64_url_decode((c)?lz_ec_sub_header:lz_ec_o_sub_header)}}}if(!c&&document.getElementById("lz_chat_queued_posts")!=null){document.getElementById("lz_chat_content_box").removeChild(document.getElementById("lz_chat_queued_posts"))}lz_chat_data.CurrentApplication=(c)?"chat":"ticket";document.getElementById("lz_chat_overlay_icon").style.backgroundImage=(c)?"url('"+lz_poll_server+"templates/overlays/chat/images/icon_chat.png')":"url('"+lz_poll_server+"templates/overlays/chat/images/icon_ticket.png')";lz_chat_prepare_data_form();if(d!=c||lz_is_mobile){lz_chat_set_element_width()}if(d!=c){lz_chat_scoll_down()}}}function lz_chat_poll_parameters(){var c="";if(lz_operator!=null){c+="&op="+lz_global_base64_url_encode(lz_operator.Id)}if(lz_external.Typing){c+="&typ=1"}if(lz_chat_full_load&&!lz_chat_delined){c+="&full=1"}if(lz_closed||lz_leave_chat){c+="&clch=MQ__"}if(lz_popped_out){c+="&po=MQ__"}if(lz_chat_init_feedback){lz_chat_init_feedback=false;c+="&ovlif=MQ__"}if(lz_chat_kb_search_phrase!=""){c+="&skb="+lz_global_base64_url_encode(lz_chat_kb_search_phrase)}if(lz_chat_status_change){c+="&sc=1"}if(lz_chat_talk_to_human&&!lz_chat_delined){c+="&tth=MQ__"}if(lz_force_monitoring){c+="&fm=MQ__"}if(lz_chat_data.SelectedGroup!=null){c+="&eg="+lz_global_base64_url_encode(lz_chat_data.SelectedGroup.Id)}if(lz_chat_logged_in&&lz_chat_status==0){lz_chat_change_data=true}if(lz_chat_change_data&&lz_chat_data.InputFieldValues!=null){for(var a=0;aa){b.value=b.value.substring(0,a)}}function lz_chat_release_post(b){newMessageList=new Array();for(var a in lz_external.MessagesSent){if(lz_external.MessagesSent[a].MessageId==b){lz_external.MessagesSent[a].Received=true}}}function lz_chat_update_waiting_posts(b,a){if(b>-1&&lz_session.OVLCWM!=b){lz_session.OVLCWM=b;lz_session.Save()}document.getElementById("lz_chat_waiting_messages").style.display=document.getElementById("lz_chat_waiting_message_count").style.display=(!lz_chat_state_expanded&&lz_session.OVLCWM>0)?"":"none";document.getElementById("lz_chat_waiting_message_count").innerHTML=" "+lz_session.OVLCWM+" "}function lz_global_replace_smilies(d){var b=new Array(/:-\)/g,/::smile/g,/:\)/g,/:-\(/g,/::sad/g,/:\(/g,/:-]/g,/::lol/g,/;-\)/g,/::wink/g,/;\)/g,/:'-\(/g,/::cry/g,/:-O/g,/::shocked/g,/:-\\\\/g,/::sick/g,/:-p/g,/::tongue/g,/:-P/g,/:\?/g,/::question/g,/8-\)/g,/::cool/g,/zzZZ/g,/::sleep/g,/:-\|/g,/::neutral/g);var a=new Array("smile","smile","smile","sad","sad","sad","lol","lol","wink","wink","wink","cry","cry","shocked","shocked","sick","sick","tongue","tongue","tongue","question","question","cool","cool","sleep","sleep","neutral","neutral");for(var c=0;c ")}return d}function lz_chat_add_html_element(e,d,g,c,h,f,a){if(a!=null){lz_chat_update_waiting_posts((a==-1)?0:(lz_session.OVLCWM+parseInt(a)),false)}if(e!=null){if(lz_chat_full_load&&d){lz_chat_full_load=false}if(f!=null&&lz_global_base64_decode(f)!=lz_chat_last_poster&&lz_chat_last_poster!=null){lz_tracking_poll_server(1117);return}if(g!=null&&lz_chat_last_post_received!=lz_global_base64_decode(g)){lz_chat_last_post_received=lz_global_base64_decode(g)}if(c!=null&&lz_chat_last_message_received!=lz_global_base64_decode(c)){lz_chat_last_message_received=lz_global_base64_decode(c)}if(h!=null&&e!=null&&lz_chat_last_poster!=lz_global_base64_decode(h)){lz_chat_last_poster=lz_global_base64_decode(h)}var b=document.createElement("div");document.getElementById("lz_chat_content_inlay").appendChild(b);b.innerHTML=lz_global_replace_smilies(lz_global_base64_decode(e),true);lz_update_chat_area();lz_chat_replace_time()}}function lz_update_chat_area(){lz_chat_set_element_width();lz_chat_set_typing(null,false);var a=document.getElementById("xspacer");if(a!=null){document.getElementById("lz_chat_content_box").removeChild(a)}else{a=document.createElement("div")}a.style.height=a.style.lineHeight="8px";a.id="xspacer";document.getElementById("lz_chat_content_box").appendChild(a);lz_chat_scoll_down()}function lz_chat_post(){this.MessageText="";this.MessageTranslationText="";this.MessageId="";this.MessageTime=0;this.Received=false}function lz_chat_operator(){this.Id="";this.Fullname="";this.Available=false;this.Group="";this.Language="en"}function lz_chat_external_user(){this.Id="";this.Username="";this.Email="";this.Company="";this.Question="";this.Typing=false;this.MessagesSent=new Array();this.MessagesReceived=new Array()}function lz_chat_detect_sound(){var a=document.createElement("audio");var b=!!(a.canPlayType&&a.canPlayType('audio/ogg; codecs="vorbis"').replace(/no/,""));var c=!!(a.canPlayType&&a.canPlayType("audio/mpeg;").replace(/no/,""));lz_sound_available=(b||c);lz_sound_format=(b)?"ogg":"mp3"}function lz_chat_decline_request(c,a,e,b){if(b==null){b=false}var d=document.getElementById(c);if(d!=null&&d.style.display!="none"){if(!a){lz_request_active=c;lz_tracking_action_result("chat_request",b,false,lz_chat_poll_parameters())}d.parentNode.removeChild(d);if(e&&lz_chat_state_expanded&&lz_chat_id.length==0&&lz_external.MessagesSent.length==0){lz_chat_change_state(true,true)}lz_chat_set_element_width()}}function lz_chat_mail_callback(a){lz_chat_loading(false);lz_mode_ticket_feedback=true;document.getElementById("lz_chat_ticket_received").style.display=(a)?"":"none";document.getElementById("lz_chat_ticket_flood").style.display=(!a)?"":"none";if(a){document.getElementsByName("form_114")[0].value="";lz_ticket=null}else{lz_flood=true}lz_chat_prepare_data_form()}function lz_chat_send_ticket(){lz_chat_save_input_value(114,document.getElementsByName("form_114")[0].value);if(!lz_chat_handle_ticket_forward(true)){if(lz_check_missing_inputs(true,"lz_chat_send_ticket")){lz_chat_loading(true);lz_ticket=lz_global_timestamp();lz_chat_change_data=true;setTimeout("lz_tracking_poll_server(1116);",500)}}}function lz_chat_loading(a){var b=(a!=(document.getElementById("lz_chat_overlay_loading").style.display==""));document.getElementById("lz_chat_overlay_loading").style.display=(a)?"":"none";if(b){if(a){lz_chat_unset_focus()}else{lz_chat_set_focus(43)}}}function lz_check_missing_inputs(h,k){var o=false;var b=(lz_chat_data.CurrentApplication=="chat"&&!lz_mode_create_ticket)?lz_chat_data.SelectedGroup.ChatInputsMandatory:lz_chat_data.SelectedGroup.TicketInputsMandatory;var d=(lz_chat_data.CurrentApplication=="chat"&&!lz_mode_create_ticket)?lz_chat_data.SelectedGroup.ChatInputsHidden:lz_chat_data.SelectedGroup.TicketInputsHidden;var c=lz_is_placeholder_support();for(var e=0;e0;if(!c&&j&&lz_chat_data.InputFieldValues[e].Type!="CheckBox"&&lz_global_trim(document.getElementsByName("form_"+n)[0].value)==document.getElementById("lz_form_ph_"+n).value){j=false}var g=(n==115&&lz_chat_data.SelectedGroup.ChatVouchersRequired.length>0&&lz_chat_data.CurrentApplication=="chat");var l=(lz_array_indexOf(d,n)==-1&&(lz_array_indexOf(b,n)!=-1||lz_chat_data.InputFieldValues[e].Validation));var a=(n==116&&lz_chat_data.CallMeBackMode);var f=(n==114&&k=="lz_chat_send_ticket");if(((g||l)||a||f)&&!j){if(h){document.getElementById("lz_form_mandatory_"+n).className="lz_input_icon lz_required";document.getElementById("lz_form_mandatory_"+n).style.display=""}o=true}else{if(h){if(document.getElementById("lz_form_info_"+n).innerHTML.length>0){document.getElementById("lz_form_mandatory_"+n).className="lz_input_icon lz_info";document.getElementById("lz_form_mandatory_"+n).style.display=""}else{document.getElementById("lz_form_mandatory_"+n).style.display="none"}}}}}var m=lz_chat_data.Groups.GetGroupById(document.getElementById("lz_form_groups").value);document.getElementById("lz_form_mandatory_group").className="lz_input_icon lz_required";document.getElementById("lz_form_mandatory_group").style.display=(m==null&&h)?"":"none";if(m==null){o=true}if(o){if(h){document.getElementById("lz_form_mandatory").style.display=""}return false}else{if(k!=null){return lz_validate_inputs(k,d)}else{return true}}}function lz_validate_inputs(c,a){lz_chat_data.ValidationRequired=false;for(var b=0;bdocument.getElementById("lz_chat_content_box").clientHeight)?(b-18+"px"):(b-3+"px")}}}function lz_chat_set_translation(c,d,a){if(lz_overlay_chat!=null){if(a!=null){a=lz_global_base64_decode(a).toLowerCase();a=(a.length==0)?null:a}if(d!=null){d=lz_global_base64_decode(d).toLowerCase();d=(d.length==0)?null:d}if(c!=null&&lz_session.TransSID!=c){if(c!=null){lz_session.TransSID=c}if(a!=null){lz_session.TransInto=a}else{lz_session.TransInto=""}if(d!=null){lz_session.TransFrom=d}else{lz_session.TransFrom=""}document.getElementById("lz_chat_overlay_options_trans").checked=(a!=null)}document.getElementById("lz_chat_overlay_options_trans").checked=lz_session.TransFrom!="";for(var b=0;b0&&!(lz_chat_data.ForceGroupSelect&&!lz_chat_data.ForceSelectMade)){lz_chat_data.SelectedGroup=lz_chat_data.Groups.GetGroupById(e);lz_chat_data.Groups.SelectGroupById(lz_chat_data.SelectedGroup.Id,document.getElementById("lz_form_groups"))}lz_chat_change_group(document.getElementById("lz_form_groups"))}catch(b){}}function lz_chat_data_box(){this.CallMeBackMode=false;this.InputFieldIndices=null;this.InputFieldValues=null;this.CurrentApplication="chat";this.SelectedGroup=null;this.Groups=null;this.ForceSelectInit=false;this.ForceSelectMade=false;this.ForceGroupSelect=false;this.QueueMessageAppended=false;this.TimerWaiting=null}function lz_chat_show_info_box(b,a){var c=document.getElementById("lz_form_info_"+b);c.style.display=(a&&c.style.display!="block")?"block":"none";c.style.left="10px"}function lz_chat_set_input_fields(){try{if(lz_chat_data.InputFieldIndices!=null&&lz_chat_data.SelectedGroup!=null){var c=false;var e=false;var d=false;var k=(lz_chat_data.CurrentApplication!="ticket"&&!lz_mode_create_ticket&&lz_chat_data.SelectedGroup.Amount>0);var h=(k)?lz_chat_data.SelectedGroup.ChatInputsHidden:lz_chat_data.SelectedGroup.TicketInputsHidden;var f=(k)?lz_chat_data.SelectedGroup.ChatInputsMandatory:lz_chat_data.SelectedGroup.TicketInputsMandatory;var b=(lz_chat_data.CurrentApplication!="ticket");var g=lz_is_placeholder_support();for(var j=0;j-1)||(lz_chat_data.ForceGroupSelect&&!lz_chat_data.ForceSelectMade&&lz_chat_data.InputFieldValues[j].IsHiddenGeneral(lz_chat_data.Groups.Groups,k)));if(lz_chat_data.CurrentApplication=="chat"&&lz_mode_change_details&&m==114){d=true}if(lz_chat_data.InputFieldValues[j].Type=="File"){d=true;c=((lz_chat_data.CurrentApplication!="chat"||!k)&&!lz_mode_change_details)}document.getElementById("lz_form_"+m).className=(m==116&&lz_chat_data.CallMeBackMode)?"lz_input lz_input_com":document.getElementById("lz_form_"+m).className;document.getElementById("lz_form_"+m).style.display=(d)?"none":"";document.getElementById("lz_form_"+m).style.display=(m==115)?((e)?"":"none"):document.getElementById("lz_form_"+m).style.display;document.getElementById("lz_form_"+m).style.display=(m==116&&lz_chat_data.CallMeBackMode)?"":document.getElementById("lz_form_"+m).style.display;if(document.getElementById("lz_form_info_"+m).innerHTML.length>0&&!lz_mode_change_details){if(document.getElementById("lz_form_mandatory_"+m).className.indexOf("lz_required")==-1){document.getElementById("lz_form_mandatory_"+m).className="lz_input_icon lz_info"}document.getElementById("lz_form_mandatory_"+m).style.cursor="pointer";document.getElementById("lz_form_mandatory_"+m).style.display="";document.getElementById("lz_form_mandatory_"+m).onmouseover=new Function("lz_chat_show_info_box('"+m.toString()+"',true);");document.getElementById("lz_form_mandatory_"+m).onmouseout=new Function("lz_chat_show_info_box('"+m.toString()+"',false);");document.getElementById("lz_form_mandatory_"+m).onclick=new Function("lz_chat_show_info_box('"+m.toString()+"',true);");document.getElementById("lz_form_info_"+m).onclick=new Function("lz_chat_show_info_box('"+m.toString()+"',false);")}else{if(lz_mode_change_details){document.getElementById("lz_form_mandatory_"+m).style.display="none"}}document.getElementsByName("form_"+m)[0].disabled=lz_mode_change_details&&lz_chat_data.InputFieldValues[j].Validation}else{document.getElementById("lz_form_"+m).style.display="none"}if(lz_chat_data.InputFieldValues[j].Active){if(lz_array_indexOf(f,m)!=-1||(lz_chat_data.InputFieldValues[j].Validation&&lz_array_indexOf(h,m)==-1)){if(!lz_mode_chat_login){lz_mode_chat_login=lz_chat_human_available&&!lz_chat_botmode}b=true}if(!g&&(lz_chat_data.InputFieldValues[j].Type=="Text"||lz_chat_data.InputFieldValues[j].Type=="TextArea")){if(document.getElementsByName("form_"+m)[0].value==""){document.getElementsByName("form_"+m)[0].value=document.getElementById("lz_form_ph_"+m).value;document.getElementsByName("form_"+m)[0].style.color="#BBB"}document.getElementsByName("form_"+m)[0].onfocus=new Function("if (this.value == '"+document.getElementById("lz_form_ph_"+m).value+"') {this.value = ''; this.style.color='#333'}");document.getElementsByName("form_"+m)[0].onblur=new Function("if (this.value == '') {this.value = '"+document.getElementById("lz_form_ph_"+m).value+"'; this.style.color='#BBB'}")}}}var a=((lz_chat_data.CurrentApplication=="chat"&&(lz_mode_change_details||lz_hide_group_chat))||(lz_chat_data.CurrentApplication=="ticket"&&lz_hide_group_ticket));document.getElementById("lz_group_selection_box").style.display=a?"none":"";document.getElementById("lz_chat_file_po").style.display=c?"":"none"}if(!lz_mode_chat_login&&lz_force_group_select){lz_mode_chat_login=true}}catch(l){}}function lz_chat_load_input_values(a){for(var c=0;ca){d.selectedIndex=a}if(c!=e){if(lz_mode_chat_login&&lz_chat_data.SelectedGroup.Amount==0&&lz_chat_data.CurrentApplication=="chat"){lz_chat_data.CurrentApplication="ticket"}else{if(!lz_chat_delined&&lz_chat_data.SelectedGroup.Amount>0&&lz_chat_data.CurrentApplication=="ticket"){lz_chat_data.CurrentApplication="chat"}}lz_chat_prepare_data_form();lz_chat_set_focus(9)}d.style.color=d.childNodes[d.selectedIndex].style.color;d.style.background=d.childNodes[d.selectedIndex].style.background}}function lz_chat_show_queue_position(a,c,b){if(!lz_chat_data.QueueMessageAppended){var d=lz_global_base64_decode(b).replace("","-1");d=d.replace("","-1");lz_chat_add_html_element(lz_global_base64_encode(d),false,null,null,null,null);lz_chat_data.QueueMessageAppended=true}if(document.getElementById("lz_chat_queue_position")){var f=parseInt(document.getElementById("lz_chat_queue_position").innerHTML);var e=parseInt(document.getElementById("lz_chat_queue_waiting_time").innerHTML);if(f==-1||(a>0&&a<=f)){document.getElementById("lz_chat_queue_position").innerHTML=a}if(e==-1||(c>0&&c<=e)){document.getElementById("lz_chat_queue_waiting_time").innerHTML=c}}}function lz_chat_show_feedback(){lz_chat_init_feedback=true;lz_tracking_poll_server(1611)}function lz_chat_init_search_kb(){var a=lz_chat_get_input_value(114);if(lz_session.KBS!=1||a.length<12){return}if(a!=lz_chat_kb_last_search_phrase){lz_shared_kb_last_search_time=lz_global_timestamp();lz_chat_kb_last_search_phrase=lz_chat_kb_search_phrase=a;lz_tracking_poll_server(1241)}}function lz_chat_search_result(b,a){lz_chat_kb_search_phrase="";document.getElementById("lz_chat_kb_match_info").style.display=(a>0)?"block":"none";if(a>0&&!lz_chat_kb_sound_played){lz_chat_play_sound("message");lz_chat_kb_sound_played=true}}function lz_chat_kb_deactivate(a){lz_chat_search_result(0);lz_shared_kb_auto_search=false;if(a){lz_session.KBS=0;lz_session.Save()}}function lz_chat_set_zoom(a){if(!lz_fixed_mode_possible()){return}if(lz_chat_state_expanded){lz_chat_restore_meta();lz_overlay_chat.lz_livebox_fixed_mode=lz_chat_fixed_mode=true;lz_overlay_chat.lz_livebox_div.style.position="fixed";lz_overlay_chat.lz_livebox_hide();document.body.style.position="fixed";document.body.style.overflowY="hidden";lz_chat_set_meta();setTimeout("lz_livebox_scale_box('lz_overlay_chat',1,true);",100);setTimeout("lz_chat_set_slide("+a+");lz_livebox_center_box('lz_overlay_chat',true);lz_chat_update_css();lz_chat_set_element_width();",400)}else{lz_livebox_hide_box("lz_overlay_chat");lz_livebox_hide_box("lz_eye_catcher");lz_chat_restore_meta();document.body.style.position="";document.body.style.overflowY="";lz_overlay_chat.lz_livebox_prevent_scale=false;lz_overlay_chat.lz_livebox_fixed_mode=lz_chat_fixed_mode=false;lz_chat_set_slide(false);setTimeout("lz_zoom_factor=null;lz_livebox_init_center_boxes();lz_livebox_show_box('lz_overlay_chat');lz_livebox_show_box('lz_eye_catcher');",500)}}function lz_chat_set_slide(a){if(a){lz_overlay_chat.lz_livebox_div.style["-webkit-transform"]="translateY(+100%)";lz_overlay_chat.lz_livebox_show();lz_overlay_chat.lz_livebox_div.className="lz_anim_slide_in"}else{lz_overlay_chat.lz_livebox_div.style["-webkit-transform"]="";lz_overlay_chat.lz_livebox_div.className=""}}function lz_chat_set_meta(){var a=document.getElementsByTagName("meta");if(a.length>0){for(key in a){if(a[key].name=="viewport"&&a[key].id!="lzvpc"){lz_default_meta=a[key];a[key].parentNode.removeChild(a[key])}}}var b=document.createElement("meta");b.name="viewport";b.id="lzvpc";b.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no";document.getElementsByTagName("head")[0].appendChild(b)}function lz_chat_restore_meta(){if(document.getElementById("lzvpc")!=null){document.getElementById("lzvpc").setAttribute("content","");document.getElementsByTagName("head")[0].removeChild(document.getElementById("lzvpc"))}if(lz_default_meta!=null){document.getElementsByTagName("head")[0].appendChild(lz_default_meta)}};