//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2004-2006 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 5.0.25.2
//**********************************************************************************************************
function _eofsr_a(a,b,c,d){ this.bfp=a;this.bfq=a.bcm().aqz();this.bfr=b;this.bfs=c;this.aqg=d;}function _eofsr_b(){return this.bfp.bej!=null;}function _eofsr_c(){var a=this.bfp;var b=a.bcm();if(b.arc()&&b.bbd&&a.getParentItem().azf())return b.bft;if(this.bfu()){var c=a.bds();var d=c.eo_bk;var e=a.ate;if(e&&(e<d))d=e;return d;}else return 30000;}function _eofsr_d(){if(!this.bfu())return;var a=this.bfp;if(this.bfq){if((_eofi_au()!="MZ")&&(_eofi_au()!="NS")){this.bfv=_eofu_ac(a.bej);a.bej.style.width=_eofu_ab(this.bfv);}a.bej.style.overflow="hidden";a.bej.style.position="relative";a.ajs.style.zIndex=0;a.ajs.style.position="relative";}}function _eofsr_e(a){if(!this.bfu())return;var b=this.bfp;if(this.bfq){if(this.bfv==null){this.bfv=_eofu_ac(b.bej);if(!a)b.bej.style.width=_eofu_ab(this.bfv);}}else{var c=this.bfw();var d=b.agq();var e=_eofu_ad(b.ahg?b.ahg:b.ahe);var f=_eofu_ad(b.ajs);var g=e-f;if(d.abo>c){c-=g;if(c>0){if(!a){b.bej.style.height=_eofu_ab(c);b.bej.style.overflow="hidden";b.ajs.style.zIndex=0;}this.bfv=c;this.bfx=f-c;}}else{this.bfx=0;}}this.bfy=0;}function _eofsr_f(){if(this.bfx)return this.bfx;else return 0;}function _eofsr_g(){if(!this.bfu())return;var a=this.bfp;if(!this.bfq&&a.bej){a.bej.style.height="auto";a.bej.style.overflow="visible";a.ajs.style.top="0px";}}function _eofsr_h(a){var b=this.bfp;if(!this.bfq){if(a){b.bej.style.position="relative";b.ajs.style.position="relative";}else{b.bej.style.position="static";b.ajs.style.position="static";}}}function _eofsr_i(){if(!this.bfu())return;if(this.bfq){var a=_eofu_ac(this.bfp.ajs);this.bfx=a-this.bfv;}var b=this.bfy>0;var c=this.bfy<this.bfx;var d=b||c;if(b||(d&&this.bfq)){this.bfz(true);if(!this.bga)this.bga=this.bgb(true);if(!this.bfq)this.bga.style.display="block";}else{if(this.bga&&!this.bfq)this.bga.style.display="none";}if(c||(d&&this.bfq)){this.bfz(true);if(!this.bgc)this.bgc=this.bgb(false);if(!this.bfq)this.bgc.style.display="block";}else{if(this.bgc&&!this.bgd)this.bgc.style.display="none";}if(d){if(this.ajs)this.ajs.style.display="";if(this.bfq&&(_eofi_au()=="SA")){var e=this.bfv-_eofu_ac(this.ajs);if(e)this.ajs.style.left=_eofu_ab(e);}}else{this.bfz(false);if(this.ajs)this.ajs.style.display="none";}if(d&&this.ajs)this.bfx+=_eofu_ac(this.ajs)+3;}function _eofsr_j(){if(!this.bfu())return;this.bfz(false);if(!this.bfq){if(this.bga)this.bga.style.display="none";if(this.bgc)this.bgc.style.display="none";}}function _eofsr_k(a){var b=this.bfp;var c=b.axv();if(this.bfq)return this.bge(c,b,a);else return this.bgf(c,b,a);}function _eofsr_l(a,b,c){var d=this.ajs;if(!d){d=a.createElement("TABLE");d.cellSpacing=0;d.cellPadding=0;d.border=0;_eofu_da(d);d.width="1px";d.style.position="absolute";d.style.top="0px";if(_eofi_au()!="SA"){if((_eofi_au()=="IE")&&(this.bfv%2==1))d.style.right="-1px";else d.style.right="0px";}this.ajs=d;b.bej.appendChild(d);var e=_eofu_aj(d);this.bgg=_eofu_db(e);this.bgh=_eofu_db(e);}if(c)return this.bgi(this.bgg,true);else return this.bgi(this.bgh,false);}function _eofsr_m(a,b,c){var d=a.createElement("DIV");_eofu_da(d);d.style.width="100%";d.style.position="absolute";d.style.left="0px";if(c)d.style.top="0px";else{if((_eofi_au()=="IE")&&(this.bfv%2==1))d.style.bottom="-1px";else d.style.bottom="0px";}d.style.display="none";d.style.zIndex=1;b.bej.appendChild(d);var e=a.createElement("TABLE");e.border=0;e.cellSpacing=0;e.cellPadding=0;e.width="100%";e.height="100%";_eofu_da(e);d.appendChild(e);var f=_eofu_db(_eofu_aj(e));this.bgi(f,c);return d;}function _eofsr_n(a,b){var c=this.bfp;var d=c.bcm();var e=new _eofm_ai(null,b?eo_lz:eo_ma);e.ats=c;e.aql=d;e.atm=b?this.bfr:this.bfs;e.afk();if(b)this.bgj=e;else this.bgk=e;e.bbx=a;a.style.verticalAlign="middle";e.bca();e.atu(eo_jm);var f=d.adp();_eofu_at(a,eo_bx,this,f);_eofu_at(a,eo_bz,this,f);return a;}function _eofsr_o(){this.afu();_eofu_ar(this,2);if(this.bgj)this.bgj.ahw();if(this.bgk)this.bgk.ahw();if(this.bga)_eofu_bb(this.bga);if(this.bgc)_eofu_bb(this.bgc);this.bgj=null;this.bga=null;this.bgk=null;this.bgc=null;this.ajs=null;this.bgg=null;this.bgh=null;}function _eofsr_p(a,b){_eofu_ar(this,2);this.bfp.bcm().asb().aam();if(_eofi_bm(b,this.bga)){this.bgl(true);_eofi_dv(this.bga,a);}if(_eofi_bm(b,this.bgc)){this.bgl(false);_eofi_dv(this.bgc,a);}}function _eofsr_q(){_eofu_aq(this,2,50);}function _eofsr_r(a){if(!this.bgm)_eofu_aq(this,1,40,true);this.bfp.ask(null,eo_jm);if(a){this.bgm=eo_lz;if(this.bgj)this.bgj.atu(eo_jq);if(this.bgk)this.bgk.atu(eo_jm);}else{this.bgm=eo_ma;if(this.bgj)this.bgj.atu(eo_jm);if(this.bgk)this.bgk.atu(eo_jq);}}function _eofsr_s(){if(this.bgm){_eofu_ar(this,1);if(this.bgj)this.bgj.atu(eo_jm);if(this.bgk)this.bgk.atu(eo_jm);this.bgm=null;}}function _eofsr_t(a){if(a==1){var b=this.bfy;if(this.bgm==eo_lz)b-=this.aqg;else b+=this.aqg;if(b<0)b=0;if(b>this.bfx)b=this.bfx;this.bfy=b;if(this.bfq)this.bfp.ajs.style.left=_eofu_ab(-b);else this.bfp.ajs.style.top=_eofu_ab(-b);this.bee();}else if(a==2){this.afu();}}function _eofsr_u(a,b){if(!this.ajs)return;a=a+b+_eofu_ac(this.ajs)+5-this.bfv;if(a>0){this.bfy=a;this.bfp.ajs.style.left=_eofu_ab(-a);this.bee();}}_eofsr_a.prototype.bfw=_eofsr_c;_eofsr_a.prototype.bfu=_eofsr_b;_eofsr_a.prototype.beo=_eofsr_d;_eofsr_a.prototype.aho=_eofsr_e;_eofsr_a.prototype.bfc=_eofsr_f;_eofsr_a.prototype.bew=_eofsr_g;_eofsr_a.prototype.bfz=_eofsr_h;_eofsr_a.prototype.bee=_eofsr_i;_eofsr_a.prototype.bfb=_eofsr_j;_eofsr_a.prototype.bgb=_eofsr_k;_eofsr_a.prototype.bge=_eofsr_l;_eofsr_a.prototype.bgf=_eofsr_m;_eofsr_a.prototype.bgi=_eofsr_n;_eofsr_a.prototype.ahw=_eofsr_o;_eofsr_a.prototype.aam=_eofsr_p;_eofsr_a.prototype.acj=_eofsr_q;_eofsr_a.prototype.bgl=_eofsr_r;_eofsr_a.prototype.afu=_eofsr_s;_eofsr_a.prototype.acb=_eofsr_t;_eofsr_a.prototype.bgn=_eofsr_u;eo_LoadModules();eo_ModuleLoaded('sr');