//********************************************************************************************************** // 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.34.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.adx=a;this.agj=b;if(a){this.agk=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.agl=b.rows[0].cells[0];this.agm=d;this.agn=e;this.ago=f;}}function _eofpop_d(){if(this.adx)this.agp();this.agj=null;this.adx=null;}function _eofpop_e(){return this.ago;}function _eofpop_f(){if(!this.adx)return;var a=this.agj;if(this.ago)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.adx.agq)this.adx.agq();if(!this.ago){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.agl){b=this.agl.offsetWidth+4;c=this.agl.offsetHeight+4;}var d=this.adx.agr();if(d){if(this.agm){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_n(d.ags,this.agn,d.abn,d.abo);}else _eofu_n(d.ags,a,d.abn,d.abo);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_s(a);if(this.adx.agt)this.adx.agt(true);this.adx.agu();}if(this.adx.agt)this.adx.agt(false);if(!this.ago)this.agv();a.eo_be=null;a.eo_bf=null;}function _eofpop_g(){var a;var b=this.adx.agw();if(this.agx())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ab(this.agj),_eofu_ac(this.agj));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.agl?this.agl:this.agj;else a=this.agj;return new _eofu_a(_eofu_ab(a)+b,_eofu_ac(a)+b);}}function _eofpop_h(){this.agy();this.agz();if(this.agk)this.agk.style.visibility="visible";if(this.agn)_eofu_cw(this.agn);if(this.aha)_eofu_cw(this.aha);}function _eofpop_i(){if(this.ago)return;if(this.aha)return;this.aha=this.adx.agy();}function _eofpop_j(){if(this.aha){this.adx.agp(this.aha);this.aha=null;}}function _eofpop_k(){var a=this.agj.style;var b=this.afv();var c=this.adx.agw();var d=b.abb-c;var e=b.abc-c;if(this.agk){var f=this.agk.style;var g=this.agj.offsetLeft+c;var h=this.agj.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_aa(g);f.top=_eofu_aa(h);}if(this.agk){f.width=_eofu_aa(d);f.height=_eofu_aa(e);}var i=this.agn;var j=this.aha;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.agm){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.adx)return;this.agj.style.visibility="hidden";}function _eofpop_m(){if(!this.adx)return;if(this.agk)this.agk.style.visibility="hidden";if(this.agn)_eofu_cx(this.agn);if(this.aha)_eofu_cx(this.aha);this.agp();}function _eofpop_n(a,b,c,d){if(!this.adx)return;if(this.ago)return;var e=this.adx.agw();if(this.agm){if(_eofi_au()=="OP"){this.agj.style.left=-2;this.agj.style.top=-2;}else{this.agj.style.left=0;this.agj.style.top=0;}if(this.agk){this.agk.style.left=_eofu_aa(e);this.agk.style.top=_eofu_aa(e);}}else{this.agj.style.left=_eofu_aa(a);this.agj.style.top=_eofu_aa(b);if(this.agk){this.agk.style.left=_eofu_aa(a+e);this.agk.style.top=_eofu_aa(b+e);}}if(this.agn){this.agn.style.left=_eofu_aa(a);this.agn.style.top=_eofu_aa(b);}if(this.aha){this.aha.style.left=_eofu_aa(a);this.aha.style.top=_eofu_aa(b);}if(_eofi_au()=="OP"){this.agj.offsetWidth=c-e;this.agj.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.adx)return;var e=_eofu_cq(a,b,c,d);this.agj.style.clip=e;if(this.agk)this.agk.style.clip=e;if(this.agn)this.agn.style.clip=e;if(this.aha)this.aha.style.clip=e;}_eofpop_c.prototype.ahb=_eofpop_d;_eofpop_c.prototype.agx=_eofpop_e;_eofpop_c.prototype.afb=_eofpop_f;_eofpop_c.prototype.afv=_eofpop_g;_eofpop_c.prototype.agv=_eofpop_h;_eofpop_c.prototype.agy=_eofpop_i;_eofpop_c.prototype.agp=_eofpop_j;_eofpop_c.prototype.agz=_eofpop_k;_eofpop_c.prototype.afg=_eofpop_l;_eofpop_c.prototype.afi=_eofpop_m;_eofpop_c.prototype.afq=_eofpop_n;_eofpop_c.prototype.afr=_eofpop_o;function _eofpop_p(a,b,c){this.ahc=a;this.abb=b;this.abc=c;}function _eofpop_q(){this.ahc.style.left=_eofu_aa(this.abb);this.ahc.style.top=_eofu_aa(this.abc);this.ahc.style.position="absolute";this.ahc.style.visibility="visible";this.ahc.style.display="";return true;}function _eofpop_r(){this.ahc.style.visibility="hidden";this.ahc.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.abb+d,f.abc+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|";