﻿function CallAjaxPageJs(page, data, locationId) {

    $.ajax({
        type: "POST",
        url: page,
        contentType: "application/x-www-form-urlencoded",
        dataType: "text",
        data: data,
        success: function(result) {
            var dv = "#" + locationId;
            $(dv).html(result);
        },
        error: function(xhr) {
        }
    });
}

function CloseAjaxPage() {
    $(".popupzone").html('');
}
