• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/www/sysdep/DSL-N55U-B/www/qis/
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
6<meta HTTP-EQUIV="Expires" CONTENT="-1">
7<link rel="stylesheet" type="text/css" href="/form_style.css">
8<link rel="stylesheet" type="text/css" href="qis_style.css">
9<script type="text/javascript" src="/general.js"></script>
10<script type="text/JavaScript" language="JavaScript" src="/js/jquery.js"></script>
11<script>
12
13
14var country_code = "";
15var selected_country = "";
16var ISP_List = [ <% get_isp_list("/www/ISP_List.txt"); %> ];
17var ISP_List_IPTV = [ <% get_isp_list("/www/ISP_List_IPTV.txt"); %> ];
18var ru_idx_start = 0;
19var x_Setting = "<% nvram_get("x_Setting"); %>";
20var w_Setting = "<% nvram_get("w_Setting"); %>";
21
22function setIptvNumPvc() {
23	var pvc_cnt = 0;
24	var tmp = document.form.dsltmp_cfg_iptv_idx.value;
25	var dsltmp_cfg_iptv_pvclist_value = "";
26	if (tmp != "") {
27		for(var i = 0; i < ISP_List_IPTV.length; i++){
28			if (ISP_List_IPTV[i][0] == tmp) {
29				pvc_cnt++;
30				dsltmp_cfg_iptv_pvclist_value +=
31					"<" + ISP_List_IPTV[i][1]
32					+ ">" + ISP_List_IPTV[i][2]
33					+ ">" + ISP_List_IPTV[i][3]
34					+ ">" + ISP_List_IPTV[i][4]
35					+ ">" + ISP_List_IPTV[i][5]
36			}
37		}
38		document.form.dsltmp_cfg_iptv_enable.value = "1";
39		document.form.dsltmp_cfg_iptv_num_pvc.value = pvc_cnt.toString();
40		document.form.dsltmp_cfg_iptv_pvclist.value = dsltmp_cfg_iptv_pvclist_value;
41	}
42}
43
44function showCountryList(o){
45	var code = "";
46	var showed_country = "";
47	code +="<select	name='country' class='input_option' tabindex='1' onchange='showAllList(this.value);'>";
48	code +="<option value='default'><#Select_menu_default#></option>";
49	for(var i = 0; i < ISP_List.length; i++){
50		if(showed_country != ISP_List[i][1]){
51			code +="<option value='"+ISP_List[i][1];
52			if(o == ISP_List[i][1]){
53				code +="' selected='selected'";
54			}
55			code +="'>"+ISP_List[i][2]+"</option>";
56			showed_country = ISP_List[i][1];
57		}
58	}
59
60	code +="<option value='NO'><#Not_Listed#></option>";
61	code +="</select>";
62
63	document.getElementById("CountryList").innerHTML = code;
64}
65
66function showCityList(o){
67	var code = "";
68	var showedCity = "";
69	code +="<select	name='city' class='input_option' tabindex='2' onchange='showRussiaISPList(this.value);'>";
70	for(var i = 0; i < ISP_List.length; i++){
71		if((showedCity != ISP_List[i][3]) && (o == ISP_List[i][1])){
72			code +="<option value='"+ISP_List[i][3]+"'>"+ISP_List[i][3]+"</option>";
73			showedCity = ISP_List[i][3];
74		}
75	}
76	code +="</select>";
77
78	document.getElementById("CityList").innerHTML = code;
79}
80
81function showNomoISPList(country){
82	var code = "";
83	var showed_isp = "";
84	var first_element = 0;
85
86	code +="<select id='ISP' name='ISP' onChange='ShowPVC(this.value); showNomoISPServiceByIdx(this.value);' tabindex='3' class='input_option'>";
87	for(var i = 0; i < ISP_List.length; i++){
88		if(country == ISP_List[i][1]){
89			if(showed_isp == ISP_List[i][4]){	//same isp internet setting with additional service
90				continue;
91			}
92			else {
93				showed_isp = ISP_List[i][4];
94			}
95			if (first_element==0) {
96				first_element=1;
97				ShowPVC(i);
98				code +="<option value='"+ISP_List[i][0]+"' selected='selected'>"+ISP_List[i][4]+"</option>";
99			}
100			else {
101				code +="<option value='"+ISP_List[i][0]+"'>"+ISP_List[i][4]+"</option>";
102			}
103		}
104	}
105	code +="<option value='NO'><#Not_Listed#></option>";
106	code +="</select>";
107	document.getElementById("ISPList").innerHTML = code;
108}
109
110function showNomoISPServiceByIdx(idx) {
111	document.getElementById("Service_tr").style.display="none";
112
113	var code = "";
114	var first_element = 0;
115	var sel_idx = 0;
116
117	code +="<select id='ISPSVC' name='ISPSVC' onChange='ChgSVC(this.value);' class='input_option'>";
118	for(var i = idx; i < ISP_List.length; i++){
119		if(ISP_List[idx][4] != ISP_List[i][4])	//only show this isp
120			break;
121		if(ISP_List[i][5] == "")
122			continue;
123
124		if (first_element == 0) {
125			first_element = 1;
126			sel_idx = i;
127			code +="<option value='"+ISP_List[i][0]+"' selected='selected'>"+ISP_List[i][5]+"</option>";
128		}
129		else {
130			code +="<option value='"+ISP_List[i][0]+"'>"+ISP_List[i][5]+"</option>";
131		}
132	}
133	code +="</select>";
134	code +="<span id='STBPortMsg'> Please connect the IPTV STB to LAN Port 1</span>";	/* untranslated */
135
136	if(first_element != 0) {
137		document.getElementById("Service_tr").style.display="";
138		document.getElementById("Service").innerHTML = code;
139		ChgSVC(sel_idx);
140	}
141}
142
143function showRussiaISPList(o){
144	ISPlocatedCity = o;
145	hidePVCInfo(1);
146	var code = "";
147	var First_ISP= "";
148	var showed_ISP = "";
149	code +="<select	id='ISP' name='ISP' class='input_option' tabindex='3' onChange='ShowPVC(this.value); showRussiaISPServiceByIdx(ISPlocatedCity, this.value)'>";
150	var first_element = 0;
151	for(var i = ru_idx_start; i < ISP_List.length; i++){
152		if((showed_ISP != ISP_List[i][4]) && (o == ISP_List[i][3])){
153			if (first_element==0) {
154				first_element=1;
155				ShowPVC(i);
156				code +="<option value='"+ISP_List[i][0]+"' selected='selected'>"+ISP_List[i][4]+"</option>";
157			}
158			else {
159				code +="<option value='"+ISP_List[i][0]+"'>"+ISP_List[i][4]+"</option>";
160			}
161
162			if(First_ISP == "")
163				First_ISP = ISP_List[i][4];
164			showed_ISP = ISP_List[i][4];
165		}
166	}
167	code +="<option value='NO'><#Not_Listed#></option>";
168	code +="</select>";
169	document.getElementById("ISPList").innerHTML = code;
170
171	showRussiaISPService(ISPlocatedCity, First_ISP);
172}
173
174function showRussiaISPServiceByIdx(c, idx){
175	if (idx=="NO"){
176		document.getElementById("Service_tr").style.display="none";
177	}
178	else{
179		var isp_str	= "";
180		for(var i = ru_idx_start; i < ISP_List.length; i++){
181			if((idx == ISP_List[i][0])){
182				isp_str = ISP_List[i][4];
183			}
184		}
185		document.getElementById("Service_tr").style.display="";
186		var code = "";
187		code +="<select	id='ISPSVC' name='ISPSVC' class='input_option' tabindex='4' onChange='ChgSVC(this.value);'>";
188		var first_element = 0;
189		var sel_idx = 0;
190		for(var i = ru_idx_start; i < ISP_List.length; i++){
191			if((c == ISP_List[i][3]) && (isp_str == ISP_List[i][4])){
192				if (first_element == 0)
193				{
194					first_element = 1;
195					sel_idx = i;
196				}
197				code +="<option value='"+ISP_List[i][0]+"'>"+ISP_List[i][5]+"</option>";
198			}
199		}
200		code +="</select>";
201		code +="<span id='STBPortMsg'> Please connect the IPTV STB to LAN Port 1</span>";	/* untranslated */
202		document.getElementById("Service").innerHTML = code;
203		ChgSVC(sel_idx);
204	}
205}
206
207function showRussiaISPService(c, o){
208//alert("City: "+c+", ISP: "+o);
209	if (o=="NO") {
210		document.getElementById("Service_tr").style.display="none";
211	}
212   	else {
213		document.getElementById("Service_tr").style.display="";
214		var code = "";
215		code +="<select	id='ISPSVC' name='ISPSVC' class='input_option' tabindex='4' onChange='ChgSVC(this.value);'>";
216		var first_element = 0;
217		var sel_idx = 0;
218		for(var i = ru_idx_start; i < ISP_List.length; i++){
219			if((c == ISP_List[i][3]) && (o == ISP_List[i][4])){
220				if (first_element == 0)
221				{
222					first_element = 1;
223					sel_idx = i;
224				}
225				code +="<option value='"+ISP_List[i][0]+"'>"+ISP_List[i][5]+"</option>";
226			}
227		}
228		code +="</select>";
229		code +="<span id='STBPortMsg'> Please connect the IPTV STB to LAN Port 1</span>";	/* untranslated */
230		document.getElementById("Service").innerHTML = code;
231		ChgSVC(sel_idx);
232	}
233}
234
235function showAllList(o){
236	var i;
237	selected_country = o;
238	
239	if(o == "Russia"){
240		document.getElementById("City_tr").style.display="";
241		document.getElementById("Service_tr").style.display="";
242		hideCityList(0);
243		showCityList(o);
244		if (ru_idx_start == 0) {
245			for(i=0; i< ISP_List.length; i++) {
246				if(ISP_List[i][1]=="Russia")
247					break;
248			}
249			ru_idx_start = i;
250		}
251		showRussiaISPList(ISP_List[ru_idx_start][3]);
252		showRussiaISPService(ISP_List[ru_idx_start][3], ISP_List[ru_idx_start][4]);
253		hidePVCInfo(1);
254	}
255	else{
256		document.getElementById("City_tr").style.display="none";
257		document.getElementById("Service_tr").style.display="none";
258		hideCityList(1);
259		showNomoISPList(o);
260		for(i=0; i< ISP_List.length; i++) {
261			if(ISP_List[i][1] == o) {
262				showNomoISPServiceByIdx(i);
263				break;
264			}
265		}
266	}
267	if (o=="NO")
268		hidePVCInfo(0);
269   	else
270		hidePVCInfo(1);
271}
272
273function hideCityList(hide) {
274   var status = 'visible';
275
276   if ( hide == 1 )
277      status = 'hidden';
278
279   if (document.getElementById)  // DOM3 = IE5, NS6
280      document.getElementById("CityList").style.visibility = status;
281   else {
282      if (document.layers) { // Netscape 4
283      } else  // IE 4
284         document.all.CityList.style.visibility = status;
285   }
286}
287
288function hidePVCInfo(hide) {
289   var status = '';
290
291   if ( hide == 1 ) {
292		status = 'none';
293	}
294
295	if (document.getElementById) {  // DOM3 = IE5, NS6
296		document.getElementById('vccInfo').style.display = status;
297	}
298	else {
299      if (document.layers) { // Netscape 4
300			if ( hide == 1 ) {
301				document.form.user_vpi.value = "";
302				document.form.user_vci.value = "";
303				document.form.user_prctl.value = 0;
304				document.form.user_encap.value = 0;
305				document.form.user_vlanid.value = "";
306			}
307		}
308		else { // IE 4
309			document.all.vccInfo.style.display = status;
310		}
311	}
312}
313
314function hidewarn(hide) {
315   var status = 'visible';
316
317   if ( hide == 1 )
318      status = 'hidden';
319
320   if (document.getElementById)  // DOM3 = IE5, NS6
321      document.getElementById('warnning').style.visibility = status;
322   else {
323      if (document.layers) { // Netscape 4
324      } else  // IE 4
325         document.all.warning.style.visibility = status;
326   }
327}
328
329
330function ShowPVC(idx) {
331   if ( idx=='NO' )
332      hidePVCInfo(0);
333   else
334      hidePVCInfo(1);
335}
336
337function ChgSVC(idx) {
338	if(ISP_List[idx][13] != "") {	//iptv idx
339		if(ISP_List[idx][5] == "ADSL+MOD")
340			document.getElementById("STBPortMsg").innerHTML = "Please connect the MOD(STB) to LAN Port 1";
341		showhide("STBPortMsg", 1);
342	}
343	else {
344		showhide("STBPortMsg", 0);
345	}
346}
347
348function gotoPrev(){
349	location.href = "/qis/QIS_admin_pass.htm";
350}
351
352function QIS_manual_setting_load_body() {
353	parent.set_step("t2");
354
355	hidePVCInfo(1);
356	
357	if (x_Setting != "0" && parent.based_modelid != "DSL-AC68U") {
358		document.getElementById("bottom_btn1").style.display = 'none';
359	}
360
361	if(country_code=="")
362	    country_code = "default";
363	showCountryList(country_code);
364	showAllList(country_code);
365}
366
367
368function QKfinish_load_body(){
369	parent.document.title = "<#Web_Title#> - <#QKSet_all_title#>";
370}
371
372function submit_detect(){
373	document.form.current_page.value = "/qis/QIS_detect.htm";
374	document.form.next_page.value = "/qis/QIS_detect.htm";
375	if(parent.based_modelid == "DSL-AC68U")
376		document.form.action_script.value = "restart_dsl_autodet";
377	document.form.submit();
378}
379
380function btnNext() {
381	var connection_type = 0;
382	// Manual Setting
383	if(document.form.country.value=='default'){
384		alert("<#JS_fieldblank#>");
385		document.form.country.focus();
386		return false;           
387        }
388	else if ( document.form.country.value=='NO'|| document.form.ISP.value=='NO' ){
389
390		var tmp_vpi = document.form.user_vpi.value;
391		var tmp_vci = document.form.user_vci.value;
392		var tmp_vlanid = document.form.user_vlanid.value;
393
394		if(tmp_vpi == ""){
395			alert("<#JS_fieldblank#>");
396			document.form.user_vpi.focus();
397			return false;
398		}
399		else if ( isNaN(tmp_vpi) == true ) {
400			alert('VPI "' + tmp_vpi + '" <#Manual_Setting_JS_invalid#>');
401			document.form.user_vpi.focus();
402			return false;
403		}
404
405		if(tmp_vci == ""){
406			alert("<#JS_fieldblank#>");
407			document.form.user_vci.focus();
408			return false;
409		}
410		else if ( isNaN(tmp_vci) == true ) {
411			alert('VCI "' + tmp_vci + '" <#Manual_Setting_JS_invalid#>');
412			document.form.user_vci.focus();
413			return false;
414		}
415		
416		if ( isNaN(tmp_vlanid) == true ) {
417			alert('<#WANVLANIDText#> "' + tmp_vlanid + '" <#Manual_Setting_JS_invalid#>');
418			document.form.user_vlanid.focus();
419			return false;
420		}
421
422		var vpi = parseInt(tmp_vpi);
423		if ( vpi < 0 || vpi > 255 ) {
424			alert('VPI "' + tmp_vpi + '" <#Manual_Setting_JS_outrange#> [0-255].');
425			document.form.user_vpi.focus();
426			document.form.user_vpi.select();
427			return false;
428		}
429
430		var vci = parseInt(tmp_vci);
431		if ( vci < 32 || vci > 65535 ) {
432			alert('VCI "' + tmp_vci + '" <#Manual_Setting_JS_outrange#> [32-65535].');
433			document.form.user_vci.focus();
434			document.form.user_vci.select();
435			return false;
436		}
437		
438		var vlanid = parseInt(tmp_vlanid);
439		if ( vlanid < 0 || vlanid > 4095 ) {
440			alert('VLAN ID "' + tmp_vlanid + '" <#Manual_Setting_JS_outrange#> [0-4095].');
441			document.form.user_vlanid.focus();
442			document.form.user_vlanid.select();
443			return false;
444		}
445
446		connection_type = document.form.user_prctl.value;
447		document.form.dsltmp_cfg_vpi.value = document.form.user_vpi.value;
448		document.form.dsltmp_cfg_vci.value = document.form.user_vci.value;
449		document.form.dsltmp_cfg_prctl.value = document.form.user_prctl.value;
450		document.form.dsltmp_cfg_encap.value = document.form.user_encap.value;
451		document.form.dsltmp_cfg_vid.value = document.form.user_vlanid.value;
452		if(document.form.dsltmp_cfg_vid.value != "")
453			document.form.dsltmp_cfg_dot1q.value = 1;
454		document.form.dsltmp_cfg_iptv_idx.value = "";
455		document.form.dsltmp_cfg_ispname.value = "";
456		document.form.dsltmp_cfg_country.value = "";
457	}
458	else {
459		var isp_idx = 0
460		if (selected_country == "Russia") {
461			isp_idx = document.getElementById("ISPSVC").value;
462		}
463		else {
464			isp_idx = document.getElementById("ISP").value;
465			if(ISP_List[isp_idx][5] != "")
466				isp_idx = document.getElementById("ISPSVC").value;
467		}
468		connection_type = ISP_List[isp_idx][8];
469		document.form.dsltmp_cfg_country.value = ISP_List[isp_idx][1];
470		document.form.dsltmp_cfg_ispname.value = ISP_List[isp_idx][4];
471		document.form.dsltmp_cfg_vpi.value = ISP_List[isp_idx][6];
472		document.form.dsltmp_cfg_vci.value = ISP_List[isp_idx][7];
473		document.form.dsltmp_cfg_prctl.value = ISP_List[isp_idx][8];
474		document.form.dsltmp_cfg_encap.value = ISP_List[isp_idx][9];
475		document.form.dsltmp_cfg_vid.value = ISP_List[isp_idx][10];
476		if(document.form.dsltmp_cfg_vid.value != "")
477			document.form.dsltmp_cfg_dot1q.value = 1;
478		document.form.dsltmp_cfg_iptv_rmvlan.value = ISP_List[isp_idx][11];
479		document.form.dsltmp_cfg_iptv_mr.value = ISP_List[isp_idx][12];
480		document.form.dsltmp_cfg_iptv_idx.value = ISP_List[isp_idx][13];
481	}
482
483	setIptvNumPvc();
484
485	//Specific setting
486	if( document.form.dsltmp_cfg_country.value=='Thailand'
487		&& document.form.dsltmp_cfg_ispname.value=='3BB 15M/1.5M'
488	){
489		document.form.dsltmp_cfg_th3bb.value = "1";	//flag
490		document.form.dsltmp_cfg_modulation.value = "4";
491		document.form.dsltmp_cfg_annex.value = "3";
492	}
493
494	if (connection_type==0 || connection_type==1)
495	{
496		//pppoe or pppoa
497		document.form.next_page.value = "/qis/QIS_ppp_cfg_tmp.htm";
498		document.form.submit();
499
500	}
501	else if (connection_type==2)
502	{
503		//mer
504		document.form.next_page.value = "/qis/QIS_mer_cfg_tmp.htm";
505		document.form.submit();
506
507	}
508	else if (connection_type==3)
509	{
510		//bridge
511		document.form.next_page.value = "/qis/QIS_bridge_cfg_tmp.htm";
512		document.form.submit();
513
514	}
515	else if (connection_type==4)
516	{
517		//ipoa
518		document.form.next_page.value = "/qis/QIS_ipoa_cfg_tmp.htm";
519		document.form.submit();
520
521	}
522	else
523	{
524		alert("<#Connectiontype_unknown#>");
525		return;
526	}
527}
528
529</script>
530</head>
531
532<body onLoad="QIS_manual_setting_load_body();" >
533<form method="post" name="form" action="/start_apply.htm" target="">
534<input type="hidden" name="prev_page" value="">
535<input type="hidden" name="current_page" value="/qis/QIS_manual_setting.htm">
536<input type="hidden" name="next_page" value="/qis/QIS_detect.htm">
537<input type="hidden" name="action_mode" value="apply">
538<input type="hidden" name="action_script" value="">
539<input type="hidden" name="action_wait" value="">
540<input type="hidden" name="dsltmp_cfg_country" value="">
541<input type="hidden" name="dsltmp_cfg_ispname" value="">
542<input type="hidden" name="dsltmp_cfg_vpi" value="">
543<input type="hidden" name="dsltmp_cfg_vci" value="">
544<input type="hidden" name="dsltmp_cfg_prctl" value="">
545<input type="hidden" name="dsltmp_cfg_encap" value="">
546<input type="hidden" name="dsltmp_cfg_dot1q" value="0">
547<input type="hidden" name="dsltmp_cfg_vid" value="">
548<input type="hidden" name="dsltmp_cfg_iptv_rmvlan" value="">
549<input type="hidden" name="dsltmp_cfg_iptv_mr" value="">
550<input type="hidden" name="dsltmp_cfg_iptv_idx" value="">
551<input type="hidden" name="dsltmp_cfg_iptv_num_pvc" value="">
552<input type="hidden" name="dsltmp_cfg_iptv_pvclist" value="">
553<input type="hidden" name="dsltmp_cfg_iptv_enable" value="0">
554<input type="hidden" name="dsltmp_transmode" value="atm">
555<input type="hidden" name="dsltmp_qis_dsl_pvc_set" value="1">
556<input type="hidden" name="dsltmp_cfg_th3bb" value="0">
557<input type="hidden" name="dsltmp_cfg_modulation" value="">
558<input type="hidden" name="dsltmp_cfg_annex" value="">
559
560<div class="QISmain">
561	<!--
562	<div class="formfonttitle" style="padding:0 0 0 10;" id="FailReason"><#Manual_Setting_Title#></div>
563	<div style="margin-left:5px;margin-top:10px;margin-bottom:10px"><img style="width: 700px; height: 2px;" src="/images/New_ui/export/line_export.png"></div>
564	-->
565	<div class="formfonttitle" style="padding:6 0 0 10;">
566			<div>
567				<table width="730px">
568					<tr>
569						<td align="left">
570							<span class="description_down"><#Manual_Setting_Title#></span>
571						</td>
572					</tr>
573				</table>
574			</div>
575			<div style="margin:5px;"><img style="width: 720px; *width: 710px; height: 2px;" src="/images/New_ui/export/line_export.png"></div>
576	</div>
577	<br/>
578	<table width="80%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6b8fa3" class="FormTable">
579		<thead>
580		<tr>
581			<td colspan="2"><#Manual_Setting_Title#></td>
582		</tr>
583		</thead>
584		<tbody>
585		<tr>
586			<td colspan="2">
587			<#Manual_Setting_desc1#><br/>
588			<span id='warnning'>
589			<b></b>
590			</span>
591		</td>
592		</tr>
593		<tr>
594			<th width="40%"><#Manual_Setting_contry#></th>
595			<td>
596				<div id="CountryList"></div>
597			</td>
598		</tr>
599		<tr id="City_tr">
600			<th width="40%"><#Manual_Setting_city#></th>
601			<td>
602			<div id="CityList"></div>
603			</td>
604		</tr>
605		<tr id="ISP_tr">
606			<th width="40%">ISP:</th>
607			<td>
608				<div id="ISPList"></div>
609			</td>
610		</tr>
611		<tr id="Service_tr">
612			<th width="40%"><#qis_service#>:</th>
613			<td>
614				<div id="Service"></div>
615			</td>
616		</tr>
617		</tbody>
618	</table>
619	<div id='vccInfo'>
620	<table width="80%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6b8fa3" class="FormTable">
621		<tbody>
622			<tr>
623				<td colspan="2""><#Manual_Setting_desc3#></td>
624			</tr>
625			<tr>
626				<th width="40%">VPI:</th>
627				<td><input type='text' name='user_vpi' tabindex="5" maxlength="3" class="input_6_table"><span> 0-255</span></td>
628			</tr>
629			<tr>
630				<th>VCI:</th>
631				<td><input type='text' name='user_vci' tabindex="6" maxlength="5" class="input_6_table"><span> 32-65535</span></td>
632			</tr>
633			<tr>
634				<th><#Layer3Forwarding_x_ConnectionType_itemname#>:</th>
635				<td>
636				<select	name='user_prctl' class='input_option' tabindex="7">
637				<option value = 0>PPPoE</option>
638				<option value = 1>PPPoA</option>
639				<option value = 2>MER</option>
640				<option value = 3>Bridge</option>
641				<option value = 4>IPoA</option>
642				</select>
643				</td>
644			</tr>
645			<tr>
646				<th><#prtcl_JS_encmode#>:</th>
647				<td>
648				<select	name='user_encap' class='input_option' tabindex="8">
649				<option value = 0>LLC</option>
650				<option value = 1>VC-Mux</option>
651				</select>
652				</td>
653			</tr>
654			<tr>
655				<th width="40%">VLAN ID:</th>
656				<td><input type='text' name='user_vlanid' tabindex="9" maxlength="4" class="input_6_table"><span> 0-4095</span></td>
657			</tr>
658		</tbody>
659	</table>
660	</div>
661
662	<div class="apply_gen" style="margin-top:10px">
663		<span id="bottom_btn1"><input type="button" value="<#CTL_Detect_Again#>" tabindex="11" onclick="submit_detect();" class="button_gen" ></span>
664		<input type="button" value="<#CTL_next#>" tabindex="10" onclick="btnNext();" class="button_gen">
665	</div>
666
667</div>
668</form>
669</body>
670</html>
671