2 <!-- dvr controls start -->
10 var selChannel = body.document.channelselector.channel.selectedIndex;
14 currentChannel = selChannel;
15 channel = body.document.channelselector.channel.options[selChannel].value;
16 document.location = "/cgi-bin/videocontrol?command=" + key + "&sref=" + channel + "&curChannel=" + currentChannel;
20 document.location = "/cgi-bin/videocontrol?command=" + key;
23 document.location = "/cgi-bin/videocontrol?command=" + key;
25 function setVideo(videoPosition)
27 updateVideoBar2(videoPosition);
28 document.location = "/setVideo?position=" + videoPosition;
32 <table id="dvrctrl" border="0" width="100%" height="30px" cellspacing="0" cellpadding="0" background="mepg_grad.png">
37 <area shape="circle" coords="11, 11, 11" href="javascript:video('rewind')" alt="Rewind">
38 <area shape="circle" coords="42, 11, 11" href="javascript:video('play')" alt="Play">
39 <area shape="circle" coords="74, 11, 11" href="javascript:video('pause')" alt="Pause">
40 <area shape="circle" coords="104, 11, 11" href="javascript:video('forward')" alt="Forward">
41 <area shape="circle" coords="134, 11, 11" href="javascript:video('stop')" alt="Stop">
42 <area shape="circle" coords="164, 11, 11" href="javascript:video('record')" alt="Record">
44 <table id="videocontrol" border="0" cellspacing="0" cellpadding="0">
46 <td id="videoTime" align="center" valign="center" width="120"> </td>
47 <td><img src="dvr.gif" height="25" border="0" usemap="#ctrl"></td>
48 <td width="10"> </td>
50 <table border="0" cellspacing="0" cellpadding="0">
52 <td><a href="javascript:setVideo(1)"><img id="vid1" border="0" src="led_off.gif"></a></td>
53 <td><a href="javascript:setVideo(2)"><img id="vid2" border="0" src="led_off.gif"></a></td>
54 <td><a href="javascript:setVideo(3)"><img id="vid3" border="0" src="led_off.gif"></a></td>
55 <td><a href="javascript:setVideo(4)"><img id="vid4" border="0" src="led_off.gif"></a></td>
56 <td><a href="javascript:setVideo(5)"><img id="vid5" border="0" src="led_off.gif"></a></td>
57 <td><a href="javascript:setVideo(6)"><img id="vid6" border="0" src="led_off.gif"></a></td>
58 <td><a href="javascript:setVideo(7)"><img id="vid7" border="0" src="led_off.gif"></a></td>
59 <td><a href="javascript:setVideo(8)"><img id="vid8" border="0" src="led_off.gif"></a></td>
60 <td><a href="javascript:setVideo(9)"><img id="vid9" border="0" src="led_off.gif"></a></td>
61 <td><a href="javascript:setVideo(10)"><img id="vid10" border="0" src="led_off.gif"></a></td>
62 <td><a href="javascript:setVideo(11)"><img id="vid11" border="0" src="led_off.gif"></a></td>
63 <td><a href="javascript:setVideo(12)"><img id="vid12" border="0" src="led_off.gif"></a></td>
64 <td><a href="javascript:setVideo(13)"><img id="vid13" border="0" src="led_off.gif"></a></td>
65 <td><a href="javascript:setVideo(14)"><img id="vid14" border="0" src="led_off.gif"></a></td>
66 <td><a href="javascript:setVideo(15)"><img id="vid15" border="0" src="led_off.gif"></a></td>
67 <td><a href="javascript:setVideo(16)"><img id="vid16" border="0" src="led_off.gif"></a></td>
68 <td><a href="javascript:setVideo(17)"><img id="vid17" border="0" src="led_off.gif"></a></td>
69 <td><a href="javascript:setVideo(18)"><img id="vid18" border="0" src="led_off.gif"></a></td>
70 <td><a href="javascript:setVideo(19)"><img id="vid19" border="0" src="led_off.gif"></a></td>
71 <td><a href="javascript:setVideo(20)"><img id="vid20" border="0" src="led_off.gif"></a></td>
73 </table> <!-- video bar -->
75 <td width="10"> </td>
76 <td id="diskgb"> </td>
78 <td id="diskh"> </td>
86 <!-- dvr controls end -->