//********************************************************************************************************** // 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.23.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.bkx=a.indexOf("",this.bkx);if(this.bky<0)return false;var d=a.indexOf("=0)&&(d",b);if(e<0)return false;return this.bkz(a,e+5,c);}var f=c.substring(this.bkx,this.bky);this.bla=this.blb(f,"src");this.blc=a.indexOf("",this.bkx);if(this.bky=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.blg(d)&&!this.blg(e))return a.substring(b+4,c);return a;}function _eofc_g(a){return a.replace(/^\s+|\s+$/,'');}function _eofc_h(){if(this.bla)_eofi_ej(this.bla);else if(this.bld){window.eval("_eo_guardDocWrite=true;"+this.bld);}}function _eofc_i(){return this.bkx;}function _eofc_j(a){if((this.bkx>=0)&&(this.blf>0))return a.substr(0,this.bkx)+a.substr(this.blf);else return a;}_eofc_c.prototype.bkz=_eofc_d;_eofc_c.prototype.blh=_eofc_h;_eofc_c.prototype.blb=_eofc_e;_eofc_c.prototype.afn=_eofc_i;_eofc_c.prototype.x=_eofc_j;_eofc_c.prototype.ble=_eofc_f;_eofc_c.prototype.blg=_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.bli=null;this.blj=b;c.blk=null;c.bll=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.blm(a);}function _eofc_l(a){this.bd(a[0]);this.bln(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.blo=document.getElementById(this.c);this.blo=_eofi_bk(this.blo);if(b)this.blp=new Object();this.blq=c;this.blr=d;this.bls=e;this.blt=window.location.href;this.blu=h;this.blv=g;this.blw=f;if(this.blw==null)this.blw=1;this.blx=i;this.bly=j;this.blz=k;this.bma=n;this.bmb=l;this.bmc=m;if(m==null)this.bmc=eo_mv;if(l==null)this.bmb=true;}function _eofc_o(a,b){var c=null;var d=null;var e=b;if(e)e=e+":"+a;else e=a;this.bli=b;this.blj=a;this.bmd=null;this.bme=null;if(this.blp){c=this.blp[e];if(c){this.bbs(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.blq){d=window[this.blq];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.bmf=this;f.bmg=a;f.bmh=b;f.bmi=d;if((this.bmc==eo_mv)||((this.bmc==eo_mw)&&(e<1))||((this.bmc==eo_mx)&&(e==0))){g_AJAXCalls.aap(f);this.bmj();return true;}else if((this.bmc==eo_mw)&&(e>=1)){g_AJAXCalls.aaq(f,0);this.bmj();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.bmf.bmk(g_AJAXCurCallData.bmg,g_AJAXCurCallData.bmh))g_AJAXCurCallData=null;}}function _eofc_r(a,b){if(this.bml(a,b)==1){if(this.bmm(a)){if(!this.bmn){if(this.blz)_eofi_do(this.blo);}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.bmo=b;else if(a.tagName=="ViewState")this.bmp=b;else if(a.tagName=="EventValidation")this.bmq=b;else if(a.tagName=="ExtraData")this.bmr=b;else if(a.tagName=="Error")this.bms=b;else if(a.tagName=="Redirect")this.bmt=b;else if(a.tagName=="ValidatorScript")this.bmd=b;else if(a.tagName=="ValidatorSummaryScript")this.bme=b;else if(a.tagName=="GroupOutput"){if(!this.bmu){this.bmu=new Array();this.bmv=new Array();}var c=null;for(var d=0;d"+this.blu+"";this.bbs(d);}}if(this.bly){this.bnb=eo_GetObject(this.bly);if(this.bnb)this.bnb.show(true);}this.bmg=a;var e=this;var f=(_eofi_au()=="OP")&&(_eofi_av()<9);if(!this.blw||(this.blw&&(typeof(encodeURIComponent)=="function"))){this.bnf=_eofc_a();if(this.bnf)this.bnf.onreadystatechange=function(){e.bng(true)};}if(this.bnf){if(eo_g.action&&(typeof(eo_g.action)!="string")){_eofi_k("An input element in the form is named as \"action\". "+"This overwrites the original form.action value. The Callback can not "+"continue because the original form.action value is needed to proceed. "+"Please rename that form element.");return false;}var g=_eofi_di(eo_g.action);this.bnf.open("POST",g,true);this.bnf.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this.bnf.setRequestHeader("delta","true");this.bnf.setRequestHeader("Cache-Control","no-cache");this.bnf.send(b);return true;}if(this.bma)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.bli?this.bli:"";j.value=a?a:"";this.bmn=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.bnf;if(b.readyState&&((b.readyState==4)||(b.readyState=="complete"))){var c;if(this.bmb){try{c=this.bnh(a,b);}finally{this.bni(b,c);}}else{c=this.bnh(a,b);this.bni(b,c);}}}function _eofc_af(a,b){var c=false;var d=false;if(a){if(b.responseXML){c=this.bnj(b.responseXML);if(!c&&(b.status==200))d=true;}}else c=this.bnj(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.bnk=e;window.setTimeout("eo_Callback_UpdateDocument(\""+this.c+"\");",100);}}}if(c)_eofi_bb();this.bnf=null;g_ImageClickedPos=null;if(g_AJAXCurCallData){if(g_AJAXCurCallData.bmi)g_AJAXCurCallData.bmi();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.bnk;}else{var c=document.open("text/html","replace");c.write(b.bnk);c.close();}}}function eo_Callback_CallDone(a){var b=eo_GetObject(a);if(b)b.bmj();}function _eofc_ah(){this.bnj(this.bnf);_eofi_bb();}function eo_Callback_Postback(a){var b=eo_GetObject(a);if(b&&b.acl)eval(b.acl);}var g_ImageClickedPos=null;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;}g_ImageClickedPos=null;if((b.tagName=="INPUT")&&(b.type=="image")){if(!a)a=window.event;var d=_eofi_ch(b.eo_my);if(a.offsetX){g_ImageClickedPos=d+".x="+a.offsetX.toString()+"&"+d+".y="+a.offsetY.toString();}else if(a.pageX){var e=_eofu_ah(b);g_ImageClickedPos=d+".x="+(a.pageX-e.aau).toString()+"&"+d+".y="+(a.pageY-e.aav).toString();}}__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.blv&&this.blv.length){for(var c=0;c0)||g_AJAXCurCallData;}_eofc_k.prototype=new _eofi_co();_eofc_k.prototype.blm=_eofc_l;_eofc_k.prototype.bln=_eofc_n;_eofc_k.prototype.aag=_eofc_m;_eofc_k.prototype.bbs=_eofc_z;_eofc_k.prototype.bml=_eofc_o;_eofc_k.prototype.bmm=_eofc_ac;_eofc_k.prototype.bnj=_eofc_t;_eofc_k.prototype.bmw=_eofc_u;_eofc_k.prototype.bmx=_eofc_w;_eofc_k.prototype.bna=_eofc_v;_eofc_k.prototype.bnc=_eofc_x;_eofc_k.prototype.bmz=_eofc_y;_eofc_k.prototype.bng=_eofc_ae;_eofc_k.prototype.bnh=_eofc_af;_eofc_k.prototype.bni=_eofc_ag;_eofc_k.prototype.bnm=_eofc_ah;_eofc_k.prototype.bne=_eofc_ab;_eofc_k.prototype.bnd=_eofc_aa;_eofc_k.prototype.bmy=_eofc_s;_eofc_k.prototype.bc=_eofc_an;_eofc_k.prototype.bnn=_eofc_am;_eofc_k.prototype.ai=_eofc_al;_eofc_k.prototype.bno=_eofc_aw;_eofc_k.prototype.bhx=_eofc_p;_eofc_k.prototype.bmj=_eofc_q;_eofc_k.prototype.bmk=_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|";