Ja men det er liger der problmet ligger jeg bare ikke lige regne det der ud men her er html koden og java script
<HTML>
<HEAD>
<TITLE>DWL-900AP+</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<script language="JavaScript" src="public.js"></script>
<script language="JavaScript">
var SelRow = -1
rDat = new Array()
dDat = new Array()
rDat[1] = "00-02-8A-BC-00-AB"
function setMAC(f,s){
var m = s.split("-")
f.mac1.value = m[0]
f.mac2.value = m[1]
f.mac3.value = m[2]
f.mac4.value = m[3]
f.mac5.value = m[4]
f.mac6.value = m[5]
}
function cloneMAC(f,r){
if (r >= 0)
setMAC(f,dDat[r])
}
function EditRow(row){
var f = document.getElementById("frmMAC")
f.editRow.value = row
setMAC(f,rDat[row])
SelectRow("tabMAC",row)
}
function clrMAC(f)
{
f.mac1.value = ""
f.mac2.value = ""
f.mac3.value = ""
f.mac4.value = ""
f.mac5.value = ""
f.mac6.value = ""
}
</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" onload="LastRow('frmMAC','tabMAC')">
<table width="765" border="0" cellspacing="0" cellpadding="0" align="center" height="600">
<tr>
<td>
<div align="center"><img src="home_01.jpg" width="765" height="95"></div>
</td>
</tr>
<tr>
<td>
<table width=765 border=0 cellpadding=0 cellspacing=0 align="center">
<tr>
<td rowspan=8 width="20" background="down_01.gif"> </td>
<td rowspan=2 width="133"> <img src="down_02.jpg" width=133 height=75></td>
<td rowspan=2 width="25" background="down_03.jpg"> </td>
<td width="21"> <img src="advhtml_04.jpg" width=21 height=49></td>
<td width="522"> <img src="advhtml_05.jpg" width=522 height=49 usemap="#MapMap" border="0"></td>
<td width="19"> <img src="down_06.jpg" width=19 height=49></td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td width="21" background="down_14.gif"> </td>
<td rowspan=7 width="522" valign="top">
<form method="post" action="mac.cgi" id="frmMAC">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="191">
<tr>
<td colspan="3" height="10"><font color="#8babc1" size="2" face="Arial"><b>MAC
Filters</b></font><font color="#8bacb1" size="2" face="Arial"><b>
<input type="hidden" name="editRow" value="-1">
</b></font><font size=2 face=Arial>
<input type="hidden" name="delrow" value="0">
</font><font color="#8bacb1" size="2" face="Arial"><b> </b></font></td>
</tr>
<tr valign="top">
<td colspan="3" height="30"><font face="Arial" size="2">Filters
are used to allow or deny Wireless Clients users from accessing
the DWL900AP+..</font></td>
</tr>
<tr>
<td colspan="3" height="20"><font face="Arial" size="2">
<input type="radio" value="0" name="macFilter">
Disabled MAC Filters</font></td>
</tr>
<tr>
<td colspan="3" height="20"><font face="Arial" size="2">
<input type="radio" value="2" name="macFilter" checked>
Only <b>allow</b> MAC address(es) listed below to connect
to DWL-900AP+</font></td>
</tr>
<tr>
<td colspan="3" height="20"><font face="Arial" size="2">
<input type="radio" value="1" name="macFilter">
Only <b>deny</b> MAC address(es) listed below to connect to
DWL-900AP+</font></td>
</tr>
<tr>
<td colspan="3" height="2"><font face="Arial, Helvetica, sans-serif">
</font></td>
</tr>
<tr>
<td width="20%" height="17">
<div align="right"><font face="Arial" size="2">MAC Address </font></div>
</td>
<td colspan="2" height="17"><font face="Arial">
<input type="text" name="mac1" size="2" maxlength="2" value="">
-
<input type="text" name="mac2" size="2" maxlength="2" value="">
-
<input type="text" name="mac3" size="2" maxlength="2" value="">
-
<input type="text" name="mac4" size="2" maxlength="2" value="">
-
<input type="text" name="mac5" size="2" maxlength="2" value="">
-
<input type="text" name="mac6" size="2" maxlength="2" value="">
<input type="button" value="Clear" onclick="clrMAC(this.form)">
</font></td>
</tr>
<tr>
<td width="20%" height="19">
<div align="right"><font face="Arial" size="2">Connected PCs </font></div>
</td>
<td colspan="2" height="19"><font size="2" face="Arial">
<select name="connSelect" size="1">
</select>
<input type="button" name="clone" value="Clone" onClick="cloneMAC(this.form,this.form.connSelect.selectedIndex)">
</font></td>
</tr>
<tr>
<td colspan="2" height="20" valign="bottom"><font face="Arial, Helvetica, sans-serif" size="2" color="#000000"><b><font color="#8babc1">MAC
Filter List</font></b></font> </td>
<td height="20" width="34%">
<table width="40%" border="0" cellspacing="0" cellpadding="0" align="right">
<tr>
<td><font size="2" face="Arial"><a href="java script:document.forms[0].submit()"><img src="apply_p.jpg" width="51" height="52" border="0"></a></font></td>
<td><font size="2" face="Arial"><a href="java script:document.forms[0].reset()"><img src="cancel_p.jpg" width="51" height="52" border="0"></a></font></td>
<td><font size="2" face="Arial"><a href="help_adv.html#03" target="_blank"><img src="help_p.jpg" width="36" height="52" border="0"></a></font></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" id="tabMAC" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#b7dcfb"><font face="Arial" size="2" color="#333333">MAC
Address</font></td>
<td bgcolor="#b7dcfb"> </td>
</tr>
<tr><td><font size="2" face="Arial">00-02-8A-BC-00-AB</font></td><td><div align="right"><img src="edit.gif" width="15" height="17" border="0" alt="edit" onclick="EditRow(1)"><img src="delet.gif" width="15" height="18" border="0" alt="delete" onclick="DelRow(document.forms[0],1)"></div></td></tr>
</table>
</form>
</td>
<td width="19"> <img src="down_10.jpg" width=19 height=26></td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td width="133" bgcolor="#CCCCCC"><a href="adv_mode.html"><img src="adv_mode.jpg" width="133" height="57" border="0"></a></td>
<td width="25" background="down_03.jpg"> </td>
<td width="21" background="down_14.gif"> </td>
<td width="19" background="down_40.gif"> </td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td width="133" bgcolor="#CCCCCC"><a href="adv_perform.html"><img src="advhtml_pf.jpg" width="133" height="56" border="0"></a></td>
<td width="25" background="down_03.jpg"> </td>
<td width="21" background="down_14.gif"> </td>
<td width="19" background="down_40.gif"> </td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td width="133" bgcolor="#CCCCCC"><a href="adv_filters.html"><img src="adv_over_22.jpg" width="133" height="56" border="0"></a>
</td>
<td width="25" background="down_03.jpg"> </td>
<td width="21" background="down_14.gif"> </td>
<td width="19" background="down_40.gif"> </td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td width="133" bgcolor="#CCCCCC" background="down_37.gif" height="0"><a href="adv_802_1x.html"><img src="adv_802_1x.jpg" width="133" height="55" border="0"></a></td>
<td width="25" background="down_03.jpg"> </td>
<td width="21" background="down_14.gif"> </td>
<td width="19" background="down_40.gif"> </td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td width="133" bgcolor="#CCCCCC" background="down_37.gif" height="0">
</td>
<td width="25" background="down_03.jpg"> </td>
<td width="21" background="down_14.gif"> </td>
<td width="19" background="down_40.gif"> </td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td width="133" background="down_37.gif" height="247"> </td>
<td width="25" background="down_03.jpg">
<br><br><br><br><br><br><br><br><br><br>
</td>
<td width="21" background="down_14.gif"> </td>
<td width="19" background="down_40.gif"> </td>
<td width="25" background="down_11.gif"> </td>
</tr>
<tr>
<td colspan=6 rowspan=2> <img src="down_43.jpg" width=740 height=44></td>
<td width="25"> <img src="down_43.gif" width="25" height="17"></td>
</tr>
<tr>
<td width="25"> <img src="down_44.gif" width=25 height=27></td>
</tr>
</table>
<map name="MapMap">
<area shape="rect" coords="17,17,82,45" href="h_wizard.html" target="_self">
<area shape="rect" coords="109,18,205,42" href="adv_mode.html" target="_self">
<area shape="rect" coords="232,19,289,46" href="tools_admin.html" target="_self">
<area shape="rect" coords="346,18,405,45" href="st_devic.html" target="_self">
<area shape="rect" coords="455,18,501,47" href="help_men.html" target="_self">
</map>
</td>
</tr>
</table>
<!-- End ImageReady Slices -->
<map name="Map">
<area shape="rect" coords="17,17,82,45" href="h_wizard.html" target="down">
<area shape="rect" coords="109,18,205,42" href="adv_virtual.html" target="down">
<area shape="rect" coords="235,19,292,46" href="tools_admin.html" target="down">
<area shape="rect" coords="346,18,405,45" href="st_devic.html" target="down">
<area shape="rect" coords="455,19,501,48" href="help_men.html" target="down">
</map>
</BODY>
</HTML>
javascript
var SelRowBC
function GetSchedule(f, r, i){
if (r[i]=="0")
f.schd[0].checked = true
else
f.schd[1].checked = true
f.hour1.selectedIndex = r[i+1]
f.min1.selectedIndex = r[i+2]
f.am1.selectedIndex = r[i+3]
f.hour2.selectedIndex = r[i+4]
f.min2.selectedIndex = r[i+5]
f.am2.selectedIndex = r[i+6]
f.day1.selectedIndex = r[i+7]
f.day2.selectedIndex = r[i+8]
}
function GetProto(f, p, n){
var i
if (p=="6")
i=0
else if (p=="17")
i=1
else
i=2
eval("f."+n+".selectedIndex="+i)
}
function SelectRow(tn,row){
if (SelRow != row){
var bar = document.getElementById(tn)
if (SelRow >= 0)
bar.rows[SelRow].style.backgroundColor = SelRowBC
if (row >= 0){
SelRowBC = bar.rows[row].style.backgroundColor
bar.rows[row].style.backgroundColor = "#FFFF00"
}
SelRow = row;
}
}
function NewRow(f,tn){
f.editRow.value = "-1"
SelectRow(tn,-1)
}
function LastRow(fn,tn){
var f = document.getElementById(fn)
var i = parseInt(f.editRow.value)
if (i>=1){
SelectRow(tn,i)
}
}
function EnableRow(f, e){
if (e == "1")
f.enable[0].checked = true
else
f.enable[1].checked = true
}
function ShowWizard(name){
window.open(name,"Wizard","width=450,height=320")
}
function ShowReservedIP(num){
document.all.reserved_index.value = num;
document.forms[0].submit();
}
function ReleaseReservedIP(num){
document.all.reserved_index.value = num+10000;
document.forms[0].submit();
}
function ExitWizard(){
if (confirm("Quit Setup Wizard and discard settings ?"))
window.close()
}
function ExitReserved(){
if (confirm("Quit and discard settings ?"))
window.close()
}
function ExitMore(){
window.close()
}
function ChgPage(i){
var p
if (i==0) p="h_wan_dhcp.html"
if (i==1) p="h_wan_fix.html"
if (i==2) p="h_wan_poe.html"
if (i==3) p="h_wan_pptp.html"
if (i==4) p="h_wan_bigpond.html"
if (i==5)
{
if (others == "bigpond")
p="h_wan_bigpond.html"
else
p="h_wan_pptp.html"
}
window.location.href=p
}
function ChgFilter(i){
var p
if (i==0) p="adv_filters.html"
if (i==1) p="adv_filters_mac.html"
if (i==2) p="adv_filters_url.html"
if (i==3) p="adv_filters_domain.html"
window.location.href=p
}
function DelRow(f,r)
{
EditRow(r)
if (confirm("Are your sure you want to delete this entry?")){
f.delrow.value="1"
f.submit()
}
}
function selWL(F){
F.submit();
}