/*
 * Creates an empty debug console
 * 
 * This file is only pulled in on production systems.  It creates a empty
 * version of the window.consol.log() method
 */
if (window.esconsole==null || typeof(window.esconsole)=="undefined") {  
  (function()
  {
    window.esconsole = 
    {
      log: function(message)
      {
        // Do nothing
      },
      emptyConsole: function()
      {
        // Do nothing
      }
    };
  })();
}

/*
 * Catch any window.console.log calls that may have been missed, they should all
 * be using esconsole.log.  Once we have changed them all we can remove this or 
 * just leave this here as it will protect IE and Wincare.
 */
if (window.console==null || typeof(window.console)=="undefined") {  
  (function()
  {
    window.console = 
    {
      log: function(message)
      {
        // Do nothing
      },
      emptyConsole: function()
      {
        // Do nothing
      }
    };
  })();
}var eStara_interval=5000;var eStara_restriction={};var eStara_obscuration={};if(typeof (eStara_debug_level)=="undefined"){eStara_debug_level=0;}var eStara_tmp_iframe=0;var eStara_fd_iframe=0;var eStara_fs_level=0;var eStara_urids_to_log=new Array();var eStara_urids_to_cookie=new Array();var eStara_debug_str="";var eStara_highlight_s="";var eStara_highlight_e="";var eStara_scroll=0;var eStara_clear=0;var eStara_ButtonJSFunctions=new Array();var eStara_GuiJSFunctions=new Array();var g_buttonJSRun=false;var g_guiJSRun=false;var eStara_CoBrowseSession=null;var eStara_revision=0;var eStara_set_revision=function(_1){if(typeof _1==="number"&&_1>eStara_revision){eStara_revision=_1;}};var eStara_init_form_data=function(){eStara_form_data={sent:"",current:"",outOfSync:function(){return (this.sent!==this.current)&&(this.current!=="");}};}();var eStara_get_dom_document=function(_2){var _3;if(_2.contentDocument){_3=_2.contentDocument;}else{_3=_2.document;}return typeof _3!=="undefined"?_3:false;};function eStara_urlencode(_4){if(typeof (encodeURIComponent)=="function"){return encodeURIComponent(_4);}else{return escape(_4);}}function eStara_urldecode(_5){if(typeof (decodeURIComponent)=="function"){return decodeURIComponent(_5);}else{return unescape(_5);}}function eStara_add_include(_6,_7){if(!_6.match(/\&$/)){_6+="&";}_6+="location="+eStara_urlencode((document.location).toString().substring(0,1000));if(eStara_def(_7)&&_7==0){}else{_6+="&revision="+eStara_revision;}_6+="&dnc="+(new Date()).getTime()+Math.round(Math.random()*1000000);eStara_append(_6);}function eStara_cleanup(c){try{if(eStara_checkIt("msie")){try{document.body.removeChild(c);}catch(err){var _9=document.getElementById("eStara_wrapper");if(_9){_9.removeChild(c);}else{throw err;}}}else{document.getElementsByTagName("head").item(0).removeChild(c);}c=null;}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_cleanup",err);}}}function eStara_append(_a){var _b=document.createElement("script");_b.setAttribute("type","text/javascript");_b.setAttribute("src",_a);_b.setAttribute("charset","UTF-8");if(!eStara_def(document.body)||typeof (document.body)!="object"||document.body==null){setTimeout("eStara_append('"+_a+"');",1000);return;}if(eStara_checkIt("msie")){var _c=function(){document.body.appendChild(_b);};setTimeout(_c,100);}else{var _d=document.getElementsByTagName("head").item(0);if(!_d){_d=document.createElement("head");document.documentElement.insertBefore(_d,document.documentElement.firstChild);}_d.appendChild(_b);}var _e=function(){eStara_cleanup(_b);};setTimeout(_e,10000);}function eStara_getpageid(){if(typeof (eStara_pageid)=="undefined"){var d=new Date();var _10="z"+d.getTime();if(eStara_isFrame(window)){try{_10=eStara_getNameForFrame(window.parent.eStara_getpageid(),window);}catch(e){_10=eStara_getNameForFrame(_10,window);}}eStara_pageid=_10;}return eStara_pageid;}function eStara_setpageid(_11){eStara_pageid=_11;}function eStara_getCobrowseSession(){if(eStara_CoBrowseSession==null){eStara_CoBrowseSession={startFunction:null,startParamsList:null,watchIframesIntervalID:null};}return eStara_CoBrowseSession;}var eStara_create_iframe=function(_12){esconsole.log("eStara_create_iframe: called");if(_12==="undefined"){return false;}var bIE=navigator.userAgent.indexOf("MSIE")!==-1&&navigator.userAgent.indexOf("Chrome")===-1;var _14;var _15=function(){if(bIE){_14=document.createElement("<iframe name=\""+_12+"\">");}else{_14=document.createElement("iframe");}_14.setAttribute("src","javascript:void(0);");_14.setAttribute("scrolling","no");_14.setAttribute("frameBorder","0");_14.setAttribute("id",_12);_14.setAttribute("name",_12);_14.style.border="0px";_14.style.width="0px";_14.style.height="0px";if(document.body){document.body.appendChild(_14);}else{document.appendChild(_14);}}();var _16=eStara_get_dom_document(_14);if(!_16){_15();}return _14;};var eStara_upload_form=function(url,_18,_19){esconsole.log("eStara_upload_form: called");var bIE=navigator.userAgent.indexOf("MSIE")!=-1;var _1b=navigator.userAgent.indexOf("MSIE 8")!=-1;var bFF=navigator.userAgent.indexOf("Gecko")!=-1;if(window.location.href.indexOf("estara.com/fs/cbb.php")!=-1){return;}if(!eStara_tmp_iframe){var _1d=eStara_create_iframe("eStara_tmp_iframe");if(!_1d){esconsole.log("eStara_upload_form: exit with no iframe");return;}eStara_tmp_iframe=_1d;}var _1e=eStara_get_dom_document(eStara_tmp_iframe);if(!_1e){esconsole.log("eStara_upload_form: exit with no domDocument");return;}if(!_18){_18="as00.estara.com";}if(!_19){_19=eStara_getpageid();}var _1f="eStara_upload_form_"+_19;url+="&pageid="+_19;var d=_1e.createElement("div");var _21=document.getElementsByTagName("head").item(0);var _22="";try{if(typeof (document.compatMode)!="undefined"&&document.compatMode!="BackCompat"){_22="<scr"+"ipt>var eStara_setdoctype=1;</scr"+"ipt>";}}catch(e){}var _23="";if(document.body.className!=null&&document.body.className!=""){_23+=" class=\""+document.body.className+"\"";}if(document.body.id!=null&&document.body.id!=""){_23+=" id=\""+document.body.id+"\"";}var _24=saveAndClearBlockedFields();var _25=document.body.innerHTML;_25=eStara_adjustInnerHtmlForFrames(eStara_getCoBrowseFrames(),_18,_25);var _26=eStara_escapeQuote("<head>"+_21.innerHTML+"</head><body"+_23+">"+_25+_22+"</body>");reloadFields(_24);var _27="";if(!bFF){_27="document.getElementById('"+_1f+"').submit();";}if(_1b){_26="MSIE8"+eStara_base64_encode(_26);}d.setAttribute("id","eStara_tmp_form");d.innerHTML="<form id=\""+_1f+"\" name=\""+_1f+"\" action=\""+url+"\" method=\"post\" target=\"eStara_tmp_iframe\"><input type=\"hidden\" name=\"uploadsize\" value=\""+_26.length+"\"><input type=\"hidden\" name=\"eStara_bigupload\" value=\""+_26+"\"></form><scr"+"ipt type=\"text/javascript\">"+_27+"</scr"+"ipt>";if(_1e.body){_1e.body.appendChild(d);}else{_1e.appendChild(d);}_1e.getElementById(_1f).submit();};var eStara_fd_post=function(_28,_29,_2a){esconsole.log("eStara_fd_post: called");var bIE=navigator.userAgent.indexOf("MSIE")!=-1&&navigator.userAgent.indexOf("MSIE 8")==-1;if(!bIE&&eStara_fd_iframe){document.body.removeChild(eStara_fd_iframe);eStara_fd_iframe=0;}if(!eStara_fd_iframe){var _2c=eStara_create_iframe("eStara_fd_iframe");if(!_2c){esconsole.log("eStara_fd_post: exit with no iframe");return;}eStara_fd_iframe=_2c;}var _2d=eStara_get_dom_document(eStara_fd_iframe);if(!_2d){esconsole.log("eStara_fd_post: exit with no domDocument");return;}var _2e="eStara_fd_form"+(new Date()).getTime()+Math.round(Math.random()*1000000);els={revision:eStara_revision,fs_firsttime:eStara_fs_firstime,location:eStara_urlencode((document.location).toString().substring(0,1000))};if(_2a){els.clientwidth=document.documentElement.clientWidth||document.body.clientWidth;els.clientheight=document.body.scrollHeight;els.clientposition=(document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop;}if(eStara_fs_firstime){els.referrer=eStara_urlencode((document.referrer).toString().substring(0,1000));}var _2f="";for(i in els){if(!els.hasOwnProperty(i)){continue;}_2f+="<input type=\"hidden\" name=\""+i+"\" value=\""+els[i]+"\">";}formData=_29==="sent"?eStara_form_data.sent:eStara_form_data.current;_2f+="<input type=\"hidden\" name=\"formData\" value=\""+formData+"\">";var div=_2d.createElement("div");div.setAttribute("id","eStara_fd_div");div.innerHTML="<form id=\""+_2e+"\" name=\""+_2e+"\" action=\""+_28+"\" method=\"post\" target=\"eStara_fd_iframe\">"+_2f+"</form>";if(_2d.body){_2d.body.appendChild(div);}else{_2d.appendChild(div);}_2d.getElementById(_2e).submit();};var eStara_build_form_action=function(_31,_32,_33){esconsole.log("eStara_build_form_action: called");if(!_31||!_32||!_33){esconsole.log("eStara_build_form_action: missing arguments");return;}var _34=_31+"?invite="+_32;_34+="&estara_fsguid="+_33;_34+="&fs_level="+eStara_fs_level;_34+="&location="+eStara_urlencode((document.location).toString().substring(0,1000));if(typeof eStara_pageid!=="undefined"&&(eStara_fs_level===1||eStara_fs_level===-2)){_34+="&pageid="+eStara_getpageid();}return _34;};var eStara_build_form_data=function(_35){var _36={};try{for(var j=0;j<10;j++){if(typeof (document)!="undefined"){if(typeof (document.forms[j])!="undefined"){var f=document.forms[j];if(f==null){continue;}for(var i=0;i<f.length;i++){var fv=f.elements[i];var fn=fv.name;var _3c=0;try{for(var _3d in eStara_restriction){if(!eStara_restriction.hasOwnProperty(_3d)||!_3d.match(/^\d*$/)){continue;}if(!_3c&&fn!=null&&fn!="undefined"&&typeof (fn)!="undefined"){var re=new RegExp(eStara_restriction[_3d]);var m=fn.match(re);if(m){_3c=1;}}}}catch(err){eStara_logerr("eStara_build_form_data - restrict ",err);}var _40="";try{if(_35){for(var _3d in eStara_obscuration){if(!eStara_obscuration.hasOwnProperty(_3d)||!_3d.match(/^\d*$/)){continue;}_40="restrict: "+_3d+" fn: "+fn;if(!_3c&&fn!=null&&fn!="undefined"&&typeof (fn)!="undefined"){var re=new RegExp(eStara_obscuration[_3d]);var m=fn.match(re);if(m){_3c=1;}}}}}catch(err){eStara_logerr("eStara_build_form_data - agentside "+_40,err);}if(_3c>0){continue;}try{if(typeof (fv.type)!="undefined"){if(fv.type!="textarea"&&fv.type!="submit"&&fv.type!="hidden"){var _41=j+"-"+i+"-"+eStara_urlencode(fv.name);var _42="";if(fv.type=="radio"){_42=eStara_urlencode(eStara_get_radio(fv));}else{if(fv.type=="select-one"||fv.type=="dropdown"){_42=fv.selectedIndex;}else{if(fv.type=="checkbox"){_42=fv.checked;}else{if(fv.type=="text"||fv.type=="hidden"&&(fn!=null&&fn!="undefined"&&typeof (fn)!="undefined")){var val=fv.value;for(var _44 in eStara_obscuration){if(!eStara_obscuration.hasOwnProperty(_44)||!_44.match(/^\d*$/)){continue;}var re=new RegExp(eStara_obscuration[_44]);var m=fn.match(re);if(m&&val.length){var _45;_45=val.replace(/./g,"*");val=_45;}}_42=eStara_urlencode(val);}else{_42=eStara_urlencode(fv.value);}}}}_36[_41]=_42;}}}catch(err){eStara_logerr("eStara_build_form_data - formInputs ",err);}}}}}try{if(typeof (eStara_toolkit_objs)=="object"){var _46="";var _47="";for(var k=0,len=eStara_toolkit_objs.length;k<len;k++){_46+=_47+eStara_toolkit_objs[k];_47=",";}if(_46!=""){_36.estaradraw=eStara_urlencode(_46);}}}catch(err){eStara_logerr("eStara_build_form_data - drawing ",err);}try{if(eStara_highlight_s!=""){var _49=eStara_highlight_s+"|"+eStara_highlight_e;if(_49!="|"){_36.estarahighlight=eStara_urlencode(_49);}eStara_highlight_s="";eStara_highlight_e="";}}catch(err){eStara_logerr("eStara_build_form_data - highlight ",err);}try{if(eStara_scroll){var _49=((document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop)+","+document.body.scrollHeight;if(_49!=""){_36.estarascroll=eStara_urlencode(_49);}eStara_scroll=0;}}catch(err){eStara_logerr("eStara_build_form_data - scroll ",err);}try{if(eStara_clear){_36.estaraclear=1;eStara_clear=0;}}catch(err){eStara_logerr("eStara_build_form_data - clear",err);}}catch(err){eStara_logerr("eStara_build_form_data",err);}var _4a="";if(typeof _36==="object"&&_36!=="undefined"){for(j in _36){if(!_36.hasOwnProperty(j)){continue;}_4a+="&"+j+"="+_36[j];}_4a=_4a.substring(1);}if(_4a===""){return "?";}else{return _4a;}};function eStara_escapeQuote(val){val=val.replace(/["]/g,"%!22");return val;}function saveAndClearBlockedFields(){try{var arr={};for(var _4d in eStara_obscuration){if(!eStara_obscuration.hasOwnProperty(_4d)||!_4d.match(/^\d*$/)){continue;}var _4e=eStara_obscuration[_4d];var f=document.getElementById(_4e);if(!f){var f1=document.getElementsByName(_4e);if(f1&&f1.length>0){f=f1[0];}}if(f){if(f.type=="text"||f.type=="hidden"||f.type=="textarea"){if(typeof (arr[_4e])=="undefined"){arr[_4e]=f.value;}f.value="";for(var i=0;i<arr[_4e].length;i++){f.value+="*";}}}}for(var _52 in eStara_restriction){if(!eStara_restriction.hasOwnProperty(_52)||!_52.match(/^\d*$/)){continue;}var _4e=eStara_restriction[_52];var f=document.getElementById(_4e);if(!f){var f1=document.getElementsByName(_4e);if(f1&&f1.length>0){f=f1[0];}}if(f){if(f.type=="text"||f.type=="hidden"||f.type=="textarea"){if(typeof (arr[_4e])=="undefined"){arr[_4e]=f.value;}f.value="";}}}return arr;}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("ClearBlocked",err);}}}function reloadFields(arr){for(var _54 in arr){if(!arr.hasOwnProperty(_54)){continue;}var f=document.getElementById(_54);if(!f){var f1=document.getElementsByName(_54);if(f1&&f1.length>0){f=f1[0];}}if(f){f.value=arr[_54];}}}function eStara_appendChild(_57,_58){if(null==_57.canHaveChildren||_57.canHaveChildren){_57.appendChild(document.createTextNode(_58));}else{_57.text=_58;}}function eStara_checkIt(_59){var _5a=navigator.userAgent.toLowerCase();place=_5a.indexOf(_59)+1;thestring=_59;return place;}function eStara_def(b){return (typeof (b)!="undefined");}function eStara_debug(str,_5d){if(_5d>=3){alert(str);}else{eStara_debug_str+=str+"<br>\n";}if(_5d==1&&typeof (eStara_mouseDown)=="function"&&!eStara_mouseDown_installed){eStara_mouseDown_installed=true;document.onmousedown=eStara_mouseDown;}}function eStara_debug_alert(){if(1){var d;var d2;var _60="";var _61=0;var _62="eStara Debugging:&nbsp;&nbsp;&nbsp;<a href=\"javascript:eStara_page_dump(1);\">DUMP PAGE</a>&nbsp;&nbsp;&nbsp;<a href=\"javascript:eStara_show_hide_report(1);\">REPORT ISSUE</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"javascript:eStara_show_hide_debug(0);\">CLOSE</a><br>";if(eStara_debug_str.indexOf("\n")!=0){d=document.createElement("div");d.setAttribute("id","eStara_debuglyr1");d.style.cssText="position:absolute;z-index:999998;background-color:#eee;left:100px;top:100px;border:2px solid #000;width:500px;height:400px;overflow:auto;";d2=document.createElement("div");d2.setAttribute("id","eStara_reportlyr1");d2.style.cssText="position:absolute;z-index:999999;background-color:#eee;left:100px;top:100px;border:2px solid #000;width:500px;height:400px;overflow:auto;visibility:hidden";_61=1;}else{d=document.getElementById("eStara_debuglyr1");_60=d.innerHTML;}if(_61){document.body.appendChild(d);document.body.appendChild(d2);}else{eStara_show_hide_debug(1);}d.innerHTML=_60+"<div>"+(_61?_62:"")+eStara_debug_str+"</div>";eStara_debug_str="\n";}}function eStara_report_issue(){}function eStara_page_dump(_63){var id=new Date().getTime();eStara_upload_form("https://as00.estara.com/fs/page_dump.php?location="+eStara_urlencode((document.location).toString().substring(0,1000))+"&id="+id);if(_63){window.open("https://as00.estara.com/fs/page_dump.php?id="+id);}return id;}function eStara_show_hide_report(_65){if(_65==0){_65="hidden";}else{_65="visible";var id="";var _67=document.getElementById("eStara_debuglyr1").innerHTML;var _68="<a href=\"javascript:eStara_show_hide_report(0);\">CLOSE</a><br/><form action=\"//as00.estara.com/fs/problem_report.php\" method=\"POST\" target=\"_blank\"><input type=\"hidden\" name=\"id\" value=\""+id+"\"><input type=\"hidden\" name=\"accountid\" value=\""+eStara_lr_accountid+"\"><input type=\"hidden\" name=\"estara_fsguid\" value="+eStara_fsguid+"><input type=\"hidden\" name=\"location\" value=\""+eStara_urlencode(document.location.toString())+"\"><input type=\"hidden\" name=\"debug\" value=\""+eStara_urlencode(_67+eStara_debug_str)+"\"><table border=\"1\"><tr><td>Comments</td><td><textarea rows=15 cols=45 name=\"comments\">The issue I am having is that.. </textarea></td></tr><tr><td>Email</td><td><input type=\"text\" name=\"email\"></td></tr><tr><td></td><td><input type=\"submit\"></td></tr></table></form>";document.getElementById("eStara_reportlyr1").innerHTML=_68;}document.getElementById("eStara_reportlyr1").style.visibility=_65;}function eStara_show_hide_debug(_69){if(_69==0){_69="hidden";}else{_69="visible";}document.getElementById("eStara_debuglyr1").style.visibility=_69;}function eStara_array_push_unique(arr,_6b){var _6c=false;for(var i=0;i<arr.length;i++){if(arr[i]==_6b){_6c=true;break;}}if(!_6c){arr[arr.length]=_6b;}return arr;}function eStara_simplify_value(_6e){_6e=_6e.replace(/^\s+/,"");_6e=_6e.replace(/\s+$/,"");_6e=_6e.replace(/\s+/," ");_6e=_6e.toLowerCase();return _6e;}function eStara_install_onclick(arg,_70){if(arg==""){return;}var _71=new Array();var elt=document.getElementById(arg);if(elt){_71=eStara_array_push_unique(_71,elt);}var _73=document.getElementsByName(arg);for(var i=0;i<_73.length;i++){_71=eStara_array_push_unique(_71,_73[i]);}var re=new RegExp(arg);var _73=document.getElementsByTagName("input");for(var i=0;i<_73.length;i++){elt=_73[i];if(elt.type=="submit"||elt.type=="button"||elt.type=="reset"){if(elt.value.match(re)){_71=eStara_array_push_unique(_71,elt);}}else{if(elt.type=="image"){if(elt.src.match(re)||elt.alt.match(re)){_71=eStara_array_push_unique(_71,_73[i]);}}}}var _73=document.getElementsByTagName("img");for(var i=0;i<_73.length;i++){elt=_73[i];if(elt.src.match(re)||elt.alt.match(re)){_71=eStara_array_push_unique(_71,_73[i]);}}var _73=document.getElementsByTagName("a");for(var i=0;i<_73.length;i++){elt=_73[i];if(elt.href.match(re)||elt.title.match(re)){_71=eStara_array_push_unique(_71,_73[i]);}}for(var i=0;i<_71.length;i++){elt=_71[i];var _76=elt.onclick?elt.onclick:function(e){};elt.onclick=function(e){eval(_70);return _76(e);};}}function eStara_get_radio(r){var i=0;var rl=r.length;if(rl=="undefined"||typeof (rl)=="undefined"){if(r.checked){return r.value;}else{return "";}}for(i=0;i<rl;i++){if(r[i].checked){return r[i].value;}}return "";}function eStara_set_radio(r,nam,val){var i=0;var rl=r.length;if(rl=="undefined"||typeof (rl)=="undefined"){r.checked=(r.value==val.toString());return;}for(i=0;i<rl;i++){if(r[i].value==val.toString()){r[i].checked=true;}else{r[i].checked=false;}}}function eStara_setform(j,i,nam,val){esconsole.log("eStara_setform: entering");if(typeof (document)!="undefined"){if(typeof (document.forms[j])!="undefined"){var fv;if(typeof (document.forms[j].elements[nam])!="undefined"){fv=document.forms[j].elements[nam];if((typeof (fv.type)!="undefined"&&fv.type=="radio")||(fv.length&&fv[0].type=="radio")){fv=document.forms[j].elements[i];}if((typeof (fv.type)!="undefined"&&fv.type=="checkbox")||(fv.length&&fv[0].type=="checkbox")){fv=document.forms[j].elements[i];}}else{if(typeof (document.forms[j].elements[i])!="undefined"){fv=document.forms[j].elements[i];}}if(typeof (fv)=="undefined"||fv==null){esconsole.log("Cannot find form value. name: nam: "+nam+" j: "+j+" i: "+i+". Skipping set!");return;}esconsole.log("fv: "+fv+" Nam: "+nam+" type:"+fv.type+" val:"+fv.value);if(typeof (fv.name)!="undefined"&&typeof (nam)!="undefined"&&nam!=""&&fv.name!=nam){esconsole.log("Wrong name: nam: "+nam+" fv:"+fv+" Skipping set!");return;}if(typeof (fv.type)!="undefined"){if(fv.type=="radio"){eStara_set_radio(fv,nam,eStara_urldecode(val));}else{if(fv.type=="select-one"||fv.type=="dropdown"){var _86=fv.selectedIndex!=val;fv.selectedIndex=val;if(_86&&fv.onchange){fv.onchange();}}else{if(fv.type=="checkbox"){if(val=="false"){fv.checked=false;}else{fv.checked=true;}}else{if(fv.type=="text"||fv.type=="hidden"){var _86=fv.value!=val;fv.value=eStara_urldecode(val);if(_86&&fv.onchange){try{fv.onchange();}catch(e1){if(typeof (eStara_logerr)=="function"){eStara_logerr("fv.onchange",e1);}}}if(_86&&fv.onkeyup){try{fv.onkeyup();}catch(e2){if(typeof (eStara_logerr)=="function"){eStara_logerr("fv.onkeyup",e2);}}}}}}}}else{if(typeof (fv.value)!="undefined"){fv.value=eStara_urldecode(val);}else{eStara_set_radio(fv,nam,eStara_urldecode(val));}}}}esconsole.log("eStara_setform: exiting");}var eStara_LinkMap=new Array();function eStara_replace_links(_87,_88,_89){try{var a=document.getElementsByTagName("A");for(var i=0;i<a.length;i++){var m=a[i].href.match(_88);var n=a[i].href.match(_89);if((!_88.length||!m)&&(!_89.length||n)){eStara_LinkMap[i]=a[i].href;a[i].href=_87;}}}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("replace_links",err);}}}var eStara_ButtonMap=new Array();function eStara_replace_inputs(_8e,_8f){var _90="start";try{var a=document.getElementsByTagName("input");for(var i=0;i<a.length;i++){var n=a[i].getAttribute("name");var v=a[i].getAttribute("value");var mn=0;var mv=0;var mni=0;var mvi=0;if(n){mn=n.match(_8e);}if(v){mv=v.match(_8e);}if(n){mni=n.match(_8f);}if(v){mvi=v.match(_8f);}var t=a[i].getAttribute("type");if((!_8e.length||(!mn&&!mv))&&(!_8f.length||(mni||mvi))){if(typeof (t)!="undefined"&&(t=="submit"||t=="button")){if(a[i].onclick&&typeof (a[i].onclick)=="function"){_90="before get onclick: "+n+" type: "+t;eStara_ButtonMap[i]=a[i].onclick.toString();}_90="before set onclick: "+n+" type: "+t;a[i].onclick=new Function("return eStara_replaced_click("+i+");");}}}}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("replace_inputs: "+_90,err);}}}function eStara_cleanup_onclick(s){s=s.replace(/[^{]+\{/,"");s=s.substring(0,s.length-1);s=s.replace(/\n/gi,"");if(!s.match(/\(.*\)/gi)){s+=")";}return s;}function eStara_disable_all(){for(var j=0;j<10;j++){if(typeof (document)!="undefined"){if(typeof (document.forms[j])!="undefined"){var f=document.forms[j];for(var i=0;i<f.length;i++){var e=f.elements[i].disabled;if(typeof (e)!="undefined"&&!e){f.elements[i].disabled=true;}}}}}}function eStara_build_url(_9f,_a0){var _a1="?&";if(_a0==null){_a0=false;}try{for(var j=0;j<10;j++){if(typeof (document)!="undefined"){if(typeof (document.forms[j])!="undefined"){var f=document.forms[j];if(f==null){continue;}for(var i=0;i<f.length;i++){var fv=f.elements[i];var fn=fv.name;var _a7=0;try{for(var _a8 in eStara_restriction){if(!eStara_restriction.hasOwnProperty(_a8)||!_a8.match(/^\d*$/)){continue;}if(!_a7&&fn!=null&&fn!="undefined"&&typeof (fn)!="undefined"){var re=new RegExp(eStara_restriction[_a8]);var m=fn.match(re);if(m){_a7=1;}}}}catch(err){eStara_logerr("eStara_build_url - restrict ",err);}var _ab="";try{if(_9f){for(var _a8 in eStara_obscuration){if(!eStara_obscuration.hasOwnProperty(_a8)||!_a8.match(/^\d*$/)){continue;}_ab="restrict: "+_a8+" fn: "+fn;if(!_a7&&fn!=null&&fn!="undefined"&&typeof (fn)!="undefined"){var re=new RegExp(eStara_obscuration[_a8]);var m=fn.match(re);if(m){_a7=1;}}}}}catch(err){eStara_logerr("eStara_build_url - agentside "+_ab,err);}if(_a7>0){continue;}try{if(typeof (fv.type)!="undefined"){if(fv.type!="textarea"&&fv.type!="submit"&&fv.type!="hidden"){if(_a0){_a1+=j+"-"+i+"-=";}else{_a1+=j+"-"+i+"-"+eStara_urlencode(fv.name)+"=";}if(fv.type=="radio"){_a1+=eStara_urlencode(eStara_get_radio(fv));}else{if(fv.type=="select-one"||fv.type=="dropdown"){_a1+=fv.selectedIndex;}else{if(fv.type=="checkbox"){_a1+=fv.checked;}else{if(fv.type=="text"||fv.type=="hidden"&&(fn!=null&&fn!="undefined"&&typeof (fn)!="undefined")){var val=fv.value;for(var _ad in eStara_obscuration){if(!eStara_obscuration.hasOwnProperty(_ad)||!_ad.match(/^\d*$/)){continue;}var re=new RegExp(eStara_obscuration[_ad]);var m=fn.match(re);if(m&&val.length){var _ae;_ae=val.replace(/./g,"*");val=_ae;}}_a1+=eStara_urlencode(val);}else{_a1+=eStara_urlencode(fv.value);}}}}_a1+="&";}}}catch(err){eStara_logerr("eStara_build_url - ndata ",err);}}}}}try{if(typeof (eStara_toolkit_objs)=="object"){var _af="";var _b0="";for(var k=0,len=eStara_toolkit_objs.length;k<len;k++){_af+=_b0+eStara_toolkit_objs[k];_b0=",";}if(_af!=""){_a1+="&estaradraw="+eStara_urlencode(_af);}}}catch(err){eStara_logerr("eStara_build_url - drawing ",err);}try{if(eStara_highlight_s!=""){var _b2=eStara_highlight_s+"|"+eStara_highlight_e;if(_b2!="|"){_a1+="&estarahighlight="+eStara_urlencode(_b2);}eStara_highlight_s="";eStara_highlight_e="";}}catch(err){eStara_logerr("eStara_build_url - highlight ",err);}try{if(eStara_scroll){var _b2=((document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop)+","+document.body.scrollHeight;if(_b2!=""){_a1+="&estarascroll="+eStara_urlencode(_b2);}eStara_scroll=0;}}catch(err){eStara_logerr("eStara_build_url - scroll ",err);}try{if(eStara_clear){_a1+="&estaraclear=1";eStara_clear=0;}}catch(err){eStara_logerr("eStara_build_url - clear",err);}}catch(err){eStara_logerr("eStara_build_url",err);}if("?"==_a1){_a1="";}if(_a1.length>1700&&_a0==false){_a1=eStara_build_url(_9f,true);}return _a1;}function eStara_reset_data(_b3){if(typeof (_b3)=="undefined"){_b3=false;}eStara_form_data.sent=eStara_build_form_data(_b3);}var eStara_mouseDown_installed=false;function eStara_mouseDown(e){var _b5=0;var alt=0;try{if(document.layers){var _b7=(e.modifiers+32).toString(2).substring(3,6);_b5=_b7.charAt(1)=="1";}else{if(typeof (e)=="undefined"){e=window.event||window.Event;}_b5=e.ctrlKey;alt=e.altKey;}if(_b5){eStara_debug_alert();}}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("js_include.js",err);}}return true;}var eStara_toolkit_objs=Array();var eStara_put_image=null;var eStara_offset_x=eStara_offset_y=eStara_obj_type=0;var eStara_img_types=Array();eStara_img_types[1]="//as00.estara.com/fs/images/yellow_arrow_right.gif";eStara_img_types[2]="//as00.estara.com/fs/images/yellow_arrow_left.gif";function eStara_draw_image(img,_b9,_ba,_bb,add){eStara_create_image(img,_ba,_bb);if(add){eStara_toolkit_objs[eStara_toolkit_objs.length]=_b9+":"+_ba+":"+_bb;}}function eStara_in_box(x,y,x1,y1,w,h){var l=document.getElementById("eStara_lyr1");if(l){y1=l.offsetTop;}if(x>=x1&&x<=(x1+w)){if(y>=y1&&y<=(y1+h)){return 1;}}return 0;}function eStara_down_image(e){if(navigator.appName=="Netscape"){posX=e.pageX;posY=e.pageY;}else{posX=event.clientX+((document.documentElement&&document.documentElement.scrollLeft)?document.documentElement.scrollLeft:document.body.scrollLeft);posY=event.clientY+((document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop);}if(posX<=0){posX=0;}if(posY<=0){posY=0;}if(window.parent==window.self){if(!eStara_in_box(posX,posY,eStara_agent_menu_x,eStara_agent_menu_y,eStara_agent_menu_width,eStara_agent_menu_height)){posX-=eStara_offset_x;posY-=eStara_offset_y;eStara_draw_image(eStara_put_image,eStara_obj_type,posX,posY,1);}}else{eStara_draw_image(eStara_put_image,eStara_obj_type,posX,posY,1);}return true;}function eStara_handle_mouse(on,x,t){if(on){document.onmousedown=eStara_down_image;eStara_put_image=x;eStara_obj_type=t;if(t==1){eStara_offset_x=38;eStara_offset_y=16;}else{if(t==2){eStara_offset_x=0;eStara_offset_y=16;}}}else{document.onmousedown=null;eStara_put_image=null;}var _c8=eStara_getCoBrowseFrames();for(var i=0;i<_c8.length;i++){try{_c8[i].eStara_handle_mouse(on,x,t);}catch(e){if(e instanceof Error){esconsole.log("eStara_handle_mouse: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_handle_mouse: caught ["+e+"] ["+eStara_getpageid()+"]");}}}}function eStara_getElementsById(tag){var all=document.getElementsByTagName("*");var _cc=[];for(i=0;i<all.length;i++){if(all[i].getAttribute("id")==tag){_cc.push(all[i]);}}return _cc;}function eStara_clear_images(add){var a=eStara_getElementsById("eStara_tmpimg");for(var i=0;i<a.length;i++){document.body.removeChild(a[i]);}eStara_toolkit_objs=Array();if(add){eStara_toolkit_objs[eStara_toolkit_objs.length]="clear"+":0:0";}var _d0=eStara_getCoBrowseFrames();for(var i=0;i<_d0.length;i++){var _d1=_d0[i];try{_d0[i].eStara_clear_images(add);}catch(e){if(e instanceof Error){esconsole.log("eStara_clear_images: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_clear_images: caught ["+e+"] ["+eStara_getpageid()+"]");}}}}function eStara_removeNode(n){if(n.hasChildNodes()){var _d3=n.parentNode;var _d4=n;for(var i=n.childNodes.length-1;i>=0;i--){var _d6=n.childNodes[i];_d4=_d3.insertBefore(_d6,_d4);}}n.parentNode.removeChild(n);}function eStara_swapImage(x,_d8,alt,t){var on=0;if(x.src=="http:"+_d8||x.src=="https:"+_d8){x.src=alt;on=1;}else{x.src=_d8;}eStara_handle_mouse(on,x.src,t);}function eStara_create_image(src,x,y){var i=document.createElement("img");i.setAttribute("id","eStara_tmpimg");i.style.cssText="position:absolute;z-index:999998;left:"+x+"px;top:"+y+"px;";i.src=src;document.body.appendChild(i);}function eStara_add_var_fields(url){for(var i=1;i<=10;i++){eval("var eStara_assigned=(typeof(eStara_var"+i+")!=\"undefined\"&&eStara_var"+i+"!=null)");if(eStara_assigned){eval("var eStara_tmp=\"&var"+i+"=\"+escape(eStara_var"+i+");");url+=eStara_tmp;}}return url;}function insertSizedDiv(_e2){var _e3=document.createElement("div"),body=document.body;_e3.style.height="100%";_e3.id="eStara_wrapper";_e3.style.width=_e2+"px";while(body.firstChild){_e3.appendChild(body.firstChild);}body.appendChild(_e3);}function eStara_skroll(){eStara_scroll=1;}function eStara_scrollToPos(pos,_e5){if(document.documentElement){document.documentElement.scrollTop=pos*document.body.scrollHeight/_e5;}document.body.scrollTop=pos*document.body.scrollHeight/_e5;}function eStara_ruleReplaceText(_e6,_e7,_e8,_e9){var _ea=document.body.innerHTML;var RE=new RegExp(_e6,_e8);var _ec=_ea.match(RE);var _ed=0;var _ee=new Array();if(!_ec){return null;}for(var i=0;i<_ec.length;i++){_ed=_ea.indexOf(_ec[i],_ed+1);if(_ed==-1){break;}var _f0=_ea.substr(0,_ed);var _f1=_f0.match(/<[^\/>].*?>/g);_ee.push([_f1[_f1.length-1],_ec[i]]);}for(var i=0;i<_ee.length;i++){var _f2=_ee[i][0].match(/<([^\s>]*).*>/)[1];var _f3=document.getElementsByTagName(_f2);for(var j=0;j<_f3.length;j++){if(_f3[j].firstChild&&_f3[j].firstChild.nodeType==3&&_f3[j].firstChild.nodeValue.indexOf(_ee[i][1])!=-1){var _f5=_e9==1?eval(_e7):_e7;_f3[j].firstChild.nodeValue=_f3[j].firstChild.nodeValue.replace(_ee[i][1],_f5);break;}}}}function eStara_removeExtraTags(_f6){if(_f6.indexOf("<")==-1){return _f6;}_f6=_f6.replace(/^\s+|\s+$/g,"");var _f7=/^\s*<\/?[a-zA-Z0-9_\s"':;=\-]+?>/;while(_f6.charAt(0)=="<"){_f6=_f6.replace(_f7,"");}_f7=/<\/?[^<>]+?>$/;while(_f6.charAt(_f6.length-1)==">"){_f6=_f6.replace(_f7,"");}return _f6;}function eStara_escape(_f8){var _f9=["/",".","*","+","?","|","(",")","[","]","{","}","\\"];var _fa=new RegExp("(\\"+_f9.join("|\\")+")","g");return _f8.replace(_fa,"\\$1");}function eStara_getFontEl(){var _fb=document.createElement("font");if(_fb.style.setAttribute){_fb.style.setAttribute("cssText","color:blue;background-color:yellow;");}else{_fb.setAttribute("style","color:blue;background-color:yellow;");}_fb.id="eStara_highlight";return _fb;}function eStara_klear(_fc){var _fd=eStara_getCoBrowseFrames();for(var i=0;i<_fd.length;i++){try{_fd[i].eStara_klear(_fc);}catch(e){if(e instanceof Error){esconsole.log("eStara_klear: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_klear: caught ["+e+"] ["+eStara_getpageid()+"]");}}}var _ff=eStara_getElementsById("eStara_highlight");if(!_ff||!_ff.length){return;}for(var i=0;i<_ff.length;i++){var fntp=_ff[i].parentNode;if(_ff[i].previousSibling&&_ff[i].previousSibling.nodeType==3){_ff[i].childNodes[0].nodeValue=_ff[i].previousSibling.nodeValue+_ff[i].childNodes[0].nodeValue;fntp.removeChild(_ff[i].previousSibling);}if(_ff[i].nextSibling&&_ff[i].nextSibling.nodeType==3){_ff[i].childNodes[0].nodeValue+=_ff[i].nextSibling.nodeValue;fntp.removeChild(_ff[i].nextSibling);}fntp.insertBefore(_ff[i].childNodes[0],_ff[i].nextSibling);fntp.removeChild(_ff[i]);}eStara_clear=_fc;}function eStara_findAll(_101,_102){var _103=eStara_getCoBrowseFrames();for(var i=0;i<_103.length;i++){try{_103[i].eStara_findAll(_101,_102);}catch(e){if(e instanceof Error){esconsole.log("eStara_findAll: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_findAll: caught ["+e+"] ["+eStara_getpageid()+"]");}}}if(document.selection){if(document.selection.type=="None"&&typeof (_101)=="undefined"){return;}var _105=document.selection.createRange().htmlText;_105=eStara_removeExtraTags(_105);_105=_105.replace(/(<font\s*.+eStara_highlight\s*.*?>)?((\s*.*)*?)(<\/font>)?/gi,"$2");}eStara_klear(0);var _106=unescape(_101);var _107=unescape(_102);if(_101==null){if(!document.selection){return;}var _108=document.selection.createRange().htmlText;if(_108.length>_105.length||_108==""){_108=_105;}if(_108.length<2){return;}_106=_108.substr(0,100);_107=_108.length>100?_108.substr(_108.length-100):"";}if(_107==""||_107==null){_107=_106;}eStara_highlight_s=_106;eStara_highlight_e=_107;_106=eStara_escape(_106).replace(/\s+/g,"\\s+");_107=eStara_escape(_107).replace(/\s+/g,"\\s+");var _109=0;var html=document.documentElement.innerHTML;var _10b=0;while(html.match(_106,"i")&&html.match(_107,"i")&&html.match(_106,"i").index<=html.match(_107,"i").index){if(_10b==html.length){return;}else{_10b=html.length;}eStara_highlightIt(html.match(_106,"i"),html.match(_107,"i"),html.match(_106,"i").index+_109);html=document.documentElement.innerHTML;_109=html.lastIndexOf("eStara_highlight");html=html.substr(_109);if(html.match(/<\/font>/i)){_109+=html.match(/<\/font>/i).index+7;html=html.substr(html.match(/<\/font>/i).index+7);}else{_109+=3;html=html.substr(3);}}}function eStara_highlightIt(_10c,_10d,_10e){var tags=new Array();var _110=false;var text=document.documentElement.innerHTML.substr(0,_10e);var indx=_10e;var _113="";var _114=0;var el;for(var i=text.length-1;i>=0&&text.charAt(i)!=">";i--){_114++;}do{for(;indx>=0;indx--){if(text.charAt(indx)==">"){break;}}var _117=indx-1;while(text.charAt(indx)!="<"){indx--;}var _118=text.substr(indx+1,_117-indx);if(_118.indexOf(" ")!=-1){_118=_118.substr(0,_118.indexOf(" "));}if(_118.indexOf("/")!=-1){tags[tags.length]=_118;_110=true;}else{_113=_118;tags.pop();}}while(tags.length);tags=document.getElementsByTagName(_113);var _119=false;for(var i=0;i<tags.length&&!_119;i++){if(_110){el=tags[i].nextSibling;}else{el=tags[i].firstChild;}if(!el||el.nodeType!=3){continue;}var _11a=_10c.toString();var _11b=_10d.toString();var _11c=0;for(var j=_11b.length;j>=0&&_11b.charAt(j)!=">";j--){_11c=j;}_11b=_11b.substr(_11c);if(_11a.indexOf("<")!=-1){_11a=_11a.substr(0,_11a.indexOf("<"));}if(el.nodeValue.indexOf(_11a)==_114){do{var next=el;do{if(next.firstChild){next=next.firstChild;}else{if(next.nextSibling){next=next.nextSibling;}else{while(next.parentNode&&!next.parentNode.nextSibling){next=next.parentNode;}next=next.parentNode.nextSibling;}}}while(next.nodeType!=3);var _11f=el.parentNode;var _120=eStara_getFontEl();if(_11a==_11b){_119=true;}if(el.nodeValue.indexOf(_11b)!=-1){var ndx=el.nodeValue.indexOf(_11b)+_11b.length;if(el.nodeValue.indexOf(_11a)==_114){_120.appendChild(document.createTextNode(el.nodeValue.substr(_114,ndx-_114)));_11f.insertBefore(_120,el);_11f.insertBefore(document.createTextNode(el.nodeValue.substr(0,_114)),_120);el.nodeValue=el.nodeValue.substr(ndx);}else{_120.appendChild(document.createTextNode(el.nodeValue.substr(0,ndx)));_11f.insertBefore(_120,el);el.nodeValue=el.nodeValue.substr(ndx);}_119=true;}else{if(el.nodeValue.indexOf(_11a)==_114){var _122=el.nodeValue.length;_120.appendChild(document.createTextNode(el.nodeValue.substr(_114)));font_el_length=_11a.length;_11f.insertBefore(_120,el);_11f.insertBefore(document.createTextNode(el.nodeValue.substr(0,_114)),_120);el.nodeValue="";}else{_120.appendChild(document.createTextNode(el.nodeValue));_11f.insertBefore(_120,el);_11f.removeChild(el);}}el=next;}while(!_119);}}}function eStara_getNonCoBrowseFrames(){esconsole.log("eStara_getNonCoBrowseFrames["+eStara_getpageid()+"]: entered");var _123=eStara_checkCoBrowseFrames(function(_124){if(typeof (_124.eStara_cb_watchdog)!="undefined"){esconsole.log("NonCoBrowseFrameTest: Found frame with cobrowse code");return false;}else{esconsole.log("NonCoBrowseFrameTest: Frame does not have cobrowse code, skipping it");return true;}});esconsole.log("eStara_getNonCoBrowseFrames["+eStara_getpageid()+"]: exit - Found ["+_123.length+"] non-cobrowse frames");return _123==null?new Array():_123;}function eStara_getVisibleFrames(){esconsole.log("eStara_getVisibleFrames["+eStara_getpageid()+"]: entered");var _125=eStara_checkCoBrowseFrames(function(_126){return true;});esconsole.log("eStara_getVisibleFrames: exit - Found ["+(_125==null?0:_125.length)+"] cobrowse frames");return _125==null?new Array():_125;}function eStara_getCoBrowseFrames(){esconsole.log("eStara_getCoBrowseFrames["+eStara_getpageid()+"]: entered");var _127=eStara_checkCoBrowseFrames(function(_128){if(typeof (_128.eStara_cb_watchdog)!="undefined"){esconsole.log("CoBrowseFrameTest: Found frame with cobrowse code");return true;}else{esconsole.log("CoBrowseFrameTest: Frame does not have cobrowse code, skipping it.  frame.eStara_cb_watchdog is ["+typeof (_128.eStara_cb_watchdog)+"]");return false;}});esconsole.log("eStara_getCoBrowseFrames["+eStara_getpageid()+"]: exit - Found ["+(_127==null?0:_127.length)+"] cobrowse frames");return _127==null?new Array():_127;}function eStara_checkCoBrowseFrames(_129){esconsole.log("eStara_checkCoBrowseFrames["+eStara_getpageid()+"]: entered");var _12a=new Array();if(typeof (window.frames)!="undefined"&&typeof (_129)=="function"){esconsole.log("eStara_checkCoBrowseFrames: Found ["+window.frames.length+"] frames");for(var i=0;i<window.frames.length;i++){var _12c=window.frames[i];if(_12c.parent==window){var _12d=true;try{if(_12c.frameElement.style.visibility=="hidden"){_12d=false;}if(_12c.frameElement.style.display=="none"){_12d=false;}}catch(e){_12d=true;}if(_12d==true){try{if(_129(_12c)==true){esconsole.log("eStara_checkCoBrowseFrames: Frame passed cobrowseTest()");_12a.push(_12c);}else{esconsole.log("eStara_checkCoBrowseFrames: Frame failed cobrowseTest(), skipping it");}}catch(e){esconsole.log("eStara_checkCoBrowseFrames: Encountered an exception when looking for cobrowse code in this frame, skipping it ["+e+"]");}}else{esconsole.log("eStara_checkCoBrowseFrames: Frame isn't visible, skipping it");}}else{esconsole.log("eStara_checkCoBrowseFrames: Frame isn't a child of this window, skipping it");}}}esconsole.log("eStara_checkCoBrowseFrames["+eStara_getpageid()+"]: exit - ["+_12a.length+"] frames passed cobrowseTest()");return _12a;}function eStara_stopCobrowse(){esconsole.log("eStara_stopCobrowse: entered");g_eStaraCobrowseStarted=false;g_eStaraWatchdogEnd=true;g_eStaraCobrowseStartedImmediately=false;eStaraEndCobrowsePoll=1;var _12e=eStara_getCoBrowseFrames();for(var i=0;i<_12e.length;i++){try{esconsole.log("eStara_stopCobrowse: stopping cobrowse in frame ["+_12e[i].eStara_getpageid()+"]");_12e[i].eStara_stopCobrowse();}catch(e){if(e instanceof Error){esconsole.log("eStara_stopCobrowse: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_stopCobrowse: caught exception stopping cobrowse in a frame ["+e+"]");}}}esconsole.log("eStara_stopCobrowse: exiting");}function eStara_startCoBrowseInFrames(_130,_131,_132){esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: entered");var _133=null;if(eStara_fs_level==1||eStara_fs_level==-2){eStara_getCobrowseSession().startFunction=_131;eStara_getCobrowseSession().startParamsList=_132;_133=eStara_getCoBrowseFrames();esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: Got list of cobrowse frames");var _134=false;esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: starting cobrowse in child frames");for(var i=0;i<_133.length;i++){try{if(eStara_startCobrowseInFrame(_133[i],_130)){_134=true;}}catch(e){if(e instanceof Error){esconsole.log("eStara_startCoBrowseInFrames: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: caught exception ["+e+"]");}}}if(_134){esconsole.log("eStara_startCoBrowseInFrames: setting up eStara_watchIframes watchdog");eStara_getCobrowseSession().watchIframesIntervalID=window.setInterval(eStara_watchIframes,5000);}esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: exit - Cobrowse started in ["+_133.length+"] frames");}else{_133=[];esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: exit - Cobrowse rule is not session locked, ignoring all frames");}return _133;}function eStara_startCobrowseInFrame(_136,_137,_138,_139){esconsole.log("eStara_startCobrowseInFrame: called");if(_137==null||typeof (_137)=="undefined"){_137=eStara_getpageid();}if(_138==null||typeof (_138)=="undefined"){_138=eStara_getCobrowseSession().startFunction;}if(_139==null||typeof (_139)=="undefined"){_139=eStara_getCobrowseSession().startParamsList;}var _13a=false;var _13b=eStara_getNameForFrame(_137,_136);_136.eStara_setpageid(_13b);if(typeof (_136[_138])!="undefined"){esconsole.log("eStara_startCobrowseInFrame: About to call ["+_138+"] in frame ["+_13b+"]");if(_136[_138](_139)!=_13b){esconsole.log("eStara_startCobrowseInFrame: pageid returned by frame is wrong");}else{_13a=true;}}else{esconsole.log("eStara_startCobrowseInFrame: start function ["+_138+"] does not exist in frame");}esconsole.log("eStara_startCobrowseInFrame: exiting ["+_13a+"]");return _13a;}function eStara_getNameForFrame(_13c,_13d){var _13e;if(_13d==null||typeof (_13d)=="undefined"){_13e="";}else{try{if(typeof (_13d.name)!="undefined"){if(_13d.contentWindow){esconsole.log("eStara_getNameForFrame: getting frame.contentWindow.name");_13e=_13d.contentWindow.name;}else{esconsole.log("eStara_getNameForFrame: getting frame.name");_13e=_13d.name;}_13e="-"+_13e;}else{if(typeof (_13d.frameElement.id)!="undefined"){esconsole.log("eStara_getNameForFrame: getting frame id");_13e="-"+_13d.frameElement.id;}}}catch(e){if(e instanceof Error){esconsole.log("eStara_getNameForFrame: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_getNameForFrame: caught ["+e+"] ["+eStara_getpageid()+"]");}}}var _13f=_13c+_13e;if(_13c.indexOf("f-")!=0){_13f="f-"+_13f;}return _13f;}function eStara_isFrame(_140){var _141=false;if(_140.parent!=_140.self){_141=true;}return _141;}function eStara_cobrowseRunningInFrame(_142){var _143=(typeof (eStara_getpageid)=="function")?(" ["+eStara_getpageid()+"]"):("");esconsole.log("eStara_cobrowseRunningInFrame: called"+_143);var _144=false;try{if(_142.g_eStaraCobrowseStarted==true||_142.g_eStaraCobrowseStartedImmediately==true||_142.g_eStaraCobrowseAgentSideStarted==true){_144=true;}}catch(e){if(e instanceof Error){esconsole.log("eStara_cobrowseRunningInFrame: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_cobrowseRunningInFrame: caught ["+e+"]");}}esconsole.log("eStara_cobrowseRunningInFrame: exiting ["+_144+"]"+(_144==true?" frame id is ["+_142.eStara_getpageid()+"]":""));return _144;}function eStara_hiliteElements(_145){esconsole.log("eStara_hiliteElements: called ["+eStara_getpageid()+"]");var _146=eStara_hiliteElement;if(typeof (_145)=="undefined"){_145=true;}if(_145==false){_146=eStara_unhiliteElement;}if(eStara_cobrowseRunningInFrame(window)==true){var _147=eStara_getCoBrowseFrames();for(var i=0;i<_147.length;i++){var _149=_147[i];try{_149.eStara_hiliteElements(_145);}catch(e){if(e instanceof Error){esconsole.log("eStara_hiliteElements: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_hiliteElements: caught ["+e+"] ["+eStara_getpageid()+"]");}}}for(var i=0;i<document.forms.length;i++){for(var k=0;k<document.forms[i].elements.length;k++){var _14b=document.forms[i].elements[k];_146(_14b);}}}esconsole.log("eStara_hiliteElements: exiting ["+eStara_getpageid()+"]");}function eStara_isElementCobrowseable(_14c){var _14d=false;try{if(eStara_fs_level>=0){_14d=true;var name=_14c.name;if(name!=null&&name!="undefined"&&typeof (name)!="undefined"){for(var _14f in eStara_obscuration){if(!eStara_obscuration.hasOwnProperty(_14f)||!_14f.match(/^\d*$/)){continue;}var re=new RegExp(eStara_obscuration[_14f]);var m=name.match(re);if(m){_14d=false;break;}}if(_14d){for(var _152 in eStara_restriction){if(!eStara_restriction.hasOwnProperty(_152)||!_152.match(/^\d*$/)){continue;}var re=new RegExp(eStara_restriction[_152]);var m=name.match(re);if(m){_14d=false;break;}}}}var _153=_14c.type;if(typeof (_153)!="undefined"){if(!(_153=="text"||_153=="radio"||_153=="checkbox"||_153=="select-one")){_14d=false;}}}}catch(e){if(e instanceof Error){esconsole.log("eStara_isElementCobrowseable: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_isElementCobrowseable: caught ["+e+"] ["+eStara_getpageid()+"]");}}return _14d;}function eStara_hiliteElement(_154){esconsole.log("eStara_hiliteElement: called ["+eStara_getpageid()+"]");if(_154&&eStara_isElementCobrowseable(_154)){esconsole.log("eStara_hiliteElement: class ["+_154.className+"]");if(_154.className){if(_154.type=="select-one"){if(_154.className.indexOf("estaracobrowseselectelement")==-1){_154.className=_154.className+" estaracobrowseselectelement";}}else{if(_154.className.indexOf("estaracobrowseelement")==-1){_154.className=_154.className+" estaracobrowseelement";}}}else{if(_154.type=="select-one"){_154.className="estaracobrowseselectelement";}else{_154.className="estaracobrowseelement";}}esconsole.log("eStara_hiliteElement: class ["+_154.className+"]");}}function eStara_unhiliteElement(_155){esconsole.log("eStara_unhiliteElement: called ["+eStara_getpageid()+"]");if(_155&&eStara_isElementCobrowseable(_155)){esconsole.log("eStara_unhiliteElement: class ["+_155.className+"]");if(_155.className&&_155.className.indexOf("estaracobrowseelement")!=-1){_155.className=_155.className.replace(/estaracobrowseelement/,"");}if(_155.className&&_155.className.indexOf("estaracobrowseselectelement")!=-1){_155.className=_155.className.replace(/estaracobrowseselectelement/,"");}esconsole.log("eStara_unhiliteElement: class ["+_155.className+"]");}}function eStara_hiliteFrames(_156){esconsole.log("eStara_hiliteFrames: called ["+eStara_getpageid()+"]");if(eStara_cobrowseRunningInFrame(window)==true){var _157=_156();for(var i=0;i<_157.length;i++){var _159=_157[i];try{var _15a=_159.frameElement;_15a.style.borderStyle="dotted";}catch(e){if(e instanceof Error){esconsole.log("eStara_hiliteFrames: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_hiliteFrames: caught ["+e+"] ["+eStara_getpageid()+"]");}}}setTimeout("eStara_hiliteFrames()",eStara_interval);}esconsole.log("eStara_hiliteFrames: exiting ["+eStara_getpageid()+"]");}function eStara_hiliteCoBrowseFrames(){esconsole.log("eStara_hiliteCoBrowseFrames: called ["+eStara_getpageid()+"]");eStara_hiliteFrames(eStara_getCoBrowseFrames);esconsole.log("eStara_hiliteCoBrowseFrames: exiting ["+eStara_getpageid()+"]");}function eStara_hiliteNonCoBrowseFrames(){esconsole.log("eStara_hiliteNonCoBrowseFrames: called ["+eStara_getpageid()+"]");eStara_hiliteFrames(eStara_getNonCoBrowseFrames);esconsole.log("eStara_hiliteNonCoBrowseFrames: exiting ["+eStara_getpageid()+"]");}function eStara_monitorNonCoBrowseFrames(){esconsole.log("eStara_monitorNonCoBrowseFrames: called ["+eStara_getpageid()+"]");var _15b=eStara_getNonCoBrowseFrames();if(_15b.length>0){var _15c=new Object();for(var i=0;i<_15b.length;i++){try{var _15e=_15b[i];var _15f=eStara_getNameForFrame(eStara_getpageid(),_15e);_15c[_15f]=_15e;eStara_getCobrowseSession().nonCoBrowseWatchList=_15c;setTimeout("eStara_watchForCoBrowseStartingInFrame('"+_15f+"')",eStara_interval);}catch(e){if(e instanceof Error){esconsole.log("eStara_monitorNonCoBrowseFrames: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_monitorNonCoBrowseFrames: caught ["+e+"] ["+eStara_getpageid()+"]");}}}}esconsole.log("eStara_monitorNonCoBrowseFrames: exiting ["+eStara_getpageid()+"]");}function eStara_watchForCoBrowseStartingInFrame(_160){esconsole.log("eStara_watchForCoBrowseStartingInFrame: called ["+eStara_getpageid()+"]");if(eStara_cobrowseRunningInFrame(window)==true){eStara_append(g_eStaraHost+"/fs/cbb_frame_check.php?estara_fsguid="+eStara_fsguid+"&frame_id="+_160);}esconsole.log("eStara_watchForCoBrowseStartingInFrame: exiting ["+eStara_getpageid()+"]");}function eStara_coBrowseStartedInFrame(_161,url){esconsole.log("eStara_coBrowseStartedInFrame: called ["+eStara_getpageid()+"]");var _163=eStara_getCobrowseSession().nonCoBrowseWatchList;var _164=_163[_161];if(_164!=null){try{_164.src=url;_163[_161]=null;}catch(e){if(e instanceof Error){esconsole.log("eStara_coBrowseStartedInFrame: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_coBrowseStartedInFrame: caught ["+e+"] ["+eStara_getpageid()+"]");}}}else{esconsole.log("eStara_coBrowseStartedInFrame: frameid ["+_161+"] not found in session ["+eStara_getpageid()+"]");}esconsole.log("eStara_coBrowseStartedInFrame: exiting ["+eStara_getpageid()+"]");}function eStara_watchIframes(){esconsole.log("eStara_watchIframes: called ["+eStara_getpageid()+"]");if(eStara_cobrowseRunningInFrame(window)==true){var _165=eStara_getCoBrowseFrames();for(var i=0;i<_165.length;i++){if(eStara_cobrowseRunningInFrame(_165[i])==false){var _167=eStara_startCobrowseInFrame(_165[i],eStara_getpageid());if(_167){esconsole.log("eStara_watchIframes: Frame not running cobrowse, started it, pageid is ["+_165[i].eStara_getpageid()+"]");}else{esconsole.log("eStara_watchIframes: Found a frame not running cobrowse, tried to start it but failed for some reason");}}}}else{if(eStara_getCobrowseSession().watchIframesIntervalID!=null){window.clearInterval(eStara_getCobrowseSession().watchIframesIntervalID);}esconsole.log("eStara_watchIframes: clearing eStara_watchIframes watchdog, cobrowse not running in this window ["+eStara_getpageid()+"]");}esconsole.log("eStara_watchIframes: exiting ["+eStara_getpageid()+"]");}function eStara_adjustInnerHtmlForFrames(_168,host,_16a){esconsole.log("eStara_adjustInnerHtmlForFrames["+eStara_getpageid()+"]: entered");var _16b=_16a;if(typeof (_16a)=="undefined"){_16b=new String(document.body.innerHTML);}var _16c=host;if(typeof (host)=="undefined"||host==""){_16c="as00.estara.com";}if(_16c.indexOf("fs/cbb.php")==-1){if(_16c.charAt(_16c.length-1)!="/"){_16c+="/";}_16c+="fs/cbb.php?";}esconsole.log("eStara_adjustInnerHtmlForFrames["+eStara_getpageid()+"]: generating regex's for ["+_168.length+"] frames");var _16d=new Array();for(var i=0;i<_168.length;i++){var _16f=_168[i];var _170=_16f.frameElement;var _171=new String(_16c);_171=eStara_addParamToURL(_171,"url="+eStara_urlencode(_16f.document.location.toString()));if(_171.indexOf("estara_fsguid=")==-1){_171=eStara_addParamToURL(_171,"estara_fsguid="+eStara_fsguid);}if(_171.indexOf("frame_id=")==-1){var _172="";if(typeof (_16f.eStara_getpageid)=="function"){_172=_16f.eStara_getpageid();}else{_172=eStara_getNameForFrame(eStara_getpageid(),_16f);}_171=eStara_addParamToURL(_171,"frame_id="+_172);}if(_171.indexOf("http")!=0){_171=_16f.document.location.protocol+"//"+_171;}var _173=new RegExp("<iframe.*name=.*?"+_170.attributes.name.value+".*?iframe>","i");var _174=_170.attributes.src.value;_16b=eStara_adjustInnerHtmlForFrame(_16f,_16b,_173,_174,_171);}esconsole.log("eStara_adjustInnerHtmlForFrames["+eStara_getpageid()+"]: exiting");return _16b;}function eStara_addParamToURL(url,_176){esconsole.log("eStara_addParamToURL["+eStara_getpageid()+"]: - url=["+url+"], param=["+_176+"]");var _177=false;if(url.indexOf("php?")!=-1&&url.charAt(url.length-1)!="?"){_177=true;}if(_177===true){url=url+"&"+_176;}else{if(url.charAt(url.length-1)!="?"){url=url+"?"+_176;}else{url+=_176;}}esconsole.log("eStara_addParamToURL["+eStara_getpageid()+"]: exiting - url=["+url+"]");return url;}function eStara_adjustInnerHtmlForFrame(_178,_179,_17a,_17b,_17c){var _17d=_179;esconsole.log("eStara_adjustInnerHtmlForFrame["+eStara_getpageid()+"]: entered");try{var _17e=_179.match(_17a);var _17f=_17e[0];var _180=_17f.replace(_17b,_17c);_17d=_179.replace(_17f,_180);}catch(e){if(e instanceof Error){esconsole.log("eStara_adjustInnerHtmlForFrame: caught ["+e.name+"] ["+e.message+"] ["+eStara_getpageid()+"]");}else{esconsole.log("eStara_adjustInnerHtmlForFrame: caught exception ["+e+"]");}}esconsole.log("eStara_adjustInnerHtmlForFrame["+eStara_getpageid()+"]: exit");return _17d;}function eStara_startCobrowseButton_List(_181){if(_181.template==="undefined"||_181.template===null){_181.template=null;}eStara_startCobrowseButton(_181.template);return eStara_getpageid();}function eStara_startCobrowseButton(_182){if(_182==null){_182="";}if(g_buttonJSRun==false){g_buttonJSRun=true;}else{return;}try{for(var i=0;i<eStara_ButtonJSFunctions.length;i++){var _184=eStara_ButtonJSFunctions[i].replace(/#TEMPLATE#/g,_182);if(eStara_ButtonJSFunctions[i].indexOf("http")==0||eStara_ButtonJSFunctions[i].indexOf("//")==0){eval(eStara_append(_184));}else{eval(_184);}}}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_startCobrowseButton ButtonJSFunction",err);}}if(typeof (eStara_startCobrowseButtonReal)=="function"){eStara_startCobrowseButtonReal();try{eStara_startCoBrowseInFrames(eStara_getpageid(),"eStara_startCobrowseButton_List",{template:_182});}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_startCobrowseButton - Problem starting iframes",err);}}}}function eStara_startCobrowseGUI_List(_185){if(_185.only_upload==="undefined"||_185.only_upload===null){_185.only_upload=null;}if(_185.template==="undefined"||_185.template===null){_185.template=null;}eStara_startCobrowseGUI(_185.only_upload,_185.template);return eStara_getpageid();}function eStara_startCobrowseGUI(_186,_187){if(_187==null){_187="";}if(_186==null||_186==false){if(g_guiJSRun==false){g_guiJSRun=true;}else{return;}try{for(var i=0;i<eStara_GuiJSFunctions.length;i++){var _189=eStara_GuiJSFunctions[i].replace(/#TEMPLATE#/g,_187);if(eStara_GuiJSFunctions[i].indexOf("http")==0||eStara_GuiJSFunctions[i].indexOf("//")==0){eval(eStara_append(_189));}else{eval(_189);}}}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_startCobrowseGUI GUIJsFunctions",err);}}}if(typeof (eStara_startCobrowseGUIReal)=="function"){if(_186==null){_186=false;}eStara_startCobrowseGUIReal(_186);try{eStara_startCoBrowseInFrames(eStara_getpageid(),"eStara_startCobrowseGUI_List",{template:_187,only_upload:_186});}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_startCobrowseGUI - Problem starting iframes",err);}}}if(typeof (eStara_startPageUpload)=="function"){eStara_startPageUpload();}}function eStara_parseDate(d){var dA=new Array();if(d.indexOf("-")!=-1){dA=d.split("-");}else{if(d.indexOf("/")!=-1){dA=d.split("/");}}var day=parseInt(dA[2]);var m=parseInt(dA[1])-1;var y=parseInt(dA[0]);return new Date(y,m,day);}eStara_base64_encode=function(data){var b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var o1,o2,o3,h1,h2,h3,h4,bits,i=0,ac=0,enc="",tmp_arr=[];data=escape(encodeURI(data));do{o1=data.charCodeAt(i++);o2=data.charCodeAt(i++);o3=data.charCodeAt(i++);bits=o1<<16|o2<<8|o3;h1=bits>>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;tmp_arr[ac++]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4);}while(i<data.length);enc=tmp_arr.join("");switch(data.length%3){case 1:enc=enc.slice(0,-2)+"==";break;case 2:enc=enc.slice(0,-1)+"=";break;}return enc;};if(typeof (eStara_startCobrowseButtonNoFunc)=="undefined"){var eStara_startCobrowseButtonNoFunc=0;}function wv_init(){if(typeof (wv_vars["initdone"])=="undefined"){wv_vars["initdone"]=true;wv_vars["ie"]=document.all?true:false;wv_vars["nn6"]=((document.getElementById)&&(navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>=5))?true:false;wv_vars["nn4"]=((!wv_vars["nn6"])&&(!wv_vars["ie"])&&(navigator.appName=="Netscape"))?true:false;wv_vars["opera"]=false;wv_vars["opera7"]=false;var _1=/Opera (\d)/;var _2=navigator.userAgent.match(_1);if(_2!=null&&_2.length==2){wv_vars["opera"]=true;wv_vars["opera7"]=_2[1]>="7"?true:false;}wv_vars["onscrollsupported"]=false;}}function wv_ishookdone(_3){return (typeof (wv_vars[_3+"done"])=="undefined"||wv_vars[_3+"done"])?true:false;}function wv_sethookdone(_4,_5){wv_vars[_4+"done"]=_5;}function wv_hookonmousemove(_6,_7){var f=eval(_6);wv_sethookdone(_6,false);var _9=document.onmousemove?document.onmousemove:function(e){};if(wv_vars["ie"]){document.onmousemove=function(e){_9(e);f(e);};wv_sethookdone(_6,true);}else{if(wv_vars["nn4"]||wv_vars["nn6"]){document.captureEvents(Event.MOUSEMOVE);document.onmousemove=function(e){_9(e);f(e);};wv_sethookdone(_6,true);}}}function wv_hookonkeydown(_d,_e){var f=eval(_d);wv_sethookdone(_d,false);var _10=document.onkeydown?document.onkeydown:function(e){};if(wv_vars["ie"]){document.onkeydown=function(e){_10(e);f(e);};wv_sethookdone(_d,true);}else{if(wv_vars["nn4"]||wv_vars["nn6"]){document.captureEvents(Event.KEYDOWN);document.onkeydown=function(e){_10(e);f(e);};wv_sethookdone(_d,true);}}}function wv_hookonunload(_14,_15){var f=eval(_14);wv_sethookdone(_14,false);if(wv_vars["ie"]){if(document.body){var _17=document.body.onunload?document.body.onunload:function(){};document.body.onunload=function(){_17();f();};wv_sethookdone(_14,true);}}else{if(wv_vars["nn6"]){addEventListener("unload",f,true);wv_sethookdone(_14,true);}else{if(wv_vars["nn4"]){var _17=window.onunload?window.onunload:function(){};window.onunload=function(){_17();f();};wv_sethookdone(_14,true);}}}if(!wv_ishookdone(_14)&&_15>0){setTimeout("wv_hookonunload('"+_14+"',"+(_15-1)+");",200);}}function wv_hookonscroll(_18,_19){var f=eval(_18);wv_sethookdone(_18,false);if(wv_vars["ie"]){if(document.body){var _1b=document.body.onscroll?document.body.onscroll:function(e){};document.body.onscroll=function(e){_1b(e);f(e);};wv_sethookdone(_18,true);}}else{if(wv_vars["nn6"]){var _1b=document.onscroll?document.onscroll:function(e){};document.onscroll=function(e){_1b(e);f(e);};wv_sethookdone(_18,true);}else{wv_sethookdone(_18,true);}}if(!wv_ishookdone(_18)&&_19>0){setTimeout("wv_hookonscroll('"+_18+"',"+(_19-1)+");",200);}}function wv_hookonresize(_20,_21){var f=eval(_20);wv_sethookdone(_20,false);if(wv_vars["ie"]){if(document.body){var _23=document.body.onresize?document.body.onresize:function(e){};document.body.onresize=function(e){_23(e);f(e);};wv_sethookdone(_20,true);}}else{if(wv_vars["nn4"]||wv_vars["nn6"]){var _23=window.onresize?window.onresize:function(e){};window.onresize=function(e){_23(e);f(e);};wv_sethookdone(_20,true);}else{wv_sethookdone(_20,true);}}if(!wv_ishookdone(_20)&&_21>0){setTimeout("wv_hookonresize('"+_20+"',"+(_21-1)+");",200);}}function parse_args(_28){if(_28.length==1&&_28[0] instanceof Object){return _28[0];}else{var _29={};var _2a;for(var i=0;i<_28.length;i++){_2a=_28[i].split("=");_29[_2a[0].toLowerCase()]=_2a[1];}return _29;}}function wv_timeoutlink(){var _2c=parse_args(arguments);if(wv_vars["timeout"+_2c["template"]+"_state"]=="off"||typeof (_2c["action"])=="undefined"){return;}switch(_2c["action"]){case "init":var _2d=10;wv_init();if(wv_vars["timeout"+_2c["template"]+"_relativex"]=="window"||wv_vars["timeout"+_2c["template"]+"_relativey"]=="window"){wv_hookonscroll("wv_timeout"+_2c["template"]+"_onscroll",_2d);}wv_hookonresize("wv_timeout"+_2c["template"]+"_onresize",_2d);if(wv_vars["timeout"+_2c["template"]+"_timeoutms"]>0&&wv_vars["timeout"+_2c["template"]+"_resetmouse"]=="true"){wv_hookonmousemove("wv_timeout"+_2c["template"]+"_onmousemove");}if(wv_vars["timeout"+_2c["template"]+"_timeoutms"]>0&&wv_vars["timeout"+_2c["template"]+"_resetkeyboard"]=="true"){wv_hookonkeydown("wv_timeout"+_2c["template"]+"_onkeydown");}eval("wv_timeout"+_2c["template"]+"_createlayer(2);");wv_timeoutlink({"template":_2c["template"],"action":"waitinit","retries":2*_2d});break;case "waitinit":if(wv_ishookdone("wv_timeout"+_2c["template"]+"_onscroll")&&wv_ishookdone("wv_timeout"+_2c["template"]+"_onkeydown")&&wv_ishookdone("wv_timeout"+_2c["template"]+"_onmousemove")){wv_timeoutlink({"template":_2c["template"],"action":"reset"});if(wv_vars["timeout"+_2c["template"]+"_relativex"]=="window"||wv_vars["timeout"+_2c["template"]+"_relativey"]=="window"){eval("wv_timeout"+_2c["template"]+"_onresize();");}}else{if(_2c["retries"]-->0){setTimeout("wv_timeoutlink({'template':'"+_2c["template"]+"','action':'waitinit','retries':"+_2c["retries"]+"});",200);}}break;case "close":if(_2c["fromtimer"]=="true"){wv_vars["timeout"+_2c["template"]+"_closetimeron"]=false;}else{wv_timeoutlink({"template":_2c["template"],"action":"cancel","item":"closetimer"});}if(wv_vars["timeout"+_2c["template"]+"_iframe"]&&wv_vars["timeout"+_2c["template"]+"_shown"]){wv_loadurl(wv_vars["timeout"+_2c["template"]+"_iframeid"],wv_vars["timeout"+_2c["template"]+"_blankurl"],0,_2c["template"]);}wv_vars["timeout"+_2c["template"]+"_shown"]=false;wv_showlayer(wv_vars["timeout"+_2c["template"]+"_layerid"],false,0);if(typeof (wv_vars["timeout"+_2c["template"]+"_divshimid"])!="undefined"){wv_showlayer(wv_vars["timeout"+_2c["template"]+"_divshimid"],false,0);}break;case "cancel":if(_2c["item"]=="timer"){if(wv_vars["timeout"+_2c["template"]+"_timeron"]){wv_vars["timeout"+_2c["template"]+"_timeron"]=false;clearTimeout(wv_vars["timeout"+_2c["template"]+"_timer"]);}}else{if(_2c["item"]=="closetimer"){if(wv_vars["timeout"+_2c["template"]+"_closetimeron"]){wv_vars["timeout"+_2c["template"]+"_closetimeron"]=false;clearTimeout(wv_vars["timeout"+_2c["template"]+"_closetimer"]);}}}break;case "show":if(_2c["fromtimer"]=="true"){wv_vars["timeout"+_2c["template"]+"_timeron"]=false;}else{wv_timeoutlink({"template":_2c["template"],"action":"cancel","item":"timer"});}if(wv_vars["timeout"+_2c["template"]+"_closetimeron"]){wv_timeoutlink({"template":_2c["template"],"action":"cancel","item":"closetimer"});}if((typeof (wv_vars["timeout"+_2c["template"]+"_linkimageurl"])!="undefined")&&(wv_vars["timeout"+_2c["template"]+"_linkimageurl"]!="")&&(document.getElementById(wv_vars["timeout"+_2c["template"]+"_linkimageid"]))){document.getElementById(wv_vars["timeout"+_2c["template"]+"_linkimageid"]).src=wv_vars["timeout"+_2c["template"]+"_linkimageurl"];wv_vars["timeout"+_2c["template"]+"_linkimageurl"]="";}if((typeof (wv_vars["timeout"+_2c["template"]+"_hiddenlinkimageurl"])!="undefined")&&(wv_vars["timeout"+_2c["template"]+"_hiddenlinkimageurl"]!="")){if((typeof (eStara_append)=="function")&&(wv_vars["timeout"+_2c["template"]+"_onload"])){eStara_append(wv_vars["timeout"+_2c["template"]+"_hiddenlinkimageurl"]+"&jsoutput=1");}else{var _2e=new Image();_2e.src=wv_vars["timeout"+_2c["template"]+"_hiddenlinkimageurl"];}wv_vars["timeout"+_2c["template"]+"_hiddenlinkimageurl"]="";}if((typeof (wv_vars["timeout"+_2c["template"]+"_webeventbuttonshown"])!="undefined")&&(wv_vars["timeout"+_2c["template"]+"_webeventbuttonshown"]!="")){if(wv_vars["timeout"+_2c["template"]+"_webeventbuttonshown"].indexOf("javascript:")==0){eval(wv_vars["timeout"+_2c["template"]+"_webeventbuttonshown"].substring(11));}else{if(wv_vars["timeout"+_2c["template"]+"_onload"]){var _2f=document.createElement("div");_2f.style.visibility="hidden";document.getElementsByTagName("body")[0].appendChild(_2f);var _30=document.createElement("img");_30.src=wv_vars["timeout"+_2c["template"]+"_webeventbuttonshown"];_2f.appendChild(_30);}else{var _31=new Image();_31.src=wv_vars["timeout"+_2c["template"]+"_webeventbuttonshown"];wv_vars["timeout"+_2c["template"]+"_webeventbuttonshown"]="";}}}wv_movelayer(wv_vars["timeout"+_2c["template"]+"_layerid"],wv_vars["timeout"+_2c["template"]+"_positionx"],wv_vars["timeout"+_2c["template"]+"_positiony"],_2c["template"]);if(typeof (wv_vars["timeout"+_2c["template"]+"_divshimid"])!="undefined"){wv_movelayer(wv_vars["timeout"+_2c["template"]+"_divshimid"],wv_vars["timeout"+_2c["template"]+"_positionx"],wv_vars["timeout"+_2c["template"]+"_positiony"],_2c["template"]);}if(wv_vars["timeout"+_2c["template"]+"_iframe"]&&!wv_vars["timeout"+_2c["template"]+"_shown"]){if(wv_vars["timeout"+_2c["template"]+"_delayiframe"]){setTimeout("wv_loadurl(wv_vars[\"timeout"+_2c["template"]+"_iframeid\"],wv_vars[\"timeout"+_2c["template"]+"_guiurl\"],10,"+_2c["template"]+");",1000);}else{wv_loadurl(wv_vars["timeout"+_2c["template"]+"_iframeid"],wv_vars["timeout"+_2c["template"]+"_guiurl"],10,_2c["template"]);}}wv_vars["timeout"+_2c["template"]+"_shown"]=true;if(wv_vars["timeout"+_2c["template"]+"_cookieurl"]!=""){if(typeof (eStara_append)=="function"){setTimeout("eStara_append('"+wv_vars["timeout"+_2c["template"]+"_cookieurl"]+"');",1500);}wv_vars["timeout"+_2c["template"]+"_cookieurl"]="";}eval("wv_timeout"+_2c["template"]+"_onresize();");var _32=wv_vars["timeout"+_2c["template"]+"_closems"];if(_32>0){wv_vars["timeout"+_2c["template"]+"_closetimer"]=setTimeout("wv_timeoutlink({'template':'"+_2c["template"]+"','action':'close','fromtimer':'true'});",_32);wv_vars["timeout"+_2c["template"]+"_closetimeron"]=true;}break;case "reset":wv_timeoutlink({"template":_2c["template"],"action":"cancel","item":"closetimer"});wv_timeoutlink({"template":_2c["template"],"action":"close"});wv_timeoutlink({"template":_2c["template"],"action":"cancel","item":"timer"});var _33=wv_vars["timeout"+_2c["template"]+"_timeoutms"];if(_33==0){_33=1;}wv_vars["timeout"+_2c["template"]+"_timer"]=setTimeout("wv_timeoutlink({'template':'"+_2c["template"]+"','action':'show','fromtimer':'true'});",_33);wv_vars["timeout"+_2c["template"]+"_timeron"]=true;break;default:alert("ERROR: Invalid action argument '"+_2c["action"]+"' passed to wv_timeoutlink() function");return;}}function wv_showlayer(_34,_35,_36){var _37=false;if(document.all&&document.all[_34]){document.all[_34].style.display=_35?"":"none";document.all[_34].style.visibility=_35?"visible":"hidden";_37=true;}else{if(document.layers&&document.layers[_34]){document.layers[_34].visibility=_35?"show":"hide";_37=true;}else{if(document.getElementById&&document.getElementById(_34)){document.getElementById(_34).style.visibility=_35?"visible":"hidden";document.getElementById(_34).style.display=_35?"":"none";_37=true;}}}if(!_37&&_36>0){setTimeout("wv_showlayer('"+_34+"', "+_35+", "+(_36-1)+");",200);}else{if(_37&&_35&&typeof (eStara_startCobrowseButton)=="function"){eStara_startCobrowseButton(_34);}else{if(_37&&_35){eStara_startCobrowseButtonNoFunc=_34;}}}}function wv_findpos(obj){var _39=curtop=0;if(obj.offsetParent){_39=obj.offsetLeft;curtop=obj.offsetTop;while(obj=obj.offsetParent){_39+=obj.offsetLeft;curtop+=obj.offsetTop;}}return [_39,curtop];}function wv_movelayer(_3a,_3b,_3c,_3d){var _3e=0;var _3f=0;if(document.getElementById){var obj=document.getElementById(_3a);if(obj){obj=obj.offsetParent;}while(obj){if((typeof (document.body)=="undefined")||(obj!=document.body)){_3e+=obj.offsetLeft;if(obj.style&&obj.style.borderLeftWidth!=""){_3e+=parseInt(obj.style.borderLeftWidth);}_3f+=obj.offsetTop;if(obj.style&&obj.style.borderTopWidth!=""){_3f+=parseInt(obj.style.borderTopWidth);}}obj=obj.offsetParent;}}_3b=parseInt(_3b);_3c=parseInt(_3c);var _41=wv_getscrollx();var _42=wv_getscrolly();var _43=wv_vars["timeout"+_3d+"_relativex"]=="window"?_41:0;var _44=wv_vars["timeout"+_3d+"_relativey"]=="window"?_42:0;if(wv_vars["timeout"+_3d+"_alignx"]=="left"){_43+=_3b;}else{var _45=wv_vars["timeout"+_3d+"_relativex"]=="window"?wv_getwindowwidth():wv_getpagewidth();if(wv_vars["timeout"+_3d+"_alignx"]=="center"){_43+=parseInt(_45/2)+_3b;}else{_43+=_45-_3b;}}if(wv_vars["timeout"+_3d+"_aligny"]=="top"){_44+=_3c;}else{var _46=wv_vars["timeout"+_3d+"_relativey"]=="window"?wv_getwindowheight():wv_getpageheight();if(wv_vars["timeout"+_3d+"_aligny"]=="middle"){_44+=parseInt(_46/2)+_3c;}else{_44+=_46-_3c;}}_43-=_3e;_44-=_3f;if(document.all&&document.all[_3a]){document.all[_3a].style.left=_43+"px";document.all[_3a].style.top=_44+"px";}else{if(document.layers&&document.layers[_3a]){document.layers[_3a].left=_43;document.layers[_3a].top=_44;}else{if(document.getElementById&&document.getElementById(_3a)){document.getElementById(_3a).style.left=_43+"px";document.getElementById(_3a).style.top=_44+"px";}}}}function wv_exitlink(){var _47=new Array();_47["template"]=wv_vars["timeoutdefault_template"];_47["action"]="";_47["item"]="timer";_47["fromtimer"]="false";for(var i=0;i<arguments.length;i++){var Arg=arguments[i].toString();var _4a=Arg.indexOf("=");if(_4a!=-1){var _4b=(Arg.substring(0,_4a)).toLowerCase();var _4c=Arg.substring(_4a+1,Arg.length);_47[_4b]=_4c;}else{alert("ERROR: Invalid argument passed to wv_exitlink() function - Arg"+i+" is missing '=' sign : "+Arg);return;}}if(wv_vars["exit"+_47["template"]+"_state"]=="off"){return;}var _4d="a=1";if(typeof (_47["authorizeurl"])!="undefined"){_4d="authorizeurl="+_47["authorizeurl"];}var _4e="'d=1'";var _4f=_4e;if(typeof (_47["passedvars"])!="undefined"){_4e="passedvars="+_47["passedvars"]+"";_4f=unescape(_47["passedvars"]);}else{for(var j=1;j<20;++j){if(typeof (_47["var"+j])!="undefined"){_4e+=", 'var"+j+"="+_47["var"+j].replace(/(\\|\'|\"|\0)/g,"\\$1")+"'";}}_4f=_4e;_4e="passedvars="+escape(_4e)+"";}var _51="b=1";if(typeof (wv_vars["exit"+_47["template"]+"_urid"])!="undefined"){_51="urid="+wv_vars["exit"+_47["template"]+"_urid"];}var _52="c=1";if(typeof (wv_vars["exit"+_47["template"]+"_pageid"])!="undefined"){_52="pageid="+wv_vars["exit"+_47["template"]+"_pageid"];}switch(_47["action"]){case "init":var _53=10;wv_init();if(wv_vars["exit"+_47["template"]+"_onunload"]!=0){wv_hookonunload("wv_exit"+_47["template"]+"_onunload",_53);}if(wv_vars["exit"+_47["template"]+"_timeoutms"]>0&&wv_vars["exit"+_47["template"]+"_resetmouse"]=="true"){wv_hookonmousemove("wv_exit"+_47["template"]+"_onmousemove");}if(wv_vars["exit"+_47["template"]+"_timeoutms"]>0&&wv_vars["exit"+_47["template"]+"_resetkeyboard"]=="true"){wv_hookonkeydown("wv_exit"+_47["template"]+"_onkeydown");}wv_exitlink("template="+_47["template"],_4d,_4e,"action=waitinit","retries="+2*_53);break;case "waitinit":if(wv_ishookdone("wv_exit"+_47["template"]+"_onunload")&&wv_ishookdone("wv_exit"+_47["template"]+"_onkeydown")&&wv_ishookdone("wv_exit"+_47["template"]+"_onmousemove")){wv_exitlink("template="+_47["template"],"action=reset",_4d,_4e);}else{if(_47["retries"]-->0){setTimeout("wv_exitlink('template="+_47["template"]+"','action=waitinit','retries="+_47["retries"]+"','"+_4d+"','"+_4e+"');",200);}}break;case "cancel":if(_47["item"]=="timer"){if(wv_vars["exit"+_47["template"]+"_timeron"]){wv_vars["exit"+_47["template"]+"_timeron"]=false;clearTimeout(wv_vars["exit"+_47["template"]+"_timer"]);}}else{if(_47["item"]=="onunload"){wv_vars["exit"+_47["template"]+"_onunloadactive"]=false;}}break;case "show":if(!wv_vars["exit"+_47["template"]+"_shown"]){if(_47["fromtimer"]=="true"){wv_vars["exit"+_47["template"]+"_timeron"]=false;}else{wv_exitlink("template="+_47["template"],"action=cancel","item=timer",_4d,_4e);}if(wv_vars["exit"+_47["template"]+"_url"]!=""){window.open(wv_vars["exit"+_47["template"]+"_url"],wv_vars["exit"+_47["template"]+"_windowid"],wv_vars["exit"+_47["template"]+"_features"]);}else{eval(wv_vars["exit"+_47["template"]+"_jsfunction"]+"('Template="+wv_vars["exit"+_47["template"]+"_template"]+"', '"+_4d+"', "+_4f+", '"+_51+"', '"+_52+"');");}wv_vars["exit"+_47["template"]+"_shown"]=true;if(wv_vars["exit"+_47["template"]+"_cookieurl"]!=""){if(typeof (eStara_append)=="function"){setTimeout("eStara_append('"+wv_vars["exit"+_47["template"]+"_cookieurl"]+"');",1500);}wv_vars["exit"+_47["template"]+"_cookieurl"]="";}}break;case "reset":wv_exitlink("template="+_47["template"],"action=cancel","item=timer",_4d,_4e);if(wv_vars["exit"+_47["template"]+"_timeoutms"]>0){wv_vars["exit"+_47["template"]+"_timer"]=setTimeout("wv_exitlink('template="+_47["template"]+"','action=show','fromtimer=true','"+_4d+"','"+_4e+"');",wv_vars["exit"+_47["template"]+"_timeoutms"]);wv_vars["exit"+_47["template"]+"_timeron"]=true;}break;default:alert("ERROR: Invalid action argument '"+wv_action+"' passed to wv_exitlink() function");return;}}function wv_hoverlink(){wv_timeoutlink.apply(this,arguments);}function wv_getscrollx(){var _54;if(wv_vars["nn4"]||wv_vars["nn6"]){_54=window.pageXOffset;}else{_54=(document.documentElement&&document.documentElement.scrollLeft)?document.documentElement.scrollLeft:document.body.scrollLeft;}return _54;}function wv_getscrolly(){var _55;if(wv_vars["nn4"]||wv_vars["nn6"]){_55=window.pageYOffset;}else{_55=(document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop;}return _55;}function wv_getwindowwidth(){var _56;if(typeof (window.innerWidth)!="undefined"&&window.innerWidth>0){_56=window.innerWidth-18;}else{if(typeof (document.documentElement)!="undefined"&&typeof (document.documentElement.clientWidth)!="undefined"&&document.documentElement.clientWidth>0){_56=document.documentElement.clientWidth;}else{if(typeof (document.body)!="undefined"&&typeof (document.body.clientWidth)!="undefined"&&document.body.clientWidth>0){_56=document.body.clientWidth;}}}return _56;}function wv_getwindowheight(){var _57;if(typeof (window.innerHeight)!="undefined"&&window.innerHeight>0){_57=window.innerHeight-18;}else{if(typeof (document.documentElement)!="undefined"&&typeof (document.documentElement.clientHeight)!="undefined"&&document.documentElement.clientHeight>0){_57=document.documentElement.clientHeight;}else{if(typeof (document.body)!="undefined"&&typeof (document.body.clientHeight)!="undefined"&&document.body.clientHeight>0){_57=document.body.clientHeight;}}}return _57;}function wv_getpagewidth(){var _58;if(window.innerWidth&&window.scrollMaxY){_58=window.innerWidth+window.scrollMaxX;}else{if(document.body.scrollHeight>document.body.offsetHeight){_58=document.body.scrollWidth;}else{_58=document.body.offsetWidth+document.body.offsetLeft;}}return _58;}function wv_getpageheight(){var _59;if(window.innerHeight&&window.scrollMaxY){_59=window.innerHeight+window.scrollMaxY;}else{if(document.body.scrollHeight>document.body.offsetHeight){_59=document.body.scrollHeight;}else{_59=document.body.offsetHeight+document.body.offsetTop;}}return _59;}function eStaraCookieSet(_1,_2,_3,_4){var _5=(typeof (_3)=="undefined"||_3==null)?false:_3;var _6=new Date();_6.setFullYear(_6.getFullYear()+5);var _7=_5?"":"expires="+_6.toGMTString()+"; ";var _8=_1=="nocacheguid"?"/":cookiePath;var _9="path="+_8+"; ";var _a;if(typeof (_4)=="undefined"){_a="domain=.estara.com; ";}else{if(_4==null||_4==""){_a="";}else{_a="domain="+_4+"; ";}}var _b=_1+"="+_2+"; ";document.cookie=_b+_7+_9+_a;}function eStaraCookieGet(_c){var _d="; "+document.cookie;var _e=_d.indexOf("; "+_c+"=");if(_e!=-1){var _f=_e+2+_c.length+1;var end=_d.indexOf(";",_f);if(end==-1){end=_d.length;}return _d.substring(_f,end);}return null;}function eStaraCookieDelete(key,_12){if(eStaraCookieGet(key)!=null){var _13=key+"="+"; ";var _14="expires=Fri, 02-Jan-1970 00:00:00 GMT; ";var _15=key=="nocacheguid"?"/":cookiePath;var _16="path="+_15+"; ";var _17;if(typeof (_12)=="undefined"){_17="domain=.estara.com; ";}else{if(_12==null||_12==""){_17="";}else{_17="domain="+_12+"; ";}}document.cookie=_13+_14+_16+_17;if(_15!="/"){var _16="path=/; ";document.cookie=_13+_14+_16+_17;}}}var cookiePath="/";function eStaraCookiePathSet(_18){cookiePath=_18;}function eStaraCookieDictionarySet(_19,key,_1b,_1c,_1d){key=eStaraCookieDictionaryEncode(key);_1b=eStaraCookieDictionaryEncode(_1b);var _1e=eStaraCookieGet(_19);if(_1e==null){_1e="";}var _1f=eStaraCookieDictionaryDecode(_1e);if(_1f!=""){_1f="&"+_1f;}var pos=_1f.indexOf("&"+key+"=");if(pos!=-1){var _21=pos+1+key.length+1;var end=_1f.indexOf("&",_21);if(end==-1){end=_1f.length;}newcookies=_1f.substring(0,_21)+_1b+_1f.substring(end);}else{newcookies=_1f+"&"+key+"="+_1b;}newcookies=newcookies.substring(1);eStaraCookieSet(_19,eStaraCookieDictionaryEncode(newcookies),_1c,_1d);}function eStaraCookieDictionaryGet(_23,key){key=eStaraCookieDictionaryEncode(key);var _25=eStaraCookieGet(_23);if(_25!=null){var _26="&"+eStaraCookieDictionaryDecode(_25);var pos=_26.indexOf("&"+key+"=");if(pos!=-1){var _28=pos+1+key.length+1;var end=_26.indexOf("&",_28);if(end==-1){end=_26.length;}return eStaraCookieDictionaryDecode(_26.substring(_28,end));}}return null;}function eStaraCookieDictionaryGetKeys(_2a){var _2b=new Array();var _2c=eStaraCookieGet(_2a);if(_2c!=null){var _2d=eStaraCookieDictionaryDecode(_2c);var _2e=_2d.split("&");for(var i=0;i<_2e.length;i++){var _30=_2e[i];var pos=_30.indexOf("=");if(pos!=-1){var _32=0;var end=pos;_2b[_2b.length]=_30.substring(_32,end);}}}return _2b;}function eStaraCookieDictionaryDelete(_34,key,_36,_37){key=eStaraCookieDictionaryEncode(key);var _38=eStaraCookieGet(_34);if(_38!=null){var _39="&"+eStaraCookieDictionaryDecode(_38);var pos=_39.indexOf("&"+key+"=");if(pos!=-1){var _3b=pos;var end=_39.indexOf("&",_3b+1);if(end==-1){end=_39.length;}newcookies=_39.substring(0,_3b)+_39.substring(end);newcookies=newcookies.substring(1);if(newcookies.length>1){eStaraCookieSet(_34,eStaraCookieDictionaryEncode(newcookies),_36,_37);}else{eStaraCookieDelete(_34,_37);}}}}function eStaraCookieDictionaryEncode(_3d){if(typeof (encodeURIComponent)=="function"){return encodeURIComponent(_3d);}else{return escape(_3d);}}function eStaraCookieDictionaryDecode(_3e){if(typeof (decodeURIComponent)=="function"){return decodeURIComponent(_3e);}else{return unescape(_3e);}}eStaraCookie=function(_3f,_40,_41){if(typeof _40!="undefined"){_41=_41||{};if(_40===null){_40="";_41.expires=-1;}var _42="";if(_41.expires&&(typeof _41.expires=="number"||_41.expires.toUTCString)){var _43;if(typeof _41.expires=="number"){_43=new Date();_43.setTime(_43.getTime()+(_41.expires*24*60*60*1000));}else{_43=_41.expires;}_42="; expires="+_43.toUTCString();}var _44=_41.path?"; path="+(_41.path):"";var _45=_41.domain?"; domain="+(_41.domain):"";var _46=_41.secure?"; secure":"";document.cookie=[_3f,"=",encodeURIComponent(_40),_42,_44,_45,_46].join("");}else{var _47=null;if(document.cookie&&document.cookie!=""){var _48=document.cookie.split(";");for(var i=0;i<_48.length;i++){var _4a=_48[i];if(_4a.substring(0,_3f.length+1)==(_3f+"=")){_47=decodeURIComponent(_4a.substring(_3f.length+1));break;}}}return _47;}};function eStara_logerr(scr,err){var errbtn=document.createElement('img');var ref=eStara_urlencode((document.location).toString().substring(0,500));var ua=eStara_urlencode(navigator.userAgent);var plat=eStara_urlencode(navigator.platform);if(typeof(err.description)!="undefined")err=err.description;eStara_debug("Script:" + scr +" Err:" + err,1);errbtn.src="//as00.estara.com/fs/err.php?r="+ref+"&ua="+ua+"&plat="+plat+"&script="+scr+"&err="+eStara_urlencode(err);document.body.appendChild(errbtn);}var eStara_fsguid='89073C9EDBB4FEB8A9A498EC083F64C5';var eStara_ueuid=eStaraCookie("eStara_ueuid");var eStara_base_url='';function eStara_beginlr(){try{var ref=eStara_urlencode((document.referrer).toString().substring(0,500));var ua=eStara_urlencode(navigator.userAgent);var plat=eStara_urlencode(navigator.platform);var cs=eStara_urlencode((typeof(document.characterSet)!='undefined')?document.characterSet:document.charset);eStara_base_url='http://as00.estara.com/fs/rules.php?accountid=200106286435';eStara_base_url+='&title='+eStara_urlencode((document.title).toString().substring(0,100));eStara_base_url+='&referrer='+ref+'&w='+screen.width+'&h='+screen.height+'&d='+screen.colorDepth;eStara_base_url+='&platform='+plat+'&ua='+ua+'&cs='+cs+'&estara_fsguid=89073C9EDBB4FEB8A9A498EC083F64C5'+'&estara_firsttime=1265734546';if(eStara_ueuid!=="undefined"&&eStara_ueuid!="")eStara_base_url+="&ueuid="+eStara_ueuid;for(var i=1;i<=10;i++){eval("var eStara_assigned=(typeof(eStara_var"+i+")!=\"undefined\"&&eStara_var"+i+"!=null)");if(eStara_assigned)eval("eStara_base_url+=\"&var"+i+"=\"+eStara_urlencode(eStara_var"+i+")");}eStara_add_include(eStara_base_url,0);}catch(err){eStara_logerr("lr.php",err);}}if(typeof(eStara_lr_accountid)!="undefined"){}else{eStara_lr_accountid="200106286435";if(typeof(window.addEventListener)!='undefined'){window.addEventListener('load',eStara_beginlr,false);}else if(typeof(document.addEventListener)!='undefined'){document.addEventListener('load',eStara_beginlr,false);}else if(typeof(window.attachEvent)!='undefined'){window.attachEvent('onload',eStara_beginlr);}}