<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML+Voice 1.0/EN" "xhtml+voice.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:vxml="http://www.w3.org/2001/vxml"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xv="http://www.voicexml.org/2002/xhtml+voice">

<property name="universals" value="all"/>
<head>
  <title> Notebook Ordering </title>
 
<xv:sync xv:input="login" xv:field="#login"/>
<xv:sync xv:input="pass" xv:field="#password"/>

<vxml:form id="loginpage"> 
	<vxml:block> Welcome to Ajax Online </vxml:block> 

 	<vxml:field name="login" xv:id="login">
          <vxml:prompt> Please enter your username </vxml:prompt>
          <vxml:grammar><![CDATA[
	        #JSGF V1.0;
      	  grammar usernames;
	        public <usernames> = ashwini | david | john | larson | neeraj; ]]>
	    </vxml:grammar> 

	    <vxml:catch> Please enter a valid username </vxml:catch>
      
      </vxml:field>

	<vxml:field name="password" xv:id="password">
          <vxml:prompt> Please enter your password </vxml:prompt>
          <vxml:grammar><![CDATA[
	        #JSGF V1.0;
      	  grammar usernames;
	        public <usernames> = action | passwd | psu111 | capital; ]]>
	    </vxml:grammar> 

	    <vxml:catch> Please enter a valid password </vxml:catch>

      </vxml:field>

</vxml:form>                                                     

</head>
 
<body bgcolor="#AABBCC" ev:event="load" ev:handler="#loginpage"> 
<p align="center">
<font size= "10" face="PosterBodoni BT" color="#000099"> Ajax Online </font>
</p>
<hr width="100%" size="5" color="#0000ff"/> 
<b> <marquee width="100%" height="25" loop="infinite">
<font size="5" face="algerian" color="blue"> Great Deals on Notebooks!!! </font>
<font size="5" face="algerian" color="#ff0000"> Offer ends 12/30/2005!!! </font>
</marquee> </b> <br/>
  
<form action="cgi/result.cgi">

  <b> Username: </b> <input type="text" name="login" size="20"/> <br/> <br/>
  <b> Password: </b> <input type="password" name="pass" size="20" maxlength="8"/> <br/> <br/>

<a href="main.xml"> <input type="button" name="auth1" value="Submit"/> </a>

</form>

</body>
</html>

