name.htm

<html>
<head>
    <title>Name</title>
<link rel="stylesheet" type="text/css" href="breaking.css" />
<script src="include.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">

function setName()
{
     var strName = document.getElementById("txtName").value;

     var urlPost = "putname.php?name=" + strName;

     doHttpRequest(httpXMLUser, handlePostHttpResponse, urlPost, "POST");
}

   function handlePostHttpResponse() 
   {
       top.location = "conflict.htm";
   }

function handleReturn()
{
    setName();
}

</script>
</head>
<body>
<h1>Name</h1>
<p class="intro">Finally, what's your character's name?</p>
    <p><input type="text" id="txtName" value="" onKeyPress="handleKeyPress(event, handleReturn)"/></p>
    <p><input type="button" value="Continue" onclick="setName()" /></p>
</body>
</html>