$(document).ready(function() {
  $('a:not(.jq_ignore)').filter(function() {
    return this.hostname && this.hostname !== location.hostname;
  }).addClass('external');
});

function doAjaxPost() {    
 var cont_name = $('#contactname').val();
 var cont_email = $('#contactemail').val();
 var cont_msg = $('#contactmessage').val();
 var cont_verify = $('#contactverify').val();
 var cont_phone = $('#contactphone').val();
$.ajax({      
	   type: "POST",      
	   url: "contactmail.php",      
	   data: "name="+cont_name+"&email="+cont_email+"&message="+cont_msg+"&phone="+cont_phone+"&verify="+cont_verify,      
	   success: function(resp){
		   // we have the response      
		   
		   $('#ajaxcontent').html(resp);      
		   },      
		error: function(e){        
			alert('Error: ' + e);      
			}    
			});
}   