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="memo";
	}

	try {       
		var oBody = document.frames(name).document.body;
		var oFrame = document.all(name);
		var i_height = oBody.scrollHeight + (oBody.offsetHeight-oBody.clientHeight);
		var i_width = oBody.scrollWidth + (oBody.offsetWidth-oBody.clientWidth);
				
		oFrame.style.height = i_height;
//		oFrame.style.width = i_width;
	}
	catch(e) {
		//window.status = 'Error: ' + e.number + '; ' + e.description;
		window.status = '¿Ï·á';
	}
}