//********************************************************************************************************** // 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.25.2 //********************************************************************************************************** function _eofpop_a(){ var a=_eofi_au();if((a=="NS")&&(_eofi_av()<7))return false;return true;}function _eofpop_b(){return _eofi_au()=="IE";}function _eofpop_c(a,b,c,d,e,f){this.ads=a;this.age=b;if(a){this.agf=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.agg=b.rows[0].cells[0];this.agh=d;this.agi=e;this.agj=f;}}function _eofpop_d(){if(this.ads)this.agk();this.age=null;this.ads=null;}function _eofpop_e(){return this.agj;}function _eofpop_f(){if(!this.ads)return;var a=this.age;if(this.agj)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.ads.agl)this.ads.agl();if(!this.agj){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.agg){b=this.agg.offsetWidth+4;c=this.agg.offsetHeight+4;}var d=this.ads.agm();if(d){if(this.agh){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_n(d.agn,this.agi,d.abi,d.abj);}else _eofu_n(d.agn,a,d.abi,d.abj);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_s(a);if(this.ads.ago)this.ads.ago(true);this.ads.agp();}if(this.ads.ago)this.ads.ago(false);if(!this.agj)this.agq();a.eo_be=null;a.eo_bf=null;}function _eofpop_g(){var a;var b=this.ads.agr();if(this.ags())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ab(this.age),_eofu_ac(this.age));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.agg?this.agg:this.age;else a=this.age;return new _eofu_a(_eofu_ab(a)+b,_eofu_ac(a)+b);}}function _eofpop_h(){this.agt();this.agu();if(this.agf)this.agf.style.visibility="visible";if(this.agi)_eofu_cw(this.agi);if(this.agv)_eofu_cw(this.agv);}function _eofpop_i(){if(this.agj)return;if(this.agv)return;this.agv=this.ads.agt();}function _eofpop_j(){if(this.agv){this.ads.agk(this.agv);this.agv=null;}}function _eofpop_k(){var a=this.age.style;var b=this.afq();var c=this.ads.agr();var d=b.aaw-c;var e=b.aax-c;if(this.agf){var f=this.agf.style;var g=this.age.offsetLeft+c;var h=this.age.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_aa(g);f.top=_eofu_aa(h);}if(this.agf){f.width=_eofu_aa(d);f.height=_eofu_aa(e);}var i=this.agi;var j=this.agv;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.agh){k.left=a.left;k.top=a.top;}k.width=_eofu_aa(d+c);k.height=_eofu_aa(e+c);if(j){var l=j.style;l.left=k.left;l.top=k.top;l.width=k.width;l.height=k.height;}}}function _eofpop_l(){if(!this.ads)return;this.age.style.visibility="hidden";}function _eofpop_m(){if(!this.ads)return;if(this.agf)this.agf.style.visibility="hidden";if(this.agi)_eofu_cx(this.agi);if(this.agv)_eofu_cx(this.agv);this.agk();}function _eofpop_n(a,b,c,d){if(!this.ads)return;if(this.agj)return;var e=this.ads.agr();if(this.agh){if(_eofi_au()=="OP"){this.age.style.left=-2;this.age.style.top=-2;}else{this.age.style.left=0;this.age.style.top=0;}if(this.agf){this.agf.style.left=_eofu_aa(e);this.agf.style.top=_eofu_aa(e);}}else{this.age.style.left=_eofu_aa(a);this.age.style.top=_eofu_aa(b);if(this.agf){this.agf.style.left=_eofu_aa(a+e);this.agf.style.top=_eofu_aa(b+e);}}if(this.agi){this.agi.style.left=_eofu_aa(a);this.agi.style.top=_eofu_aa(b);}if(this.agv){this.agv.style.left=_eofu_aa(a);this.agv.style.top=_eofu_aa(b);}if(_eofi_au()=="OP"){this.age.offsetWidth=c-e;this.age.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.ads)return;var e=_eofu_cq(a,b,c,d);this.age.style.clip=e;if(this.agf)this.agf.style.clip=e;if(this.agi)this.agi.style.clip=e;if(this.agv)this.agv.style.clip=e;}_eofpop_c.prototype.agw=_eofpop_d;_eofpop_c.prototype.ags=_eofpop_e;_eofpop_c.prototype.aew=_eofpop_f;_eofpop_c.prototype.afq=_eofpop_g;_eofpop_c.prototype.agq=_eofpop_h;_eofpop_c.prototype.agt=_eofpop_i;_eofpop_c.prototype.agk=_eofpop_j;_eofpop_c.prototype.agu=_eofpop_k;_eofpop_c.prototype.afb=_eofpop_l;_eofpop_c.prototype.afd=_eofpop_m;_eofpop_c.prototype.afl=_eofpop_n;_eofpop_c.prototype.afm=_eofpop_o;function _eofpop_p(a,b,c){this.agx=a;this.aaw=b;this.aax=c;}function _eofpop_q(){this.agx.style.left=_eofu_aa(this.aaw);this.agx.style.top=_eofu_aa(this.aax);this.agx.style.position="absolute";this.agx.style.visibility="visible";this.agx.style.display="";return true;}function _eofpop_r(){this.agx.style.visibility="hidden";this.agx.style.display="none";}_eofpop_p.prototype.eo_bu=_eofpop_q;_eofpop_p.prototype.eo_bv=_eofpop_r;function eo_ShowPopup(a,b,c,d,e){if(!d)d=0;if(!e)e=0;var f=_eofu_ah(b);switch(c){case 1:d+=_eofu_ab(b);break;case 2:e+=_eofu_ac(b);break;case 3:d+=_eofu_ab(b);e+=_eofu_ac(b);break;}a.onmousedown=_eofu_eg;a.onmouseup=_eofu_eg;var g=new _eofpop_p(a,f.aaw+d,f.aax+e);_eofu_be(null,g);}function eo_HideAllPopups(){_eofu_bj();}EO.Web.DOMUtils.showPopup=eo_ShowPopup;EO.Web.DOMUtils.hideAllPopups=eo_HideAllPopups;eo_LoadModules();if (!window.eo_modules)window.eo_modules="";window.eo_modules+="pop|";