﻿function SyncPost(url, data, success) {
jQuery.ajax({
  async: false, 
  type: "POST",
  url: url, 
  data : data,
  //data: "{}",
  //data: "{'propertyId': " + pId + ", 'lng': '" + longitude + "', 'lat' : '" + latitude + "'}", 
  contentType: "application/json; charset=utf-8",
  dataType: "json",
  success: success,
  
  error: function(XMLHttpRequest, textStatus, errorThrown) {
   alert("Error: " + errorThrown);
  }
  
});


}

function GetKey() {
   return jQuery("meta[name=Key]").attr("content");
}
