function isnumeric(sText) { ValidChars="0123456789" IsNumber=true for (i=0; i
" add_html("
SimpleDraw
Choose the size of the drawing box:
Width:    Height:    ") } function loadbox() { document.getElementById("btn").disabled='disabled' w=document.getElementById("w").value h=document.getElementById("h").value add_html("
Box size: "+w+"x"+h+"

") document.getElementById("w").value=w document.getElementById("h").value=h add_html("
Loading...
") pxs="" for (a=0; a
" } pxs=pxs+"
" } document.getElementById("drawingbox").innerHTML=pxs }