if(!window.ComponentArt_Keyboard_Loaded){window.qqPa=null;window.qqPc=new Array();window.qqPf=function(qg16,qzyb,handler){this.Control=qg16;this.qztk=qzyb;this.Handler=handler;};window.qqPd=function(qg16,qzyb){for(var qzba=0;qzba<qqPc.length;qzba++){if(qqPc[qzba].Control==qg16&&qqPc[qzba].qztk==qzyb){eval(qqPc[qzba].Handler);return true;};};return false;};if(document.layers){document.captureEvents(Event.KEYPRESS);};window.ComponentArt_HandleKeyPress=function(qzim){ComponentArt_ProcessKeyPress(qzim);};window.ComponentArt_ProcessKeyPress=function(qzim){if(!qqPa||!qqPa.KeyboardEnabled){return true;};if(document.activeElement&&(document.activeElement.nodeName=='INPUT'||document.activeElement.nodeName=='SELECT'||document.activeElement.nodeName=='TEXTAREA')){return true;};var qztk;if(document.all){qzim=window.event;qztk=qzim.keyCode;}else{qztk=qzim.which;};var qzAbi=String.fromCharCode(qztk);if(qztk>111&&qztk<123)qzAbi="F"+(qztk-111);else if(qztk==13)qzAbi="Enter";else if(qztk==29)qzAbi="PgUp";else if(qztk==30)qzAbi="PgDn";var qzlk="";if(qzim.shiftKey)qzlk+="Shift+";if(qzim.ctrlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qzlk+=qzAbi;if(!qqPd(qqPa,qzlk)){return true;};if(document.all){qzim.cancelBubble=true;qzim.returnValue=false;}else{qzim.preventDefault();qzim.stopPropagation();};return false;};window.ComponentArt_RegisterKeyHandler=function(qg16,qzyb,handler){qqPc[qqPc.length]=new qqPf(qg16,qzyb,handler);};window.ComponentArt_Keyboard_Loaded=true;};
