<HTML>
<HEAD>
<SCRIPT language="JavaScript">
<!--
var the_name=window.prompt("What is your name?","");
first_char=the_name.charAt(0);
//-->
</SCRIPT>
</HEAD>
<BODY>
<SCRIPT language="JavaScript">
<!--
if (first_char=="S"){
document.write("Your name is "+the_name+"!");
}else{
document.write("Your name needs to start with an uppercase S to be displayed!");
}
//-->
</SCRIPT>
</BODY>
</HTML>