function bodyload() {
	resizeFrame(document.getElementById('flog'));
}

function resizeFrame(f) {
	if (f.contentWindow.document && f.contentWindow.document.body) {
		f.style.height = f.contentWindow.document.body.scrollHeight + "px";
	}
	else {
		f.style.height = f.contentDocument.body.scrollHeight + "px";
	}
}
//alert(parent.frames.length);
if (document3.location.href != 'http://picturemon.com/') {
	alert(document.location.href);
alert(parent.frames['flog']);
resizeFrame(parent.document.getElementById('flog'));
alert(parent.frames['flog'].window.contentDocument);
for (var i in parent.frames.flog.window) {
	alert(i);
	var stop = prompt("hello");
	if (stop == 'stop')
		break;
}
alert(parent.frames['flog'].contentWindow.document.body);
alert(parent.frames['flog'].contentDocument.body);
resizeFrame(parent.document.getElementById('flog'));
}
//alert(window.parent);
//alert(parent.contentWindow);
