function moveTextBoxOnSpacer(d,a,e,c){var b=false;var g=document.getElementById(d);var f=document.getElementById(a);if(g&&f){f.style.left=f.offsetLeft+e+"px";f.style.top=f.offsetTop+c+"px";b=true}return b}function moveTextBoxes(){var c=0;do{c++;var b="spacer"+c;var a="box"+c}while(moveTextBoxOnSpacer(b,a,25,0))}function formatNumber(c,e,a){var f=(""+Math.abs(c)).split("");var d=f.length;while(d>3){d-=3;f.splice(d,0,e)}var b=f.join("")+a;return b}function showFormated(inField){if(inField.value!=""){if(isNaN(inField.value.replace(".","").substring(inField.value.length,inField.value.length-1))){inField.value=""}else{var thousandsDelim="[.]";var evalString="var nrValue = inField.value.replace(/"+thousandsDelim+"/g, '');";eval("var nrValue = inField.value.replace(/"+thousandsDelim+"/g, '');");inField.value=formatNumber(nrValue,".","")}}}function RemoveTags(a){if(a.value!=""){a.value=a.value.replace("<","");a.value=a.value.replace(">","")}};