// JavaScript Document

processForm_v1=function(daForm){
	var pars = $(daForm).serialize() ;
	var r=confirm(pars);
		if (r==true)
		  {
		 // alert("You pressed OK!");
				var url = 'ContactUsProcess_2011.asp';
				var myAjax = new Ajax.Request(
					url, 
					{
						 method: 'post' 
						,parameters: pars
						,onSuccess: function(transport){
							 //var response = transport.responseText || "no response text";
							 iCF3('mainBody_div','ContactUsThankYou_2011.asp','');
						}
						,onFailure: function(transport){ 
							var response = transport.responseText || "no response text";
							alert('Something went wrong...\n\n' + response) 
						}
			
			
				});	 
			}
		else
		  {
		  alert("You pressed Cancel!");
		  }

};

processForm_v1_Display=function(daForm) {
	
	var pars = $(daForm).serialize() ;
		var r=confirm(pars);
		if (r==true)
		  {
			iCF3('DisplayDiv','inc/forms_Processing_v1.asp?'+pars,'') ;
	      }
		else
		  {
		  alert("You pressed Cancel!");
		  }


};
