function TheOperator(name, state,friendname) { //客服人员名称 this.name = name; //客服人员友好名称 this.friendname = friendname; //客服人员状态:0-离线,1-繁忙,2-离开,3-在线,4-对话中,5-内部对话中-备用 this.state = state; } var OperatorArray=new Array(19);var Operatorlist=new Object(); OperatorArray[0]=Operatorlist["%U7BA1%U7406%U8005"]=new TheOperator("%u7ba1%u7406%u8005",0,"%u7ba1%u7406%u8005");OperatorArray[1]=Operatorlist["OTANI"]=new TheOperator("otani",0,"otani");OperatorArray[2]=Operatorlist["WEBSOL"]=new TheOperator("websol",0,"websol");OperatorArray[3]=Operatorlist["OPERATOR1"]=new TheOperator("operator1",0,"operator1");OperatorArray[4]=Operatorlist["OPERATOR2"]=new TheOperator("operator2",0,"%u30aa%u30da%u30ec%u30fc%u30bf%u30fc");OperatorArray[5]=Operatorlist["BROOKS3"]=new TheOperator("Brooks3",0,"Brooks3");OperatorArray[6]=Operatorlist["OP4"]=new TheOperator("op4",0,"op4");OperatorArray[7]=Operatorlist["OP5"]=new TheOperator("op5",0,"op5");OperatorArray[8]=Operatorlist["OP6"]=new TheOperator("op6",0,"op6");OperatorArray[9]=Operatorlist["OP7"]=new TheOperator("op7",0,"op7");OperatorArray[10]=Operatorlist["BROOKS8"]=new TheOperator("Brooks8",0,"Brooks8");OperatorArray[11]=Operatorlist["BROOKS9"]=new TheOperator("Brooks9",0,"Brooks9");OperatorArray[12]=Operatorlist["OP10"]=new TheOperator("op10",0,"op10");OperatorArray[13]=Operatorlist["INAGAKI"]=new TheOperator("inagaki",0,"inagaki");OperatorArray[14]=Operatorlist["BROOKS11"]=new TheOperator("Brooks11",0,"Brooks11");OperatorArray[15]=Operatorlist["BROOKS12"]=new TheOperator("Brooks12",0,"Brooks12");OperatorArray[16]=Operatorlist["BROOKS13"]=new TheOperator("Brooks13",0,"Brooks13");OperatorArray[17]=Operatorlist["BROOKS14"]=new TheOperator("Brooks14",0,"Brooks14");OperatorArray[18]=Operatorlist["BROOKS15"]=new TheOperator("Brooks15",0,"Brooks15");var LR_sysurl = 'https://chat.brooks.co.jp/';var LR_websiteid = 'LPM31671888';function lr_refer5238() {if (typeof (lr_refer5236) != 'undefined') {return lr_refer5236;}var ur = document.referrer;var i = ur.lastIndexOf('.');return '&rf1=' + escape(ur.substring(0, i)) + '&rf2=' + escape(ur.substr(i));}function openZoosUrl(url,data){if (typeof(openZoosUrl_UserDefine) == 'function'){if(openZoosUrl_UserDefine())return;};if (typeof (LR_istate) != 'undefined') {LR_istate=3;}if (typeof (LR_opentimeout) != 'undefined' && typeof (LR_next_invite_seconds) != 'undefined')LR_next_invite_seconds=999999;if(!url || url=='chatwin'){url=LR_sysurl+'LR/Chatpre.aspx?id='+LR_websiteid+'&cid='+LR_cid+'&lng='+LR_lng+'&sid='+LR_sid+'&p='+escape(location.href)+lr_refer5238();}else if(url=='sendnote'){url=LR_sysurl+'LR/Chatwin2.aspx?siteid='+LR_websiteid+'&cid='+LR_cid+'&sid='+LR_sid+'&lng='+LR_lng+'&p='+escape(location.href)+lr_refer5238();}if(typeof(LR_UserSSL) != 'undefined' && LR_UserSSL && url.charAt(4)==':')url=url.substring(0,4)+'s'+url.substring(4,url.length);if(!data){if(typeof(LR_explain)!='undefined' && LR_explain!=''){url+='&e='+escape(LR_explain);}else if(typeof(LiveAutoInvite1)!='undefined'){url+='&e='+escape(LiveAutoInvite1);}}if(data)url+=data;url+='&d='+new Date().getTime();var oWindow;try{oWindow=window.open(url,'LRWIN_'+LR_websiteid, 'toolbar=no,width=630,height=435,resizable=yes,location=no,scrollbars=no,left='+((screen.width - 630) / 4)+',top='+((screen.height - 435) / 4));if(oWindow==null){LR_ClientEnd=0;window.location=url;return;}oWindow.focus();}catch(e){if(oWindow==null){LR_ClientEnd=0;window.location=url;}}}function LR_SetCookie(name,value,minutes){var exp = new Date();exp.setTime(exp.getTime() + minutes*60*1000);document.cookie = name + '='+ escape (value) + ';expires=' + exp.toGMTString();}function LR_getCookie(name){var arr = document.cookie.match(new RegExp('(^| )'+name+'=([^;]*)(;|$)'));if(arr != null) return unescape(arr[2]);if(name=='LiveWS'+LR_websiteid){LR_SetCookie(name,LR_Tick,2628000);return LR_Tick;}if(name=='LiveWS'+LR_websiteid+'sessionid'){LR_SetCookie(name,LR_Tick,720);return LR_Tick;}return null;}var LR_Tick='6367337453542368028265';function LiveReception_regetCookie(){return LR_getCookie('LiveWS'+LR_websiteid);}function LiveReception_regetnewCookie(){return LR_getCookie('LiveWS'+LR_websiteid+'sessionid');}function openZoosWindow_olist(url,data){openZoosUrl(url,data);}