function comment_expand_btn(num){ try{ var obj=parent.document.getElementById("comm"+num); obj.style.display='none'; return; } catch (exception) { window.close(); return; } } function check_comment_submit(obj) { if(obj.memo.value.length<5) { alert("ÄÚ¸àÆ®´Â 5ÀÚ ÀÌ»ó Àû¾îÁÖ¼¼¿ä"); obj.memo.focus(); return false; } if( ( typeof obj.password!='undefined' && obj.password.value.length<1 ) ||( typeof obj.name!='undefined' && typeof obj.name.value!='undefined' && obj.name.value.length<1 ) ) { alert("À̸§ ¶Ç´Â ºñ¹Ð¹øÈ£¸¦ Àû¾îÁÖ¼¼¿ä"); obj.name.focus(); return false; } // ÀÛ¼ºÀÚ È¨ÆäÀÌÁö Ãß°¡ÇÑ ºÎºÐ ³¡: woogi return true; } function resizeFrame(name){ try{ var oFrame = parent.document.getElementById("frame"+name); if(!oFrame) return; } catch (exception) { return; } var oBody = document.body; var oFrame = parent.document.getElementById("frame"+name); var min_height = 120; //ÃÖ¼Ò³ôÀÌ(Áö³ªÄ¡°Ô ÀÛ¾ÆÁöÁö ¾Êµµ·Ï ÇÔ, Çȼ¿´ÜÀ§) var min_width = parent.document.getElementById("comm"+name).clientWidth; // 450-2; //Ãּҳʺñ var i_width = oBody.scrollWidth + (oBody.offsetWidth-oBody.clientWidth); if(i_width < min_width) i_width = min_width; //oFrame.style.width = i_width; var i_height = oBody.scrollHeight + (oBody.offsetHeight-oBody.clientHeight)+25; if(i_height < min_height) i_height = min_height; oFrame.style.height = i_height; } //var oldFn = new String(window.onload); window.onload = function(){ //resizeFrame(3); } resizeFrame(3);