/* http://alivenalone.xtgem.com */ function pad(anystr) { document.calc.shownum.value += anystr } function calcit() { document.calc.shownum.value = eval(document.calc.shownum.value) } function clearit() { document.calc.shownum.value = "" } function backspace() { curvalue = document.calc.shownum.value curlength = curvalue.length curvalue = curvalue.substring(0,curlength-1) document.calc.shownum.value = curvalue } /*Design by dj http://... Icq: _ _ _-_ _ _*/