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=new Array();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;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.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]}}}}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_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){return true}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(){return 0;if(window.pageXOffset!=null){return window.pageXOffset}else{return Math.max(document.documentElement.scrollLeft,document.body.scrollLeft)}}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)};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_move_interval=null;var lz_zoom_factor=1;function lz_livebox(q,e,j,A,b,m,r,k,g,l,z){this.lz_livebox_slide_finished=false;this.lz_livebox_template=e;this.lz_livebox_name=q;this.lz_livebox_move=a;this.lz_livebox_show=s;this.lz_livebox_unload=x;this.lz_livebox_shadow=n;this.lz_livebox_background=f;this.lz_livebox_preset=w;this.lz_livebox_close=u;this.lz_livebox_chat=y;this.lz_livebox_get_left=c;this.lz_livebox_get_right=v;this.lz_livebox_get_top=t;this.lz_livebox_get_bottom=h;this.lz_livebox_extended_pos=d;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.lzibst_width=j;this.lzibst_height=A;this.lzibst_margin=lz_move_margins=new Array(b,m,r,k);this.lzibst_position=g.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=z;this.lzibst_slide_step=Math.max(l,2);function y(B,E){var C=lz_user_name;if(document.getElementById("lz_invitation_name")!=null&&document.getElementById("lz_invitation_name").value.length>0){C=lz_global_base64_url_encode(document.getElementById("lz_invitation_name").value)}var D=lz_tracking_chat_params(C,lz_user_email,B,E,true);void (window.open(lz_poll_server+lz_poll_file_chat+"?a=1"+D,"LiveZilla","width="+lz_window_width+",height="+lz_window_height+",left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,slidebars=no"))}function u(B){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 n(D,C,B,F){this.lz_livebox_shadow_class=document.createElement("STYLE");this.lz_livebox_shadow_class.type="text/css";var E=document.createTextNode(".livezilla_livebox_shadow_class"+this.lz_livebox_name+"{-moz-box-shadow: "+C+"px "+B+"px "+D+"px "+F+";-webkit-box-shadow: "+C+"px "+B+"px "+D+"px "+F+";box-shadow: "+C+"px "+B+"px "+D+"px "+F+";} ");if(this.lz_livebox_shadow_class.styleSheet){this.lz_livebox_shadow_class.styleSheet.cssText=E.nodeValue}else{this.lz_livebox_shadow_class.appendChild(E)}document.getElementsByTagName("head")[0].appendChild(this.lz_livebox_shadow_class)}function f(B,D){if(this.lz_livebox_background_class==null){this.lz_livebox_background_class=document.createElement("STYLE");this.lz_livebox_background_class.type="text/css";var C=document.createTextNode(".livezilla_livebox_background_class"+this.lz_livebox_name+"{width:100%;height:100%;z-index:100000;top:0px;left:0px;position:absolute;filter:alpha(opacity="+(D*100)+"); -moz-opacity:"+D+"; -khtml-opacity: "+D+"; opacity:"+D+";background:"+B+";} ");if(this.lz_livebox_background_class.styleSheet){this.lz_livebox_background_class.styleSheet.cssText=C.nodeValue}else{this.lz_livebox_background_class.appendChild(C)}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=p();this.lz_livebox_background_div.className="livezilla_livebox_background_class"+this.lz_livebox_name;document.body.appendChild(this.lz_livebox_background_div)}}function s(){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=p();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);window.setTimeout("if(window['"+this.lz_livebox_name+"']!=null)window['"+this.lz_livebox_name+"'].lz_livebox_move()",1);document.onmousedown=o;document.onmouseup=new Function("lz_move_active=false;lz_livebox_save_pos();");if(lz_is_tablet&&lz_move_interval==null){lz_move_interval=window.setInterval("lz_livebox_center_boxes()",500)}}function x(){var B=parseFloat(this.lz_livebox_div.style.opacity);B-=0.06;this.lz_livebox_div.style.opacity=B;if(B>0){window.setTimeout("window['"+this.lz_livebox_name+"'].lz_livebox_unload()",2)}}function o(C){try{var D=(!lz_is_ie)?C.target:event.srcElement;if(D.tagName.toLowerCase()=="input"||D.tagName.toLowerCase()=="textarea"||D.tagName.toLowerCase()=="iframe"||D.tagName.toLowerCase()=="a"){return}var B=0;while(D!=null&&D.style.zIndex!=99999&&B++<20){D=(!lz_is_ie)?D.parentNode:D.parentElement;if(!(D!=null&&D.className!="unmovable")){return true}}if(D!=null&&D.tagName!="undefined"&&D.style.zIndex==99999){lz_move_active=true;lz_move_object=D;lz_move_tx=parseInt(lz_move_object.style.left+0);lz_move_x=!lz_is_ie?C.clientX:event.clientX;if(lz_move_object.style.top!=""){lz_move_y=!lz_is_ie?C.clientY:event.clientY;lz_move_ty=parseInt(lz_move_object.style.top+0)}else{lz_move_y=!lz_is_ie?C.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?C.clientX:event.clientX}else{lz_move_x=!lz_is_ie?C.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=i;return false}}catch(C){}}function i(D){if(lz_move_active){var C=((!lz_is_ie)?lz_move_ty+D.clientY-lz_move_y:lz_move_ty+event.clientY-lz_move_y);lz_move_object.style.bottom="";lz_move_object.style.top=C+"px";var B=((!lz_is_ie)?lz_move_tx+D.clientX-lz_move_x:lz_move_tx+event.clientX-lz_move_x);lz_move_object.style.right="";lz_move_object.style.left=B+"px";return false}}function p(){return"fixed"}function d(C,B){document.getElementById(C).style.top=(parseInt(document.getElementById(C).style.top.replace("px",""))+B)+"px"}function a(){this.lz_livebox_div.style.bottom=this.lz_livebox_get_bottom();this.lz_livebox_div.style.right=this.lz_livebox_get_right();if(this.lzibst_effect==0){this.lz_livebox_div.style.left=this.lz_livebox_get_left();this.lz_livebox_div.style.top=this.lz_livebox_get_top();this.lz_livebox_div.style.right=this.lz_livebox_get_right();this.lz_livebox_div.style.bottom=this.lz_livebox_get_bottom();this.lz_livebox_div.style.display="";this.lz_livebox_slide_finished=true}else{if(this.lzibst_effect==1||this.lzibst_effect==3){var G=parseInt(this.lz_livebox_div.style.top.replace("px","").replace("pt",""));if(this.lzibst_effect==1){G+=this.lzibst_slide_step}else{G-=this.lzibst_slide_step}this.lz_livebox_div.style.top=G+"px";this.lz_livebox_div.style.left=this.lz_livebox_get_left();var H=parseInt(this.lz_livebox_get_top().replace("px",""));if((this.lzibst_effect==1&&G<(H-this.lzibst_slide_step))||(this.lzibst_effect==3&&G>(H-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=H+"px";this.lz_livebox_slide_finished=true}}else{if(this.lzibst_effect==2||this.lzibst_effect==4){var G=parseInt(this.lz_livebox_div.style.left.replace("px","").replace("pt",""));if(this.lzibst_effect==2){G-=this.lzibst_slide_step}else{G+=this.lzibst_slide_step}this.lz_livebox_div.style.left=G+"px";this.lz_livebox_div.style.top=this.lz_livebox_get_top();var C=parseInt(this.lz_livebox_get_left().replace("px",""));if((this.lzibst_effect==2&&G>(C-this.lzibst_slide_step))||(this.lzibst_effect==4&&G<(C-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=C+"px";this.lz_livebox_slide_finished=true}}else{if(this.lzibst_effect==5){var B=parseInt(this.lz_livebox_div.style.height.replace("px","").replace("pt",""));var F=parseInt(this.lz_livebox_div.style.width.replace("px","").replace("pt",""));var E=this.lzibst_slide_step;var D=parseInt(this.lzibst_slide_step*(this.lzibst_height/this.lzibst_width));if(B<(this.lzibst_height-D)){B+=D}if(F<(this.lzibst_width-E)){F+=E}this.lz_livebox_div.style.height=B+"px";this.lz_livebox_div.style.width=F+"px";this.lz_livebox_div.style.left=parseInt(this.lz_livebox_get_left().replace("px","").replace("pt",""))+((this.lzibst_width-F)/2)+"px";this.lz_livebox_div.style.top=parseInt(this.lz_livebox_get_top().replace("px","").replace("pt",""))+((this.lzibst_height-B)/2)+"px";if((B<(this.lzibst_height-D))||(F<(this.lzibst_width-E))){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();this.lz_livebox_div.style.top=this.lz_livebox_get_top();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_center_boxes}}function c(){if(lz_is_tablet&&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 B=0;if(this.lzibst_hposition=="center"){B=parseInt((lz_global_get_window_width(true)*50/100));B-=parseInt(this.lzibst_width/2);if(this.lzibst_margin[0]!=0){B+=this.lzibst_margin[0]}if(this.lzibst_margin[2]!=0){B-=this.lzibst_margin[2]}return B+"px"}else{if(this.lzibst_hposition=="left"){if(this.lzibst_margin[0]!=0){B+=this.lzibst_margin[0]}if(this.lzibst_margin[2]!=0){B-=this.lzibst_margin[2]}B+=lz_global_get_page_offset_x();return B+"px"}else{if(this.lzibst_hposition=="right"){B=lz_global_get_window_width(false);B-=parseInt(this.lzibst_width);if(this.lzibst_margin[0]!=0){B+=this.lzibst_margin[0]}if(this.lzibst_margin[2]!=0){B-=this.lzibst_margin[2]}return B+"px"}}}}function t(){if(lz_is_tablet&&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 B=0;if(this.lzibst_vposition=="center"){B=parseInt((lz_global_get_window_height()*50/100));if(this.lz_livebox_div.style.position=="absolute"){B+=lz_global_get_page_offset_y()}B-=parseInt(this.lzibst_height/2);if(this.lzibst_margin[1]!=0){B+=this.lzibst_margin[1]}if(this.lzibst_margin[3]!=0){B-=this.lzibst_margin[3]}return parseInt(B)+"px"}else{if(this.lzibst_vposition=="top"){if(this.lzibst_margin[1]!=0){B+=this.lzibst_margin[1]}if(this.lzibst_margin[3]!=0){B-=this.lzibst_margin[3]}return parseInt(B)+"px"}else{if(this.lzibst_vposition=="bottom"){B=lz_global_get_window_height();B-=parseInt(this.lzibst_height);if(this.lzibst_margin[1]!=0){B+=this.lzibst_margin[1]}if(this.lzibst_margin[3]!=0){B-=this.lzibst_margin[3]}return parseInt(B)+"px"}}}}function h(){if(lz_is_tablet&&this.lz_livebox_name=="lz_eye_catcher"){return this.lzibst_margin[3]+"px"}else{if(lz_is_tablet&&this.lzibst_vposition=="bottom"){return"0px"}else{if(this.lz_livebox_preset_bottom!=null){return this.lz_livebox_preset_bottom}else{return"auto"}}}}function v(){if(lz_is_tablet&&this.lzibst_hposition=="right"){return this.lzibst_margin[2]+"px"}else{return"auto"}}function w(F,C){if(F==null){return}var E=F.split(",");if(C&&E[0]!=null){var B=parseInt(E[0].replace("px",""));if(B<0){this.lz_livebox_preset_top=0+"px"}else{if(B+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(B)){this.lz_livebox_preset_top=E[0]}}}}else{this.lz_livebox_preset_bottom=this.lzibst_margin[3]+"px"}if(E[1]!=null){var D=parseInt(E[1].replace("px",""));if(D<0){this.lz_livebox_preset_left=0+"px"}else{if(D+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=E[1]}}}}}function lz_livebox_scale_boxes(){var a=(window.innerWidth/document.documentElement.clientWidth);if(lz_zoom_factor!=a&&a<0.9){a+=0.1;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_center_boxes(){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);if(!lz_is_tablet){if(lz_session.OVLCPos==""){lz_livebox_center_box("lz_overlay_chat",true);lz_livebox_center_box("lz_eye_catcher",true)}else{if(!lz_chat_state_expanded){lz_livebox_center_box("lz_overlay_chat",false);lz_livebox_center_box("lz_eye_catcher",false)}}}else{lz_livebox_scale_boxes()}}function lz_livebox_scale_box(c,b){try{if(document.getElementById(c)!=null){if(c=="lz_overlay_chat"||c=="lz_eye_catcher"){if(lz_chat_state_expanded){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;if(window[c].lzibst_hposition=="left"){document.getElementById(c).style.left=Math.floor((b*window[c].lzibst_margin[0]))+"px"}if(window[c].lzibst_vposition=="top"){document.getElementById(c).style.top=Math.floor((b*window[c].lzibst_margin[1]))+"px"}if(window[c].lzibst_hposition=="right"){document.getElementById(c).style.right=Math.floor((b*window[c].lzibst_margin[2]))+"px"}if(window[c].lzibst_vposition=="bottom"){document.getElementById(c).style.bottom=Math.floor((b*window[c].lzibst_margin[3]))+"px"}}}catch(a){}}function lz_livebox_center_box(b,a){if(document.getElementById(b)!=null){if(a){document.getElementById(b).style.top=window[b].lz_livebox_get_top();document.getElementById(b).style.bottom=window[b].lz_livebox_get_bottom()}document.getElementById(b).style.left=window[b].lz_livebox_get_left();document.getElementById(b).style.right=window[b].lz_livebox_get_right()}}function lz_livebox_save_pos(){if(lz_session!=null&&document.getElementById("lz_overlay_chat")!=null){if(!lz_is_tablet){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_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_overlay_box=null;var lz_overlay_active=null;var lz_overlay_last=null;var lz_alert_active=null;var lz_website_push_active=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;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)}}if(lz_poll_website==""){d="?rqst=track"+d}else{d="?ws="+lz_poll_website+"&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(c){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_poll_id<=3){var b=document.title;if(b.length>60){b=b.substring(0,60)+"..."}a+="&dc="+lz_global_base64_url_encode(b);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_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)}var d=document.getElementById("livezilla_pollscript");if(d!=null){lz_document_head.removeChild(d)}if(lz_last_image_reload<(lz_global_timestamp()-lz_poll_frequency)){lz_last_image_reload=lz_global_timestamp();var a=document.getElementsByTagName("a");var e=0;for(var b=0;b",(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_show();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="";if(!j&&lz_tickets_external){lz_session.OVLCState="0"}if(j&&lz_chats_external){lz_session.OVLCState="0"}e=(lz_is_tablet)?"22":e;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);if(!lz_is_tablet){lz_overlay_chat.lz_livebox_preset(lz_session.OVLCPos,lz_session.OVLCState=="1")}lz_overlay_chat.lz_livebox_show();lz_overlay_chat.lz_livebox_div.style.zIndex=9999;if(lz_session.OVLCState=="1"){lz_chat_change_state(false,true)}lz_chat_set_init();lz_chat_update_css()}}function lz_tracking_add_eye_catcher(e,i,x,s,u,k,h,n,f,d,c,p,o,b,l,q,w,g,m,a,v){try{if(lz_eye_catcher==null&&lz_overlay_chat!=null&&lz_session.ECH!="1"){n+=lz_overlay_chat.lzibst_margin[3];f=(lz_is_tablet)?"22":f;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,x,k,0,h,n,f,0,6);if(!lz_is_tablet){lz_eye_catcher.lz_livebox_preset(lz_session.OVLCPos,false)}lz_eye_catcher.lz_livebox_show();lz_eye_catcher.lz_livebox_div.style.zIndex=9999;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),x-25,10,true,c,p,o,b,null,null,null,null,null)}var r=document.getElementById("lz_overlay_eyecatcher_bubble").getContext("2d");lz_tracking_cbubble(r,1,5,(i-p-3),x-25,10,false,null,null,null,null,l,q,w,g,m)}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(r,o,n,p,d,s,c,b,l,k,a,i,m,t,f,j){try{r.beginPath();r.moveTo(o+s,n);r.lineTo(o+p-s,n);r.quadraticCurveTo(o+p,n,o+p,n+s);r.lineTo(o+p,n+d-s);r.quadraticCurveTo(o+p,n+d,o+p-s,n+d);r.lineTo(o+30+s,n+d);r.lineTo(o+35+s,n+d+15);r.lineTo(o+10+s,n+d);r.lineTo(o+s,n+d);r.quadraticCurveTo(o,n+d,o,n+d-s);r.lineTo(o,n+s);r.quadraticCurveTo(o,n,o+s,n);r.closePath();if(c){r.shadowColor=a;r.shadowBlur=b;r.shadowOffsetX=l;r.shadowOffsetY=k;r.fill()}else{var g=r.createLinearGradient(o,n,0,d);g.addColorStop(0,f);g.addColorStop(1,j);r.fillStyle=g;if(t>0){var h=r.createLinearGradient(o,n,0,d);h.addColorStop(0,i);h.addColorStop(1,m);r.strokeStyle=h;r.lineWidth=t}r.fill();if(t>0){r.stroke()}}}catch(q){}}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_chat_params(a,f,c,g,d){var e="";if(c.length>0){e+="&intid="+c}if(f.length>0){e+="&ee="+f}if(a.length>0){e+="&en="+a}if(g.length>0){e+="&hg=Pw__&intgroup="+g}if(lz_user_header.length>0){e+="&eh="+lz_user_header}if(lz_user_company.length>0){e+="&ec="+lz_user_company}if(lz_area_code.length>0){e+="&code="+lz_area_code}if(lz_user_question.length>0){e+="&eq="+lz_user_question}if(lz_user_language.length>0){e+="&el="+lz_user_language}if(lz_user_website.length>0){e+="&ws="+lz_user_website}if(lz_user_customs.length>0){for(var b=0;b<=9;b++){if(lz_user_customs.length>b&&lz_user_customs[b].length>0){e+="&cf"+b+"="+lz_user_customs[b]}}}if(lz_direct_login||d){e+="&dl=MQ__"}return e}function lz_tracking_deactivate(a,b){lz_deactivate=b;lz_tracking_poll_server(1214);lz_tracking_send_alert("dtr",a)};