function p_resizeiframe(name) {
    if (eval('parent.'+name+' != null')) {
		if(parent && parent != this && parent.resizeiframe != null) {
			parent.resizeiframe(name);
		}
	}
}
function resizeiframe(name) {
    if(name == null || name == "") {
		name="ifrmComment";
	}
	try {     
	    if(document.all){
	        var oBody = document.frames(name).document.body;
	        var oFrame = document.all(name);
	     
	    }else{
	        var oBody = document.getElementById(name).contentDocument.body;
	        var oFrame = document.getElementById(name);
	     }   
	     var i_height = oBody.scrollHeight; 
	     var i_width = oBody.scrollWidth;
    	 oFrame.style.height = i_height + "px";
		 oFrame.style.width = i_width + "px";
	}
	catch(e) {
		//window.status = 'Error: ' + e.number + '; ' + e.description;
		window.status = '완료';
	}
}
