## Unanswered: Javascript for an alphanumeric calculator

I want to make an alphanumeric calculator. If you don't know the "Gemetria", the ancient way of calculating was with the alphabet, where a=1,b=2. The tenth letter and on would be 2 digits (10,20...). 19th letter and on would be 3 digits (100, 200...). So I want to paste words and submit and the value of the word would show. The values of the Hebrew Alphabet are the following:

every other key must be 0

)=1
B=2
g=3
d=4
h=5
w=6
x=8
+=9
y=10
k and j=20
l=30
m and e=40
n and a=50
s=60
(=70
p and =80
c and u=90
q=100
r=200
#=300
t=400
I put some things together but couldn't figure out entirely. The Js section is from a calculator with buttons, and has #1-9. I was wondering if that can be used or to be changed entirely.

This is what I have so far:
Code:
```<HTML>
<TITLE><%= pageTitle %></TITLE>
<script type="text/javascript">
<!--
Dim operator, buffer, operation

function Process(){
var frm = document.getElementById("form1");
var x = Number(frm.t1.value);
var  = (x +);
alert("( " + x + " ) = ")
}

Sub one_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="1"
if operation=0 Then display.value=display.value+"1"
operation=0
End Sub
Sub two_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="2"
if operation=0 Then display.value=display.value+"2"
operation=0
End Sub
Sub three_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="3"
if operation=0 Then display.value=display.value+"3"
operation=0
End Sub
Sub four_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="4"
if operation=0 Then display.value=display.value+"4"
operation=0
End Sub
Sub five_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="5"
if operation=0 Then display.value=display.value+"5"
operation=0
End Sub
Sub six_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="6"
if operation=0 Then display.value=display.value+"6"
operation=0
End Sub
Sub seven_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="7"
if operation=0 Then display.value=display.value+"7"
operation=0
End Sub
Sub eight_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="8"
if operation=0 Then display.value=display.value+"8"
operation=0
End Sub
Sub nine_onclick
if display.value="0" Then display.value=""
if operation=1 Then display.value="9"
if operation=0 Then display.value=display.value+"9"
operation=0
End Sub

Sub plus_onclick
determine()
operator="plus"
operation=1
End Sub

</script>