<input type="button" value=" 显示浮窗 " onClick="showInterView(bar);" >
  <table   border="1"   hspace="1"   cellpadding="1"   bgcolor="c0c0c0"   width="80%"   id="bar"   style=" display:none;position:absolute;width:100%;   height:25px;z-index:9;margin:0">   
  <tr   align="center">     
  <td   width="25%">   <a   href="#">首     页   </a></td>   
  <td   width="25%">   <a   href="#">你     好</a></td>   
  <td   width="25%">   <a   href="#">他     好</a></td>   
  <td   width="25%">   <a   href="#">我     好</a>     
  </td>   
  </tr>   
  </table>   
  <script   language="javascript">   
  <!-- 
  function   showInterView(idname){   
  idname.style.display = "block";
  nome=navigator.appName;
  if(nome=='Netscape'){   
    var   a   =   pageYOffset+window.innerHeight-document.idname.document.height-15;   
    document.idname.top   =   a;
    setTimeout('stat()',2);   
  }   
  else{   
    var   a=document.body.scrollTop+document.body.clientHeight-document.all.idname.offsetHeight-300;
    idname.style.top   =   a;
  }
  }      
  //-->   
  </script>上面的js代码中有个错误:document.all.idname.offsetHeight为空或不是对象,document.all.idname中的idname变量该如何表示?