JavaScript Page

Try my Black Jack game.
The rules are those of a simple Black Jack, with one 52 card deck reshuffled as needed.
The dealer stands on 17, and a normal wager is 20 (Insurance is 10).
The game supports Bonus win, Insurance, Split and Double Down.
Black Jack win: 50
Bonus win: 50 (a 6, a 7, and an 8)
Double Down win: 80
Insurance win: 30
Regular win: 40
Push: 20
This Black Jack game is the Javascript version of a program I wrote a long time ago in BASIC and rewrote later on in C.
Here are the old DOS versions:
C source code.
EXEcutable version for DOS (best seen in a DOS full screen).
BASIC source code.
Check out my JavaScript Clock.
Try My Web scripting IDE (Integrated Development Environment).
It's an enhancement of Netscape's simple "javascript typein" feature, which can be accessed on Navigator by typing "javascript:" in the address box.
The version I wrote works on Navigator and Explorer 3.x and 4.x (but the VBScript option is only supported by Explorer).
In the lower frame, you can type (or paste) in the textbox area the code you wish to run, select the language (JavaScript, VBScript, or HTML) and click on "Execute".
The standard output goes to the upper frame.
The "<PRE>" checkbox selects preformatted output, which guarantees that new lines and white spaces won't be ignored by the HTML parser.
Here is some sample code you can copy and paste to try it out:
JavaScript (the default language):
if (confirm("Shut down your computer?"))
alert("As if...");
else
alert("What are you afraid of?");
document.bgColor = "blue";
document.fgColor = "yellow";
document.write("<STRONG><H1 ALIGN=CENTER>JavaScript rules!<\/H1><\/STRONG>");
VBScript (don't forget to select the language):
num = InputBox("Type in your age:")
age = "You claim to be " + num + " years old..."
msgbox age
HTML (don't forget to select the language):
<FORM>
Select a music type:
<SELECT NAME="musicType">
<OPTION SELECTED> R&B
<OPTION> Jazz
<OPTION> Blues
<OPTION> New Age
</SELECT>
</FORM>