diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml
index d628033eee20fea695ac378e78367484fd6cd4d3..18f1a07db7a92e04e4589669e3cea0e2db22ba36 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml
@@ -238,12 +238,12 @@ function showPopik(dom_id, what, delay){\n
 }\n
 \n
 var resizeIFrameOnLoad = function() {\n
-  var iframe_list = window.getElementsByTagAndClassName("iframe", "auto_height");\n
-  for( var i=0; i<iframe_list.length; i++) {\n
-    var iframe = iframe_list[i];\n
-    var doc = iframe.contentWindow.document.documentElement;\n
-    var body = iframe.contentWindow.document.body;\n
-    iframe.style.height = doc.offsetHeight + \'px\';\n
+  var object_list = window.getElementsByTagAndClassName("object", "auto_height");\n
+  for( var i=0; i<object_list.length; i++) {\n
+    var object_document = object_list[i];\n
+    var doc = object_document.contentDocument.documentElement;\n
+    var body = object_document.contentDocument.body;\n
+    object_document.style.height = doc.offsetHeight + \'px\';\n
   }\n
 }\n
 \n
@@ -289,6 +289,7 @@ var addOnChangeEventHandler = function() {\n
   }\n
 }\n
 \n
+addLoadEvent(resizeIFrameOnLoad);\n
 addLoadEvent(addOnChangeEventHandler);\n
 addLoadEvent(indexAllCheckBoxesAtBTInstallationOnLoad);\n
 
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 23696d23aec43da66cd4b6f2335384dbd87762a0..7e752471bfa3b8caabafb3764cb3ebfac522052b 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-916
\ No newline at end of file
+918
\ No newline at end of file