<?xml version="1.0" encoding="ISO-8859-1"?> 
<xsl:stylesheet 
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  version="1.0"
  xmlns:java="http://xml.apache.org/xslt/java"
  exclude-result-prefixes="java"
>
<!--  
  xmlns:java="http://xml.apache.org/xslt/java"
  exclude-result-prefixes="java"
  <xsl:include href="xsl/lib/libsecurity.xsl"/>
-->

  <xsl:param name="render"/>
  <xsl:param name="user"/>

  <xsl:template name="remote.dump">
    <link type="text/css" href="/css/remote.css" rel="stylesheet"/>
    <script src="/js/org.benow.util.Request.js">;</script>
    <script src="/svc/ca.reachable.tv.web.remote.RemoteControlService.js">;</script>
    <script src="/js/remote.js">;</script>

    <div id="remote">
    <table border="0" cellpadding="2" cellspacing="2" align="center" width="268">
      <tr>
        <td class="button square" onclick="sendOnce('tv','power')"><img src="/images/ipod/power.png" border="0"/>Television</td>
        <td class="button square" onclick="queueSend('dsr405','power')"><img src="/images/ipod/power.png" border="0"/>Satellite</td>
        <td class="button square" onclick="queueSend('tv','source')">Source</td>
      </tr>
    </table><br/>
    <table border="0" cellpadding="2" cellspacing="2" align="center" id="keypad">
      <tr>
        <td class="button square" onclick="queueSend('1',this)">1</td>
        <td class="button square" onclick="queueSend('2',this)">2</td>
        <td class="button square" onclick="queueSend('3',this)">3</td>
        <td rowspan="4" style="width: 60px">
          <table border="0" cellpadding="0" cellspacing="2" style="height: 100%">
            <tr>
            <td class="button" style="height: 20px; width: 65px" onclick="volDown(this)">+10</td>
            </tr>
            <tr>
            <td class="button" style="height: 60px; width: 65px" onclick="volDown(this)"><img src="/images/ipod/up.png"/></td>
            </tr>
            <tr>
            <td style="text-align: center; vertical-align: center; font-weight: bold"><font size="-1">Volume</font></td>
            </tr>
            <tr>
            <td class="button" style="height: 60px; width: 65px" onclick="volDown(this)"><img src="/images/ipod/down.png"/></td>
            </tr>
            <tr>
            <td class="button" style="height: 20px; width: 65px" onclick="volDown(this)">-10</td>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td class="button square" onclick="queueSend('4',this)">4</td>
        <td class="button square" onclick="queueSend('5',this)">5</td>
        <td class="button square" onclick="queueSend('6',this)">6</td>
      </tr>
      <tr>
        <td class="button square" onclick="queueSend('7',this)">7</td>
        <td class="button square" onclick="queueSend('8',this)">8</td>
        <td class="button square" onclick="queueSend('9',this)">9</td>
      </tr>
      <tr>
        <td class="button square" onclick="recall(this)">Recall</td>
        <td class="button square" onclick="queueSend('0',this)">0</td>
        <td class="button square" onclick="mute(this)">Mute</td>
      </tr>
    </table>

    <div id="remote-curr" style="padding-bottom: 10px; height: 20px; font-size: 16pt; text-align: center; font-weight: bold">;</div>

    </div>
    <script>
    document.getElementById('remote').style.display='none';
    document.getElementById('remote-curr').innerHTML='';
    </script>
  </xsl:template>

</xsl:stylesheet>



