//**********************************************************************************************************
// 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.43.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.aer=a;this.ahf=b;if(a){this.ahg=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.ahh=b.rows[0].cells[0];this.ahi=d;this.ahj=e;this.ahk=f;}}function _eofpop_d(){if(this.aer)this.ahl();this.ahf=null;this.aer=null;}function _eofpop_e(){return this.ahk;}function _eofpop_f(){if(!this.aer)return;var a=this.ahf;if(this.ahk)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.aer.ahm)this.aer.ahm();if(!this.ahk){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.ahh){b=this.ahh.offsetWidth+4;c=this.ahh.offsetHeight+4;}var d=this.aer.ahn();if(d){if(this.ahi){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_o(d.aho,this.ahj,d.aca,d.acb);}else _eofu_o(d.aho,a,d.aca,d.acb);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_t(a);if(this.aer.ahp)this.aer.ahp(true);this.aer.ahq();}if(this.aer.ahp)this.aer.ahp(false);if(!this.ahk)this.ahr();a.eo_bo=null;a.eo_bq=null;}function _eofpop_g(){var a;var b=this.aer.ahs();if(this.aht())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ac(this.ahf),_eofu_ad(this.ahf));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.ahh?this.ahh:this.ahf;else a=this.ahf;return new _eofu_a(_eofu_ac(a)+b,_eofu_ad(a)+b);}}function _eofpop_h(){this.ahu();this.ahv();if(this.ahg)this.ahg.style.visibility="visible";if(this.ahj)_eofu_cz(this.ahj);if(this.ahw)_eofu_cz(this.ahw);}function _eofpop_i(){if(this.ahk)return;if(this.ahw)return;this.ahw=this.aer.ahu();}function _eofpop_j(){if(this.ahw){this.aer.ahl(this.ahw);this.ahw=null;}}function _eofpop_k(){var a=this.ahf.style;var b=this.agr();var c=this.aer.ahs();var d=b.abo-c;var e=b.abp-c;if(this.ahg){var f=this.ahg.style;var g=this.ahf.offsetLeft+c;var h=this.ahf.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_ab(g);f.top=_eofu_ab(h);}if(this.ahg){f.width=_eofu_ab(d);f.height=_eofu_ab(e);}var i=this.ahj;var j=this.ahw;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.ahi){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.aer)return;this.ahf.style.visibility="hidden";}function _eofpop_m(){if(!this.aer)return;if(this.ahg)this.ahg.style.visibility="hidden";if(this.ahj)_eofu_da(this.ahj);if(this.ahw)_eofu_da(this.ahw);this.ahl();}function _eofpop_n(a,b,c,d){if(!this.aer)return;if(this.ahk)return;var e=this.aer.ahs();if(this.ahi){if(_eofi_au()=="OP"){this.ahf.style.left=-2;this.ahf.style.top=-2;}else{this.ahf.style.left=0;this.ahf.style.top=0;}if(this.ahg){this.ahg.style.left=_eofu_ab(e);this.ahg.style.top=_eofu_ab(e);}}else{this.ahf.style.left=_eofu_ab(a);this.ahf.style.top=_eofu_ab(b);if(this.ahg){this.ahg.style.left=_eofu_ab(a+e);this.ahg.style.top=_eofu_ab(b+e);}}if(this.ahj){this.ahj.style.left=_eofu_ab(a);this.ahj.style.top=_eofu_ab(b);}if(this.ahw){this.ahw.style.left=_eofu_ab(a);this.ahw.style.top=_eofu_ab(b);}if(_eofi_au()=="OP"){this.ahf.offsetWidth=c-e;this.ahf.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.aer)return;var e=_eofu_ct(a,b,c,d);this.ahf.style.clip=e;if(this.ahg)this.ahg.style.clip=e;if(this.ahj)this.ahj.style.clip=e;if(this.ahw)this.ahw.style.clip=e;}_eofpop_c.prototype.ahx=_eofpop_d;_eofpop_c.prototype.aht=_eofpop_e;_eofpop_c.prototype.afx=_eofpop_f;_eofpop_c.prototype.agr=_eofpop_g;_eofpop_c.prototype.ahr=_eofpop_h;_eofpop_c.prototype.ahu=_eofpop_i;_eofpop_c.prototype.ahl=_eofpop_j;_eofpop_c.prototype.ahv=_eofpop_k;_eofpop_c.prototype.agc=_eofpop_l;_eofpop_c.prototype.age=_eofpop_m;_eofpop_c.prototype.agm=_eofpop_n;_eofpop_c.prototype.agn=_eofpop_o;function _eofpop_p(a,b,c){this.ahy=a;this.abo=b;this.abp=c;}function _eofpop_q(){this.ahy.style.left=_eofu_ab(this.abo);this.ahy.style.top=_eofu_ab(this.abp);this.ahy.style.position="absolute";this.ahy.style.visibility="visible";this.ahy.style.display="";return true;}function _eofpop_r(){this.ahy.style.visibility="hidden";this.ahy.style.display="none";}_eofpop_p.prototype.eo_cf=_eofpop_q;_eofpop_p.prototype.eo_cg=_eofpop_r;function eo_ShowPopup(a,b,c,d,e){if(!d)d=0;if(!e)e=0;var f=_eofu_ak(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_ej;a.onmouseup=_eofu_ej;var g=new _eofpop_p(a,f.abo+d,f.abp+e);_eofu_bh(null,g);}function eo_HideAllPopups(){_eofu_bm();}EO.Web.DOMUtils.showPopup=eo_ShowPopup;EO.Web.DOMUtils.hideAllPopups=eo_HideAllPopups;eo_LoadModules();eo_ModuleLoaded('pop');