function gpcb(o) {
    $.ajax
    ({
        type: "POST",
        url: '/gpcb',
        contentType: "application/json; charset=utf-8",
        dataType: 'json',
        async: true,
        data: "{'href':'" + o.href + "','state':'" + o.state + "'}",
        success: function () {
            //...
        }
    })
}

