function init() {
	if (typeof(window.parent.setPage)!="undefined") {
		var queryparts = window.location.href.split("?");
		if (typeof(queryparts[1])!="undefined") {
			window.parent.setPage(queryparts[1]);
		} else {
			window.parent.setPage("");
		}
	}
}