/**
*
* iframe auto resizing (by Çàº¹ÇÑ°í´Ï)
*
*/
function resizeIF(obj) {
	if (!obj || !obj.contentWindow) return false;
	obj.style.height = (obj.contentWindow.document.getElementsByTagName("BODY")[0].scrollHeight + 10) + "px";
}
/*
function resizeIF(Id)
{
        var obj = document.getElementById(Id);
        var Body;
        var H, Min;

        // ÃÖ¼Ò ³ôÀÌ ¼³Á¤ (³Ê¹« ÀÛ¾ÆÁö´Â °ÍÀ» ¹æÁö)
        Min = 100;

        // DOM °´Ã¼ ÇÒ´ç
        try
        {
                if (!document.all && obj.contentWindow.document.location.href == 'about:blank') {
                        setTimeout("resizeIF('"+Id+"')", 10);
                        return;
                }

                Body = obj.contentWindow.document.getElementsByTagName('BODY');
                Body = Body[0];

                if (this.Location != obj.contentWindow.document.location.href) {
                        H = Body.scrollHeight + 5;
                        obj.style.height =  (H<Min?Min:H) + 'px';

                        this.Location = obj.contentWindow.document.location.href;
                }
        }
        catch(e)
        {
                setTimeout("resizeIF('"+Id+"')", 10);
                return;
        }

        setTimeout("resizeIF('"+Id+"')", 100);
}
resizeIF.prototype.Location = '';
*/
