﻿function submitContactDetails() {
	var formElement = $('contactUsForm');
	new Ajax.Request(dirDepth+DB_CONTACT_US, {
		method: "post",
		parameters: {
			data: formElement.serialize()
		},
		onSuccess: function(o) {
			alert(o.responseText);
		},
		onFailure: function(o) {
			alert(o.responseText);
		}
	});
}
