//********************************************************************************************************** // 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 _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.aeq=a;this.ahe=b;if(a){this.ahf=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.ahg=b.rows[0].cells[0];this.ahh=d;this.ahi=e;this.ahj=f;}}function _eofpop_d(){if(this.aeq)this.ahk();this.ahe=null;this.aeq=null;}function _eofpop_e(){return this.ahj;}function _eofpop_f(){if(!this.aeq)return;var a=this.ahe;if(this.ahj)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.aeq.ahl)this.aeq.ahl();if(!this.ahj){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.ahg){b=this.ahg.offsetWidth+4;c=this.ahg.offsetHeight+4;}var d=this.aeq.ahm();if(d){if(this.ahh){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_o(d.ahn,this.ahi,d.abz,d.aca);}else _eofu_o(d.ahn,a,d.abz,d.aca);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_t(a);if(this.aeq.aho)this.aeq.aho(true);this.aeq.ahp();}if(this.aeq.aho)this.aeq.aho(false);if(!this.ahj)this.ahq();a.eo_bl=null;a.eo_bm=null;}function _eofpop_g(){var a;var b=this.aeq.ahr();if(this.ahs())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ac(this.ahe),_eofu_ad(this.ahe));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.ahg?this.ahg:this.ahe;else a=this.ahe;return new _eofu_a(_eofu_ac(a)+b,_eofu_ad(a)+b);}}function _eofpop_h(){this.aht();this.ahu();if(this.ahf)this.ahf.style.visibility="visible";if(this.ahi)_eofu_cx(this.ahi);if(this.ahv)_eofu_cx(this.ahv);}function _eofpop_i(){if(this.ahj)return;if(this.ahv)return;this.ahv=this.aeq.aht();}function _eofpop_j(){if(this.ahv){this.aeq.ahk(this.ahv);this.ahv=null;}}function _eofpop_k(){var a=this.ahe.style;var b=this.agq();var c=this.aeq.ahr();var d=b.abn-c;var e=b.abo-c;if(this.ahf){var f=this.ahf.style;var g=this.ahe.offsetLeft+c;var h=this.ahe.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_ab(g);f.top=_eofu_ab(h);}if(this.ahf){f.width=_eofu_ab(d);f.height=_eofu_ab(e);}var i=this.ahi;var j=this.ahv;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.ahh){k.left=a.left;k.top=a.top;}k.width=_eofu_ab(d+c);k.height=_eofu_ab(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.aeq)return;this.ahe.style.visibility="hidden";}function _eofpop_m(){if(!this.aeq)return;if(this.ahf)this.ahf.style.visibility="hidden";if(this.ahi)_eofu_cy(this.ahi);if(this.ahv)_eofu_cy(this.ahv);this.ahk();}function _eofpop_n(a,b,c,d){if(!this.aeq)return;if(this.ahj)return;var e=this.aeq.ahr();if(this.ahh){if(_eofi_au()=="OP"){this.ahe.style.left=-2;this.ahe.style.top=-2;}else{this.ahe.style.left=0;this.ahe.style.top=0;}if(this.ahf){this.ahf.style.left=_eofu_ab(e);this.ahf.style.top=_eofu_ab(e);}}else{this.ahe.style.left=_eofu_ab(a);this.ahe.style.top=_eofu_ab(b);if(this.ahf){this.ahf.style.left=_eofu_ab(a+e);this.ahf.style.top=_eofu_ab(b+e);}}if(this.ahi){this.ahi.style.left=_eofu_ab(a);this.ahi.style.top=_eofu_ab(b);}if(this.ahv){this.ahv.style.left=_eofu_ab(a);this.ahv.style.top=_eofu_ab(b);}if(_eofi_au()=="OP"){this.ahe.offsetWidth=c-e;this.ahe.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.aeq)return;var e=_eofu_cr(a,b,c,d);this.ahe.style.clip=e;if(this.ahf)this.ahf.style.clip=e;if(this.ahi)this.ahi.style.clip=e;if(this.ahv)this.ahv.style.clip=e;}_eofpop_c.prototype.ahw=_eofpop_d;_eofpop_c.prototype.ahs=_eofpop_e;_eofpop_c.prototype.afw=_eofpop_f;_eofpop_c.prototype.agq=_eofpop_g;_eofpop_c.prototype.ahq=_eofpop_h;_eofpop_c.prototype.aht=_eofpop_i;_eofpop_c.prototype.ahk=_eofpop_j;_eofpop_c.prototype.ahu=_eofpop_k;_eofpop_c.prototype.agb=_eofpop_l;_eofpop_c.prototype.agd=_eofpop_m;_eofpop_c.prototype.agl=_eofpop_n;_eofpop_c.prototype.agm=_eofpop_o;function _eofpop_p(a,b,c){this.ahx=a;this.abn=b;this.abo=c;}function _eofpop_q(){this.ahx.style.left=_eofu_ab(this.abn);this.ahx.style.top=_eofu_ab(this.abo);this.ahx.style.position="absolute";this.ahx.style.visibility="visible";this.ahx.style.display="";return true;}function _eofpop_r(){this.ahx.style.visibility="hidden";this.ahx.style.display="none";}_eofpop_p.prototype.eo_cb=_eofpop_q;_eofpop_p.prototype.eo_cc=_eofpop_r;function eo_ShowPopup(a,b,c,d,e){if(!d)d=0;if(!e)e=0;var f=_eofu_ai(b);switch(c){case 1:d+=_eofu_ac(b);break;case 2:e+=_eofu_ad(b);break;case 3:d+=_eofu_ac(b);e+=_eofu_ad(b);break;}a.onmousedown=_eofu_eh;a.onmouseup=_eofu_eh;var g=new _eofpop_p(a,f.abn+d,f.abo+e);_eofu_bf(null,g);}function eo_HideAllPopups(){_eofu_bk();}EO.Web.DOMUtils.showPopup=eo_ShowPopup;EO.Web.DOMUtils.hideAllPopups=eo_HideAllPopups;eo_LoadModules();eo_ModuleLoaded('pop');