var WWLL = {
	ensureContactInfo: function(form) {
		var fields = ['phone', 'email', 'web', 'personal_phone', 'personal_email'];
		for (var i in fields) {
			if (form[fields[i]] && form[fields[i]].value != "" && form[fields[i]].value != "http://") {
				var btn = document.getElementById('submit-button');
				btn.value = "Please wait...";
				btn.disabled = true;
				return true;
			}
		}
		alert(
			"Some form of contact information is required.\n" +
			"Please enter a phone number, email address or web site in either the Labyrinth" +
			" contact area or the personal contact area before submitting the form."
		);
		return false;
	},
	submitForm: function(msg) {
		msg = msg || "Submitting. Please wait...";
		var btn = document.getElementById('submit-button');
		btn.value = msg;
		btn.disabled = true;
		return true;
	}
}