Can someone tell me what am i doing wrong
<p>I am trying to get this to be if your name is Bob then you are register if not Sorry you are not allowed access but i can not figure out what I am doing wrong can someone help me thanks.</p>

<pre><code>          &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
          &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
         &lt;head&gt;
        &lt;title&gt;&lt;/title&gt;
        &lt;meta http-equiv="content-type" content="text/html;charset=iso-8859-1" /&gt;
           &lt;/head&gt;
           &lt;script type="text/javascript"&gt;
           function verify() {
            var name="Please enter your name: ";
          if (firstName=="Bob") {
          alert("Now registered");
          }
        else {
         window.alert("Sorry you aren't allowed acess.")
        return false;
           }           
       &lt;/script&gt;
       &lt;form name="myForm" action="#" method="post" enctype="text/plain"&gt;
        &lt;input type="text" name="BOB"&gt;First Name&lt;br&gt;
        &lt;input type="button" value="Submit" onclick="verify();"&gt;
        &lt;/form&gt;
       &lt;/body&gt;
        &lt;/html&gt;
</code></pre>
