<wml>
    <head>
      <meta http-equiv="Cache-Control" content="max-age=0" forua="true" />
      <meta http-equiv="Cache-Control" content="must-revalidate" forua="true"/>
    </head>

    <card id="user_call" title="User Call">
      <onevent type="onenterforward">
        <refresh>
            <setvar name="userid" value="<%=userid%>"/>
            <setvar name="u_firstname" value="<%=u_firstname%>"/>
            <setvar name="u_lastname" value="<%=u_lastname%>"/>
        </refresh>
      </onevent>
      <do type="options" label="Main">
        <go href="?display=user_login&amp;u_userid=<%=userid%>&amp;u_firstname=<%=u_firstname%>&amp;u_lastname=<%=u_lastname%>&amp;u_pcphone=<%=u_pcphone%>&amp;u_pcpin=<%=u_pcpin%>"/>
      </do>
      <p mode="nowrap">
        <i><b>GTalker <%=u_firstname%> <%=u_lastname%></b></i>
        <select name="fnc" ivalue="1">
          <option onpick="#user_calld">Local or Direct</option>
          <option onpick="#user_callp">Use Acct Phone Card</option>
        </select>
      </p>
    </card>

    <card id="user_calld" title="Call Direct">
      <do type="accept" label="Call Direct">
        <go href="wtai://wp/mc;$(f_phone)"/>
      </do>
      <p>
        <i><b>GT $(u_firstname) $(u_lastname)</b></i>
        <br/>Direct Phone Num:
        <input title="PhoneNum" name="f_phone" format="NNNNNNN*" />
      </p>
    </card>

    <card id="user_callp" title="Phone Card Call">
      <do type="accept" label="Call">
        <go href="wtai://wp/mc;<%=u_pcphone%>#<%=u_pcpin%>#$(f_phone)"/>
      </do>
      <p>
        <i><b>GT $(u_firstname) $(u_lastname)</b></i>
        <br/>Target Phone Num:
        <input title="PhoneNum" name="f_phone" format="NNNNNNN*" />
      </p>
    </card>

</wml>
