//********************************************************************************************************** // EO.Web Script Library. Copyright (C) 2004-2006 Essential Objects, Inc. All rights reserved. // Visit Us on the Web: http://www.essentialobjects.com // Version: 4.0.20.2 //********************************************************************************************************** function _eofc_a(){ var a=(_eofi_au()=="OP")&&(_eofi_av()<9);if(window.XMLHttpRequest&&!a){return new XMLHttpRequest();}else if(window.ActiveXObject){try{return new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{return new ActiveXObject("Microsoft.XMLHTTP");}catch(e){return null;}}}}function _eofc_b(a,b){a=a.firstChild;while(a){if(a.tagName==b)return a;a=a.nextSibling;}}function _eofc_c(){}function _eofc_d(a,b,c){this.bkp=a.indexOf("",this.bkp);if(this.bkq<0)return false;var d=a.indexOf("=0)&&(d",b);if(e<0)return false;return this.bkr(a,e+5,c);}var f=c.substring(this.bkp,this.bkq);this.bks=this.bkt(f,"src");this.bku=a.indexOf("",this.bkp);if(this.bkq=0)c="'";}if(d<0)return null;d+=b.length+2;var e=a.indexOf(c,d);if(e>0)return a.substring(d,e);return null;}function _eofc_f(a){if(!a)return a;var b=a.indexOf("");if(c<0)return a;var d=a.substring(0,b);var e=a.substring(c+3);if(!this.bky(d)&&!this.bky(e))return a.substring(b+4,c);return a;}function _eofc_g(a){return a.replace(/^\s+|\s+$/,'');}function _eofc_h(){if(this.bks)_eofi_ej(this.bks);else if(this.bkv){window.eval("_eo_guardDocWrite=true;"+this.bkv);}}function _eofc_i(){return this.bkp;}function _eofc_j(a){if((this.bkp>=0)&&(this.bkx>0))return a.substr(0,this.bkp)+a.substr(this.bkx);else return a;}_eofc_c.prototype.bkr=_eofc_d;_eofc_c.prototype.bkz=_eofc_h;_eofc_c.prototype.bkt=_eofc_e;_eofc_c.prototype.afg=_eofc_i;_eofc_c.prototype.x=_eofc_j;_eofc_c.prototype.bkw=_eofc_f;_eofc_c.prototype.bky=_eofc_g;var eo_mv=0;var eo_mw=1;var eo_mx=2;var g_AJAXCalls=new _eofi_dq();var g_AJAXCurCallData=null;function eo_Callback(a,b){var c=eo_GetObject(a);if(c){this.bla=null;this.blb=b;c.blc=null;c.bld=null;return c.execute(b);}else _eofi_k("Callback object with ID '"+a+"' does not exist.");return false;}function _eofc_k(a){if(a)this.ble(a);}function _eofc_l(a){this.bd(a[0]);this.blf(a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14])}function _eofc_m(a){this.bn(a);}function _eofc_n(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b=false;this.acl=a;this.blg=document.getElementById(this.c);this.blg=_eofi_bk(this.blg);if(b)this.blh=new Object();this.bli=c;this.blj=d;this.blk=e;this.bll=window.location.href;this.blm=h;this.bln=g;this.blo=f;if(this.blo==null)this.blo=1;this.blp=i;this.blq=j;this.blr=k;this.bls=n;this.blt=l;this.blu=m;if(m==null)this.blu=eo_mv;if(l==null)this.blt=true;}function _eofc_o(a,b){var c=null;var d=null;var e=b;if(e)e=e+":"+a;else e=a;this.bla=b;this.blb=a;this.blv=null;this.blw=null;if(this.blh){c=this.blh[e];if(c){this.bbl(c);return 0;}}if(this.bj){if(Math.floor(Math.random()*12)<4){window.alert("A license key is required for Callback "+this.c);this.bj=0;}} if(this.bli){d=window[this.bli];if(d){if(d(this)==false)return-2;}}return 1;}function _eofc_p(a,b,c,d){var e=g_AJAXCalls.aan();if(e>10)return false;else{if(!c)_eofi_by();var f=new Object();f.blx=this;f.bly=a;f.blz=b;f.bma=d;if((this.blu==eo_mv)||((this.blu==eo_mw)&&(e<1))||((this.blu==eo_mx)&&(e==0))){g_AJAXCalls.aap(f);this.bmb();return true;}else if((this.blu==eo_mw)&&(e>=1)){g_AJAXCalls.aaq(f,0);this.bmb();return true;}}return false;}function _eofc_q(){var a=g_AJAXCalls.aan();if(a==0)return;if(!g_AJAXCurCallData){g_AJAXCurCallData=g_AJAXCalls.aao();if(g_AJAXCurCallData.blx.bmc(g_AJAXCurCallData.bly,g_AJAXCurCallData.blz))g_AJAXCurCallData=null;}}function _eofc_r(a,b){if(this.bmd(a,b)==1){if(this.bme(a)){if(!this.bmf){if(this.blr)_eofi_do(this.blg);}return false;}}return true;}function _eofc_s(a){if(!a.firstChild)return;var b=a.firstChild.nodeValue;b=b.replace(/__EO_CDATA_CLOSE_TAG/g,"]]>");if(!b)b="";if(a.tagName=="Output")this.bmg=b;else if(a.tagName=="ViewState")this.bmh=b;else if(a.tagName=="EventValidation")this.bmi=b;else if(a.tagName=="ExtraData")this.bmj=b;else if(a.tagName=="Error")this.bmk=b;else if(a.tagName=="Redirect")this.bml=b;else if(a.tagName=="ValidatorScript")this.blv=b;else if(a.tagName=="ValidatorSummaryScript")this.blw=b;else if(a.tagName=="GroupOutput"){if(!this.bmm){this.bmm=new Array();this.bmn=new Array();}var c=null;for(var d=0;d"+this.blm+"";this.bbl(d);}}if(this.blq){this.bmt=eo_GetObject(this.blq);if(this.bmt)this.bmt.show(true);}this.bly=a;var e=this;var f=(_eofi_au()=="OP")&&(_eofi_av()<9);if(!this.blo||(this.blo&&(typeof(encodeURIComponent)=="function"))){this.bmx=_eofc_a();if(this.bmx)this.bmx.onreadystatechange=function(){e.bmy(true)};}if(this.bmx){var g=_eofi_di(eo_g.action);this.bmx.open("POST",g,true);this.bmx.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this.bmx.setRequestHeader("delta","true");this.bmx.setRequestHeader("Cache-Control","no-cache");this.bmx.send(b);return true;}if(this.bls)return false;var h=_eofc_ad("eo_cb_id");var i=_eofc_ad(this.c+"_trigger");var j=_eofc_ad(this.c+"_param");if(h&&i&&j){h.value="pb|"+this.c;i.value=this.bla?this.bla:"";j.value=a?a:"";this.bmf=true;window.setTimeout("eo_Callback_Postback(\""+this.c+"\");",300);}return false;}function _eofc_ad(a){var b=document.getElementsByName(a);if(b.length>0)return b[0];else return null;}function _eofc_ae(a){var b=this.bmx;if(b.readyState&&((b.readyState==4)||(b.readyState=="complete"))){var c;if(this.blt){try{c=this.bmz(a,b);}finally{this.bna(b,c);}}else{c=this.bmz(a,b);this.bna(b,c);}}}function _eofc_af(a,b){var c=false;var d=false;if(a){if(b.responseXML){c=this.bnb(b.responseXML);if(!c&&(b.status==200))d=true;}}else c=this.bnb(b);if(c)return 0;else if(d)return 1;else return-1;}function _eofc_ag(a,b){var c=b==0;var d=b==1;if(!c){if(d){_eofi_k("The callback on '"+this.c+"' has failed because the "+"server did not recognize this callback and processed it as a normal "+"request. This can occur if there are multiple Callback/CallbackPanel "+"controls in the page, and this Callback/CallbackPanel control was "+"initially dynamically loaded but wasn't loaded for this callback.\r\n\r\n"+"This can also occur if you have called Response.Redirect on the server side. "+"Callback/CalbackPanel provides a Redirect method for such scenario. Please "+"use the Callback/CallbackPanel's Redirect method in this case.");}else{var e=a.responseText;if(!e){_eofi_k("The callback on '"+this.c+"' has failed due to a "+"server side exception. Please check the server side code.");}else{_eofi_k("The callback on '"+this.c+"' has failed due to a "+"server side exception. Click OK to see the exception message.");this.bnc=e;window.setTimeout("eo_Callback_UpdateDocument(\""+this.c+"\");",100);}}}if(c)_eofi_bb();this.bmx=null;if(g_AJAXCurCallData){if(g_AJAXCurCallData.bma)g_AJAXCurCallData.bma();g_AJAXCurCallData=null;}if(c){window.setTimeout("eo_Callback_CallDone(\""+this.c+"\");",20);}}function eo_Callback_UpdateDocument(a){var b=eo_GetObject(a);if(b){if((_eofi_au()=="SA")||(_eofi_au()=="OP")){document.body.innerHTML=b.bnc;}else{var c=document.open("text/html","replace");c.write(b.bnc);c.close();}}}function eo_Callback_CallDone(a){var b=eo_GetObject(a);if(b)b.bmb();}function _eofc_ah(){this.bnb(this.bmx);_eofi_bb();}function eo_Callback_Postback(a){var b=eo_GetObject(a);if(b&&b.acl)eval(b.acl);}function _eofc_ai(a){var b=_eofi_cg(a);if(b&&b.eo_my){if(b.eo_mz){window.eo_na=b.eo_mz;eo_o=false;var c=window.eo_na();if(eo_o)return c;if((typeof(Page_BlockSubmit)!="undefined")&&Page_BlockSubmit)return false;}__doPostBack(b.eo_my,"");return false;}}function _eofc_aj(a,b){if(a.eo_nb)return;var c=a.tagName.toLowerCase();if(c=="input"){var d=a.type.toLowerCase();if(!a.eo_nc&&((d=="submit")||(d=="image"))){a.eo_nc=true;if(!b)b=a.name;if(!b)b=a.id;a.eo_my=b;a.eo_mz=a.onclick;a.onclick=_eofc_ai;}}}function _eofc_ak(a){a.eo_nb=true;}function _eofc_al(){var a;var b;if(this.bln&&this.bln.length){for(var c=0;c0)||g_AJAXCurCallData;}_eofc_k.prototype=new _eofi_co();_eofc_k.prototype.ble=_eofc_l;_eofc_k.prototype.blf=_eofc_n;_eofc_k.prototype.aag=_eofc_m;_eofc_k.prototype.bbl=_eofc_z;_eofc_k.prototype.bmd=_eofc_o;_eofc_k.prototype.bme=_eofc_ac;_eofc_k.prototype.bnb=_eofc_t;_eofc_k.prototype.bmo=_eofc_u;_eofc_k.prototype.bmp=_eofc_w;_eofc_k.prototype.bms=_eofc_v;_eofc_k.prototype.bmu=_eofc_x;_eofc_k.prototype.bmr=_eofc_y;_eofc_k.prototype.bmy=_eofc_ae;_eofc_k.prototype.bmz=_eofc_af;_eofc_k.prototype.bna=_eofc_ag;_eofc_k.prototype.bne=_eofc_ah;_eofc_k.prototype.bmw=_eofc_ab;_eofc_k.prototype.bmv=_eofc_aa;_eofc_k.prototype.bmq=_eofc_s;_eofc_k.prototype.bc=_eofc_an;_eofc_k.prototype.bnf=_eofc_am;_eofc_k.prototype.ai=_eofc_al;_eofc_k.prototype.bng=_eofc_aw;_eofc_k.prototype.bhp=_eofc_p;_eofc_k.prototype.bmb=_eofc_q;_eofc_k.prototype.bmc=_eofc_r;_eofc_k.prototype.execute=_eofc_p;_eofc_k.prototype.getAutoDisableContent=_eofc_ap;_eofc_k.prototype.setAutoDisableContent=_eofc_ao;_eofc_k.prototype.getLoadingPanelId=_eofc_ar;_eofc_k.prototype.setLoadingPanelId=_eofc_aq;_eofc_k.prototype.getTriggerId=_eofc_as;_eofc_k.prototype.getParam=_eofc_at;_eofc_k.prototype.getEventTarget=_eofc_au;_eofc_k.prototype.getEventArgument=_eofc_av;if (!window.eo_modules)window.eo_modules="";window.eo_modules+="c|";