// Tell the form to run another function before we run the built-in one
function addOnSubmit(theForm, func) {
	var oldOnSubmit = theForm.onsubmit;
	if (typeof(theForm.onsubmit) != 'function') {
		theForm.onsubmit = func(theForm);
	} else {
		theForm.onsubmit = function() {
			func(theForm);
			oldOnSubmit();
		}
	}
}

// Alert Google the offsite link is still part of this site
function urchinPost(theForm) {
	__utmLinkPost(theForm);
}
