<script type='text/javascript'>
setTimeout(function(){
	if (typeof Login == 'undefined') {
		location = '<?php echo $redirectApplicationURL; ?>';
	} else {
		Login.onLogin('<?php echo $statusCode; ?>','<?php echo $redirectApplicationURL; ?>','<?php echo $topic; ?>');
	}
}, 1000);
</script>;