3 <title>Bandwidth Management</title>
\r
5 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
\r
6 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
\r
7 <link rel="stylesheet" href='stylemain.css' type='text/css'>
\r
8 <script language="javascript" src="util.js"></script>
\r
9 <script language='javascript'>
\r
12 var qos_global_enable='<%ejGet(qos_global_enable)%>';
\r
13 var qos_pshack='<%ejGet(qos_pshack_prio)%>'; //Game
\r
14 var qos_shortpkt='<%ejGet(qos_shortpkt_prio)%>'; //Internet
\r
15 var qos_service_enable='<%ejGet(qos_service_enable)%>'; //FTP
\r
16 var qos_tos='<%ejGet(qos_tos_prio)%>'; //VOIP
\r
19 var qos_global_enable='1';
\r
20 var qos_shortpkt='1';
\r
23 var qos_service_enable='1';
\r
25 function click_GameBtn()
\r
27 with(document.forms[0]){
\r
28 if(qos_pshack_w.value==0){
\r
29 qos_global_enable_w.value=1;
\r
30 qos_pshack_w.value=1;
\r
31 blocking('GameOn' ,true);
\r
32 blocking('GameOff' ,false);
\r
35 qos_pshack_w.value=0;
\r
36 blocking('GameOn' ,false);
\r
37 blocking('GameOff' ,true);
\r
38 if(qos_shortpkt_w.value==0 && qos_service_enable_w.value==0 && qos_tos_w.value==0)
\r
39 qos_global_enable_w.value=0;
\r
45 function click_InternetBtn()
\r
47 with(document.forms[0]){
\r
48 if(qos_shortpkt_w.value==0){
\r
49 qos_global_enable_w.value=1;
\r
50 qos_shortpkt_w.value=1;
\r
51 blocking('InternetOn' ,true);
\r
52 blocking('InternetOff' ,false);
\r
55 qos_shortpkt_w.value=0;
\r
56 blocking('InternetOn' ,false);
\r
57 blocking('InternetOff' ,true);
\r
58 if(qos_pshack_w.value==0 && qos_service_enable_w.value==0 && qos_tos_w.value==0)
\r
59 qos_global_enable_w.value=0;
\r
65 function click_ServerBtn()
\r
67 with(document.forms[0]){
\r
68 if(qos_service_enable_w.value==0){
\r
69 qos_global_enable_w.value=1;
\r
70 qos_service_enable_w.value=1;
\r
71 blocking('ServerOn' ,true);
\r
72 blocking('ServerOff' ,false);
\r
75 qos_service_enable_w.value=0;
\r
76 blocking('ServerOn' ,false);
\r
77 blocking('ServerOff' ,true);
\r
78 if(qos_pshack_w.value==0 && qos_shortpkt_w.value==0 && qos_tos_w.value==0)
\r
79 qos_global_enable_w.value=0;
\r
85 function click_VOIPBtn()
\r
87 with(document.forms[0]){
\r
88 if(qos_tos_w.value==0){
\r
89 qos_global_enable_w.value=1;
\r
91 blocking('VOIPOn' ,true);
\r
92 blocking('VOIPOff' ,false);
\r
96 blocking('VOIPOn' ,false);
\r
97 blocking('VOIPOff' ,true);
\r
98 if(qos_pshack_w.value==0 && qos_shortpkt_w.value==0 && qos_service_enable_w.value==0)
\r
99 qos_global_enable_w.value=0;
\r
105 function ShowNote(i)
\r
109 blocking('NO', true);
\r
110 blocking('GAME', false);
\r
111 blocking('INTERNET', false);
\r
112 blocking('SERVER', false);
\r
113 blocking('VOIP', false);
\r
117 blocking('NO', false);
\r
118 blocking('GAME', true);
\r
119 blocking('INTERNET', false);
\r
120 blocking('SERVER', false);
\r
121 blocking('VOIP', false);
\r
125 blocking('NO', false);
\r
126 blocking('GAME', false);
\r
127 blocking('INTERNET', true);
\r
128 blocking('SERVER', false);
\r
129 blocking('VOIP', false);
\r
133 blocking('NO', false);
\r
134 blocking('GAME', false);
\r
135 blocking('INTERNET', false);
\r
136 blocking('SERVER', true);
\r
137 blocking('VOIP', false);
\r
141 blocking('NO', false);
\r
142 blocking('GAME', false);
\r
143 blocking('INTERNET', false);
\r
144 blocking('SERVER', false);
\r
145 blocking('VOIP', true);
\r
149 function blocking(nr,show)
\r
151 if (document.getElementById)
\r
153 var vista = (show) ? 'block' : 'none';
\r
154 document.getElementById(nr).style.display = vista;
\r
156 else if (document.layers)
\r
158 var current = (show) ? 'block' : 'none';
\r
159 document.layers[nr].display = current;
\r
161 else if (document.all)
\r
163 var current = (show) ? 'block' : 'none';
\r
164 document.all[nr].style.display = current;
\r
170 with(document.forms[0]){
\r
171 qos_global_enable_w.value=qos_global_enable;
\r
172 qos_shortpkt_w.value=qos_shortpkt;
\r
173 qos_pshack_w.value=qos_pshack;
\r
174 qos_tos_w.value=qos_tos;
\r
175 qos_service_enable_w.value=qos_service_enable;
\r
177 if(qos_pshack_w.value==0) {
\r
178 blocking('GameOn' ,false);
\r
179 blocking('GameOff' ,true);
\r
182 blocking('GameOn' ,true);
\r
183 blocking('GameOff' ,false);
\r
185 if(qos_shortpkt_w.value==0) {
\r
186 blocking('InternetOn' ,false);
\r
187 blocking('InternetOff' ,true);
\r
190 blocking('InternetOn' ,true);
\r
191 blocking('InternetOff' ,false);
\r
193 if(qos_service_enable_w.value==0) {
\r
194 blocking('ServerOn' ,false);
\r
195 blocking('ServerOff' ,true);
\r
198 blocking('ServerOn' ,true);
\r
199 blocking('ServerOff' ,false);
\r
201 if(qos_tos_w.value==0) {
\r
202 blocking('VOIPOn' ,false);
\r
203 blocking('VOIPOff' ,true);
\r
206 blocking('VOIPOn' ,true);
\r
207 blocking('VOIPOff' ,false);
\r
214 function getObj(name)
\r
216 if (document.getElementById)
\r
218 this.obj = document.getElementById(name);
\r
219 this.style = document.getElementById(name).style;
\r
221 else if (document.all)
\r
223 this.obj = document.all[name];
\r
224 this.style = document.all[name].style;
\r
226 else if (document.layers)
\r
228 this.obj = document.layers[name];
\r
229 this.style = document.layers[name];
\r
233 function paint_backup_progress(i)
\r
235 with(document.forms[0]){
\r
237 var punit, progress;
\r
238 var total = parseInt(qos_shortpkt_w.value) + parseInt(qos_pshack_w.value) + parseInt(qos_tos_w.value) + parseInt(qos_service_enable_w.value);
\r
240 if( i==1 ) { //Game
\r
241 if (qos_pshack_w.value==1)
\r
246 if( i==2 ) { //Internet
\r
247 if (qos_shortpkt_w.value==1)
\r
253 if (qos_service_enable_w.value==1)
\r
258 if( i==4 ) { //VOIP
\r
259 if (qos_tos_w.value==1)
\r
265 result += '<table width="360" border="0" cellpadding="0" cellspacing="0">';
\r
267 result += '<tr><td><table border="0" cellpadding="0" cellspacing="0"><tr height="20">';
\r
268 for(punit = 0; punit < progress; punit++){
\r
269 result += '<td width="30" bgcolor="#00cc00"></td>';
\r
271 result += '</tr></table></td>';
\r
272 result += "</tr></table>";
\r
278 function constructDynm(){
\r
281 w = new getObj("backup_progress_div1");
\r
283 if((document.all) || (document.getElementById)){
\r
284 w.obj.innerHTML = paint_backup_progress(1);
\r
286 w.obj.document.write(paint_backup_progress(1));
\r
287 w.obj.document.close();
\r
290 x = new getObj("backup_progress_div2");
\r
292 if((document.all) || (document.getElementById)){
\r
293 x.obj.innerHTML = paint_backup_progress(2);
\r
295 x.obj.document.write(paint_backup_progress(2));
\r
296 x.obj.document.close();
\r
299 y = new getObj("backup_progress_div3");
\r
301 if((document.all) || (document.getElementById)){
\r
302 y.obj.innerHTML = paint_backup_progress(3);
\r
304 y.obj.document.write(paint_backup_progress(3));
\r
305 y.obj.document.close();
\r
308 z = new getObj("backup_progress_div4");
\r
310 if((document.all) || (document.getElementById)){
\r
311 z.obj.innerHTML = paint_backup_progress(4);
\r
313 z.obj.document.write(paint_backup_progress(4));
\r
314 z.obj.document.close();
\r
319 <style ="text/css">
\r
323 background-color: #f5fcee;
\r
328 TEXT-DECORATION: none;
\r
329 font-family: Arial, Helvetica, sans-serif;
\r
332 .title {font-size: 12px; font-weight: bold; TEXT-DECORATION: none; font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; }
\r
336 <body onload='frmload();'>
\r
338 <b> Bandwidth Management -- Bandwidth On Demand</b><br><br>
\r
339 <form name="Management" action="BandwidthMan.cgi" method="get">
\r
340 <input type='hidden' name='qos_global_enable_w'>
\r
341 <input type='hidden' name='qos_pshack_w'> <!-- Game -->
\r
342 <input type='hidden' name='qos_shortpkt_w'><!-- Internet -->
\r
343 <input type='hidden' name='qos_service_enable_w'><!-- FTP -->
\r
344 <input type='hidden' name='qos_tos_w'><!-- VOIP -->
\r
346 <table width="452" height="86" border="0" cellpadding="0" cellspacing="0">
\r
348 <td width="50"></td>
\r
349 <td width="88" height="86" align="center" valign="middle" background="game_botton_bg.gif"
\r
350 onMouseOver="ShowNote(3);" onMouseOut="ShowNote(1);" onclick="click_GameBtn();" STYLE="cursor:hand;cursor:pointer;">
\r
351 <table width="88" border="0" cellspacing="0" cellpadding="0">
\r
353 <th width="88" height="43" scope="col"> </th>
\r
356 <td width="88" height="43" align="center">
\r
357 <div id='GameOn' style='display:none'>
\r
358 <font color='#FFFF00' class="ModeText">Gaming<br/>Blaster</font></a>
\r
360 <div id='GameOff' style='display:none'>
\r
361 <font color='#000066' class="ModeText">Gaming<br/>Blaster</font></a>
\r
367 <td width="20" height="86" align="center" valign="middle"> </td>
\r
368 <td width="88" height="86" align="center" valign="middle" background="download_botton_bg.gif"
\r
369 onMouseOver="ShowNote(4);" onMouseOut="ShowNote(1);" onclick="click_InternetBtn();" STYLE="cursor:hand;cursor:pointer;">
\r
370 <table width="88" border="0" cellspacing="0" cellpadding="0">
\r
372 <th width="88" height="43" scope="col"> </th>
\r
375 <td width="88" height="43" align="center">
\r
376 <div id='InternetOn' style='display:none'>
\r
377 <font color='#FFFF00' class="ModeText">Internet<br/>Application</font></a>
\r
379 <div id='InternetOff' style='display:none'>
\r
380 <font color='#000066' class="ModeText">Internet<br/>Application</font></a>
\r
386 <td width="20" height="86" align="center" valign="middle"> </td>
\r
387 <td width="88" height="86" align="center" valign="middle" background="server_botton_bg.gif"
\r
388 onMouseOver="ShowNote(5);" onMouseOut="ShowNote(1);" onclick="click_ServerBtn();" STYLE="cursor:hand;cursor:pointer;">
\r
389 <table width="88" border="0" cellspacing="0" cellpadding="0">
\r
391 <th width="88" height="43" scope="col"> </th>
\r
394 <td width="88" height="43" align="center">
\r
395 <div id='ServerOn' style='display:none'>
\r
396 <font color='#FFFF00' class="ModeText">WL600g FTP<br/>Server</font></a>
\r
398 <div id='ServerOff' style='display:none'>
\r
399 <font color='#000066' class="ModeText">WL600g FTP<br/>Server</font></a>
\r
405 <td width="20" height="86" align="center" valign="middle"> </td>
\r
406 <td width="88" height="86" align="center" valign="middle" background="video_botton_bg.gif" onMouseOver="ShowNote(6);" onMouseOut="ShowNote(1);" onclick="click_VOIPBtn();" STYLE="cursor:hand;cursor:pointer;">
\r
407 <table width="88" border="0" cellspacing="0" cellpadding="0">
\r
409 <th width="88" height="43" scope="col"> </th>
\r
412 <td width="88" height="43" align="center">
\r
413 <div id='VOIPOn' style='display:none'>
\r
414 <font color='#FFFF3C' class="ModeText">VOIP/Video<br/>Streaming</font></a>
\r
416 <div id='VOIPOff' style='display:none'>
\r
417 <font color='#000066' class="ModeText">VOIP/Video<br/>Streaming</font></a>
\r
426 <tr height="70"><td valign='top' width="600">
\r
427 <div id='NO' style='display:none'> </div>
\r
428 <div id='GAME' style='display:none'>Under Gaming Blaster, WL-600g will handle gaming traffic at first priority. You can then enjoy latency-free gaming experiences!</div>
\r
429 <div id='INTERNET' style='display:none'>Under this mode, e-mail, web browsing, and other Internet applications will be handled at first priority.</div>
\r
430 <div id='SERVER' style='display:none'>Under this mode, the files downloaded/uploaded to WL-600g's USB FTP server will be sent through without interruption! Otherwise, you can resolve more bandwidth for this service at "User Specify Service" page!</div>
\r
431 <div id='VOIP' style='display:none'>Under this mode, WL-600g will firstly manage all the audio/video traffic. No more latency when talking over IP phone or watching movies online!</div>
\r
434 <table border="0" cellpadding="0" cellspacing="0">
\r
436 <td width="150"></td><td width="50"></td><td width="260" align="center"><b>Prioroty</b></td><td width="50"></td>
\r
439 <td></td><td>Low</td><td></td><td align="right">High</td>
\r
442 <table border="0" cellpadding="0" cellspacing="0">
\r
444 <td width='150' align="right" class="ModeText"><b>Gaming Blaster </b><td>
\r
445 <td><div id='backup_progress_div1'></div></td>
\r
447 <tr height="20"><td></td></tr>
\r
449 <td align="right" class="ModeText"><b>Inernet Application </b><td>
\r
450 <td><div id='backup_progress_div2'></div></td>
\r
452 <tr height="20"><td></td></tr>
\r
454 <td align="right" class="ModeText"><b>FTP Server </b><td>
\r
455 <td><div id='backup_progress_div3'></div></td>
\r
457 <tr height="20"><td></td></tr>
\r
459 <td align="right" class="ModeText"><b>Voip/Video Streaming </b><td>
\r
460 <td><div id='backup_progress_div4'></div></td>
\r
466 <input type="submit" value="Apply" name="Submit">
\r
467 <input type="submit" value="Save/Reboot" name="Submit">
\r