<HTML>
<HEAD>
<!--
JavaScript Welcome Message
Terrence Ma
-->

<TITLE>JavaScript Welcome Message</TITLE>

</HEAD>
<BODY>

<H2>JavaScript Welcome Message<BR></H2>
<HR>

<SCRIPT LANGUAGE="JAVASCRIPT">
<!-- Hide script from old browsers
var monName = new Array("January","February","March","April","May","June",
"July","August","September","October","November","December")
now = new Date
strName = prompt("Please enter your name :", "Anonymous")
document.write("<FONT COLOR='#0000FF'><H2>Hello " + strName + ", ")
document.write("welcome to this web page !<BR><BR>")
document.write("Today is " + monName[now.getMonth()] + " " + now.getDate() + ", ")
document.write(now.getYear() + " ")
document.write("and time is now " + now.getHours() + ":" + now.getMinutes() + " .<BR></H2></FONT>")
// End hiding script from old browsers -->
</SCRIPT>

<NOSCRIPT>
Your browser does not support JavaScript, or JavaScript is not enabled. Sorry !<BR>
</NOSCRIPT>

<HR>
<A HREF="http://www.terrence.com/jscript/jswel.txt.html">Program Source</A><BR>

</BODY>
</HTML>