//**********************************************************************************************************
// 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.12.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.aek=a;this.agy=b;if(a){this.agz=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.aha=b.rows[0].cells[0];this.ahb=d;this.ahc=e;this.ahd=f;}}function _eofpop_d(){if(this.aek)this.ahe();this.agy=null;this.aek=null;}function _eofpop_e(){return this.ahd;}function _eofpop_f(){if(!this.aek)return;var a=this.agy;if(this.ahd)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.aek.ahf)this.aek.ahf();if(!this.ahd){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.aha){b=this.aha.offsetWidth+4;c=this.aha.offsetHeight+4;}var d=this.aek.ahg();if(d){if(this.ahb){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_o(d.ahh,this.ahc,d.abt,d.abu);}else _eofu_o(d.ahh,a,d.abt,d.abu);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_t(a);if(this.aek.ahi)this.aek.ahi(true);this.aek.ahj();}if(this.aek.ahi)this.aek.ahi(false);if(!this.ahd)this.ahk();a.eo_bn=null;a.eo_bo=null;}function _eofpop_g(){var a;var b=this.aek.ahl();if(this.ahm())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ac(this.agy),_eofu_ad(this.agy));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.aha?this.aha:this.agy;else a=this.agy;return new _eofu_a(_eofu_ac(a)+b,_eofu_ad(a)+b);}}function _eofpop_h(){this.ahn();this.aho();if(this.agz)this.agz.style.visibility="visible";if(this.ahc)_eofu_cx(this.ahc);if(this.ahp)_eofu_cx(this.ahp);}function _eofpop_i(){if(this.ahd)return;if(this.ahp)return;this.ahp=this.aek.ahn();}function _eofpop_j(){if(this.ahp){this.aek.ahe(this.ahp);this.ahp=null;}}function _eofpop_k(){var a=this.agy.style;var b=this.agk();var c=this.aek.ahl();var d=b.abh-c;var e=b.abi-c;if(this.agz){var f=this.agz.style;var g=this.agy.offsetLeft+c;var h=this.agy.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_ab(g);f.top=_eofu_ab(h);}if(this.agz){f.width=_eofu_ab(d);f.height=_eofu_ab(e);}var i=this.ahc;var j=this.ahp;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.ahb){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.aek)return;this.agy.style.visibility="hidden";}function _eofpop_m(){if(!this.aek)return;if(this.agz)this.agz.style.visibility="hidden";if(this.ahc)_eofu_cy(this.ahc);if(this.ahp)_eofu_cy(this.ahp);this.ahe();}function _eofpop_n(a,b,c,d){if(!this.aek)return;if(this.ahd)return;var e=this.aek.ahl();if(this.ahb){if(_eofi_au()=="OP"){this.agy.style.left=-2;this.agy.style.top=-2;}else{this.agy.style.left=0;this.agy.style.top=0;}if(this.agz){this.agz.style.left=_eofu_ab(e);this.agz.style.top=_eofu_ab(e);}}else{this.agy.style.left=_eofu_ab(a);this.agy.style.top=_eofu_ab(b);if(this.agz){this.agz.style.left=_eofu_ab(a+e);this.agz.style.top=_eofu_ab(b+e);}}if(this.ahc){this.ahc.style.left=_eofu_ab(a);this.ahc.style.top=_eofu_ab(b);}if(this.ahp){this.ahp.style.left=_eofu_ab(a);this.ahp.style.top=_eofu_ab(b);}if(_eofi_au()=="OP"){this.agy.offsetWidth=c-e;this.agy.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.aek)return;var e=_eofu_cr(a,b,c,d);this.agy.style.clip=e;if(this.agz)this.agz.style.clip=e;if(this.ahc)this.ahc.style.clip=e;if(this.ahp)this.ahp.style.clip=e;}_eofpop_c.prototype.ahq=_eofpop_d;_eofpop_c.prototype.ahm=_eofpop_e;_eofpop_c.prototype.afq=_eofpop_f;_eofpop_c.prototype.agk=_eofpop_g;_eofpop_c.prototype.ahk=_eofpop_h;_eofpop_c.prototype.ahn=_eofpop_i;_eofpop_c.prototype.ahe=_eofpop_j;_eofpop_c.prototype.aho=_eofpop_k;_eofpop_c.prototype.afv=_eofpop_l;_eofpop_c.prototype.afx=_eofpop_m;_eofpop_c.prototype.agf=_eofpop_n;_eofpop_c.prototype.agg=_eofpop_o;function _eofpop_p(a,b,c){this.ahr=a;this.abh=b;this.abi=c;}function _eofpop_q(){this.ahr.style.left=_eofu_ab(this.abh);this.ahr.style.top=_eofu_ab(this.abi);this.ahr.style.position="absolute";this.ahr.style.visibility="visible";this.ahr.style.display="";return true;}function _eofpop_r(){this.ahr.style.visibility="hidden";this.ahr.style.display="none";}_eofpop_p.prototype.eo_cd=_eofpop_q;_eofpop_p.prototype.eo_ce=_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.abh+d,f.abi+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');