$(document).ready(function() { 
	var options = { 
		success: showResponse,
		resetForm: true,
		clearForm: true 
	}; 

	$('#contactForm').ajaxForm(options);
	
}); 

function showResponse(responseText, statusText)  { 
    alert(responseText); 
	jQuery("#resultDialog").dialog({draggable: false, resizable: false, height:330, width:400, modal: true, buttons: { "Ok": function() { $(this).dialog("close"); } } });

}


