1 function setVol(volume)
3 document.location = "/setVolume?volume=" + volume;
4 if (window.screen.width < 800)
5 setTimeout("document.location.reload()", 1000);
8 headerUpdateVolumeBar(volume, 0);
9 data.location.reload();
13 function toggleMute(xy)
15 document.location = "/setVolume?mute="+xy;
16 if (window.screen.width < 800)
17 setTimeout("document.location.reload()", 1000);
20 headerUpdateVolumeBar(data.volume, 0);
21 data.location.reload();
25 function switchChannel(xy, bouquet, channel)
27 if (window.screen.width < 800)
29 NewWindow('/cgi-bin/zapTo?path='+xy+'&curBouquet='+bouquet+'&curChannel='+channel, 'zap', '1', '1', 'no');
34 document.location = "/cgi-bin/zapTo?path="+xy+"&curBouquet="+bouquet+"&curChannel="+channel;
36 document.location = "?path="+xy+"&mode=zap&zapmode=4&zapsubmode=1";
38 setTimeout("parent.data.location.reload()", 500);
44 parent.body.document.location = "/log/debug.html";
47 function remoteControl(box)
50 NewWindow("/showRemoteControl", "RC", "165", "500", "no");
52 NewWindow("/showRemoteControl", "RC", "1024", "640", "no");
55 function satFinder(transponder)
57 NewWindow("/satFinder?" + transponder, "satfind", "170", "150", "no");
62 NewWindow('/getcurrentepg?type=extended&ref=' + ref, 'EPG', '780', screen.height, 'yes');
65 function openMultiEPG(ref)
67 NewWindow('/getMultiEPG?ref=' + ref, 'MultiEPG', screen.width, screen.height, 'yes');
70 function admin(command)
72 NewWindow('/cgi-bin/admin?command=' + command + '&requester=webif', 'admin', '200', '100', 'no', '3000');
77 NewWindow("/xml/streaminfo", "si", "780", "700", "yes");
80 function openChannelInfo()
82 NewWindow("/cgi-bin/channelinfo", "ci", "780", "600", "yes");
85 function DVRrecord(command)
87 document.location = "/cgi-bin/videocontrol?command=" + command;
88 setTimeout("document.location.reload()", 500);
91 function sendMessage2TV()
93 NewWindow("/tvMessageWindow", "msg", "780", "175", "no");
96 function selectAudio()
98 NewWindow("/cgi-bin/selectAudio?requester=webif", "audio", "300", "150", "no");
101 function selectSubChannel()
103 NewWindow("/cgi-bin/selectSubChannel", "subchannel", "300", "130", "no");
105 function setStreamingServiceRef()
107 if (parent.data.serviceReference)
108 document.location = "/cgi-bin/setStreamingServiceRef?sref=" + parent.data.serviceReference;
110 setTimeout("setStreamingServiceRef()", 200);
114 document.location = "/video.m3u";
115 setTimeout("setStreamingServiceRef()", 200);