
// Function to stop forms being submitted multiple times
// Useage: simply add this to the submit button tag: onclick='stopdouble(this)'

function stopdouble(thisbutton) {
	thisbutton.disabled = true;
	thisbutton.value    = "Please Wait...";
	thisbutton.form.submit();
	return true;
}
