var memobj = new Array();
function reSize(obj){
  if(obj){
      if(obj.contentWindow.document.body.scrollHeight < 200){
        obj.style.height = 200;
      }else{
        obj.style.height = obj.contentWindow.document.body.scrollHeight;
      }
  }else{
      while(memobj.length>0){
        if(memobj[0].contentWindow.document.body.scrollHeight < 200){
          memobj[0].style.height = 200;
        }else{
          memobj[0].style.height = memobj[0].contentWindow.document.body.scrollHeight;
        }
         memobj.shift();
      }
   }
}