//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 5.0.51.1
//**********************************************************************************************************
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.aff=a;this.aht=b;if(a){this.ahu=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.ahv=b.rows[0].cells[0];this.ahw=d;this.ahx=e;this.ahy=f;}}function _eofpop_d(){if(this.aff)this.ahz();this.aht=null;this.aff=null;}function _eofpop_e(){return this.ahy;}function _eofpop_f(){if(!this.aff)return;var a=this.aht;if(this.ahy)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.aff.aia)this.aff.aia();if(!this.ahy){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.ahv){b=this.ahv.offsetWidth+4;c=this.ahv.offsetHeight+4;}var d=this.aff.aib();if(d){if(this.ahw){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_o(d.aic,this.ahx,d.acc,d.acd);}else _eofu_o(d.aic,a,d.acc,d.acd);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_t(a);if(this.aff.aid)this.aff.aid(true);this.aff.aie();}if(this.aff.aid)this.aff.aid(false);if(!this.ahy)this.aif();a.eo_bw=null;a.eo_by=null;}function _eofpop_g(){var a;var b=this.aff.aig();if(this.aih())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ac(this.aht),_eofu_ad(this.aht));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.ahv?this.ahv:this.aht;else a=this.aht;return new _eofu_a(_eofu_ac(a)+b,_eofu_ad(a)+b);}}function _eofpop_h(){this.aii();this.aij();if(this.ahu)this.ahu.style.visibility="visible";if(this.ahx)_eofu_cz(this.ahx);if(this.aik)_eofu_cz(this.aik);}function _eofpop_i(){if(this.ahy)return;if(this.aik)return;this.aik=this.aff.aii();}function _eofpop_j(){if(this.aik){this.aff.ahz(this.aik);this.aik=null;}}function _eofpop_k(){var a=this.aht.style;var b=this.ahf();var c=this.aff.aig();var d=b.abq-c;var e=b.abr-c;if(this.ahu){var f=this.ahu.style;var g=this.aht.offsetLeft+c;var h=this.aht.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_ab(g);f.top=_eofu_ab(h);}if(this.ahu){f.width=_eofu_ab(d);f.height=_eofu_ab(e);}var i=this.ahx;var j=this.aik;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.ahw){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.aff)return;this.aht.style.visibility="hidden";}function _eofpop_m(){if(!this.aff)return;if(this.ahu)this.ahu.style.visibility="hidden";if(this.ahx)_eofu_da(this.ahx);if(this.aik)_eofu_da(this.aik);this.ahz();}function _eofpop_n(a,b,c,d){if(!this.aff)return;if(this.ahy)return;var e=this.aff.aig();if(this.ahw){if(_eofi_au()=="OP"){this.aht.style.left=-2;this.aht.style.top=-2;}else{this.aht.style.left=0;this.aht.style.top=0;}if(this.ahu){this.ahu.style.left=_eofu_ab(e);this.ahu.style.top=_eofu_ab(e);}}else{this.aht.style.left=_eofu_ab(a);this.aht.style.top=_eofu_ab(b);if(this.ahu){this.ahu.style.left=_eofu_ab(a+e);this.ahu.style.top=_eofu_ab(b+e);}}if(this.ahx){this.ahx.style.left=_eofu_ab(a);this.ahx.style.top=_eofu_ab(b);}if(this.aik){this.aik.style.left=_eofu_ab(a);this.aik.style.top=_eofu_ab(b);}if(_eofi_au()=="OP"){this.aht.offsetWidth=c-e;this.aht.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.aff)return;var e=_eofu_ct(a,b,c,d);this.aht.style.clip=e;if(this.ahu)this.ahu.style.clip=e;if(this.ahx)this.ahx.style.clip=e;if(this.aik)this.aik.style.clip=e;}_eofpop_c.prototype.ail=_eofpop_d;_eofpop_c.prototype.aih=_eofpop_e;_eofpop_c.prototype.agl=_eofpop_f;_eofpop_c.prototype.ahf=_eofpop_g;_eofpop_c.prototype.aif=_eofpop_h;_eofpop_c.prototype.aii=_eofpop_i;_eofpop_c.prototype.ahz=_eofpop_j;_eofpop_c.prototype.aij=_eofpop_k;_eofpop_c.prototype.agq=_eofpop_l;_eofpop_c.prototype.ags=_eofpop_m;_eofpop_c.prototype.aha=_eofpop_n;_eofpop_c.prototype.ahb=_eofpop_o;function _eofpop_p(a,b,c){this.aes=a;this.abq=b;this.abr=c;}function _eofpop_q(){this.aes.style.left=_eofu_ab(this.abq);this.aes.style.top=_eofu_ab(this.abr);this.aes.style.position="absolute";this.aes.style.visibility="visible";this.aes.style.display="";return true;}function _eofpop_r(){this.aes.style.visibility="hidden";this.aes.style.display="none";}_eofpop_p.prototype.eo_cn=_eofpop_q;_eofpop_p.prototype.eo_co=_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_ep;a.onmouseup=_eofu_ep;var g=new _eofpop_p(a,f.abq+d,f.abr+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');