
	jQuery.noConflict();
     
	jQuery(document).ready(function()
	{
		var options = { 
		target:        '#msg',   // target element(s) to be updated with server response 
		beforeSubmit:  showRequest,  // pre-submit callback 
		success:       showResponse  // post-submit callback 		
		}; 		
		jQuery('#fmailinglist').submit(function() {
			jQuery('#fmailinglist').ajaxSubmit(options);
			return false;
		});
	});
	
	function showRequest(formData, jqForm, options) { 
		jQuery('#msg').html("Loading...");
		var queryString = jQuery.param(formData); 
		//alert('About to submit: \n\n' + queryString); 
		return true; 
	} 
	// post-submit callback 
	function showResponse(responseText, statusText)  { 
		/*alert('status: ' + statusText + '\n\nresponseText: \n' + responseText + 
			'\n\nThe output div should have already been updated with the responseText.'); 
		*/
	} 
