/*! VersionVI: 30F200057k x */
function WDEvent(n,t,i,r){n&&(this.m_fCallback=n,this.m_oCibleDOM=t,this.m_tabEvenementNom=i,this.m_bCapture=r,HookOnXXX(this.m_oCibleDOM,this.m_tabEvenementNom[0],this.m_tabEvenementNom[1],this.m_fCallback,this.m_bCapture))}function WDEventMain(){this.m_tabEvenements={};this.m_nEvenementSuivant=1}WDEvent.prototype.Libere=function(){UnhookOnXXX(this.m_oCibleDOM,this.m_tabEvenementNom[0],this.m_tabEvenementNom[1],this.m_fCallback,this.m_bCapture)};WDEventMain.prototype.ms_tabEvenementsNom=[["onclick","click"],["ondblclick","dblclick"],["onmousedown","mousedown"],["onmouseup","mouseup"],["onmousemove","mousemove"],["onmouseout","mouseout"],["onmouseover","mouseover"],["onkeydown","keydown"],["onkeypress","keypress"],["onkeyup","keyup"],["onfocus","focus"],["onblur","blur"],["onchange","change"],["onselect","select"],["onload","load"],["onunload","unload"],["onreset","reset"],["onsubmit","submit"],["onresize","resize"],["onscroll","scroll"],["onorientationchange","orientationchange"],["ontouchstart","touchstart"],["ontouchmove","touchmove"],["ontouchend","touchend"],["ontouchcancel","touchcancel"],["ongesturestart","gesturestart"],["ongesturechange","gesturechange"],["ongestureend","gestureend"],["onbeforeunload","beforeunload"]];WDEventMain.prototype.ms_nOptionCapture=1;WDEventMain.prototype.ms_nDOMWindow=0;WDEventMain.prototype.ms_nDOMDocument=1;WDEventMain.prototype.ms_nDOMBody=2;WDEventMain.prototype.ms_nDOMForm=3;WDEventMain.prototype.ms_nInterruptionAction=1;WDEventMain.prototype.ms_nInterruptionPropagation=2;WDEventMain.prototype.nEvenement=function(n,t,i,r){var u=this.__fGetCallback(n),f=this.__oGetCibleDOM(t),e=this.__tabGetEvenementNom(i),o=this.__nGetOptions(r);return u&&f&&e&&!isNaN(o)?this.__nEvenement(u,f,e,o):0};WDEventMain.prototype.__fGetCallback=function(n){switch(typeof n){case"string":try{var t=eval(n);if(t&&typeof t=="function")return t}catch(i){}return null;case"function":return n;default:return null}};WDEventMain.prototype.__oGetCibleDOM=function(n){var i,t;switch(typeof n){case"string":return(i=document.getElementById(n),i)?i:(t=document.getElementsByName(n),t&&t.length&&t[0])?t[0]:null;case"number":switch(n){case WDEventMain.prototype.ms_nDOMWindow:return window;case WDEventMain.prototype.ms_nDOMDocument:return window.document;case WDEventMain.prototype.ms_nDOMBody:return window.document.body;case WDEventMain.prototype.ms_nDOMForm:return _PAGE_}default:return n}};WDEventMain.prototype.__tabGetEvenementNom=function(n){switch(typeof n){case"number":return this.ms_tabEvenementsNom[n];case"string":return[n,n];default:return n}};WDEventMain.prototype.__nGetOptions=function(n){switch(typeof n){case"number":return n;default:return parseInt(n,10)}};WDEventMain.prototype.__nEvenement=function(n,t,i,r){var f=(r&this.ms_nOptionCapture)!=0,e=new WDEvent(n,t,i,f),u=this.m_nEvenementSuivant;return this.m_nEvenementSuivant++,this.m_tabEvenements[u]=e,u};WDEventMain.prototype.bFinEvenement=function(n){var t=this.m_tabEvenements[n];return t?(t.Libere(),delete this.m_tabEvenements[n],!0):!1};WDEventMain.prototype.bInterruptionEvenement=function(n,t){return(t&this.ms_nInterruptionPropagation)!=0&&(bIE?n.cancelBubble=!0:n.stopPropagation()),clWDUtil.bStopPropagationCond(n,(t&this.ms_nInterruptionAction)!=0)};var clWDEventMain=new WDEventMain