function bahamas(form) {
	url = 'bahamasP.php';
	pars = Form.serialize(form);
	Form.disable(form);
	var messageDiv = form.select('.message')[0];
	messageDiv.innerHTML = 'Submitting...';
	
	var unlockTimeout = setTimeout(function() {
		Form.enable(form);
		$('message').innerHTML = 'There was an error logging in. Please try again.';
	}, 20000);
	
	myAjax = new Ajax.Request(url, {
		method: 'post',
		postBody: pars,
		onLoading: function() { },
		onComplete: function(transport) {
			var status = transport.responseJSON;
			if (status.good) {
				messageDiv.innerHTML = status.message;
				form.select('input').each(function(el) { if (el.type == 'submit') el.remove(); });
				if (status.redirect != null) {
					setTimeout(function() {
						location.href = status.redirect;
					}, 5000);
				}
			}
			else {
				messageDiv.innerHTML = status.errors;
				Form.enable(form);
			}
			clearTimeout(unlockTimeout);
		}
	});
}