this.onload = function() {
	if (this.parent && this.parent.loadContent) {
		this.parent.loadContent(document.body.innerHTML);
	} else {
		window.location.replace("/");
	}
}