<!DOCTYPE html>
<html>
<head>
    
    <script src="/javascript/jquery.min.js"></script>
    <script src="/classpath/lift.js"></script>
    <script src="/comet/comet.js"></script>

	
</head>
<body data-lift-session-id="F1595160951052HQLFRI" data-lift-gc="F159516095105323KDGG">
<div id="log"></div>

<script>

    (function () {
        if (!window.BroadcastChannel) {
            becomeMaster();
            return;
        }
        const protocol = new CometProtocol(new BroadcastChannel("cular-comet"), ROLE_SLAVE, role => {
            switch (role) {
                case "master":
                    console.info("switching to master");
                    window.location.href = "/comet/master.html";
                    break;
                case "slave":
                    console.info("already slave");
                    break;
            }
        });
        protocol.start();
    })();

</script>


	<script type="text/javascript" src="/lift/page/F159516095105323KDGG.js"></script>
	
</body>
</html>  
  