//JavaScript/NumberFunctions.inc T=1 function VNKS(e){var kc=e.which;return (((kc<48||kc>57)&&kc>=32&&kc!=45&&kc!=46)?false:true);}function VNF(f,i,E){var v=parseFloat(E.value);var li=-1;var F=NF[f];var O=NF[f].CO;if(isNaN(v)){var V=E.value.toUpperCase();for(var o=0;oF.mx))){alert("The value entered must be between "+Math.floor(F.mn/F.x)+" and "+Math.floor(F.mx/F.x)+".");E.focus();E.select();}else{document.forms["MainForm"].elements["FieldID:"+f+(i!=-1?("."+i):"")+"=LONG"].value=v;UNF(f,i);}}function INF(f,i,d){var I=document.forms["MainForm"].elements["Input:"+f+(i!=-1?("."+i):"")];if(I.disabled==false){var E=document.forms["MainForm"].elements["FieldID:"+f+(i!=-1?("."+i):"")+"=LONG"];var F=NF[f];var v=parseInt(E.value);if(isNaN(v)){v=0;}v+=(d*F.i*F.x);if(F.mn==F.mx||(v>=F.mn&&v<=F.mx)){E.value=v;UNF(f,i);}}return false;}function CNL(f,i,d){var I=document.forms["MainForm"].elements["Input:"+f+(i!=-1?("."+i):"")];if(I.disabled==false){E=document.forms["MainForm"].elements["FieldID:"+f+(i!=-1?("."+i):"")+"=LONG"];var v=parseInt(E.value);var F=NF[f];var O=NF[f].CO;if(isNaN(v)){v=0;}for(var o=0;F.li==-2&&o=O.length){F.li=O.length-1;}if(F.li>=0){E.value=O[F.li][1];UNF(f,i);}else{F.li=-1;}}return false;}function UNF(f,i){var E=document.forms["MainForm"].elements;var FI=E["FieldID:"+f+(i!=-1?("."+i):"")+"=LONG"];var F=NF[f];var O=NF[f].CO;var d=0;var v=parseInt(FI.value);if(isNaN(v)){v=0;}if(F.CUF){v=F.CUF(f,i,v);}for(var o=0;o\"Increase\"\"Decrease\"<\/map>";if(NFO.CO.length){NFH+="\"Next\"Previous<\/map>";}NFH+="
<\/td>\"\"<\/td>";if(NFO.CO.length){NFH+="\"\"<\/td>";}NFH+="<\/tr><\/table>";document.write(NFH);}function DNF(f,i,v,w,nmn,nmx,ni,nx,fs,os,cuf){RNF(f,i,nmn,nmx,ni,nx,fs,os,cuf);DRNF(f,i,v,w);} //*NumberFunctions T=6