r" : "attachEvent";
var eventer = window[eventMethod];
var messageEvent = eventMethod === "attachEvent" ? "onmessage" : "message";

eventer(messageEvent, function (e) {
	if (e.source != iframe.contentWindow){return} // reject messages send from other iframes
	if (typeof e.data !== "object"){errorlog(e);return;}
	warnlog(e.data);
	if ("action" in e.data){
		if (e.data.value && (e.data.action  === "obs-state")){
			manageSceneState({obsState: e.data.value}, e.data.UUID)
		} else if (e.data.action =