// JavaScript Document


function deletePrompt(thing) {
	
	x = confirm("--------------------------------------\r\n\r\nAre you sure you want to delete this?\r\n\r\n" + thing + "\r\n\r\n--------------------------------------\r\n--------------------------------------\r\n\r\nClick OK to continue deleting. \r\n\r\bClick Cancel to go back to where you were.\r\n\r\n--------------------------------------");
	
	if (x) { return true }
	else { return false; }

}


function logoutPrompt() {
	x = confirm("Are you sure you want to logout?");
	if (x) { return true }
	else { return false; }
}
	

function policytick() {
	
	x = document.form.Policy.checked;

	if (x == false) {
		alert ('Please confirm that you have read the payment terms and conditions');
		return false;
	}
	else return true;
}
