
function service_contactUs()

{
	var fname = $F('fname');
	var lname = $F('lname');
	var email = $F('email');
	var phone = $F('phone');
	var message = $F('message');
	var service = $F('service');
	var a_id = $F('a_id');

	var url = 'ajax/send_service_contact.php';

	var pars = '?fname=' + encodeURIComponent(fname) + '&lname=' + encodeURIComponent(lname) + '&email=' + encodeURIComponent(email) + '&phone=' + encodeURIComponent(phone) + '&message=' + encodeURIComponent(message) + '&service=' + encodeURIComponent(service) + '&a_id=' + encodeURIComponent(a_id);

	var myAjax = new Ajax.Request(
		url, 
		{
			method: 'get', 
			parameters: pars, 
			onComplete: service_contactUsResponse
		});
}



function service_contactUsResponse(originalRequest)

{

	var response = originalRequest.responseText;

	var ctResponse = $('ctResponse');

	ctResponse.innerHTML = response;

	if (response == "ok") {

	$('ctResponse2').innerHTML = "<span style='font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #FF0000; font-weight: bold;'>Thank you! We have received your request and will respond to you within 24 hours.</span>";

	}else{
		$('submit2').innerHTML = response;

	}

}