// Turn off the alert pop up
wf.showAlertOnError = false;

// Tap into the validation routine and do our Ajax stuff
wf.functionName_formValidationq = "myCustomValidation";
function myCustomValidationq (evt) {
	if(wf.formValidationq(evt)) new Ajax.Updater('result', 'nonskid.php',{onLoading:function(request){sendmailq()},onComplete:function(request){handelrequestq()},parameters:Form.serialize(document.forms['nonskid']), insertion:Insertion.Bottom, asynchronous:true});
	return wf.utilities.XBrowserPreventEventDefault(evt);
}
		function sendmailq() {
			//Make the Progress Bar Appear
			new Effect.Appear('progress');
		}
		function handelrequestq() {
			// Fade the Progress Bar
				new Effect.Fade('progress');
			// Make the form itsef wipe up
				new Effect.BlindUp('form');
			// Show the result!
				new Effect.Appear('result');
		}
