function launchlobby(ip, port) { alert('Not logged in!'); window.location = 'index.php?page=user&part=login'; }