javascript 奇怪的问题?
<!DOCTYPE   HTML   PUBLIC    "-//W3C//DTD   HTML   4.0   Transitional//EN ">  
  <HTML>  
  <HEAD>  
  <TITLE>    New   Document    </TITLE>  
  </HEAD>  
  <BODY>  
  <INPUT   TYPE= "button "   onclick= "test() ">  
  <iframe   id=CalFrame   name=CalFrame   frameborder=0   src=calendar/calendar.htm   style=display:none;position:static;z-index:1>  </iframe>  
  <SCRIPT   LANGUAGE= "JavaScript ">  
  <!--    
 function   test(){ 
 	var   cf=window.document.getElementById( "CalFrame "); 
 	var   wcf=window.document.frames.CalFrame; 
 	//cf和wcf是同一个对象么?为什么这两个不相等呢?求解!     
 } 
 //-->  
  </SCRIPT>  
  </BODY>  
  </HTML>    
------解决方案--------------------一个是DOM(当前标签对象),一个是BOM(浏览器对象)