$(function() {

		$('form#textme').submit(function() {
		//setup and get firstname of customer
        var customer_message = "Request For A Call Back";
		var tel = $("input#tel").val();
		var send = $("input#send").val();
		$("input#msg").val("");
		if ($.trim(tel) == "" ){
			alert("Please make sure you have entered a telephone number for your reply");
			return false;
		}
				
		$('input[type=text]', this).attr('readonly', 'readonly');
		$('input[type=submit]', this).attr('disabled', 'disabled');

			

        $.ajax({
            type: 'post',
            url: 'textcallback-sms.php',
            data: 'msg=' + customer_message + '&send=' + send + '&tel=' + tel,

            success: function(response) {
				$('.scarlet').fadeIn('1000').empty().append(response);
				
				

				
				
            }
			   
	

        	});
		
		return false;
		});

$("#loading").bind("ajaxSend", function(){
	

 }).bind("ajaxComplete", function(){
	 

 });
	
});
	// JavaScript Document