<script langugage="JavaScript">
  for(var i in window)
    document.write(i+":"+eval("window."+i)+"<br>");
</script>
  不知你是否是想得到这个。