<!DOCTYPE html PUBLIC "-//VoiceXML Forum//DTD XHTML+Voice 1.2//EN"
"http://www.voicexml.org/specs/multimodal/x+v/12/dtd/xhtml+voice12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ev="http://www.w3.org/2001/xml-events">

<head>
  <title>Car Configurator</title>
  <form xmlns="http://www.w3.org/2001/vxml" id="greeting">
    <field name="cartype">
        <prompt>
        Welcome to the Car Configurator. 
        Speak the kind of car you want from the following choices. 
        Sports Car.
        Mini Van,
        or
        Truck.
        </prompt>
        <option value="truck">Truck</option>
        <option value="minivan">Minivan</option>
        <option value="sportscar">Sports Car</option>
        <nomatch>Try again.</nomatch>
    </field>
    <filled>
        <assign name="window.location" expr="cartype+'.xml'"/>
    </filled>
  </form>
</head>

<body ev:event="load" ev:handler="#greeting">
  <h1>Welcome to the Car Configurator</h1>
  <table border ="1">
<tr>
<td><center><b>Sports Car</b></center></td>
<td><center><b>Mini Van</b></center></td>
<td><center><b>Truck</b></center></td>
</tr>  
<tr>
<td><a href="sportscar.xml"><img src="sports_thumb.jpg"></img></a></td>
<td><a href="minivan.xml"><img src="minivan_thumb.jpg"></img></a></td>
<td><a href="truck.xml"><img src="truck_thumb.jpg"></img></a></td>
</tr>  
  
  </table>
  
</body>
</html>