$(function(){$("#usersEmail").focus(function () {
var $this =$(this);
if($this.val() == 'E-mail address'){ $this.val('');}
}).blur(function () { var $this =$(this);
if ($this.val()==''){$this.val('E-mail address');}});});
function appointmentForm( ){$("#appointmentResult").empty().html('<img src="newsletter/images/ajax-loader.gif" />');
var name = $('#name').val(); var phone = $('#phone').val();
var services = $('#services').val();
var datepicker = $('#datepicker').val();
var time = $('#time').val();
$.ajax({ type: "POST",url: "lib/sentmail_appointment.php",data: {'name': name, 'phone':phone, 'services':services, 'datepicker':datepicker, 'time':time },success: callback}); function callback(data, status)	{	$("#appointmentResult").html(data);}}

