/// <summary> 
 
 
 

   /// 获取iframe中document,浏览器兼容 
 
 
 

   /// 王洪岐 
 
 
 

   /// id:iframe的ID 
 
 
 

   /// </summary> 
 
 
 

   function getIFrameDOM(id) { 
 
 
 

       return document.getElementById(id).contentDocument || document.frames[id].document;  
 
 
 

   }