<HTML>

<HEAD><TITLE>JScript sample</TITLE></HEAD>

<!-- 
	Microsoft JScript sample 
	JScript:  The easiest, most powerful way to program custom web solutions. 
-->

<BODY BGCOLOR="#FFFFFF" TOPMARGIN=8>

<!-- Table A - Page heading including masthead -->
<TABLE CELLPADDING=3 BORDER=0 CELLSPACING=0>
<TR VALIGN=TOP ><TD WIDTH=400>
<A NAME="TOP" HREF="/JScript/us/JSsamp/JSsamp.htm"><IMG SRC="/JScript/us/JSart/JSsml.JPG" WIDTH=350 HEIGHT=50 ALT="Microsoft JScript" BORDER=0></A><P>
</TD></TR></TABLE>

<!-- Horizontal line -->
<IMG SRC="/JScript/us/JSart/600wline.gif" HEIGHT=1 WIDTH=600>
<BR>
<FONT SIZE=5>

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

    // These next lines of code execute when the script tag is parsed.

    var d = new Date()
    var h = d.getHours()

    if (h < 12)
        document.write("Good morning!")
    else
        if (h < 17)
            document.write("Good afternoon!")
        else
            document.write("Good evening!")
		
    document.write("<br><br>Welcome to the world of JScript.  ")
    document.write("<br>Just in case you were wondering, it's " + d + ".")

//-->
</SCRIPT>
</FONT>
<P>
<FONT SIZE=2>
A brief <A HREF="/JScript/us/JSsamp/welcome/explain.htm">explanation</A> is available.  
If this sample doesn't work, download <A HREF="/ie/msie.htm">Internet Explorer 3.0</A> now.
</FONT>

<!-- Horizontal line -->
<IMG SRC="/JScript/us/JSart/600wline.gif" HEIGHT=1 WIDTH=600>

<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 width=600>
<TR VALIGN=TOP>
	<TD ALIGN=LEFT><FONT SIZE =2>
	<A HREF="/misc/cpyright.htm" TARGET="_top">&copy; 1996 Microsoft Corporation</a></FONT></TD>
	<TD ALIGN=RIGHT>
	<FONT FACE="Arial, Helvetica" SIZE="1">
	<B>Best experienced with<BR> 
	<A HREF="/ie/ie.htm" TARGET="_top"><img src="/library/images/gifs/general/ie_animated.gif" width="88" height="31" border="0" alt="Microsoft Internet Explorer" vspace="5"></a>
	<BR>Click here to start.</B>
	</FONT></TD>
</TR>
</TABLE>

</BODY>
</HTML>















