<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN"
			"http://www.phone.com/dtd/wml11.dtd" >
<!--  Main menu for WML examples  -->

<wml>
    <card  title="WML Examples">
	<p mode="nowrap">
 	    UP.SDK v4.0 
	    <select>
		<option  onpick="#apps">Example Apps</option>
		<option  onpick="#tech">WML Techniques</option>
		<option  onpick="#wscr">WMLScript</option>
		<option  onpick="#asps">Example ASPs</option>
	    </select>
	</p>
    </card>

    <card  id="apps">
	<p>
 	    Example Apps 
	    <select>
		<option>
		  <!--  Listmgr assumes its called as an activity, -->
		  <!--  and executes an exit task upon completion. -->
		  <!--  Handle this using the catch element.       -->
		  <onevent type="onpick">
		    <spawn href="../scripts/listmgr.cgi">
		      <catch />
		    </spawn>
		  </onevent>
		  List Mgr
		</option>
		<option  onpick="../scripts/acme_emp.cgi">Acme</option>
		<option  onpick="bookstore/main.wml">BookStore</option>
		<option  onpick="../scripts/whoami.cgi">Who Am I?</option>
		<option  onpick="../scripts/clock.cgi">Clock</option>
		<option  onpick="../scripts/cacheop.cgi">Cache Mgmt</option>
		<option  onpick="../scripts/cookie.cgi">Cookies</option>
		<option  onpick="news.wml">News</option>
	    </select>
	</p>
    </card>

    <card  id="tech">
	<p>
 	    WML Techniques 
	    <select>
		<option  onpick="links.wml">Links</option>
		<option  onpick="images.wml">Images</option>
		<option  onpick="controls.wml">User Input</option>
		<option  onpick="styles.wml">Card Styles</option>
		<option  onpick="format.wml">Formatting</option>
		<option  onpick="template.wml">Templates</option>
		<option  onpick="timer.wml">Timer</option>
		<option  onpick="cache.wml">Deck Caching</option>
		<option  onpick="dial.wml">Dial Number</option>
	    </select>
	</p>
    </card>

    <card  id="wscr">
	<p>
 	    WMLScript Examples
	    <select>
		<option  onpick="../wmls/tomo/hungryinit.wml">Phone Pet</option>
		<option  onpick="../wmls/bship/bships.wml">Battleships!</option>
		<option  onpick="../wmls/currency/currency.wml">Currency</option>
	    </select>
	</p>
    </card>


    <card  id="asps">
	<p>
 	    Example ASPs 
	    <select>
		<option  onpick="../ASP/addCookie.asp">Cookies</option>
		<option  onpick="../ASP/addDeckToDigest.asp">Decks</option>
		<option  onpick="../ASP/addImageFromFile.asp">Image</option>
		<option  onpick="../ASP/whoami.asp">Who Am I</option>
		<option  onpick="../ASP/cacheop.asp">Cache Mgmt</option>
		<option  onpick="../ASP/sendAlert.asp">Alert</option>
		<option  onpick="../ASP/postFaxInfo.asp">Fax</option>
	    </select>
	</p>
    </card>
</wml>
