//********************************************************************************************************** // 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.20.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.adj=a;this.afv=b;if(a){this.afw=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.afx=b.rows[0].cells[0];this.afy=d;this.afz=e;this.aga=f;}}function _eofpop_d(){if(this.adj)this.agb();this.afv=null;this.adj=null;}function _eofpop_e(){return this.aga;}function _eofpop_f(){if(!this.adj)return;var a=this.afv;if(this.aga)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.adj.agc)this.adj.agc();if(!this.aga){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.afx){b=this.afx.offsetWidth+4;c=this.afx.offsetHeight+4;}var d=this.adj.agd();if(d){if(this.afy){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_n(d.age,this.afz,d.abg,d.abh);}else _eofu_n(d.age,a,d.abg,d.abh);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_s(a);if(this.adj.agf)this.adj.agf(true);this.adj.agg();}if(this.adj.agf)this.adj.agf(false);if(!this.aga)this.agh();a.eo_bd=null;a.eo_be=null;}function _eofpop_g(){var a;var b=this.adj.agi();if(this.agj())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ab(this.afv),_eofu_ac(this.afv));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.afx?this.afx:this.afv;else a=this.afv;return new _eofu_a(_eofu_ab(a)+b,_eofu_ac(a)+b);}}function _eofpop_h(){this.agk();this.agl();if(this.afw)this.afw.style.visibility="visible";if(this.afz)_eofu_cw(this.afz);if(this.agm)_eofu_cw(this.agm);}function _eofpop_i(){if(this.aga)return;if(this.agm)return;this.agm=this.adj.agk();}function _eofpop_j(){if(this.agm){this.adj.agb(this.agm);this.agm=null;}}function _eofpop_k(){var a=this.afv.style;var b=this.afh();var c=this.adj.agi();var d=b.aau-c;var e=b.aav-c;if(this.afw){var f=this.afw.style;var g=this.afv.offsetLeft+c;var h=this.afv.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_aa(g);f.top=_eofu_aa(h);}if(this.afw){f.width=_eofu_aa(d);f.height=_eofu_aa(e);}var i=this.afz;var j=this.agm;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.afy){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.adj)return;this.afv.style.visibility="hidden";}function _eofpop_m(){if(!this.adj)return;if(this.afw)this.afw.style.visibility="hidden";if(this.afz)_eofu_cx(this.afz);if(this.agm)_eofu_cx(this.agm);this.agb();}function _eofpop_n(a,b,c,d){if(!this.adj)return;if(this.aga)return;var e=this.adj.agi();if(this.afy){if(_eofi_au()=="OP"){this.afv.style.left=-2;this.afv.style.top=-2;}else{this.afv.style.left=0;this.afv.style.top=0;}if(this.afw){this.afw.style.left=_eofu_aa(e);this.afw.style.top=_eofu_aa(e);}}else{this.afv.style.left=_eofu_aa(a);this.afv.style.top=_eofu_aa(b);if(this.afw){this.afw.style.left=_eofu_aa(a+e);this.afw.style.top=_eofu_aa(b+e);}}if(this.afz){this.afz.style.left=_eofu_aa(a);this.afz.style.top=_eofu_aa(b);}if(this.agm){this.agm.style.left=_eofu_aa(a);this.agm.style.top=_eofu_aa(b);}if(_eofi_au()=="OP"){this.afv.offsetWidth=c-e;this.afv.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.adj)return;var e=_eofu_cq(a,b,c,d);this.afv.style.clip=e;if(this.afw)this.afw.style.clip=e;if(this.afz)this.afz.style.clip=e;if(this.agm)this.agm.style.clip=e;}_eofpop_c.prototype.agn=_eofpop_d;_eofpop_c.prototype.agj=_eofpop_e;_eofpop_c.prototype.aen=_eofpop_f;_eofpop_c.prototype.afh=_eofpop_g;_eofpop_c.prototype.agh=_eofpop_h;_eofpop_c.prototype.agk=_eofpop_i;_eofpop_c.prototype.agb=_eofpop_j;_eofpop_c.prototype.agl=_eofpop_k;_eofpop_c.prototype.aes=_eofpop_l;_eofpop_c.prototype.aeu=_eofpop_m;_eofpop_c.prototype.afc=_eofpop_n;_eofpop_c.prototype.afd=_eofpop_o;function _eofpop_p(a,b,c){this.ago=a;this.aau=b;this.aav=c;}function _eofpop_q(){this.ago.style.left=_eofu_aa(this.aau);this.ago.style.top=_eofu_aa(this.aav);this.ago.style.position="absolute";this.ago.style.visibility="visible";this.ago.style.display="";return true;}function _eofpop_r(){this.ago.style.visibility="hidden";this.ago.style.display="none";}_eofpop_p.prototype.eo_bt=_eofpop_q;_eofpop_p.prototype.eo_bu=_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_dz;a.onmouseup=_eofu_dz;var g=new _eofpop_p(a,f.aau+d,f.aav+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|";