//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 7.0.11.2
//**********************************************************************************************************
 var eo_gn=null;function _eofdd_a(a,b,c,d,e){if(b&&!b.eo_go)b.eo_go=new _eofdd_g(a,b,c,d,e);}function _eofdd_b(a){if(a&&a.eo_go){a.eo_go.agk();a.eo_go=null;}}function _eofdd_c(a,b,c,d){if(!c)c=window.event;var e=new Object();e.layerX=c.layerX?c.layerX:c.offsetX;e.layerY=c.layerY?c.layerY:c.offsetY;e.pageX=c.pageX?c.pageX:c.clientX;e.pageY=c.pageY?c.pageY:c.clientY;var f=_eofu_al(a);var g=_eofu_al(b);e.layerX+=g.aca-f.aca;e.layerY+=g.acb-f.acb;a.eo_go.agl=d;a.eo_go.aax(c);a.eo_go.agl=null;_eofi_eo(this,c);}function _eofdd_d(a){if(this.eo_go){this.eo_go.aax(a);_eofi_eo(this,a);}}function _eofdd_e(a){if(this.eo_go){this.eo_go.agm(a);_eofi_eo(this,a);}}function _eofdd_f(a){if(this.eo_go){this.eo_go.acu(a);_eofi_eo(this,a);}}function _eofdd_g(a,b,c,d,e){this.agn=a;this.t=b;this.ago=c;this.agp=d;this.agq=b.onmousedown;this.agr=b.onmousemove;this.ags=b.onmouseup;b.onmousedown=_eofdd_d;b.onmousemove=_eofdd_e;if(e)b.eo_gp=b.onmouseup;b.onmouseup=_eofdd_f;}function _eofdd_h(a,b,c){a.eo_gq=b;a.eo_gq(c);a.eo_gq=null;}function _eofdd_i(a){if(this.agq&&!this.agl)_eofdd_h(this.t,this.agq,a);if(_eofu_aq(a))return;if(!a)a=window.event;this.agt=_eofi_cq(a);this.aca=a.layerX?a.layerX:a.offsetX;this.acb=a.layerY?a.layerY:a.offsetY;this.agu=a.pageX?a.pageX:a.clientX;this.agv=a.pageY?a.pageY:a.clientY;if(this.t.setCapture)this.t.setCapture();else if(window.captureEvents){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);window.onmousemove=_eofdd_e;window.onmouseup=_eofdd_f;window.eo_go=this;}eo_gn=this;}function _eofdd_j(a){if(eo_gn)eo_gn.agw(a);else if(this.agx)_eofdd_h(this.t,this.agx,a);}function _eofdd_k(a){if(!a)a=window.event;var b=a.pageX?a.pageX:a.clientX;var c=a.pageY?a.pageY:a.clientY;var d=b-this.agu;var e=c-this.agv;if((!this.agp)||((Math.abs(d)>this.agp.aca)||(Math.abs(e)>this.agp.acb))){if(this.aca!=null){this.agn.agy(this.ago,this.aca+d,this.acb+e,this.agt);this.aca=null;this.acb=null;}else{this.agn.agz(this.ago,d,e);}}}function _eofdd_l(a){if(eo_gn)eo_gn.aha(a);else if(this.ahb)_eofdd_h(this.t,this.ahc,a);}function _eofdd_m(a){if(this.t.releaseCapture)this.t.releaseCapture();else if(window.releaseEvents){window.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP);window.onmousemove=null;window.onmouseup=null;window.eo_go=null;}if(!a)a=window.event;var b=a.pageX?a.pageX:a.clientX;var c=a.pageY?a.pageY:a.clientY;if(this.aca==null)this.agn.ahd(this.ago,b-this.agu,c-this.agv,a);else{if(this.t.onmouseclick)this.t.onmouseclick(a);else if(this.t.eo_gp)this.t.eo_gp(a);}eo_gn=null;}function _eofdd_n(){if(!this.t)return;this.agn=null;this.t.onmousedown=this.agq;this.t.onmousemove=this.agr;this.t.onmouseup=this.ags;this.t.eo_gp=null;this.ago=null;}_eofdd_g.prototype.aax=_eofdd_i;_eofdd_g.prototype.agm=_eofdd_j;_eofdd_g.prototype.agw=_eofdd_k;_eofdd_g.prototype.acu=_eofdd_l;_eofdd_g.prototype.aha=_eofdd_m;_eofdd_g.prototype.agk=_eofdd_n;eo_LoadModules();eo_ModuleLoaded('dd');