//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 6.0.80.2
//**********************************************************************************************************
 var eo_gl=null;function _eofdd_a(a,b,c,d,e){if(b&&!b.eo_gm)b.eo_gm=new _eofdd_g(a,b,c,d,e);}function _eofdd_b(a){if(a&&a.eo_gm){a.eo_gm.afy();a.eo_gm=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.abx-f.abx;e.layerY+=g.aby-f.aby;a.eo_gm.afz=d;a.eo_gm.aaw(c);a.eo_gm.afz=null;_eofi_en(this,c);}function _eofdd_d(a){if(this.eo_gm){this.eo_gm.aaw(a);_eofi_en(this,a);}}function _eofdd_e(a){if(this.eo_gm){this.eo_gm.aga(a);_eofi_en(this,a);}}function _eofdd_f(a){if(this.eo_gm){this.eo_gm.acr(a);_eofi_en(this,a);}}function _eofdd_g(a,b,c,d,e){this.agb=a;this.t=b;this.agc=c;this.agd=d;this.age=b.onmousedown;this.agf=b.onmousemove;this.agg=b.onmouseup;b.onmousedown=_eofdd_d;b.onmousemove=_eofdd_e;if(e)b.eo_gn=b.onmouseup;b.onmouseup=_eofdd_f;}function _eofdd_h(a,b,c){a.eo_go=b;a.eo_go(c);a.eo_go=null;}function _eofdd_i(a){if(this.age&&!this.afz)_eofdd_h(this.t,this.age,a);if(_eofu_aq(a))return;if(!a)a=window.event;this.agh=_eofi_cq(a);this.abx=a.layerX?a.layerX:a.offsetX;this.aby=a.layerY?a.layerY:a.offsetY;this.agi=a.pageX?a.pageX:a.clientX;this.agj=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_gm=this;}eo_gl=this;}function _eofdd_j(a){if(eo_gl)eo_gl.agk(a);else if(this.agl)_eofdd_h(this.t,this.agl,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.agi;var e=c-this.agj;if((!this.agd)||((Math.abs(d)>this.agd.abx)||(Math.abs(e)>this.agd.aby))){if(this.abx!=null){this.agb.agm(this.agc,this.abx+d,this.aby+e,this.agh);this.abx=null;this.aby=null;}else{this.agb.agn(this.agc,d,e);}}}function _eofdd_l(a){if(eo_gl)eo_gl.ago(a);else if(this.agp)_eofdd_h(this.t,this.agq,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_gm=null;}if(!a)a=window.event;var b=a.pageX?a.pageX:a.clientX;var c=a.pageY?a.pageY:a.clientY;if(this.abx==null)this.agb.agr(this.agc,b-this.agi,c-this.agj,a);else{if(this.t.onmouseclick)this.t.onmouseclick(a);else if(this.t.eo_gn)this.t.eo_gn(a);}eo_gl=null;}function _eofdd_n(){if(!this.t)return;this.agb=null;this.t.onmousedown=this.age;this.t.onmousemove=this.agf;this.t.onmouseup=this.agg;this.t.eo_gn=null;this.agc=null;}_eofdd_g.prototype.aaw=_eofdd_i;_eofdd_g.prototype.aga=_eofdd_j;_eofdd_g.prototype.agk=_eofdd_k;_eofdd_g.prototype.acr=_eofdd_l;_eofdd_g.prototype.ago=_eofdd_m;_eofdd_g.prototype.afy=_eofdd_n;eo_LoadModules();eo_ModuleLoaded('dd');