/*
 * LIGHTSTREAMER - www.lightstreamer.com
 * Web Client - lscommons.js - Version 4 Revision: 186 $
 * Copyright (c) 2004-2008 Weswit Srl. All Rights Reserved.
 */

 var LS_commonsSrcRev="211  217 $";      function LS_lcv(LS_ACn){if(LS_ACn.shift){return LS_ACn.shift();}var LS_AZV=LS_ACn[0];for(var LS_PSN=0;LS_PSN<LS_ACn.length-1;LS_PSN++){LS_ACn[LS_PSN]=LS_ACn[LS_PSN+1];}delete(LS_ACn[LS_ACn.length-1]);return LS_AZV;} function LS_Ddc(LS_wJD){var LS_XXl=new Array();for(var LS_KGG=2;LS_KGG<LS_wJD.length;LS_KGG++){LS_XXl[LS_KGG-2]=LS_wJD[LS_KGG];}return LS_XXl;}  function LS_MYG(LS_IQe,LS_nts){LS_unA.log("CH",'LS_MYG',LS_IQe,LS_nts);LS_HKF(LS_IQe,LS_nts,"");} function LS_HKF(LS_IQe,LS_nts,LS_Gcr){var LS_BvI="";if(LS_qWh!=null&&LS_qWh!=""){     LS_BvI="domain=."+LS_qWh+"; ";}var LS_VTC=LS_IQe+"="+LS_nts+"; ";var LS_WMl=LS_VTC+LS_BvI+LS_Gcr+"path=/;";document.cookie=LS_WMl;LS_unA.log("CH",'LS_HKF',LS_WMl);} function LS_YTt(LS_IQe){LS_IQe+="="; var LS_nvp=document.cookie.split(";");for(var LS_PSN=0;LS_PSN<LS_nvp.length;LS_PSN++){while(LS_nvp[LS_PSN].charAt(0)==" "){ LS_nvp[LS_PSN]=LS_nvp[LS_PSN].substring(1);}LS_unA.log("CH",'LS_YTt',LS_IQe,"?",LS_nvp[LS_PSN]);if(LS_nvp[LS_PSN].indexOf(LS_IQe)==0){   var LS_qOe=LS_nvp[LS_PSN].substring(LS_IQe.length,LS_nvp[LS_PSN].length);LS_unA.log("CH",'LS_YTt',LS_IQe,LS_qOe);return LS_qOe;}}LS_unA.log("CH",'LS_YTt',LS_IQe,null);return null;} function LS_Xed(LS_IQe){LS_unA.log("CH",'LS_Xed',LS_IQe);var LS_QDQ=new Date();LS_QDQ.setTime(LS_QDQ.getTime()-86400000); var LS_Gcr="expires="+LS_QDQ.toGMTString()+"; ";LS_HKF(LS_IQe,"deleting",LS_Gcr);} var LS_UaH=false; function LS_teM(){ LS_unA.log("CH",'LS_teM',0); var LS_AYb=Math.round(Math.random() * 1000 );  var LS_wKa="LS__cookie_test"+LS_AYb;LS_MYG(LS_wKa,"testing");var LS_IQF=LS_YTt(LS_wKa);if(LS_IQF=="testing"){LS_unA.log("CH",'LS_teM',1); LS_Xed(LS_wKa);LS_IQF=LS_YTt(LS_wKa);if(LS_IQF==null){LS_unA.log("CH",'LS_teM',2); LS_UaH=true;}}} function LS_OhS(){return new Date().getTime();} function LS_QNH(LS_WMl){    return new Number(LS_WMl.substring(LS_WMl.indexOf("_")+1));} var LS_jcr=1000;  function LS_uSh(LS_bHq){ this.LS_gtm=null;if(typeof LS_bHq!="undefined"){this.LS_gtm=LS_bHq;}else{this.LS_gtm={};} this.LS_wZw=LS_qBE; this.insertRow=LS_bkv; this.LS_Ewp=LS_sBQ; this.LS_eGM=LS_BND; this.LS_mbD=LS_qaE; this.LS_spt=LS_AHZ; this.LS_LPE=LS_AlA; this.LS_SQe=LS_DBj; this.LS_FBg=LS_aHN;} function LS_qBE(LS_GLH,LS_RtB,LS_gWC){if(!this.LS_gtm[LS_RtB]){this.LS_gtm[LS_RtB]={};}this.LS_gtm[LS_RtB][LS_gWC]=LS_GLH;} function LS_sBQ(LS_RtB,LS_gWC){if(!this.LS_gtm[LS_RtB]){return null;}if(typeof this.LS_gtm[LS_RtB][LS_gWC]=="undefined"){return null;}return this.LS_gtm[LS_RtB][LS_gWC];} function LS_AlA(LS_RtB,LS_gWC){if(!this.LS_gtm[LS_RtB]){return;}if(this.LS_gtm[LS_RtB][LS_gWC]){delete(this.LS_gtm[LS_RtB][LS_gWC]);}for(var LS_PSN in this.LS_gtm[LS_RtB]){ return;} delete(this.LS_gtm[LS_RtB]);} function LS_bkv(LS_WCx,LS_RtB){this.LS_gtm[LS_RtB]=LS_WCx;} function LS_BND(LS_RtB){if(!this.LS_gtm[LS_RtB]){return null;}return this.LS_gtm[LS_RtB];} function LS_qaE(LS_RtB){var LS_lXg=this.LS_eGM(LS_RtB);this.LS_SQe(LS_RtB);return LS_lXg;} function LS_DBj(LS_RtB){if(!this.LS_gtm[LS_RtB]){return;}delete(this.LS_gtm[LS_RtB]);} function LS_AHZ(){return this.LS_gtm;} function LS_aHN(LS_reK){var LS_JNG="<table border=1>";var head=false;for(var LS_RtB in this.LS_gtm){LS_JNG+="<tr><td>"+LS_RtB+"</td>";for(var LS_gWC in this.LS_gtm[LS_RtB]){var LS_jEU=this.LS_gtm[LS_RtB][LS_gWC];if(LS_reK){LS_jEU=LS_reK(LS_jEU);}LS_JNG+="<td>"+LS_gWC+" : "+LS_jEU+"</td>";}LS_JNG+="</tr>";}LS_JNG+="</table>";return LS_JNG;}   var LS_WNO=null;  var LS_kcS=null;   var LS_VbS=null;    var LS_kDL=null; if(LS_vxG.apply){if(!document.getElementById&&!document.all){  eval('LS_WNO = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);return LS_xSV.apply(_o,LS_wJD);}}');eval('LS_kcS = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);return LS_xSV.apply(_o,LS_wJD);}}');eval('LS_kDL = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);return LS_xSV.call(_o,LS_wJD);}}');eval('LS_VbS = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);return LS_xSV.apply(_o,LS_wJD);}}');}else{ eval('LS_WNO = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);try{return LS_xSV.apply(_o,LS_wJD);}catch(LS_IwB){LS_unA.LS_PWu(LS_vxG(LS_IwB,LS_xSV,true),"' + "callback" + '"' + ");}}}");eval('LS_kcS = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);try{return LS_xSV.apply(_o,LS_wJD);}catch(LS_IwB){LS_unA.log("EX",LS_vxG(LS_IwB,LS_xSV));return null;}}}');eval('LS_kDL = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);try{return LS_xSV.call(_o,LS_wJD);}catch(LS_IwB){LS_unA.log("EX",LS_vxG(LS_IwB,LS_xSV));return null;}}}');eval('LS_VbS = function(LS_xSV,_o){if(arguments.length >= 2){var LS_wJD=LS_Ddc(arguments);try{return LS_xSV.apply(_o,LS_wJD);}catch(LS_IwB){return null;}}}');}}else{}  function LS_XXR(LS_PKk){var LS_YsF=LS_PKk+" | "+LS_PKk.innerHTML;return LS_YsF;} function LS_Jkm(LS_Rkm,LS_Qra){if(LS_Rkm.cells) LS_unA.log(LS_Qra,"<b>cells</b><br>",LS_Rkm.cells.LS_FBg(LS_XXR));if(LS_Rkm.LS_tAQ) LS_unA.log(LS_Qra,"<b>actualValues</b><br>",LS_Rkm.LS_tAQ.LS_FBg());if(LS_Rkm.LS_TNf) LS_unA.log(LS_Qra,"<b>actualServerValues</b><br>",LS_Rkm.LS_TNf.LS_FBg());if(LS_Rkm.LS_itS) LS_unA.log(LS_Qra,"<b>assignedAttributes</b><br>",LS_Rkm.LS_itS.LS_FBg());if(LS_Rkm.LS_QpH) LS_unA.log(LS_Qra,"<b>initialStyles</b><br>",LS_Rkm.LS_QpH.LS_FBg());if(LS_Rkm.LS_IOa) LS_unA.log(LS_Qra,"<b>initialValues</b><br>",LS_Rkm.LS_IOa.LS_FBg());if(LS_Rkm.LS_Lmf) LS_unA.log(LS_Qra,"<b>newHotRowArray</b><br>",LS_Rkm.LS_Lmf.LS_FBg());if(LS_Rkm.LS_IGD) LS_unA.log(LS_Qra,"<b>newColdRowArray</b><br>",LS_Rkm.LS_IGD.LS_FBg());if(LS_Rkm.LS_JBK) LS_unA.log(LS_Qra,"<b>lastHotRowArray</b><br>",LS_Rkm.LS_JBK.LS_FBg());if(LS_Rkm.LS_oZB) LS_unA.log(LS_Qra,"<b>lastColdRowArray</b><br>",LS_Rkm.LS_oZB.LS_FBg());if(LS_Rkm.LS_lME){LS_unA.log(LS_Qra,"<b>clonesArray</b>");LS_ZxL(LS_Rkm.LS_lME);}if(LS_Rkm.LS_Fkx){LS_unA.log(LS_Qra,"<b>sortKeys</b>");LS_ZxL(LS_Rkm.LS_Fkx);}} function LS_upl(LS_EQr,LS_Qra){LS_unA.log(LS_Qra,"<hr><h1>DATA TABLE</h1>");if(LS_EQr.LS_hwp){LS_unA.log(LS_Qra,"<b>posToKey</b>");LS_ZxL(LS_EQr.LS_hwp,LS_Qra);}if(LS_EQr.LS_woe){LS_unA.log(LS_Qra,"<b>cellOffset</b>");LS_ZxL(LS_EQr.LS_woe,LS_Qra);}if(LS_EQr.LS_Vwx){LS_unA.log(LS_Qra,"<b>keyArray</b>");LS_ZxL(LS_EQr.LS_Vwx,LS_Qra);}if(LS_EQr.LS_GOf) LS_unA.log(LS_Qra,"<b>oldValues</b><br>",LS_EQr.LS_GOf.LS_FBg());if(LS_EQr.LS_sWD) LS_unA.log(LS_Qra,"<b>tmpValues</b><br>",LS_EQr.LS_sWD.LS_FBg());if(LS_EQr.LS_RNN) LS_unA.log(LS_Qra,"<b>formattedValues</b><br>",LS_EQr.LS_RNN.LS_FBg());if(LS_EQr.LS_Xqa) LS_unA.log(LS_Qra,"<b>lastFormattedValues</b><br>",LS_EQr.LS_Xqa.LS_FBg());LS_unA.log(LS_Qra,"<hr><h1>SCREEN TABLE</h1>");LS_Jkm(LS_EQr.LS_OtJ,LS_Qra);LS_unA.log(LS_Qra,"<hr>");} function LS_ZxL(LS_tKu,LS_Qra){for(var LS_gYW in LS_tKu){LS_unA.log(LS_Qra,LS_gYW,": ",LS_tKu[LS_gYW]);}} function LS_vxG(LS_IwB,LS_xSV,LS_HcJ){var LS_GGa=LS_IwB.message;if(typeof LS_GGa=="undefined"){if(LS_IwB.getMessage){LS_GGa=LS_IwB.getMessage();}if(typeof LS_GGa=="undefined"){LS_GGa=LS_IwB;}}var LS_mhm="exception\n"+LS_GGa+" \n\n";if(LS_HcJ){LS_mhm+="thrown by your callback\n\n"+LS_xSV;}return LS_mhm;}  function LS_USu(LS_oHR,LS_TZx){this.LS_ogQ=new Array();for(var LS_PSN=0;LS_PSN<LS_oHR;LS_PSN++){this.LS_ogQ[LS_PSN]=0;}if(!LS_TZx){this.LS_TZx=2;}else{this.LS_TZx=LS_TZx;}this.LS_rDM=LS_wEg;this.LS_MZe=LS_tMe;this.LS_AKD=LS_ZtY;this.LS_OPg=1;} function LS_wEg(){var LS_rRZ=0;var LS_Bti=false;var LS_fWE=true;do{if(this.LS_ogQ[LS_rRZ]==this.LS_TZx-1){this.LS_ogQ[LS_rRZ]=0;LS_Bti=true;}else{this.LS_ogQ[LS_rRZ]++;LS_Bti=false;LS_fWE=false;}LS_rRZ++;}while(LS_Bti&&LS_rRZ<this.LS_ogQ.length);if(LS_fWE){this.LS_OPg=1;}else{this.LS_OPg++;}} function LS_tMe(LS_SQa){if(!LS_SQa){return this.LS_OPg;}LS_SQa--;if(typeof this.LS_ogQ[LS_SQa]=="undefined"){alert("| indice minimo: 0| indice massimo: "+this.LS_ogQ.length+"| indice richiesto: "+(LS_SQa+1)+"|");return false;}return this.LS_ogQ[LS_SQa];} function LS_ZtY(){return Math.pow(this.LS_TZx,this.LS_ogQ.length);} var LS_kVa="gi_buf";  var LS_oEc=LS_kVa.substring(1,2);var LS_EEA=LS_kVa.substring(0,1);var LS_jFF=LS_kVa.substring(0,2);    var LS_XYL=null; var LS_DKg=null;  function LS_HaL(){return this.LS_Bvn;} function LS_PNP(LS_MnO,LS_MDX){  this.LS_QsZ[this.LS_QsZ.length]=LS_MnO;this.LS_QsZ.length++;LS_MnO.LS_sfW=this;    if(LS_MDX!=true){ this.LS_Bvn.sendLogToConsumer(LS_MnO);} var LS_HDc=LS_MnO.LS_pfK.split(" ");this.LS_CTe(LS_HDc);} function LS_hPS(LS_MnO){LS_VrF=false;var LS_PSN=0;while((LS_PSN<this.LS_QsZ.length)&&(!LS_VrF)){if(this.LS_QsZ[LS_PSN]==LS_MnO){this.LS_Ypx(LS_PSN);LS_VrF=true;}LS_PSN++;}return LS_VrF;} function LS_QMo(LS_PSN){LS_mmS=this.LS_QsZ.length-1;if(LS_PSN!=LS_mmS){ this.LS_QsZ[LS_PSN]=this.LS_QsZ[LS_mmS];}delete(this.LS_QsZ[LS_mmS]);this.LS_QsZ.length--; this.LS_Icu();} function LS_AFO(LS_Qra){if(!LS_Qra){return;}if(this.LS_xWH.indexOf(LS_Qra)>-1){return;}if(this.LS_xWH==""){this.LS_xWH+=LS_Qra;}else{this.LS_xWH+=" "+LS_Qra;}this.LS_Bvn.addLogCategory(LS_Qra);} function LS_KML(LS_pfK){for(var LS_Qra in LS_pfK){this.LS_lWK(LS_pfK[LS_Qra]);}} function LS_osV(){this.LS_xWH="";     for(var LS_PSN=0;LS_PSN<this.LS_QsZ.length;LS_PSN++){var LS_HDc=this.LS_QsZ[LS_PSN].LS_pfK.split(" ");this.LS_CTe(LS_HDc);}}  function LS_Kko(LS_gTF,LS_XOZ,LS_qTo){ if(this.LS_xWH.length==0){return;}if(LS_gTF==""){LS_gTF="GE";}if(this.LS_xWH.indexOf(LS_gTF)==-1){return;}if(window.LS_NIK){if(window.LS_NIK.LS_Fks){LS_XOZ=LS_NIK.LS_Fks(LS_XOZ);}} var LS_OoQ=++this.LS_tVV; var LS_feX=this.LS_cCx(LS_OoQ);LS_feX+=this.LS_Dtr(arguments); this.LS_sYr(LS_gTF,LS_feX,LS_qTo);return LS_feX;} function LS_cnN(LS_OoQ){ var LS_FLV=new Date();var LS_feX=window.name;LS_feX+=" ";LS_feX+=LS_OoQ;LS_feX+=": ";LS_feX+=LS_FLV.getHours();LS_feX+=":";LS_feX+=LS_FLV.getMinutes();LS_feX+=":";LS_feX+=LS_FLV.getSeconds();LS_feX+=",";LS_feX+=LS_FLV.getMilliseconds();LS_feX+=" ";return LS_feX;} function LS_OMN(LS_wJD){var LS_Gmf=(typeof LS_Ohv!="undefined");var LS_feX=" ";var LS_PSN;for(LS_PSN=0;LS_PSN<LS_wJD.length;LS_PSN++){var LS_eQg=LS_wJD[LS_PSN];var LS_KNv=false;if(LS_Gmf){if(LS_eQg==LS_Ohv){LS_KNv=true;}}if(LS_eQg==null){LS_feX+="NULL";}else if(LS_KNv){LS_feX+=LS_Ohv();}else if(LS_eQg.length<0){ LS_feX+="*";}else if(LS_eQg.charAt!=null){ LS_feX+=LS_eQg;}else if(LS_eQg[0]==LS_eQg){ LS_feX+=LS_eQg;}else if(LS_eQg.length!=null&&LS_eQg.top==null){   LS_feX+="(";LS_feX+=this.LS_Dtr(LS_eQg);LS_feX+=")";}else{LS_feX+=LS_eQg;}LS_feX+=" ";}return LS_feX;} function LS_BYg(LS_gTF,LS_feX,LS_qTo){var LS_PSN;for(LS_PSN=0;LS_PSN<this.LS_QsZ.length;LS_PSN++){var LS_MnO=this.LS_QsZ[LS_PSN];if(LS_MnO.LS_pfK.indexOf(LS_gTF)>-1){if(LS_MnO.LS_RRw==true){LS_MnO.LS_hUN(LS_qTo,LS_gTF);}else{LS_MnO.LS_hUN(LS_feX,LS_gTF);}}}} function LS_SNV(LS_Ysd,LS_XOZ){return LS_unA.log("ER",LS_XOZ,LS_Ysd);} function LS_Drb(LS_dFs){this.LS_xuI[LS_dFs]=new Date().getTime();} function LS_hiW(LS_dFs){if(this.LS_xuI[LS_dFs]){var LS_FLV=new Date().getTime();var LS_mhm=LS_FLV-this.LS_xuI[LS_dFs];delete(this.LS_xuI[LS_dFs]);LS_unA.log("TI",LS_dFs,LS_mhm);}} function LS_tlu(LS_YtI,LS_XOZ,LS_EUk){if(!LS_YtI){this.log("AS",LS_XOZ,LS_EUk,LS_Ohv);}} function LS_xlw(LS_pfK,LS_BLd){var LS_GoP=new LS_AlertConsumer(LS_BLd);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_AlertConsumer","createAlertLog");return null;}} function LS_cRW(LS_pfK,LS_tqY){var LS_GoP=new LS_BufferConsumer();if(LS_GoP.isCompatible()){LS_GoP.setHistoryDim(LS_tqY);LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_BufferConsumer","createBufferLog");return null;}} function LS_hcU(LS_pfK,LS_BLd){if(!LS_BLd){LS_BLd=1;}var LS_GoP=new LS_RemoteConsumer(LS_BLd);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_RemoteConsumer","createRemoteLog");return null;}} function LS_bUC(LS_pfK,LS_krq){if(!LS_krq){var LS_nTB=document.getElementsByTagName("BODY")[0];if(!LS_nTB){LS_unA.LS_PWu("There is no BODY on this document, sorry, can't append the DIV","createDOMLog");return null;}LS_krq=document.createElement("div");LS_nTB.appendChild(LS_krq);}var LS_GoP=new LS_DOMConsumer(LS_krq);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_DOMConsumer","createDOMLog");return null;}} function LS_vWF(LS_pfK){var LS_GoP=new LS_FunctionConsumer(SAGEM_Log);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_FunctionConsumer-SagemLog","createSagemLog");return null;}} function LS_juj(LS_pfK){if(!window.opera){this.LS_bxM("LS_FunctionConsumer-OperaLog","createOperaLog");return null;}var LS_GoP=new LS_FunctionConsumer(window.opera.postError,window.opera);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_FunctionConsumer-OperaLog","createOperaLog");return null;}} function LS_AGh(LS_pfK){if(!window.LS_FBg){this.LS_bxM("LS_FunctionConsumer-FirefoxLog","createFirefoxLog");return null;}var LS_GoP=new LS_FunctionConsumer(window.LS_FBg,window);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_FunctionConsumer-FirefoxLog","createFirefoxLog");return null;}} function LS_Bwt(LS_pfK){if(!window.console||!window.console.log){this.LS_bxM("LS_FunctionConsumer-FirefoxLog","createFirefoxLog");return null;}var LS_GoP=new LS_FunctionConsumer(window.console.log,window.console,window.console.LS_PWu);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_FunctionConsumer-FirefoxLog","createFirefoxLog");return null;}} function LS_trl(LS_pfK){var LS_GoP=new LS_ThrowExcConsumer();if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_ThrowExcConsumer","createExceptionLog");return null;}} function LS_HPJ(LS_pfK,LS_tBO){if(!LS_tBO){var LS_AYb=parseInt((Math.random() * 100)+"");var LS_WVk="";var LS_MMS=!(window.ActiveXObject||LS_qWh==null||LS_qWh=="");if(!LS_MMS){ LS_WVk=LS_BoA;}else{LS_WVk="blanklogger.html?";if(LS_qWh!=null&&LS_qWh!=""){LS_WVk+="domain="+LS_qWh+"&";}if(LS_pfK!=null&&LS_pfK!=""){LS_WVk+="categories="+LS_pfK;}}LS_tBO=window.open(LS_WVk,"LS_LOGGER_POPUP_"+LS_AYb);if(LS_MMS){return null;}}var LS_GoP=new LS_FrameConsumer(LS_tBO);if(LS_GoP.isCompatible()){LS_GoP.addLogCategory(LS_pfK);this.addConsumer(LS_GoP);return LS_GoP;}else{this.LS_bxM("LS_FrameConsumer","createFrameLog");return null;}} var LS_dPa=null; var LS_Goi=null; function LS_hbB(){LS_Goi=LS_unA.createBufferLog("ER",10);LS_Goi.LS_RRw=true;} function LS_Jxk(LS_mEC){if(LS_dPa==null&&LS_Goi!=null){LS_dPa=new LS_FunctionConsumer(LS_mEC);LS_dPa.addLogCategory("ER");LS_dPa.LS_RRw=true;LS_unA.removeConsumer(LS_Goi);LS_Goi.sendLogToConsumer(LS_dPa);LS_unA.addConsumer(LS_dPa,true);LS_Goi=null;}} function LS_TTK(LS_Xvn,code,LS_dgM){   var LS_gdX=true;if((typeof LS_IPG!="undefined")&&(LS_IPG)){  var LS_lsp=LS_IPG.getPushPages();for(var LS_PSN=0;LS_PSN<LS_lsp.length;LS_PSN++){if(LS_lsp[LS_PSN].LS_KLC){if(LS_lsp[LS_PSN].LS_KLC.onClientAlert){LS_gdX=false;try{LS_lsp[LS_PSN].LS_KLC.onClientAlert(code,LS_dgM);}catch(LS_IwB){LS_unA.LS_PWu(LS_vxG(LS_IwB,LS_lsp[LS_PSN].LS_KLC.onClientAlert,true),"onClientAlert");}}else if(typeof LS_lsp[LS_PSN].LS_KLC.onClientAlert!="undefined"){  LS_gdX=false;}}}}if(LS_gdX&&LS_Xvn.onClientAlert){if(LS_Xvn.onClientAlert.apply){LS_WNO(LS_Xvn.onClientAlert,LS_Xvn,code,LS_dgM);}else{LS_Xvn.onClientAlert(code,LS_dgM);}}} function LS_aIq(){for(var LS_PSN=0;LS_PSN<this.LS_QsZ.length;LS_PSN++){if(this.LS_QsZ[LS_PSN].flush){this.LS_QsZ[LS_PSN].flush();}}} function LS_YTJ(LS_MnO,LS_gLO){LS_unA.LS_PWu("Sorry, the "+LS_MnO+" is not compatible with this Browser",LS_gLO);} function LS_Niu(LS_Qra){return(LS_Qra=="ER"||LS_Qra=="AS"||LS_Qra=="EX");} function LS_LogSystem(){ this.LS_xWH=""; this.LS_QsZ={};this.LS_QsZ.length=0; this.LS_xuI={}; this.LS_tVV=0; this.addConsumer=LS_PNP;this.removeConsumer=LS_hPS;this.getInternalLog=LS_HaL; this.createAlertLog=LS_xlw;this.createBufferLog=LS_cRW;this.createRemoteLog=LS_hcU;this.createDOMLog=LS_bUC;this.createOperaLog=LS_juj;this.createFirefoxLog=LS_Bwt;this.createFirefoxConsoleLog=LS_AGh;this.createExceptionLog=LS_trl;this.createFrameLog=LS_HPJ;this.createSagemLog=LS_vWF; this.LS_PWu=LS_SNV;this.timerStart=LS_Drb;this.timerStop=LS_hiW;this.log=LS_Kko;this.LS_JnA=LS_tlu;  this.LS_bxM=LS_YTJ; this.LS_Dtr=LS_OMN; this.LS_sYr=LS_BYg; this.LS_cCx=LS_cnN; this.LS_lWK=LS_AFO; this.LS_CTe=LS_KML; this.LS_Icu=LS_osV; this.LS_Ypx=LS_QMo; this.LS_xAA=LS_aIq; this.LS_kIa=LS_Niu; this.LS_Bvn=new LS_BufferConsumer();this.addConsumer(this.LS_Bvn,true); this.LS_Bvn.LS_CCh++;this.LS_Bvn.LS_NYS[0]="START OF LOG";this.LS_Bvn.LS_NYS[0+"_C"]="GE";}    function LS_mvQ(LS_feX,LS_Qra){} function LS_jan(){return false;} function LS_XPr(LS_Qra){if(!LS_Qra){return;}if(this.LS_pfK.indexOf(LS_Qra)>-1){return;}if(this.LS_pfK==""){this.LS_pfK+=LS_Qra;}else{this.LS_pfK+=" "+LS_Qra;}if(this.LS_sfW){this.LS_sfW.LS_lWK(LS_Qra);}} function LS_hGI(){return this.LS_pfK;} function LS_Consumer(){ this.LS_hUN=LS_mvQ;this.isCompatible=LS_jan;this.addLogCategory=LS_XPr;this.getLogCategories=LS_hGI; this.LS_sfW; this.LS_pfK=""; this.LS_RRw=false;}    function LS_nIb(){return true;} function LS_Xjk(LS_ZCu,LS_brP,LS_JNf,LS_Bxt){var LS_PSN;var LS_RmX=1;if(LS_ZCu==null){LS_PSN=this.LS_CkQ;}else{LS_PSN=this.LS_CCh-LS_ZCu+1;if(LS_PSN<this.LS_CkQ){LS_PSN=this.LS_CkQ;}}if(LS_brP==null){LS_brP="\n";}var LS_FBg="";if(typeof LS_Bxt!="undefined"&&LS_Bxt){LS_Bxt=true;}else{LS_Bxt=false;}while(LS_PSN<=this.LS_CCh){if(typeof LS_JNf!="undefined"&&LS_JNf){LS_FBg+=LS_JNf;if(LS_Bxt){LS_FBg+=LS_RmX+"=";}}if(LS_Bxt){LS_FBg+=escape(this.LS_NYS[LS_PSN]);}else{LS_FBg+=this.LS_NYS[LS_PSN];}LS_FBg+=LS_brP;LS_PSN++;LS_RmX++;}return LS_FBg;} function LS_ooV(LS_MnO){LS_PSN=this.LS_CkQ;while(LS_PSN<=this.LS_CCh){if(LS_MnO.LS_pfK.indexOf(this.LS_NYS[LS_PSN+"_C"])>-1){LS_MnO.LS_hUN(this.LS_NYS[LS_PSN],this.LS_NYS[LS_PSN+"_C"]);}LS_PSN++;}} function LS_QvR(LS_tqY){this.LS_rIG=LS_tqY;} function LS_kAw(LS_feX,LS_Qra){    var LS_OoQ=++this.LS_CCh;var LS_XBb=LS_OoQ-this.LS_rIG+1;while(this.LS_CkQ<LS_XBb){delete(this.LS_NYS[this.LS_CkQ]);delete(this.LS_NYS[this.LS_CkQ+"_C"]);this.LS_CkQ++;} this.LS_NYS[LS_OoQ]=LS_feX;this.LS_NYS[LS_OoQ+"_C"]=LS_Qra;} function LS_BufferConsumer(){this.isCompatible=LS_nIb; this.LS_hUN=LS_kAw;this.setHistoryDim=LS_QvR;this.extractLog=LS_Xjk;this.sendLogToConsumer=LS_ooV; this.LS_pfK=""; this.LS_rIG=0; this.LS_CkQ=0; this.LS_CCh=-1; this.LS_NYS={};}LS_BufferConsumer.prototype=new LS_Consumer();LS_BufferConsumer.prototype.constructor=LS_BufferConsumer;    function LS_OhL(){return(document.getElementById)?true:false;} function LS_Xsw(){return this.LS_krq;} function LS_qnv(LS_feX,LS_LQH){if(this.LS_oaO){if(this.LS_oAV){this.LS_krq.innerHTML=LS_feX+"<br>";}else{this.LS_krq.innerHTML+=LS_feX+"<br>";}}else{if(this.LS_oAV){}else{var LS_LWP=document.createTextNode(LS_feX);var LS_iQn=document.createElement("br");this.LS_krq.appendChild(LS_LWP);this.LS_krq.appendChild(LS_iQn);}}} function LS_Rbv(){this.LS_oaO=!this.LS_oaO;} function LS_iWH(LS_lYI){if(LS_lYI==true||LS_lYI==false){this.LS_oaO=LS_lYI;}else{this.LS_oaO=true;}} function LS_TXn(LS_IdC){if(LS_IdC==true||LS_IdC==false){this.LS_oAV=LS_IdC;}else{ this.LS_oAV=false;}} function LS_DOMConsumer(LS_krq){ this.LS_pfK=""; this.LS_krq=LS_krq; this.LS_oaO=true; this.LS_oAV=false;this.getDOMReference=LS_Xsw;this.isCompatible=LS_OhL;this.changeAppendMode=LS_Rbv; this.LS_VpE=LS_iWH;this.LS_YCT=LS_TXn; this.LS_hUN=LS_qnv;}LS_DOMConsumer.prototype=new LS_Consumer();LS_DOMConsumer.prototype.constructor=LS_DOMConsumer;    function LS_LbH(){ var LS_CTQ=null;if((typeof LS_IPG!="undefined")&&(LS_IPG)){LS_CTQ=LS_IPG;}else if((typeof LS_eNL!="undefined")&&(LS_eNL)){var LS_sqn=LS_eNL.LS_Rfb();if(LS_sqn!=null){LS_CTQ=LS_sqn.LS_IPG;}}if(LS_CTQ!=null){   var LS_BTw=this.LS_NYS.extractLog(this.LS_gGj,"&","LS_log",true);if(LS_BTw!=""){LS_BTw="LS_phase="+LS_CTQ.owningWindow.LS_srd+"&"+LS_BTw;LS_CTQ.LS_VpA(LS_BTw);}this.LS_gGj=0;this.LS_NYS=new LS_BufferConsumer();this.LS_NYS.setHistoryDim(this.LS_BLd);}else{ this.LS_NYS.setHistoryDim(this.LS_gGj+1);}} function LS_QOS(LS_feX,LS_Qra){if(this.LS_lTQ>0&&this.LS_CVo>=this.LS_lTQ){if(this.LS_gGj>0){ this.flush();}return;}if(this.LS_CMU>0&&LS_feX.length>this.LS_CMU){LS_feX=LS_feX.substr(0,this.LS_CMU);}this.LS_gGj++;this.LS_NYS.LS_hUN(LS_feX,LS_Qra);this.LS_CVo++;if(this.LS_gGj>=this.LS_BLd){this.flush();}} function LS_Nhb(LS_ICt){if(!LS_ICt){this.LS_CMU=0;}else{this.LS_CMU=LS_ICt;}} function LS_Rhe(max){if(!max){this.LS_lTQ=0;}else{this.LS_lTQ=max;}} function LS_RemoteConsumer(LS_BLd,LS_CMU,LS_lTQ){ this.LS_pfK=""; this.LS_BLd=LS_BLd; this.LS_CMU=LS_CMU;if(!this.LS_CMU){this.LS_CMU=0;} this.LS_lTQ=LS_lTQ;if(!this.LS_lTQ){this.LS_lTQ=0;} this.LS_VTh=LS_Rhe; this.LS_UDL=LS_Nhb; this.LS_CVo=0; this.LS_gGj=0; this.LS_pCf=new Array();this.LS_NYS=new LS_BufferConsumer();this.LS_NYS.setHistoryDim(this.LS_BLd);this.isCompatible=LS_nIb; this.LS_hUN=LS_QOS; this.flush=LS_LbH;}LS_RemoteConsumer.prototype=new LS_Consumer();LS_RemoteConsumer.prototype.constructor=LS_RemoteConsumer;    function LS_Wso(){var LS_wWE=(typeof this.LS_XqY!="undefined")?true:false;if(!LS_wWE){return false;}return(this.LS_XqY.apply)?true:false;} function LS_FpG(LS_feX,LS_Qra){var LS_jDh=new Array(LS_feX);     var LS_HEf=this.LS_XqY;if(LS_unA.LS_kIa(LS_Qra)){if(this.LS_OOv){LS_HEf=this.LS_OOv;}}   LS_VbS(LS_HEf,this.LS_hgP,LS_jDh);} function LS_FunctionConsumer(LS_XqY,LS_hgP,LS_OOv){ this.LS_pfK=""; this.LS_XqY=LS_XqY; this.LS_OOv=LS_OOv; this.LS_hgP=LS_hgP;this.isCompatible=LS_Wso; this.LS_hUN=LS_FpG;}LS_FunctionConsumer.prototype=new LS_Consumer();LS_FunctionConsumer.prototype.constructor=LS_FunctionConsumer;    function LS_uxQ(LS_feX,LS_Qra){this.LS_gGj++;this.LS_NYS.LS_hUN(LS_feX,LS_Qra);if(this.LS_gGj>=this.LS_gxM){this.LS_gGj=0;LS_joT=LS_eHB(this.LS_NYS,this.LS_gxM);setTimeout(LS_joT,10);this.LS_NYS=new LS_BufferConsumer();this.LS_NYS.setHistoryDim(this.LS_gxM);}} function LS_eHB(LS_NYS,LS_gGj){return function(){alert(LS_NYS.extractLog(LS_gGj,"\n"));}} function LS_AlertConsumer(LS_BLd){ this.LS_pfK=""; this.LS_gxM=LS_BLd; this.LS_gGj=0; this.LS_NYS=new LS_BufferConsumer();this.LS_NYS.setHistoryDim(this.LS_gxM); this.LS_hUN=LS_uxQ;this.isCompatible=LS_nIb;}LS_AlertConsumer.prototype=new LS_Consumer();LS_AlertConsumer.prototype.constructor=LS_AlertConsumer;    function LS_FrameConsumer(LS_VQE){ this.LS_pfK=""; this.LS_jmg=LS_VQE; this.LS_hUN=LS_aUJ;this.isCompatible=LS_nIb;}LS_FrameConsumer.prototype=new LS_Consumer();LS_FrameConsumer.prototype.constructor=LS_FrameConsumer; function LS_aUJ(LS_feX,LS_Qra){if(LS_Qra=="ER"){LS_feX="<b>"+LS_feX+"</b>";} if(this.LS_jmg.closed){LS_unA.removeConsumer(this);}else{this.LS_jmg.document.writeln(LS_feX);this.LS_jmg.document.writeln("<BR>");}}    function LS_ThrowExcConsumer(){ this.LS_pfK=""; this.LS_lLT=0; this.LS_hUN=LS_fhl;this.isCompatible=LS_wOB;}LS_ThrowExcConsumer.prototype=new LS_Consumer();LS_ThrowExcConsumer.prototype.constructor=LS_ThrowExcConsumer; function LS_wOB(){var LS_eaD=navigator.userAgent.toLowerCase();if(LS_eaD.indexOf("compatible")>-1){return false;}else{if(LS_eaD.indexOf("mozilla/4.79")>-1){ return false;}return true;}} function LS_fhl(LS_feX,LS_Qra){var LS_Vof=LS_QkQ(LS_feX);setTimeout(LS_Vof,10);} function LS_QkQ(LS_feX){return function(){eval("throw('" + LS_feX + "');");};}   var LS_oSl=null;var LS_unA=new LS_LogSystem();LS_unA.LS_Bvn.setHistoryDim(5);    function LS_UmP(LS_pkp){  } function LS_JZK(LS_hEC,LS_pkp,LS_dIW,LS_Ghj,min,max){var LS_GTO=new Number(LS_hEC);if(isNaN(LS_GTO)){LS_unA.LS_PWu("This is a not valid value for "+LS_pkp+": "+'"'+LS_hEC+'"'+". Please use a number",LS_pkp);LS_unA.log("OP",LS_pkp,LS_dIW);return LS_dIW;}else if(LS_Ghj==true&&LS_GTO!=Math.round(LS_GTO)){LS_unA.LS_PWu("This is a not valid value for "+LS_pkp+": "+LS_hEC+". Please use an integer",LS_pkp);LS_unA.log("OP",LS_pkp,LS_dIW);return LS_dIW;}else if(min!=null&&LS_GTO<min){LS_unA.LS_PWu("This is a not valid value for "+LS_pkp+": "+LS_hEC+". The minimum value allowed is "+min,LS_pkp);LS_unA.log("OP",LS_pkp,LS_dIW);return LS_dIW;}else if(max!=null&&LS_GTO>max){LS_unA.LS_PWu("This is a not valid value for "+LS_pkp+": "+LS_hEC+". The maximum value allowed is "+max,LS_pkp);LS_unA.log("OP",LS_pkp,LS_dIW);return LS_dIW;}else{LS_unA.log("OP",LS_pkp,LS_GTO);return LS_GTO;}}    function LS_NLF(LS_ihr){ this.LS_iEf=LS_ihr; this.LS_CIZ=LS_rid; this.LS_aeP=LS_UgD; this.LS_fhP=LS_CgW; this.LS_iEd=LS_Lrr;} function LS_QmJ(LS_ihr){return LS_ihr.LS_RGf;} function LS_rid(LS_mjU,LS_Elp){try{if(this.LS_iEf==null){return "null";}else if(this.LS_iEf.closed){this.LS_iEf=null;return "closed";}else if(!this.LS_iEf.LS_RGf){this.LS_iEf=null;return "not active";}else if(LS_mjU){if(this.LS_iEf.LS_RwS){ if(LS_Elp&&(!this.LS_iEf.LS_IPG||!this.LS_iEf.LS_IPG.LS_RJr)){    this.LS_iEf=null;return "wait conf";}}else if(this.LS_iEf.LS_ThX){ LS_ThX=this.LS_iEf.LS_ThX;this.LS_iEf=LS_ThX;return "linked: "+this.LS_CIZ(true);}else{   LS_unA.LS_JnA(false,'LS_rid',this.LS_iEf);this.LS_iEf=null;return "not engine";}}return "OK";}catch(LS_nLI){this.LS_iEf=null;return "exception";}} function LS_UgD(LS_dwe,LS_CBZ){var LS_ebW=LS_dwe+"__TRASH";var LS_jJS=this.LS_iEd(LS_dwe,LS_ebW);var LS_rcA="eval(" + '"' + LS_jJS + "; " + '"' + ")"; LS_unA.log("FM",'LS_UgD',"trying...");var LS_CJY=LS_oii("javascript:"+LS_rcA,LS_dwe); LS_unA.log("FM",'LS_UgD',"page",LS_CJY!=null);if(LS_CJY==null){    var LS_CJY=LS_oii(LS_BoA,LS_dwe);}LS_unA.log("FM",'LS_UgD',"page",LS_CJY!=null);if(LS_CJY==null){return;}LS_unA.log("FM",'LS_UgD',"closed",LS_CJY.closed);if(LS_CJY.closed){return;}  if(LS_CBZ){LS_unA.log("FM",'LS_UgD',"top",(LS_CJY==LS_CJY.top));if(LS_CJY==LS_CJY.top&&!LS_CJY.LS_Xxg){   if(LS_kcS){LS_kcS(LS_oPa,window,LS_CJY,LS_dwe,LS_ebW);}else{LS_oPa(LS_CJY,LS_dwe,LS_ebW);}return;}LS_CJY=LS_CJY.parent;LS_unA.log("FM",'LS_UgD',"parent",LS_CJY!=null);if(LS_CJY==null){return;}}LS_unA.log("FM",'LS_UgD',"logging object",(LS_CJY.LS_unA!=null));if(!LS_CJY.LS_unA){return;}LS_unA.log("FM",'LS_UgD',"internal Log",(LS_CJY.LS_unA.LS_Bvn!=null));if(!LS_CJY.LS_unA.LS_Bvn){return;}this.LS_iEf=LS_CJY;} function LS_CgW(LS_AXw){this.LS_aeP("LS__"+LS_AXw,true);var LS_Auh=this.LS_CIZ(true);LS_unA.log("FM",'LS_CgW',LS_Auh);return LS_Auh;}    var LS_EuM=0; var LS_XxD=0; var LS_qcl=false; var LS_JYp;LS_JYp="You have Norton Internet Security or Norton\n";LS_JYp+="Personal Firewall installed on this computer.\n";LS_JYp+="If no real-time data show up, then you need\n";LS_JYp+="to disable Ad Blocking in Norton Internet\n";LS_JYp+="Security and then refresh this page"; function LS_oii(LS_MKw,LS_dwe){var LS_tab=null;if(LS_kcS){LS_tab=LS_kcS(LS_HZe,window,LS_MKw,LS_dwe);}else{LS_tab=LS_HZe(LS_MKw,LS_dwe);}if(LS_tab!=null){LS_XxD++;}return LS_tab;} function LS_HZe(LS_MKw,LS_dwe){if(window.SymError){var LS_hoD=true;if((LS_XxD-LS_EuM)<-5){   LS_hoD=false;}if(window.SymRealWinOpen&&LS_hoD){LS_EuM++;LS_unA.log("PC",'LS_HZe',1); return window.SymRealWinOpen(LS_MKw,LS_dwe,"height=100,width=100",true);}else if(!LS_qcl){LS_qcl=true;LS_unA.LS_PWu(LS_JYp,"window.open");    var LS_LtI=null;if(window.LS_IPG){LS_LtI=LS_IPG;}else if(window.LS_Xxg){LS_LtI=LS_Xxg;}if(LS_LtI!=null){LS_TTK(LS_LtI,100,LS_JYp);}}LS_hoD=true;LS_EuM=0;return null;}else{return window.open(LS_MKw,LS_dwe,"height=100,width=100",true);}} function LS_oPa(LS_CJY,LS_dwe,LS_ebW){ if(LS_CJY.name!=LS_dwe&&LS_CJY.name!=LS_ebW){return;}LS_CJY.close();} function LS_Lrr(LS_pkp,LS_wXU){var LS_GnW=function(LS_pkp,LS_wXU){if(window.name==LS_pkp){if(window==top&&!(window.LS_unA&&window.LS_unA.LS_Bvn)){window.name=LS_wXU;window.close();}}};      var LS_vPP="callFun";  return "var "+LS_vPP+" = "+LS_GnW.toString()+"; "+LS_vPP+"('"+LS_pkp+"', '"+LS_wXU+"');";}     function LS_tEE(LS_Wgr){var LS_Hox=0;var LS_qOJ=LS_Wgr.length;var LS_PSN;for(LS_PSN=0;LS_PSN<LS_qOJ;LS_PSN++){LS_Hox+=LS_Wgr.charCodeAt(LS_PSN);}return parseInt(LS_Hox);} function LS_LYm(LS_DNa,LS_IQe,LS_XBb,LS_Qes,LS_cIR){ var LS_bqZ=3;var LS_ale;var LS_gTx=LS_XBb;var LS_XUY=LS_XBb-LS_Qes;var LS_mhm="";var LS_Hox=this.LS_tEE(LS_IQe.toString()); if(LS_Hox>0){var LS_gne=LS_DNa.length;if(LS_gne>0){var LS_PSN; for(LS_PSN=0;LS_gTx+LS_bqZ-LS_PSN<=LS_gne;LS_PSN+=3){ var LS_lYR=LS_PSN;if(LS_XUY>0){for(LS_lYR=LS_Hox * 3;LS_lYR>=LS_XUY;LS_lYR-=LS_XUY);} var LS_jeF=LS_DNa.substring(LS_PSN,LS_bqZ-1); var LS_SWc=LS_DNa.substring(LS_lYR,LS_lYR+2); var LS_dmU=LS_DNa.substring(LS_gTx,LS_gTx+LS_bqZ-LS_PSN); LS_ale=parseInt(LS_jeF)-parseInt(LS_SWc)+LS_cIR-parseInt(LS_dmU);     var LS_XZx=unescape("%"+LS_ale.toString(16)); LS_mhm=LS_XZx+LS_mhm; LS_bqZ+=3;LS_gTx+=3;LS_Hox+=LS_ale;}}} return LS_mhm;}     function LS_Fit(){return this.LS_unA;}  function LS_getLogger(){return LS_unA;} var LS_qWh=null; var LS_BoA="lsblank.html";  function Context(){ this.LS_BMC=null;this.setDomain=LS_Ciw; this.LS_fVX=null;this.setDebugAlertsOnClientError=LS_SmE; this.LS_vXT=null;this.setRemoteAlertsOnClientError=LS_lrU; this.getLogger=LS_Fit; this.bind=LS_BuH; this.LS_FBg=LS_HPI; this.LS_ZfD=LS_ZFM; this.parent=null; this.LS_unA=null;} function LS_HPI(){LS_dET="<table border=1>";LS_dET+=LS_Qfe('LS_BMC',this.LS_BMC);LS_dET+=LS_Qfe('LS_fVX',this.LS_fVX);LS_dET+=LS_Qfe('LS_vXT',this.LS_vXT);LS_dET+="</table>";return LS_dET;} function LS_ZFM(LS_hBh){LS_bZH(this,'LS_BMC',LS_hBh.LS_BMC);LS_bZH(this,'LS_fVX',LS_hBh.LS_fVX);LS_bZH(this,'LS_vXT',LS_hBh.LS_vXT);if(!this.LS_unA){this.LS_unA=LS_hBh.LS_unA;}if(window.LS_IPG){LS_UYV('LS_BMC',this.LS_BMC,"context");LS_UYV('LS_fVX',this.LS_fVX,"context");LS_UYV('LS_vXT',this.LS_vXT,"context");}} function LS_BuH(){if(LS_qWh!=null&&LS_qWh!=""){ document.domain=LS_qWh;     LS_BoA+="?"+LS_qWh;}LS_oSl=this; LS_teM();return true;} function LS_UqM(){if(LS_qWh!=null&&LS_qWh!=""){return LS_qWh;}else{return null;}} function LS_SiW(hostname){if(LS_qWh!=null&&LS_qWh!=""){if(hostname.indexOf(LS_qWh)==-1){return false;}}  return true;} function LS_SmE(LS_YbC){if(this.parent==window.LS_IPG||this.parent==null){if(LS_YbC==this.LS_fVX){return;}if(LS_YbC){this.LS_fVX=true; LS_XYL=new LS_AlertConsumer(1);LS_XYL.addLogCategory("ER");LS_unA.addConsumer(LS_XYL,true);}else{ LS_unA.removeConsumer(LS_XYL);this.LS_fVX=false;}if(this.parent!=null){ LS_UYV('LS_fVX',this.LS_fVX,"context");}}else{  if(this.parent.LS_uNQ("setDebugAlertsOnClientError")){this.parent.LS_vFM.context.setDebugAlertsOnClientError(LS_YbC);}}} function LS_lrU(LS_YbC,LS_CMU,LS_lTQ){if(this.parent==window.LS_IPG||this.parent==null){if(LS_YbC==this.LS_vXT){if(LS_YbC){if(LS_CMU!=LS_DKg.LS_CMU){LS_DKg.LS_UDL(LS_CMU);}if(LS_lTQ!=LS_DKg.LS_lTQ){LS_DKg.LS_VTh(LS_lTQ);}}return;}if(LS_YbC){this.LS_vXT=true;LS_DKg=new LS_RemoteConsumer(1,LS_CMU,LS_lTQ);LS_DKg.addLogCategory("ER");LS_unA.addConsumer(LS_DKg,true);}else{LS_unA.removeConsumer(LS_DKg);this.LS_vXT=false;}if(this.parent!=null){ LS_UYV('LS_vXT',this.LS_vXT,"context");}}else{  if(this.parent.LS_uNQ("setRemoteAlertsOnClientError")){this.parent.LS_vFM.context.setRemoteAlertsOnClientError(LS_YbC);}}} function LS_Ciw(domain){if(this.parent==window.LS_IPG||this.parent==null){ if(domain!=null&&domain!=""&&LS_oSl!=this){LS_qWh=domain;  this.LS_BMC=LS_qWh;if(LS_unA){LS_unA.log("OP",'LS_Ciw',LS_qWh);}}if(!LS_SiW(location.hostname)){LS_unA.LS_PWu("The domain set is inconsistent with the hostname used","setDomain");}if(this.parent!=null){ LS_UYV('LS_BMC',this.LS_BMC,"context");}}else{  if(this.parent.LS_uNQ("setDomain")){this.parent.LS_vFM.context.setDomain(domain);}}}  function Policy(){ this.LS_fiM=0;this.setMaxBandwidth=LS_kHj;this.getMaxBandwidth=LS_IEc; this.LS_MmH=NaN; this.LS_Acs=NaN; this.setKeepaliveInterval=LS_Zvu;this.getKeepaliveInterval=LS_UVE; this.LS_QkV=2000;this.setTimeoutForStalled=LS_iHQ;this.getTimeoutForStalled=LS_YcI; this.LS_hEm=15000;this.setTimeoutForReconnect=LS_sIu;this.getTimeoutForReconnect=LS_oaE; this.LS_Hsj=NaN; this.LS_SNm=500;this.setPollingInterval=LS_Qdv;this.getPollingInterval=LS_iah; this.LS_gOw=30000;this.setIdleTimeout=LS_YjZ;this.getIdleTimeout=LS_wiG; this.LS_ONp=false;this.setSlowingEnabled=LS_kZU;this.isSlowingEnabled=LS_Qrx; this.LS_FIN=4000;this.setConnectTimeout=LS_PUi;this.getConnectTimeout=LS_voR; this.LS_vTb=30000;this.setStreamingTimeout=LS_fFI;this.getStreamingTimeout=LS_NDJ; this.LS_uqK=1000;this.setFirstPollInterval=LS_CUQ;this.getFirstPollInterval=LS_QPE; this.LS_bet=300;this.setRequestSerializationTimeout=LS_TIC;this.getRequestSerializationTimeout=LS_AYU; this.LS_ZfD=LS_WRe; this.LS_FBg=LS_lBY; this.LS_erp=LS_wkX; this.LS_HYx=LS_JZK; this.parent=null;} function LS_lBY(){LS_dET="<table border=1>";LS_dET+=LS_Qfe('LS_fiM',this.LS_fiM);LS_dET+=LS_Qfe('LS_MmH',this.LS_MmH);LS_dET+=LS_Qfe('LS_Acs',this.LS_Acs);LS_dET+=LS_Qfe('LS_QkV',this.LS_QkV);LS_dET+=LS_Qfe('LS_hEm',this.LS_hEm);LS_dET+=LS_Qfe('LS_SNm',this.LS_SNm);LS_dET+=LS_Qfe('LS_gOw',this.LS_gOw);LS_dET+=LS_Qfe('LS_ONp',this.LS_ONp);LS_dET+=LS_Qfe('LS_FIN',this.LS_FIN);LS_dET+=LS_Qfe('LS_vTb',this.LS_vTb);LS_dET+=LS_Qfe('LS_uqK',this.LS_uqK);LS_dET+=LS_Qfe('LS_bet',this.LS_bet);LS_dET+="</table>";return LS_dET;} function LS_Qfe(name,LS_nts){return "<tr><td>"+name+"</td><td>"+LS_nts+"</td></tr>";} function LS_WRe(LS_hBh){LS_bZH(this,'LS_fiM',LS_hBh.LS_fiM);LS_bZH(this,'LS_MmH',LS_hBh.LS_MmH);LS_bZH(this,'LS_Acs',LS_hBh.LS_Acs);LS_bZH(this,'LS_QkV',LS_hBh.LS_QkV);LS_bZH(this,'LS_hEm',LS_hBh.LS_hEm);LS_bZH(this,'LS_SNm',LS_hBh.LS_SNm);LS_bZH(this,'LS_gOw',LS_hBh.LS_gOw);LS_bZH(this,'LS_ONp',LS_hBh.LS_ONp);LS_bZH(this,'LS_FIN',LS_hBh.LS_FIN);LS_bZH(this,'LS_vTb',LS_hBh.LS_vTb);LS_bZH(this,'LS_uqK',LS_hBh.LS_uqK);LS_bZH(this,'LS_bet',LS_hBh.LS_bet);if(window.LS_IPG){LS_UYV('LS_fiM',this.LS_fiM,"policy");LS_UYV('LS_MmH',this.LS_MmH,"policy");LS_UYV('LS_Acs',this.LS_Acs,"policy");LS_UYV('LS_QkV',this.LS_QkV,"policy");LS_UYV('LS_hEm',this.LS_hEm,"policy");LS_UYV('LS_SNm',this.LS_SNm,"policy");LS_UYV('LS_gOw',this.LS_gOw,"policy");LS_UYV('LS_ONp',this.LS_ONp,"policy");LS_UYV('LS_FIN',this.LS_FIN,"policy");LS_UYV('LS_vTb',this.LS_vTb,"policy");LS_UYV('LS_uqK',this.LS_uqK,"policy");LS_UYV('LS_bet',this.LS_bet,"policy");}} function LS_TIC(LS_JrU){if(this.parent==window.LS_IPG){this.LS_bet=this.LS_HYx(LS_JrU,"setRequestSerializationTimeout",this.LS_bet); LS_UYV('LS_bet',this.LS_bet,"policy");}else{ if(this.parent.LS_uNQ("setRequestSerializationTimeout")){this.parent.LS_vFM.policy.setRequestSerializationTimeout(LS_JrU);}}} function LS_AYU(){return this.LS_bet;} function LS_kHj(LS_fiM){if(this.parent==window.LS_IPG){LS_YId=new String(LS_fiM);if(LS_YId.toUpperCase()=="UNLIMITED"){this.LS_fiM=0;LS_unA.log("OP",'LS_kHj',"UNLIMITED");}else{this.LS_fiM=this.LS_HYx(LS_fiM,"setMaxBandwidth",this.LS_fiM);LS_unA.log("OP",'LS_kHj',this.LS_fiM);} LS_UYV('LS_fiM',this.LS_fiM,"policy");   LS_BZb=LS_kHj.arguments[1]; this.LS_erp("LS_SMB",LS_BZb);}else{if(this.parent.LS_uNQ("setMaxBandwidth")){ this.parent.LS_vFM.policy.setMaxBandwidth(LS_fiM);}}} function LS_IEc(){return this.LS_fiM;} function LS_Zvu(LS_MmH){if(this.parent==window.LS_IPG){this.LS_MmH=this.LS_HYx(LS_MmH,"setKeepaliveInterval",this.LS_MmH); LS_UYV('LS_MmH',this.LS_MmH,"policy");}else{if(this.parent.LS_uNQ("setKeepaliveInterval")){this.parent.LS_vFM.policy.setKeepaliveInterval(LS_MmH);}}} function LS_UVE(){if(!isNaN(this.LS_Acs)){return this.LS_Acs;}return this.LS_MmH;} function LS_iHQ(LS_QkV){if(this.parent==window.LS_IPG){this.LS_QkV=this.LS_HYx(LS_QkV,"setTimeoutForStalled",this.LS_QkV); LS_UYV('LS_QkV',this.LS_QkV,"policy");}else{if(this.parent.LS_uNQ("setTimeoutForStalled")){this.parent.LS_vFM.policy.setTimeoutForStalled(LS_QkV);}}} function LS_YcI(){return this.LS_QkV;} function LS_sIu(LS_hEm){if(this.parent==window.LS_IPG){this.LS_hEm=this.LS_HYx(LS_hEm,"setTimeoutForReconnect",this.LS_hEm); LS_UYV('LS_hEm',this.LS_hEm,"policy");}else{if(this.parent.LS_uNQ("setTimeoutForReconnect")){this.parent.LS_vFM.policy.setTimeoutForReconnect(LS_hEm);}}} function LS_oaE(){return this.LS_hEm;} function LS_Qdv(LS_SNm){if(this.parent==window.LS_IPG){this.LS_SNm=this.LS_HYx(LS_SNm,"setPollingInterval",this.LS_SNm); LS_UYV('LS_SNm',this.LS_SNm,"policy");}else{if(this.parent.LS_uNQ("setPollingInterval")){this.parent.LS_vFM.policy.setPollingInterval(LS_SNm);}}} function LS_iah(){if(!isNaN(this.LS_Hsj)){return this.LS_Hsj;}return this.LS_SNm;} function LS_YjZ(LS_gOw){if(this.parent==window.LS_IPG){this.LS_gOw=this.LS_HYx(LS_gOw,"setIdleTimeout",this.LS_gOw); LS_UYV('LS_gOw',this.LS_gOw,"policy");}else{if(this.parent.LS_uNQ("setIdleTimeout")){this.parent.LS_vFM.policy.setIdleTimeout(LS_gOw);}}} function LS_wiG(){return this.LS_gOw;} function LS_kZU(LS_ONp){if(this.parent==window.LS_IPG){if(LS_ONp){this.LS_ONp=true;}else{this.LS_ONp=false;} LS_unA.log("OP",'LS_kZU',this.LS_ONp); LS_UYV('LS_ONp',this.LS_ONp,"policy");}else{if(this.parent.LS_uNQ("setSlowingEnabled")){this.parent.LS_vFM.policy.setSlowingEnabled(LS_ONp);}}} function LS_Qrx(){return this.LS_ONp;} function LS_PUi(LS_DXN){if(this.parent==window.LS_IPG){this.LS_FIN=this.LS_HYx(LS_DXN,"setConnectTimeout",this.LS_FIN); LS_UYV('LS_FIN',this.LS_FIN,"policy");}else{if(this.parent.LS_uNQ("setConnectTimeout")){this.parent.LS_vFM.policy.setConnectTimeout(LS_DXN);}}} function LS_voR(){return this.LS_FIN;} function LS_fFI(LS_vsG){if(this.parent==window.LS_IPG){this.LS_vTb=this.LS_HYx(LS_vsG,"setStreamingTimeout",this.LS_vTb); LS_UYV('LS_vTb',this.LS_vTb,"policy");}else{if(this.parent.LS_uNQ("setStreamingTimeout")){this.parent.LS_vFM.policy.setStreamingTimeout(LS_vsG);}}} function LS_NDJ(){return this.LS_vTb;} function LS_CUQ(LS_tku){if(this.parent==window.LS_IPG){this.LS_uqK=this.LS_HYx(LS_tku,"setFirstPollInterval",this.LS_uqK); LS_UYV('LS_uqK',this.LS_uqK,"policy");}else{if(this.parent.LS_uNQ("setFirstPollInterval")){this.parent.LS_vFM.policy.setFirstPollInterval(LS_tku);}}} function LS_QPE(){return this.LS_uqK;} function LS_wkX(LS_prN,LS_BZb){   if((LS_xiA!=LS_mrO&&LS_xiA!=LS_fTV)||(this.parent!=LS_IPG)){ return false;}var LS_tfx=LS_kAG()+LS_fbO();var LS_aVf=LS_Hql("LS_op=constrain&"+LS_WLd());var LS_FFC=new LS_Hlk(LS_dgJ);LS_bfT(LS_prN,LS_tfx,LS_aVf,LS_FFC,LS_BZb);return true;}  function Connection(){ this.LS_UvK=location.hostname;this.setLSHost=LS_HgD;this.getLSHost=LS_djF; this.LS_IMQ=location.port; this.LS_OYL=location.port;this.setLSPort=LS_kPh;this.getLSPort=LS_WsK; this.LS_scP=null;this.setAdapterName=LS_tNC;this.getAdapterName=LS_UDm; this.LS_fCe=location.protocol; this.setStreamProtocol=LS_Ouv; this.getStreamProtocol=LS_aRx; this.setStreamPort=LS_cmb; this.getStreamPort=LS_NJW; this.LS_BeL=location.protocol; this.setControlProtocol=LS_CqL; this.getControlProtocol=LS_HUe; this.setControlPort=LS_DED; this.getControlPort=LS_ALM; this.LS_MZd=null;this.setUserName=LS_inj;  this.LS_Gmr=null;this.setPassword=LS_uOQ;  this.LS_HYx=LS_JZK; this.LS_FBg=LS_ewa; this.parent=null; this.LS_ZfD=LS_ZCr;} function LS_ewa(){LS_dET="<table border=1>";LS_dET+=LS_Qfe('LS_UvK',this.LS_UvK);LS_dET+=LS_Qfe('LS_IMQ',this.LS_IMQ);LS_dET+=LS_Qfe('LS_OYL',this.LS_OYL);LS_dET+=LS_Qfe('LS_scP',this.LS_scP);LS_dET+=LS_Qfe('LS_fCe',this.LS_fCe);LS_dET+=LS_Qfe('LS_BeL',this.LS_BeL);LS_dET+=LS_Qfe('LS_MZd',this.LS_MZd);LS_dET+=LS_Qfe('LS_Gmr',this.LS_Gmr);LS_dET+="</table>";return LS_dET;} function LS_ZCr(LS_hBh){LS_bZH(this,'LS_UvK',LS_hBh.LS_UvK);LS_bZH(this,'LS_IMQ',LS_hBh.LS_IMQ);LS_bZH(this,'LS_OYL',LS_hBh.LS_OYL);LS_bZH(this,'LS_scP',LS_hBh.LS_scP);LS_bZH(this,'LS_fCe',LS_hBh.LS_fCe);LS_bZH(this,'LS_BeL',LS_hBh.LS_BeL);LS_bZH(this,'LS_MZd',LS_hBh.LS_MZd);LS_bZH(this,'LS_Gmr',LS_hBh.LS_Gmr);if(window.LS_IPG){LS_UYV('LS_UvK',this.LS_UvK,"connection");LS_UYV('LS_IMQ',this.LS_IMQ,"connection");LS_UYV('LS_OYL',this.LS_OYL,"connection");LS_UYV('LS_scP',this.LS_scP,"connection");LS_UYV('LS_fCe',this.LS_fCe,"connection");LS_UYV('LS_BeL',this.LS_BeL,"connection");LS_UYV('LS_MZd',this.LS_MZd,"connection");LS_UYV('LS_Gmr',this.LS_Gmr,"connection");}} function LS_HgD(LS_CUG){if(this.parent==window.LS_IPG){if(LS_CUG){if(LS_CUG.indexOf("://")>0){LS_CUG=LS_CUG.substring(LS_CUG.indexOf("://")+3);}if(!LS_SiW(LS_CUG)){LS_unA.LS_PWu(LS_ooO()+" Server hostname inconsistent with the domain set","setLSHost");}this.LS_UvK=LS_CUG;LS_tio=LS_CUG;}else{this.LS_UvK=location.hostname;LS_tio=location.hostname;}LS_unA.log("OP",'LS_HgD',this.LS_UvK); LS_UYV('LS_UvK',this.LS_UvK,"connection");}else{if(this.parent.LS_uNQ("setLSHost")){this.parent.LS_vFM.connection.setLSHost(LS_CUG);}}} function LS_djF(){return this.LS_UvK;} function LS_kPh(port){if(this.parent==window.LS_IPG){if(port){this.LS_IMQ=this.LS_HYx(port,"setLSPort",this.LS_IMQ);this.LS_OYL=this.LS_HYx(port,"setLSPort",this.LS_OYL);}else{this.LS_IMQ=location.port;this.LS_OYL=location.port;} LS_UYV('LS_IMQ',this.LS_IMQ,"connection");LS_UYV('LS_OYL',this.LS_OYL,"connection");}else{if(this.parent.LS_uNQ("setLSPort")){this.parent.LS_vFM.connection.setLSPort(port);}}} function LS_WsK(){return this.LS_IMQ;} function LS_tNC(LS_scP){if(this.parent==window.LS_IPG){this.LS_scP=LS_scP;LS_unA.log("OP",'LS_tNC',this.LS_scP);LS_UYV('LS_scP',this.LS_scP,"connection");}else{if(this.parent.LS_uNQ("setAdapterName")){this.parent.LS_vFM.connection.setAdapterName(LS_scP);}}} function LS_UDm(){return this.LS_scP;} function LS_Ouv(LS_fCe){if(this.parent==window.LS_IPG){if(LS_fCe){var LS_udi=LS_fCe.toUpperCase();if(LS_udi!="HTTP"&&LS_udi!="HTTPS"){LS_unA.LS_PWu("Stream protocol must be 'HTTP' or 'HTTPS', cannot be '"+LS_udi+"'","setStreamProtocol");}else{if(location.protocol.toUpperCase()!=LS_udi+":"){LS_unA.LS_PWu("The stream protocol must be the same as location.protocol.\nSee the documentation for further information","setStreamProtocol");}else{this.LS_fCe=LS_udi+":";}}}else{this.LS_fCe=location.protocol;}LS_unA.log("OP",'LS_Ouv',this.LS_fCe);  }else{if(this.parent.LS_uNQ("setStreamProtocol")){this.parent.LS_vFM.connection.setStreamProtocol(LS_fCe);}}} function LS_aRx(){return this.LS_fCe.toLowerCase();} function LS_cmb(LS_IMQ){if(this.parent==window.LS_IPG){if(LS_IMQ){this.LS_IMQ=this.LS_HYx(LS_IMQ,"setStreamPort",this.LS_IMQ);}else{this.LS_IMQ=location.port;}LS_UYV('LS_IMQ',this.LS_IMQ,"connection");}else{if(this.parent.LS_uNQ("setStreamPort")){this.parent.LS_vFM.connection.setStreamPort(LS_IMQ);}}} function LS_NJW(){return this.LS_IMQ;} function LS_CqL(LS_BeL){if(this.parent==window.LS_IPG){if(LS_BeL){LS_muI=LS_BeL.toUpperCase();if(LS_muI!="HTTP"&&LS_muI!="HTTPS"){LS_unA.LS_PWu("Control protocol must be 'HTTP' or 'HTTPS', cannot be '"+LS_muI+"'","setControlProtocol");}else{this.LS_BeL=LS_muI+":";LS_Rvv=this.LS_BeL+"//";}}else{this.LS_BeL=location.protocol;}LS_unA.log("OP",'LS_CqL',this.LS_BeL);  }else{if(this.parent.LS_uNQ("setControlProtocol")){this.parent.LS_vFM.connection.setControlProtocol(LS_BeL);}}} function LS_HUe(){return this.LS_BeL.toLowerCase();} function LS_DED(LS_OYL){if(this.parent==window.LS_IPG){if(LS_OYL){this.LS_OYL=this.LS_HYx(LS_OYL,"setControlPort",this.LS_OYL);}else{this.LS_OYL=location.port;}LS_UYV('LS_OYL',this.LS_OYL,"connection");}else{if(this.parent.LS_uNQ("setControlPort")){this.parent.LS_vFM.connection.setControlPort(LS_OYL);}}} function LS_ALM(){return this.LS_OYL;} function LS_inj(LS_MZd){if(this.parent==window.LS_IPG){this.LS_MZd=LS_MZd;LS_unA.log("OP",'LS_inj',this.LS_MZd);LS_UYV('LS_MZd',this.LS_MZd,"connection");}else{if(this.parent.LS_uNQ("setUserName")){this.parent.LS_vFM.connection.setUserName(LS_MZd);}}} function LS_dHS(){return this.LS_MZd;} function LS_uOQ(LS_FDm){if(this.parent==window.LS_IPG){this.LS_Gmr=LS_FDm;LS_unA.log("OP",'LS_uOQ',this.LS_Gmr);LS_UYV('LS_Gmr',this.LS_Gmr,"connection");}else{if(this.parent.LS_uNQ("setPassword")){this.parent.LS_vFM.connection.setPassword(LS_FDm);}}} function LS_CAb(){return this.LS_Gmr;} function LS_UYV(name,value,LS_PZP,LS_drp){var LS_lsp;if(LS_drp){LS_lsp=LS_drp.getPushPages();}else if(window.LS_IPG){LS_lsp=LS_IPG.getPushPages();}else{  return;}for(var LS_PSN=0;LS_PSN<LS_lsp.length;LS_PSN++){if(LS_lsp[LS_PSN].LS_KLC){if(LS_PZP&&LS_PZP!=""){LS_bZH(LS_lsp[LS_PSN].LS_KLC[LS_PZP],name,value);}else{LS_bZH(LS_lsp[LS_PSN].LS_KLC,name,value);}}}} function LS_wKC(LS_drp){var LS_lsp=LS_drp.getPushPages();for(var LS_PSN=0;LS_PSN<LS_lsp.length;LS_PSN++){if(LS_lsp[LS_PSN].LS_KLC){LS_lsp[LS_PSN].LS_KLC.context.LS_unA=LS_drp.context.LS_unA;}}} function LS_bZH(LS_Yxn,name,value){if(value&&value.toString){LS_Yxn[name]=value.toString();}else{LS_Yxn[name]=value;}} var LS_XEQ=new Context();  LS_XEQ.setDebugAlertsOnClientError(true); LS_XEQ.LS_unA=LS_unA;    if(typeof window.OpenAjax!="undefined"){ if(typeof OpenAjax.hub!="undefined"){OpenAjax.hub.registerLibrary("Lightstreamer","http://www.lightstreamer.com/","4.2");}else{ OpenAjax.registerLibrary("Lightstreamer","http://www.lightstreamer.com/","4.2");OpenAjax.registerGlobals("Lightstreamer",["Context","InternalContext","PushPage","OverwriteTable"]);}}

