cting him to a new page contaning a fail message*/

function facebook_cancel() {
	var facebook_cancel_button = "{{facebook_cancel_button}}";
	if (facebook_cancel_button === "alert") {
 		alert ("{{cancel_alert_message}}");
	}
	else if (facebook_cancel_button === "redirect") {
 		window.location='fail.html';
	}
	else {
 		window.location='fail.html';
	}	
 }

</script>


<script>
/* This part is for showing an alert if the user tries to change the website in the address bar of the popup*/

function addressbar