<!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"
      xmlns:xv="http://www.voicexml.org/2002/xhtml+voice"
      xmlns:vxml="http://www.w3.org/2001/vxml">

  <head>
    <title>Say Phrases in Thai</title>
    <meta http-equiv="content-type" content="text/xml; charset=utf-8" />

    <link href="style.css" rel="stylesheet" type="text/css"></link>

    <script type="text/javascript" src="gflib.js"></script>
    <script type="text/javascript" src="Travel.js"></script>
    <script type="text/javascript" src="order.js"></script>
    
    <vxml:form id="talker">
      <vxml:block>
	<vxml:value expr="talkText"/>
      </vxml:block>
    </vxml:form>

    <vxml:form id="getorder">
      <vxml:var name="dummy" />
      <vxml:subdialog name="sub" src="TravelEng.vxml#Order_cat">
	<vxml:param name="old" expr="currentOrder" />
	<vxml:filled>
	  <vxml:assign name="dummy" expr="done(sub.term)"/>
	</vxml:filled>
      </vxml:subdialog>
    </vxml:form>

  </head>

  <body>

    <div><font size="+5">ภาษาไทยแปลว่าอะไร</font></div>

    <div><p>This demo requires an XHTML+Voice browser. 
	<a href="index.html">More information about this demo</a>.</p></div>

    <p><button onclick="newOrder()">Push here to say a phrase</button></p>

    <div class="box">

      <p id="ordertext"></p>
<font size="+3">
      <p id="ordertextf"></p>
      <p id="ordertextt"></p>
</font>
      <p><object id="order" data="images/order.svg" width="700" height="200"></object></p>

    </div>


    <div class="box">
      <form>
	  <textarea id="in_abs" rows="4" cols="52"></textarea>
      </form>
    </div>
  
    <!-- SVG "sprites" -->

    <object id="pizza" data="images/pizza.svg" width="0" height="0"></object>
    <object id="ham" data="images/ham.svg" width="0" height="0"></object>
    <object id="cheese" data="images/cheese.svg" width="0" height="0"></object>
    <object id="pepperoni" data="images/pepperoni.svg" width="0" height="0"></object>
    <object id="anchovies" data="images/anchovies.svg" width="0" height="0"></object>
    <object id="beer" data="images/beer.svg" width="0" height="0"></object>
    <object id="coke" data="images/coke.svg" width="0" height="0"></object>

  </body>
</html>
