<SCRIPT LANGUAGE="JAVASCRIPT">
<!--

function Oblicz(Objec) {
Objec.domesum.value = eval(Objec.expr.value)
}

//-->

</SCRIPT>
</HEAD>

<BODY>

<form name="Calculator">
<pre>
Sum:

<input type="text" name="expr" size="20">
End Product:
<input type="text" name="domesum" size="20">
<input type="button" name="B1"
value=" Calculate "
onClick="Oblicz(this.form)"
</pre>
</form>