ow.postMessage(message, url);
				break;
			case "output" :
				// Append new output
				output.innerHTML = output.innerHTML + decoded.data;
				break;
			case "session" :
				// Reload session status
				session.innerHTML = 'Session status: ' + decoded.data;
				break;
			}
		}, false);

		// Add url to our iframe after the event listener is installed.
		iframe.src = url;

	</script>

</body>
</html>
