/*
 * 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=new Array();var eStara_obscuration=new Array();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;var bFF=navigator.userAgent.indexOf("Gecko")!==-1;var _15;var _16=function(){if(bIE){_15=document.createElement("<iframe name=\""+_12+"\">");}else{_15=document.createElement("iframe");}if(window.location.href.indexOf("estara.com/")!=-1){_15.setAttribute("src","/meet/blank.html");}else{_15.setAttribute("src","javascript:void(0);");}_15.setAttribute("scrolling","no");_15.setAttribute("frameBorder","0");_15.setAttribute("id",_12);_15.setAttribute("name",_12);_15.style.border="0px";_15.style.width="0px";_15.style.height="0px";if(document.body){document.body.appendChild(_15);}else{document.appendChild(_15);}}();var _17=eStara_get_dom_document(_15);if(!_17){_16();}return _15;};var eStara_upload_form=function(url,_19,_1a){esconsole.log("eStara_upload_form: called");var bIE=navigator.userAgent.indexOf("MSIE")!=-1;var _1c=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 _1e=eStara_create_iframe("eStara_tmp_iframe");if(!_1e){esconsole.log("eStara_upload_form: exit with no iframe");return;}eStara_tmp_iframe=_1e;}var _1f=eStara_get_dom_document(eStara_tmp_iframe);if(!_1f){esconsole.log("eStara_upload_form: exit with no domDocument");return;}if(!_19){_19="as00.estara.com";}if(!_1a){_1a=eStara_getpageid();}var _20="eStara_upload_form_"+_1a;url+="&pageid="+_1a;var d=_1f.createElement("div");var _22=document.getElementsByTagName("head").item(0);var _23="";try{if(typeof (document.compatMode)!="undefined"&&document.compatMode!="BackCompat"){_23="<scr"+"ipt>var eStara_setdoctype=1;</scr"+"ipt>";}}catch(e){}var _24="";if(document.body.className!=null&&document.body.className!=""){_24+=" class=\""+document.body.className+"\"";}if(document.body.id!=null&&document.body.id!=""){_24+=" id=\""+document.body.id+"\"";}var _25=saveAndClearBlockedFields();var _26=document.body.innerHTML;_26=eStara_adjustInnerHtmlForFrames(eStara_getCoBrowseFrames(),_19,_26);var _27=eStara_escapeQuote("<head>"+_22.innerHTML+"</head><body"+_24+">"+_26+_23+"</body>");reloadFields(_25);var _28="";if(!bFF){_28="document.getElementById('"+_20+"').submit();";}if(_1c){_27="MSIE8"+eStara_base64_encode(_27);}d.setAttribute("id","eStara_tmp_form");d.innerHTML="<form id=\""+_20+"\" name=\""+_20+"\" action=\""+url+"\" method=\"post\" target=\"eStara_tmp_iframe\"><input type=\"hidden\" name=\"uploadsize\" value=\""+_27.length+"\"><input type=\"hidden\" name=\"eStara_bigupload\" value=\""+_27+"\"></form><scr"+"ipt type=\"text/javascript\">"+_28+"</scr"+"ipt>";if(_1f.body){_1f.body.appendChild(d);}else{_1f.appendChild(d);}_1f.getElementById(_20).submit();};var eStara_fd_post=function(_29,_2a,_2b){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 _2d=eStara_create_iframe("eStara_fd_iframe");if(!_2d){esconsole.log("eStara_fd_post: exit with no iframe");return;}eStara_fd_iframe=_2d;}var _2e=eStara_get_dom_document(eStara_fd_iframe);if(!_2e){esconsole.log("eStara_fd_post: exit with no domDocument");return;}var _2f="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(_2b){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 _30="";for(i in els){_30+="<input type=\"hidden\" name=\""+i+"\" value=\""+els[i]+"\">";}formData=_2a==="sent"?eStara_form_data.sent:eStara_form_data.current;_30+="<input type=\"hidden\" name=\"formData\" value=\""+formData+"\">";var div=_2e.createElement("div");div.setAttribute("id","eStara_fd_div");div.innerHTML="<form id=\""+_2f+"\" name=\""+_2f+"\" action=\""+_29+"\" method=\"post\" target=\"eStara_fd_iframe\">"+_30+"</form>";if(_2e.body){_2e.body.appendChild(div);}else{_2e.appendChild(div);}_2e.getElementById(_2f).submit();};var eStara_build_form_action=function(_32,_33,_34){esconsole.log("eStara_build_form_action: called");if(!_32||!_33||!_34){esconsole.log("eStara_build_form_action: missing arguments");return;}var _35=_32+"?invite="+_33;_35+="&estara_fsguid="+_34;_35+="&fs_level="+eStara_fs_level;_35+="&location="+eStara_urlencode((document.location).toString().substring(0,1000));if(typeof eStara_pageid!=="undefined"&&(eStara_fs_level===1||eStara_fs_level===-2)){_35+="&pageid="+eStara_getpageid();}return _35;};var eStara_build_form_data=function(_36){var _37={};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 _3d=0;try{for(var _3e in eStara_restriction){if(!_3e.match(/^\d*$/)){continue;}if(!_3d&&fn!=null&&fn!="undefined"&&typeof (fn)!="undefined"){var re=new RegExp(eStara_restriction[_3e]);var m=fn.match(re);if(m){_3d=1;}}}}catch(err){eStara_logerr("eStara_build_form_data - restrict ",err);}var _41="";try{if(_36){for(var _3e in eStara_obscuration){if(!_3e.match(/^\d*$/)){continue;}_41="restrict: "+_3e+" fn: "+fn;if(!_3d&&fn!=null&&fn!="undefined"&&typeof (fn)!="undefined"){var re=new RegExp(eStara_obscuration[_3e]);var m=fn.match(re);if(m){_3d=1;}}}}}catch(err){eStara_logerr("eStara_build_form_data - agentside "+_41,err);}if(_3d>0){continue;}try{if(typeof (fv.type)!="undefined"){if(fv.type!="textarea"&&fv.type!="submit"&&fv.type!="hidden"){var _42=j+"-"+i+"-"+eStara_urlencode(fv.name);var _43="";if(fv.type=="radio"){_43=eStara_urlencode(eStara_get_radio(fv));}else{if(fv.type=="select-one"||fv.type=="dropdown"){_43=fv.selectedIndex;}else{if(fv.type=="checkbox"){_43=fv.checked;}else{if(fv.type=="text"||fv.type=="hidden"&&(fn!=null&&fn!="undefined"&&typeof (fn)!="undefined")){var val=fv.value;for(var _45 in eStara_obscuration){if(!_45.match(/^\d*$/)){continue;}var re=new RegExp(eStara_obscuration[_45]);var m=fn.match(re);if(m&&val.length){var _46;_46=val.replace(/./g,"*");val=_46;}}_43=eStara_urlencode(val);}else{_43=eStara_urlencode(fv.value);}}}}_37[_42]=_43;}}}catch(err){eStara_logerr("eStara_build_form_data - formInputs ",err);}}}}}try{if(typeof (eStara_toolkit_objs)=="object"){var _47="";for(var _48 in eStara_toolkit_objs){_47+=","+eStara_toolkit_objs[_48];}if(_47!=""){_37.estaradraw=eStara_urlencode(_47);}}}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!="|"){_37.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!=""){_37.estarascroll=eStara_urlencode(_49);}eStara_scroll=0;}}catch(err){eStara_logerr("eStara_build_form_data - scroll ",err);}try{if(eStara_clear){_37.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 _37==="object"&&_37!=="undefined"){for(j in _37){_4a+="&"+j+"="+_37[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=Array();for(var _4d in eStara_obscuration){if(!_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(!_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){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(!_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(!_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(!_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="";for(var _b0 in eStara_toolkit_objs){_af+=","+eStara_toolkit_objs[_b0];}if(_af!=""){_a1+="&estaradraw="+eStara_urlencode(_af);}}}catch(err){eStara_logerr("eStara_build_url - drawing ",err);}try{if(eStara_highlight_s!=""){var _b1=eStara_highlight_s+"|"+eStara_highlight_e;if(_b1!="|"){_a1+="&estarahighlight="+eStara_urlencode(_b1);}eStara_highlight_s="";eStara_highlight_e="";}}catch(err){eStara_logerr("eStara_build_url - highlight ",err);}try{if(eStara_scroll){var _b1=((document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop)+","+document.body.scrollHeight;if(_b1!=""){_a1+="&estarascroll="+eStara_urlencode(_b1);}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(_b2){if(typeof (_b2)=="undefined"){_b2=false;}eStara_form_data.sent=eStara_build_form_data(_b2);}var eStara_mouseDown_installed=false;function eStara_mouseDown(e){var _b4=0;var alt=0;try{if(document.layers){var _b6=(e.modifiers+32).toString(2).substring(3,6);_b4=_b6.charAt(1)=="1";}else{if(typeof (e)=="undefined"){e=window.event||window.Event;}_b4=e.ctrlKey;alt=e.altKey;}if(_b4){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,_b8,_b9,_ba,add){eStara_create_image(img,_b9,_ba);if(add){eStara_toolkit_objs[eStara_toolkit_objs.length]=_b8+":"+_b9+":"+_ba;}}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 _c7=eStara_getCoBrowseFrames();for(var i=0;i<_c7.length;i++){try{_c7[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 _cb=[];for(i=0;i<all.length;i++){if(all[i].getAttribute("id")==tag){_cb.push(all[i]);}}return _cb;}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 _cf=eStara_getCoBrowseFrames();for(var i=0;i<_cf.length;i++){var _d0=_cf[i];try{_cf[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 _d2=n.parentNode;var _d3=n;for(var i=n.childNodes.length-1;i>=0;i--){var _d5=n.childNodes[i];_d3=_d2.insertBefore(_d5,_d3);}}n.parentNode.removeChild(n);}function eStara_swapImage(x,_d7,alt,t){var on=0;if(x.src=="http:"+_d7||x.src=="https:"+_d7){x.src=alt;on=1;}else{x.src=_d7;}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(_e1){var _e2=document.createElement("div"),body=document.body;_e2.style.height="100%";_e2.id="eStara_wrapper";_e2.style.width=_e1+"px";while(body.firstChild){_e2.appendChild(body.firstChild);}body.appendChild(_e2);}function eStara_skroll(){eStara_scroll=1;}function eStara_scrollToPos(pos,_e4){if(document.documentElement){document.documentElement.scrollTop=pos*document.body.scrollHeight/_e4;}document.body.scrollTop=pos*document.body.scrollHeight/_e4;}function eStara_ruleReplaceText(_e5,_e6,_e7,_e8){var _e9=document.body.innerHTML;var RE=new RegExp(_e5,_e7);var _eb=_e9.match(RE);var _ec=0;var _ed=new Array();if(!_eb){return null;}for(var i=0;i<_eb.length;i++){_ec=_e9.indexOf(_eb[i],_ec+1);if(_ec==-1){break;}var _ef=_e9.substr(0,_ec);var _f0=_ef.match(/<[^\/>].*?>/g);_ed.push([_f0[_f0.length-1],_eb[i]]);}for(var i=0;i<_ed.length;i++){var _f1=_ed[i][0].match(/<([^\s>]*).*>/)[1];var _f2=document.getElementsByTagName(_f1);for(var j=0;j<_f2.length;j++){if(_f2[j].firstChild&&_f2[j].firstChild.nodeType==3&&_f2[j].firstChild.nodeValue.indexOf(_ed[i][1])!=-1){var _f4=_e8==1?eval(_e6):_e6;_f2[j].firstChild.nodeValue=_f2[j].firstChild.nodeValue.replace(_ed[i][1],_f4);break;}}}}function eStara_removeExtraTags(_f5){if(_f5.indexOf("<")==-1){return _f5;}_f5=_f5.replace(/^\s+|\s+$/g,"");var _f6=/^\s*<\/?[a-zA-Z0-9_\s"':;=\-]+?>/;while(_f5.charAt(0)=="<"){_f5=_f5.replace(_f6,"");}_f6=/<\/?[^<>]+?>$/;while(_f5.charAt(_f5.length-1)==">"){_f5=_f5.replace(_f6,"");}return _f5;}function eStara_escape(_f7){var _f8=["/",".","*","+","?","|","(",")","[","]","{","}","\\"];var _f9=new RegExp("(\\"+_f8.join("|\\")+")","g");return _f7.replace(_f9,"\\$1");}function eStara_getFontEl(){var _fa=document.createElement("font");if(_fa.style.setAttribute){_fa.style.setAttribute("cssText","color:blue;background-color:yellow;");}else{_fa.setAttribute("style","color:blue;background-color:yellow;");}_fa.id="eStara_highlight";return _fa;}function eStara_klear(_fb){var _fc=eStara_getCoBrowseFrames();for(var i=0;i<_fc.length;i++){try{_fc[i].eStara_klear(_fb);}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 _fe=eStara_getElementsById("eStara_highlight");if(!_fe||!_fe.length){return;}for(var i=0;i<_fe.length;i++){var _ff=_fe[i].parentNode;if(_fe[i].previousSibling&&_fe[i].previousSibling.nodeType==3){_fe[i].childNodes[0].nodeValue=_fe[i].previousSibling.nodeValue+_fe[i].childNodes[0].nodeValue;_ff.removeChild(_fe[i].previousSibling);}if(_fe[i].nextSibling&&_fe[i].nextSibling.nodeType==3){_fe[i].childNodes[0].nodeValue+=_fe[i].nextSibling.nodeValue;_ff.removeChild(_fe[i].nextSibling);}_ff.insertBefore(_fe[i].childNodes[0],_fe[i].nextSibling);_ff.removeChild(_fe[i]);}eStara_clear=_fb;}function eStara_findAll(_100,_101){var _102=eStara_getCoBrowseFrames();for(var i=0;i<_102.length;i++){try{_102[i].eStara_findAll(_100,_101);}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 (_100)=="undefined"){return;}var _104=document.selection.createRange().htmlText;_104=eStara_removeExtraTags(_104);_104=_104.replace(/(<font\s*.+eStara_highlight\s*.*?>)?((\s*.*)*?)(<\/font>)?/gi,"$2");}eStara_klear(0);var _105=unescape(_100);var _106=unescape(_101);if(_100==null){if(!document.selection){return;}var _107=document.selection.createRange().htmlText;if(_107.length>_104.length||_107==""){_107=_104;}if(_107.length<2){return;}_105=_107.substr(0,100);_106=_107.length>100?_107.substr(_107.length-100):"";}if(_106==""||_106==null){_106=_105;}eStara_highlight_s=_105;eStara_highlight_e=_106;_105=eStara_escape(_105).replace(/\s+/g,"\\s+");_106=eStara_escape(_106).replace(/\s+/g,"\\s+");var _108=0;var html=document.documentElement.innerHTML;var _10a=0;while(html.match(_105,"i")&&html.match(_106,"i")&&html.match(_105,"i").index<=html.match(_106,"i").index){if(_10a==html.length){return;}else{_10a=html.length;}eStara_highlightIt(html.match(_105,"i"),html.match(_106,"i"),html.match(_105,"i").index+_108);html=document.documentElement.innerHTML;_108=html.lastIndexOf("eStara_highlight");html=html.substr(_108);if(html.match(/<\/font>/i)){_108+=html.match(/<\/font>/i).index+7;html=html.substr(html.match(/<\/font>/i).index+7);}else{_108+=3;html=html.substr(3);}}}function eStara_highlightIt(_10b,_10c,_10d){var tags=new Array();var _10f=false;var text=document.documentElement.innerHTML.substr(0,_10d);var indx=_10d;var _112="";var _113=0;var el;for(var i=text.length-1;i>=0&&text.charAt(i)!=">";i--){_113++;}do{for(;indx>=0;indx--){if(text.charAt(indx)==">"){break;}}var _116=indx-1;while(text.charAt(indx)!="<"){indx--;}var _117=text.substr(indx+1,_116-indx);if(_117.indexOf(" ")!=-1){_117=_117.substr(0,_117.indexOf(" "));}if(_117.indexOf("/")!=-1){tags[tags.length]=_117;_10f=true;}else{_112=_117;tags.pop();}}while(tags.length);tags=document.getElementsByTagName(_112);var _118=false;for(var i=0;i<tags.length&&!_118;i++){if(_10f){el=tags[i].nextSibling;}else{el=tags[i].firstChild;}if(!el||el.nodeType!=3){continue;}var _119=_10b.toString();var _11a=_10c.toString();var _11b=0;for(var j=_11a.length;j>=0&&_11a.charAt(j)!=">";j--){_11b=j;}_11a=_11a.substr(_11b);if(_119.indexOf("<")!=-1){_119=_119.substr(0,_119.indexOf("<"));}if(el.nodeValue.indexOf(_119)==_113){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 _11e=el.parentNode;var _11f=eStara_getFontEl();if(_119==_11a){_118=true;}if(el.nodeValue.indexOf(_11a)!=-1){var ndx=el.nodeValue.indexOf(_11a)+_11a.length;if(el.nodeValue.indexOf(_119)==_113){_11f.appendChild(document.createTextNode(el.nodeValue.substr(_113,ndx-_113)));_11e.insertBefore(_11f,el);_11e.insertBefore(document.createTextNode(el.nodeValue.substr(0,_113)),_11f);el.nodeValue=el.nodeValue.substr(ndx);}else{_11f.appendChild(document.createTextNode(el.nodeValue.substr(0,ndx)));_11e.insertBefore(_11f,el);el.nodeValue=el.nodeValue.substr(ndx);}_118=true;}else{if(el.nodeValue.indexOf(_119)==_113){var _121=el.nodeValue.length;_11f.appendChild(document.createTextNode(el.nodeValue.substr(_113)));font_el_length=_119.length;_11e.insertBefore(_11f,el);_11e.insertBefore(document.createTextNode(el.nodeValue.substr(0,_113)),_11f);el.nodeValue="";}else{_11f.appendChild(document.createTextNode(el.nodeValue));_11e.insertBefore(_11f,el);_11e.removeChild(el);}}el=next;}while(!_118);}}}function eStara_getNonCoBrowseFrames(){esconsole.log("eStara_getNonCoBrowseFrames["+eStara_getpageid()+"]: entered");var _122=eStara_checkCoBrowseFrames(function(_123){if(typeof (_123.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 ["+_122.length+"] non-cobrowse frames");return _122==null?new Array():_122;}function eStara_getVisibleFrames(){esconsole.log("eStara_getVisibleFrames["+eStara_getpageid()+"]: entered");var _124=eStara_checkCoBrowseFrames(function(_125){return true;});esconsole.log("eStara_getVisibleFrames: exit - Found ["+(_124==null?0:_124.length)+"] cobrowse frames");return _124==null?new Array():_124;}function eStara_getCoBrowseFrames(){esconsole.log("eStara_getCoBrowseFrames["+eStara_getpageid()+"]: entered");var _126=eStara_checkCoBrowseFrames(function(_127){if(typeof (_127.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 (_127.eStara_cb_watchdog)+"]");return false;}});esconsole.log("eStara_getCoBrowseFrames["+eStara_getpageid()+"]: exit - Found ["+(_126==null?0:_126.length)+"] cobrowse frames");return _126==null?new Array():_126;}function eStara_checkCoBrowseFrames(_128){esconsole.log("eStara_checkCoBrowseFrames["+eStara_getpageid()+"]: entered");var _129=new Array();if(typeof (window.frames)!="undefined"&&typeof (_128)=="function"){esconsole.log("eStara_checkCoBrowseFrames: Found ["+window.frames.length+"] frames");for(var i=0;i<window.frames.length;i++){var _12b=window.frames[i];if(_12b.parent==window){var _12c=true;try{if(_12b.frameElement.style.visibility=="hidden"){_12c=false;}if(_12b.frameElement.style.display=="none"){_12c=false;}}catch(e){_12c=true;}if(_12c==true){try{if(_128(_12b)==true){esconsole.log("eStara_checkCoBrowseFrames: Frame passed cobrowseTest()");_129.push(_12b);}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 - ["+_129.length+"] frames passed cobrowseTest()");return _129;}function eStara_stopCobrowse(){esconsole.log("eStara_stopCobrowse: entered");g_eStaraCobrowseStarted=false;g_eStaraWatchdogEnd=true;g_eStaraCobrowseStartedImmediately=false;eStaraEndCobrowsePoll=1;var _12d=eStara_getCoBrowseFrames();for(var i=0;i<_12d.length;i++){try{esconsole.log("eStara_stopCobrowse: stopping cobrowse in frame ["+_12d[i].eStara_getpageid()+"]");_12d[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(_12f,_130,_131){esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: entered");var _132=null;if(eStara_fs_level==1||eStara_fs_level==-2){eStara_getCobrowseSession().startFunction=_130;eStara_getCobrowseSession().startParamsList=_131;_132=eStara_getCoBrowseFrames();esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: Got list of cobrowse frames");var _133=false;esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: starting cobrowse in child frames");for(var i=0;i<_132.length;i++){try{if(eStara_startCobrowseInFrame(_132[i],_12f)){_133=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(_133){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 ["+_132.length+"] frames");}else{_132=[];esconsole.log("eStara_startCoBrowseInFrames["+eStara_getpageid()+"]: exit - Cobrowse rule is not session locked, ignoring all frames");}return _132;}function eStara_startCobrowseInFrame(_135,_136,_137,_138){esconsole.log("eStara_startCobrowseInFrame: called");if(_136==null||typeof (_136)=="undefined"){_136=eStara_getpageid();}if(_137==null||typeof (_137)=="undefined"){_137=eStara_getCobrowseSession().startFunction;}if(_138==null||typeof (_138)=="undefined"){_138=eStara_getCobrowseSession().startParamsList;}var _139=false;var _13a=eStara_getNameForFrame(_136,_135);_135.eStara_setpageid(_13a);if(typeof (_135[_137])!="undefined"){esconsole.log("eStara_startCobrowseInFrame: About to call ["+_137+"] in frame ["+_13a+"]");if(_135[_137](_138)!=_13a){esconsole.log("eStara_startCobrowseInFrame: pageid returned by frame is wrong");}else{_139=true;}}else{esconsole.log("eStara_startCobrowseInFrame: start function ["+_137+"] does not exist in frame");}esconsole.log("eStara_startCobrowseInFrame: exiting ["+_139+"]");return _139;}function eStara_getNameForFrame(_13b,_13c){var _13d;if(_13c==null||typeof (_13c)=="undefined"){_13d="";}else{try{if(typeof (_13c.name)!="undefined"){if(_13c.contentWindow){esconsole.log("eStara_getNameForFrame: getting frame.contentWindow.name");_13d=_13c.contentWindow.name;}else{esconsole.log("eStara_getNameForFrame: getting frame.name");_13d=_13c.name;}_13d="-"+_13d;}else{if(typeof (_13c.frameElement.id)!="undefined"){esconsole.log("eStara_getNameForFrame: getting frame id");_13d="-"+_13c.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 _13e=_13b+_13d;if(_13b.indexOf("f-")!=0){_13e="f-"+_13e;}return _13e;}function eStara_isFrame(_13f){var _140=false;if(_13f.parent!=_13f.self){_140=true;}return _140;}function eStara_cobrowseRunningInFrame(_141){var _142=(typeof (eStara_getpageid)=="function")?(" ["+eStara_getpageid()+"]"):("");esconsole.log("eStara_cobrowseRunningInFrame: called"+_142);var _143=false;try{if(_141.g_eStaraCobrowseStarted==true||_141.g_eStaraCobrowseStartedImmediately==true||_141.g_eStaraCobrowseAgentSideStarted==true){_143=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 ["+_143+"]"+(_143==true?" frame id is ["+_141.eStara_getpageid()+"]":""));return _143;}function eStara_hiliteElements(_144){esconsole.log("eStara_hiliteElements: called ["+eStara_getpageid()+"]");var _145=eStara_hiliteElement;if(typeof (_144)=="undefined"){_144=true;}if(_144==false){_145=eStara_unhiliteElement;}if(eStara_cobrowseRunningInFrame(window)==true){var _146=eStara_getCoBrowseFrames();for(var i=0;i<_146.length;i++){var _148=_146[i];try{_148.eStara_hiliteElements(_144);}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 _14a=document.forms[i].elements[k];_145(_14a);}}}esconsole.log("eStara_hiliteElements: exiting ["+eStara_getpageid()+"]");}function eStara_isElementCobrowseable(_14b){var _14c=false;try{if(eStara_fs_level>=0){_14c=true;var name=_14b.name;if(eStara_obscuration.toString().indexOf(name)!=-1){_14c=false;}if(eStara_restriction.toString().indexOf(name)!=-1){_14c=false;}var _14e=_14b.type;if(typeof (_14e)!="undefined"){if(!(_14e=="text"||_14e=="radio"||_14e=="checkbox"||_14e=="select-one")){_14c=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 _14c;}function eStara_hiliteElement(_14f){esconsole.log("eStara_hiliteElement: called ["+eStara_getpageid()+"]");if(_14f&&eStara_isElementCobrowseable(_14f)){esconsole.log("eStara_hiliteElement: class ["+_14f.className+"]");if(_14f.className){if(_14f.type=="select-one"){if(_14f.className.indexOf("estaracobrowseselectelement")==-1){_14f.className=_14f.className+" estaracobrowseselectelement";}}else{if(_14f.className.indexOf("estaracobrowseelement")==-1){_14f.className=_14f.className+" estaracobrowseelement";}}}else{if(_14f.type=="select-one"){_14f.className="estaracobrowseselectelement";}else{_14f.className="estaracobrowseelement";}}esconsole.log("eStara_hiliteElement: class ["+_14f.className+"]");}}function eStara_unhiliteElement(_150){esconsole.log("eStara_unhiliteElement: called ["+eStara_getpageid()+"]");if(_150&&eStara_isElementCobrowseable(_150)){esconsole.log("eStara_unhiliteElement: class ["+_150.className+"]");if(_150.className&&_150.className.indexOf("estaracobrowseelement")!=-1){_150.className=_150.className.replace(/estaracobrowseelement/,"");}if(_150.className&&_150.className.indexOf("estaracobrowseselectelement")!=-1){_150.className=_150.className.replace(/estaracobrowseselectelement/,"");}esconsole.log("eStara_unhiliteElement: class ["+_150.className+"]");}}function eStara_hiliteFrames(_151){esconsole.log("eStara_hiliteFrames: called ["+eStara_getpageid()+"]");if(eStara_cobrowseRunningInFrame(window)==true){var _152=_151();for(var i=0;i<_152.length;i++){var _154=_152[i];try{var _155=_154.frameElement;_155.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 _156=eStara_getNonCoBrowseFrames();if(_156.length>0){var _157=new Object();for(var i=0;i<_156.length;i++){try{var _159=_156[i];var _15a=eStara_getNameForFrame(eStara_getpageid(),_159);_157[_15a]=_159;eStara_getCobrowseSession().nonCoBrowseWatchList=_157;setTimeout("eStara_watchForCoBrowseStartingInFrame('"+_15a+"')",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(_15b){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="+_15b);}esconsole.log("eStara_watchForCoBrowseStartingInFrame: exiting ["+eStara_getpageid()+"]");}function eStara_coBrowseStartedInFrame(_15c,url){esconsole.log("eStara_coBrowseStartedInFrame: called ["+eStara_getpageid()+"]");var _15e=eStara_getCobrowseSession().nonCoBrowseWatchList;var _15f=_15e[_15c];if(_15f!=null){try{_15f.src=url;_15e[_15c]=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 ["+_15c+"] 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 _160=eStara_getCoBrowseFrames();for(var i=0;i<_160.length;i++){if(eStara_cobrowseRunningInFrame(_160[i])==false){var _162=eStara_startCobrowseInFrame(_160[i],eStara_getpageid());if(_162){esconsole.log("eStara_watchIframes: Frame not running cobrowse, started it, pageid is ["+_160[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(_163,host,_165){esconsole.log("eStara_adjustInnerHtmlForFrames["+eStara_getpageid()+"]: entered");var _166=_165;if(typeof (_165)=="undefined"){_166=new String(document.body.innerHTML);}var _167=host;if(typeof (host)=="undefined"||host==""){_167="as00.estara.com";}if(_167.indexOf("fs/cbb.php")==-1){if(_167.charAt(_167.length-1)!="/"){_167+="/";}_167+="fs/cbb.php?";}esconsole.log("eStara_adjustInnerHtmlForFrames["+eStara_getpageid()+"]: generating regex's for ["+_163.length+"] frames");var _168=new Array();for(var i=0;i<_163.length;i++){var _16a=_163[i];var _16b=_16a.frameElement;var _16c=new String(_167);_16c=eStara_addParamToURL(_16c,"url="+eStara_urlencode(_16a.document.location.toString()));if(_16c.indexOf("estara_fsguid=")==-1){_16c=eStara_addParamToURL(_16c,"estara_fsguid="+eStara_fsguid);}if(_16c.indexOf("frame_id=")==-1){var _16d="";if(typeof (_16a.eStara_getpageid)=="function"){_16d=_16a.eStara_getpageid();}else{_16d=eStara_getNameForFrame(eStara_getpageid(),_16a);}_16c=eStara_addParamToURL(_16c,"frame_id="+_16d);}if(_16c.indexOf("http")!=0){_16c=_16a.document.location.protocol+"//"+_16c;}var _16e=new RegExp("<iframe.*name=.*?"+_16b.attributes.name.value+".*?iframe>","i");var _16f=_16b.attributes.src.value;_166=eStara_adjustInnerHtmlForFrame(_16a,_166,_16e,_16f,_16c);}esconsole.log("eStara_adjustInnerHtmlForFrames["+eStara_getpageid()+"]: exiting");return _166;}function eStara_addParamToURL(url,_171){esconsole.log("eStara_addParamToURL["+eStara_getpageid()+"]: - url=["+url+"], param=["+_171+"]");var _172=false;if(url.indexOf("php?")!=-1&&url.charAt(url.length-1)!="?"){_172=true;}if(_172===true){url=url+"&"+_171;}else{if(url.charAt(url.length-1)!="?"){url=url+"?"+_171;}else{url+=_171;}}esconsole.log("eStara_addParamToURL["+eStara_getpageid()+"]: exiting - url=["+url+"]");return url;}function eStara_adjustInnerHtmlForFrame(_173,_174,_175,_176,_177){var _178=_174;esconsole.log("eStara_adjustInnerHtmlForFrame["+eStara_getpageid()+"]: entered");try{var _179=_174.match(_175);var _17a=_179[0];var _17b=_17a.replace(_176,_177);_178=_174.replace(_17a,_17b);}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 _178;}function eStara_startCobrowseButton_List(_17c){if(_17c.template==="undefined"||_17c.template===null){_17c.template=null;}eStara_startCobrowseButton(_17c.template);return eStara_getpageid();}function eStara_startCobrowseButton(_17d){if(_17d==null){_17d="";}if(g_buttonJSRun==false){g_buttonJSRun=true;}else{return;}try{for(var i=0;i<eStara_ButtonJSFunctions.length;i++){var _17f=eStara_ButtonJSFunctions[i].replace(/#TEMPLATE#/g,_17d);if(eStara_ButtonJSFunctions[i].indexOf("http")==0||eStara_ButtonJSFunctions[i].indexOf("//")==0){eval(eStara_append(_17f));}else{eval(_17f);}}}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:_17d});}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_startCobrowseButton - Problem starting iframes",err);}}}}function eStara_startCobrowseGUI_List(_180){if(_180.only_upload==="undefined"||_180.only_upload===null){_180.only_upload=null;}if(_180.template==="undefined"||_180.template===null){_180.template=null;}eStara_startCobrowseGUI(_180.only_upload,_180.template);return eStara_getpageid();}function eStara_startCobrowseGUI(_181,_182){if(_182==null){_182="";}if(_181==null||_181==false){if(g_guiJSRun==false){g_guiJSRun=true;}else{return;}try{for(var i=0;i<eStara_GuiJSFunctions.length;i++){var _184=eStara_GuiJSFunctions[i].replace(/#TEMPLATE#/g,_182);if(eStara_GuiJSFunctions[i].indexOf("http")==0||eStara_GuiJSFunctions[i].indexOf("//")==0){eval(eStara_append(_184));}else{eval(_184);}}}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_startCobrowseGUI GUIJsFunctions",err);}}}if(typeof (eStara_startCobrowseGUIReal)=="function"){if(_181==null){_181=false;}eStara_startCobrowseGUIReal(_181);try{eStara_startCoBrowseInFrames(eStara_getpageid(),"eStara_startCobrowseGUI_List",{template:_182,only_upload:_181});}catch(err){if(typeof (eStara_logerr)=="function"){eStara_logerr("eStara_startCobrowseGUI - Problem starting iframes",err);}}}}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='5924C8670A1B2ADECA2C02DD380DFC52';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=200106289346';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=5924C8670A1B2ADECA2C02DD380DFC52'+'&estara_firsttime=1258753812';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="200106289346";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);}}