<script>function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}
else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}
}

</script>
<link rel="stylesheet" href="css/M_Style.css" type="text/css">
</head><body scroll="no" style="MARGIN: 0px"><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
<td id="frmTitle" name="frmTitle" nowrap valign="middle" align="center">
<iframe id=BoardTitle name=BoardTitle  style="HEIGHT: 100%;  WIDTH: 160; Z-INDEX: 2" scrolling="yes" frameborder=0 src="menu.asp" ></iframe>
<td style="width:10pt" bgcolor="#6699cc" >
<table cellspacing=0 cellpadding=0 border=0 height=100%>
<tr><td style="height:100%" onClick="switchSysBar()"><span class="navPoint" id="switchPoint" title="关闭/打开左栏">3</span></td></tr>
</table>
</td>
<td style="width:100%">
<iframe id="frmright" name="frmright" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1" scrolling="yes" frameborder="0" src="detail.asp"></iframe>
</tr>
</table>
</body>
以上代码转成NET2。0怎样写?各位帮忙?