function initMozTextOverflow(c){function Y(){doMozTextOverflow(c);}setTimeout(Y,0);}function doMozTextOverflow(N){function c(j){var R=j.currentTarget;R.className="_textOverflow";}function Y(j){var R=j.currentTarget;R.className="_textUnderflow";}N.className="_textUnderflow";N.addEventListener("overflow",c,false);N.addEventListener("underflow",Y,false);N.ins=document.createElement("ins");N.ins.innerHTML="&hellip;";N.appendChild(N.ins);N.onmousedown=function(R){this.selectStartX=R.clientX-document.getBoxObjectFor(this).x;};N.onmouseup=function(R){this.selectStartX=null;};N.onmousemove=function(b){if(this.selectStartX!=null){var u=b.clientX-this.selectStartX;var R=this.offsetWidth-this.selectStartX;if((R-u)<(this.ins.offsetWidth+3)){if(this.className!="_textUnderflow"){this.className="_textUnderflow";this.scrollLeft=0;var j=document.createElement("input");j.setAttribute("type","text");j.value=1111;this.appendChild(j);j.select();this.removeChild(j);this.focus();}}else{if(this.className!="_textOverflow"){this.className="_textOverflow";}}return false;}};}