//**********************************************************************************************************
// 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.44.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.aes=a;this.ahg=b;if(a){this.ahh=c;if((b.tagName=="TABLE")&&(b.rows.length==1)&&(b.rows[0].cells.length==1))this.ahi=b.rows[0].cells[0];this.ahj=d;this.ahk=e;this.ahl=f;}}function _eofpop_d(){if(this.aes)this.ahm();this.ahg=null;this.aes=null;}function _eofpop_e(){return this.ahl;}function _eofpop_f(){if(!this.aes)return;var a=this.ahg;if(this.ahl)a.style.display="";else a.style.display="block";a.style.visibility="visible";if(this.aes.ahn)this.aes.ahn();if(!this.ahl){var b=a.offsetWidth;var c=a.offsetHeight;if((_eofi_au()=="OP")&&this.ahi){b=this.ahi.offsetWidth+4;c=this.ahi.offsetHeight+4;}var d=this.aes.aho();if(d){if(this.ahj){if(_eofi_au()=="OP"){a.style.left=-2;a.style.top=-2;}else{a.style.left=0;a.style.top=0;}_eofu_o(d.ahp,this.ahk,d.acb,d.acc);}else _eofu_o(d.ahp,a,d.acb,d.acc);if(_eofi_au()=="OP"){a.offsetWidth=b;a.offsetHeight=c;}}_eofu_t(a);if(this.aes.ahq)this.aes.ahq(true);this.aes.ahr();}if(this.aes.ahq)this.aes.ahq(false);if(!this.ahl)this.ahs();a.eo_bs=null;a.eo_bu=null;}function _eofpop_g(){var a;var b=this.aes.aht();if(this.ahu())b=0;if(_eofpop_b()){return new _eofu_a(_eofu_ac(this.ahg),_eofu_ad(this.ahg));}else{if((_eofi_au()=="NS")||(_eofi_au()=="OP"))a=this.ahi?this.ahi:this.ahg;else a=this.ahg;return new _eofu_a(_eofu_ac(a)+b,_eofu_ad(a)+b);}}function _eofpop_h(){this.ahv();this.ahw();if(this.ahh)this.ahh.style.visibility="visible";if(this.ahk)_eofu_cz(this.ahk);if(this.ahx)_eofu_cz(this.ahx);}function _eofpop_i(){if(this.ahl)return;if(this.ahx)return;this.ahx=this.aes.ahv();}function _eofpop_j(){if(this.ahx){this.aes.ahm(this.ahx);this.ahx=null;}}function _eofpop_k(){var a=this.ahg.style;var b=this.ags();var c=this.aes.aht();var d=b.abp-c;var e=b.abq-c;if(this.ahh){var f=this.ahh.style;var g=this.ahg.offsetLeft+c;var h=this.ahg.offsetTop+c;if(_eofi_au()=="OP"){g+=2;h+=2;}f.left=_eofu_ab(g);f.top=_eofu_ab(h);}if(this.ahh){f.width=_eofu_ab(d);f.height=_eofu_ab(e);}var i=this.ahk;var j=this.ahx;if(!i&&j){i=j;j=null;}if(i){var k=i.style;if(!this.ahj){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.aes)return;this.ahg.style.visibility="hidden";}function _eofpop_m(){if(!this.aes)return;if(this.ahh)this.ahh.style.visibility="hidden";if(this.ahk)_eofu_da(this.ahk);if(this.ahx)_eofu_da(this.ahx);this.ahm();}function _eofpop_n(a,b,c,d){if(!this.aes)return;if(this.ahl)return;var e=this.aes.aht();if(this.ahj){if(_eofi_au()=="OP"){this.ahg.style.left=-2;this.ahg.style.top=-2;}else{this.ahg.style.left=0;this.ahg.style.top=0;}if(this.ahh){this.ahh.style.left=_eofu_ab(e);this.ahh.style.top=_eofu_ab(e);}}else{this.ahg.style.left=_eofu_ab(a);this.ahg.style.top=_eofu_ab(b);if(this.ahh){this.ahh.style.left=_eofu_ab(a+e);this.ahh.style.top=_eofu_ab(b+e);}}if(this.ahk){this.ahk.style.left=_eofu_ab(a);this.ahk.style.top=_eofu_ab(b);}if(this.ahx){this.ahx.style.left=_eofu_ab(a);this.ahx.style.top=_eofu_ab(b);}if(_eofi_au()=="OP"){this.ahg.offsetWidth=c-e;this.ahg.offsetHeight=d-e;}}function _eofpop_o(a,b,c,d){if(!this.aes)return;var e=_eofu_ct(a,b,c,d);this.ahg.style.clip=e;if(this.ahh)this.ahh.style.clip=e;if(this.ahk)this.ahk.style.clip=e;if(this.ahx)this.ahx.style.clip=e;}_eofpop_c.prototype.ahy=_eofpop_d;_eofpop_c.prototype.ahu=_eofpop_e;_eofpop_c.prototype.afy=_eofpop_f;_eofpop_c.prototype.ags=_eofpop_g;_eofpop_c.prototype.ahs=_eofpop_h;_eofpop_c.prototype.ahv=_eofpop_i;_eofpop_c.prototype.ahm=_eofpop_j;_eofpop_c.prototype.ahw=_eofpop_k;_eofpop_c.prototype.agd=_eofpop_l;_eofpop_c.prototype.agf=_eofpop_m;_eofpop_c.prototype.agn=_eofpop_n;_eofpop_c.prototype.ago=_eofpop_o;function _eofpop_p(a,b,c){this.ahz=a;this.abp=b;this.abq=c;}function _eofpop_q(){this.ahz.style.left=_eofu_ab(this.abp);this.ahz.style.top=_eofu_ab(this.abq);this.ahz.style.position="absolute";this.ahz.style.visibility="visible";this.ahz.style.display="";return true;}function _eofpop_r(){this.ahz.style.visibility="hidden";this.ahz.style.display="none";}_eofpop_p.prototype.eo_cj=_eofpop_q;_eofpop_p.prototype.eo_ck=_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_el;a.onmouseup=_eofu_el;var g=new _eofpop_p(a,f.abp+d,f.abq+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');