var remote=null,bide=first=autof=bug=mods=0;
function yfi_kd(e){var ev=window.event?window.event:e,code=ev.keyCode;var el=ev.srcElement?ev.srcElement:ev.target,tag=el.tagName;var box,qs;if(yfid.quote){qs=yfid.quote.s;if(qs){box=qs;}else{return true;}}var sing=(el==box);if(code==8||(code>31&&code<41)){if(sing){if(box.value){bide|=2;}else if(!bide){box.blur();ev.returnValue=true;}}}else if(code<32||ev.altKey){} else {if(sing){bide|=4;}else{if(!((tag=='INPUT'&&el.type=='text')||(tag=='SELECT')||(ev.ctrlKey&&code!=86))){autof|=2;box.focus();box.select();}}}if(!first&&(code<16||code>20)){first=code;mods=(ev.shiftKey?'1':'0')+(ev.ctrlKey?'1':'0')+(ev.altKey?'1':'0');bug=(bide)+'-'+(autof);}}