//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 5.0.44.2
//**********************************************************************************************************
function _eofsr_a(a,b,c,d){ this.bfv=a;this.bfw=a.bct().are();this.bfx=b;this.bfy=c;this.aql=d;}function _eofsr_b(){return this.bfv.beq!=null;}function _eofsr_c(){var a=this.bfv;var b=a.bct();if(b.arh()&&b.bbk&&a.getParentItem().azm())return b.bfz;if(this.bga()){var c=a.bdz();var d=c.eo_bq;var e=a.atk;if(e&&(e<d))d=e;return d;}else return 30000;}function _eofsr_d(){if(!this.bga())return;var a=this.bfv;if(this.bfw){if((_eofi_au()!="MZ")&&(_eofi_au()!="NS")){this.bgb=_eofu_ac(a.beq);a.beq.style.width=_eofu_ab(this.bgb);}a.beq.style.overflow="hidden";a.beq.style.position="relative";a.ajw.style.zIndex=0;a.ajw.style.position="relative";}}function _eofsr_e(a){if(!this.bga())return;var b=this.bfv;if(this.bfw){if(this.bgb==null){this.bgb=_eofu_ac(b.beq);if(!a)b.beq.style.width=_eofu_ab(this.bgb);}}else{var c=this.bgc();var d=b.ags();var e=_eofu_ad(b.ahi?b.ahi:b.ahg);var f=_eofu_ad(b.ajw);var g=e-f;if(d.abq>c){c-=g;if(c>0){if(!a){b.beq.style.height=_eofu_ab(c);b.beq.style.overflow="hidden";b.ajw.style.zIndex=0;}this.bgb=c;this.bgd=f-c;}}else{this.bgd=0;}}this.bge=0;}function _eofsr_f(){if(this.bgd)return this.bgd;else return 0;}function _eofsr_g(){if(!this.bga())return;var a=this.bfv;if(!this.bfw&&a.beq){a.beq.style.height="auto";a.beq.style.overflow="visible";a.ajw.style.top="0px";}}function _eofsr_h(a){var b=this.bfv;if(!this.bfw){if(a){b.beq.style.position="relative";b.ajw.style.position="relative";}else{b.beq.style.position="static";b.ajw.style.position="static";}}}function _eofsr_i(){if(!this.bga())return;if(this.bfw){var a=_eofu_ac(this.bfv.ajw);this.bgd=a-this.bgb;}var b=this.bge>0;var c=this.bge<this.bgd;var d=b||c;if(b||(d&&this.bfw)){this.bgf(true);if(!this.bgg)this.bgg=this.bgh(true);if(!this.bfw)this.bgg.style.display="block";}else{if(this.bgg&&!this.bfw)this.bgg.style.display="none";}if(c||(d&&this.bfw)){this.bgf(true);if(!this.bgi)this.bgi=this.bgh(false);if(!this.bfw)this.bgi.style.display="block";}else{if(this.bgi&&!this.bgj)this.bgi.style.display="none";}if(d){if(this.ajw)this.ajw.style.display="";if(this.bfw&&(_eofi_au()=="SA")){var e=this.bgb-_eofu_ac(this.ajw);if(e)this.ajw.style.left=_eofu_ab(e);}}else{this.bgf(false);if(this.ajw)this.ajw.style.display="none";}if(d&&this.ajw)this.bgd+=_eofu_ac(this.ajw)+3;}function _eofsr_j(){if(!this.bga())return;this.bgf(false);if(!this.bfw){if(this.bgg)this.bgg.style.display="none";if(this.bgi)this.bgi.style.display="none";}}function _eofsr_k(a){var b=this.bfv;var c=b.ayc();if(this.bfw)return this.bgk(c,b,a);else return this.bgl(c,b,a);}function _eofsr_l(a,b,c){var d=this.ajw;if(!d){d=a.createElement("TABLE");d.cellSpacing=0;d.cellPadding=0;d.border=0;_eofu_dc(d);d.width="1px";d.style.position="absolute";d.style.top="0px";if(_eofi_au()!="SA"){if((_eofi_au()=="IE")&&(this.bgb%2==1))d.style.right="-1px";else d.style.right="0px";}this.ajw=d;b.beq.appendChild(d);var e=_eofu_al(d);this.bgm=_eofu_dd(e);this.bgn=_eofu_dd(e);}if(c)return this.bgo(this.bgm,true);else return this.bgo(this.bgn,false);}function _eofsr_m(a,b,c){var d=a.createElement("DIV");_eofu_dc(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.bgb%2==1))d.style.bottom="-1px";else d.style.bottom="0px";}d.style.display="none";d.style.zIndex=1;b.beq.appendChild(d);var e=a.createElement("TABLE");e.border=0;e.cellSpacing=0;e.cellPadding=0;e.width="100%";e.height="100%";_eofu_dc(e);d.appendChild(e);var f=_eofu_dd(_eofu_al(e));this.bgo(f,c);return d;}function _eofsr_n(a,b){var c=this.bfv;var d=c.bct();var e=new _eofm_ai(null,b?eo_mm:eo_mn);e.aty=c;e.aqq=d;e.ats=b?this.bfx:this.bfy;e.afm();if(b)this.bgp=e;else this.bgq=e;e.bce=a;a.style.verticalAlign="middle";e.bch();e.aua(eo_jz);var f=d.adr();_eofu_av(a,eo_cf,this,f);_eofu_av(a,eo_ch,this,f);return a;}function _eofsr_o(){this.afw();_eofu_at(this,2);if(this.bgp)this.bgp.ahy();if(this.bgq)this.bgq.ahy();if(this.bgg)_eofu_bd(this.bgg);if(this.bgi)_eofu_bd(this.bgi);this.bgp=null;this.bgg=null;this.bgq=null;this.bgi=null;this.ajw=null;this.bgm=null;this.bgn=null;}function _eofsr_p(a,b){_eofu_at(this,2);this.bfv.bct().ash().aan();if(_eofi_bm(b,this.bgg)){this.bgr(true);_eofi_dx(this.bgg,a);}if(_eofi_bm(b,this.bgi)){this.bgr(false);_eofi_dx(this.bgi,a);}}function _eofsr_q(){_eofu_as(this,2,50);}function _eofsr_r(a){if(!this.bgs)_eofu_as(this,1,40,true);this.bfv.asq(null,eo_jz);if(a){this.bgs=eo_mm;if(this.bgp)this.bgp.aua(eo_kd);if(this.bgq)this.bgq.aua(eo_jz);}else{this.bgs=eo_mn;if(this.bgp)this.bgp.aua(eo_jz);if(this.bgq)this.bgq.aua(eo_kd);}}function _eofsr_s(){if(this.bgs){_eofu_at(this,1);if(this.bgp)this.bgp.aua(eo_jz);if(this.bgq)this.bgq.aua(eo_jz);this.bgs=null;}}function _eofsr_t(a){if(a==1){var b=this.bge;if(this.bgs==eo_mm)b-=this.aql;else b+=this.aql;if(b<0)b=0;if(b>this.bgd)b=this.bgd;this.bge=b;if(this.bfw)this.bfv.ajw.style.left=_eofu_ab(-b);else this.bfv.ajw.style.top=_eofu_ab(-b);this.bel();}else if(a==2){this.afw();}}function _eofsr_u(a,b){if(!this.ajw)return;a=a+b+_eofu_ac(this.ajw)+5-this.bgb;if(a>0){this.bge=a;this.bfv.ajw.style.left=_eofu_ab(-a);this.bel();}}_eofsr_a.prototype.bgc=_eofsr_c;_eofsr_a.prototype.bga=_eofsr_b;_eofsr_a.prototype.beu=_eofsr_d;_eofsr_a.prototype.ahq=_eofsr_e;_eofsr_a.prototype.bfi=_eofsr_f;_eofsr_a.prototype.bfc=_eofsr_g;_eofsr_a.prototype.bgf=_eofsr_h;_eofsr_a.prototype.bel=_eofsr_i;_eofsr_a.prototype.bfh=_eofsr_j;_eofsr_a.prototype.bgh=_eofsr_k;_eofsr_a.prototype.bgk=_eofsr_l;_eofsr_a.prototype.bgl=_eofsr_m;_eofsr_a.prototype.bgo=_eofsr_n;_eofsr_a.prototype.ahy=_eofsr_o;_eofsr_a.prototype.aan=_eofsr_p;_eofsr_a.prototype.acl=_eofsr_q;_eofsr_a.prototype.bgr=_eofsr_r;_eofsr_a.prototype.afw=_eofsr_s;_eofsr_a.prototype.acd=_eofsr_t;_eofsr_a.prototype.bgt=_eofsr_u;eo_LoadModules();eo_ModuleLoaded('sr');