

function updateForm2() {
	$('#form_holder').html("<div id='confirmation'></div>");
	$('#confirmation').html("<h1>Thank You!</h1>")
	.append("<p>A Cashflow Direct representative will be contacting you shortly to talk more with you about how we can help your business.</p>")
	.hide()
	.fadeIn(500, function() {
		$('#confirmation').append();
	});
}



function updateForm() {
		
	var formcheck = $("#contact_form").validationEngine('validate');							
				
		// make sure form is valid before submitting
		if(formcheck == true){
			
			// delay call to function so FreeForm can process user input
			setTimeout("updateForm2()", 1000);
		}
}
