function ContactCheck()
{
  
  var fname = $("#first_name").val();
    var contact_phone= $("#contact_phone").val();
    var full_name= $("#full_name").val();
    var email= $("#email").val();  
  var contact_fax= $("#contact_fax").val();
   var contact_subject= $("#contact_subject").val();
   var contact_remarks= $("#contact_remarks").val();
  
  var theName = fname  + " " + full_name;
  var additional = " FAX : " + contact_fax + "</br>" + "Subject : "  +contact_subject + "</br>" + " Remarks : " + contact_remarks;

  $.ajax({
              dataType: "json",
              cache: false,
              async: false,
              type: "POST",
              url: "/APP/webbiz.asp",
              data: { full_name: theName , phone: contact_phone, email: email, contact_remarks: additional , minisite_customer_id : 29 },
              complete: function (jqXHR, textStatus) {
                  alert(jqXHR.responseText);
              }
          });
}


function PurchaseCheck()
{
  
    var full_name= $("#contact_full_name").val();
    var contact_phone= $("#contact_phone").val();
   var email= $("#contact_email").val();  
   var contact_subject= $("#product_name").val();
   var contact_remarks= $("#contact_subject").val();
  
  var theName = full_name;
  var additional = "מתעניין ב: "  +contact_subject ;

  $.ajax({
              dataType: "json",
              cache: false,
              async: false,
              type: "POST",
              url: "/APP/webbiz.asp",
    data: { full_name: theName , phone: contact_phone, contact_remarks: contact_remarks, email: email, contact_subject: additional , minisite_customer_id : 29 },
              complete: function (jqXHR, textStatus) {
                  alert(jqXHR.responseText);
              }
          });
}

