if (typeof(Bashneft)=="undefined") Bashneft = {};
if (typeof(Bashneft.Controls)=="undefined") Bashneft.Controls = {};

Bashneft_Controls_Scripts_Class = function() {};
Bashneft_Controls_Scripts_Class.prototype = {
  SetPagerSize: function(__pager_name, __size, __callback) {
    jQuery.ajax({
       type: "POST",
       url: Bashneft.Controls.Scripts.invokeUrl,
       data: __TO_JSON({
         "__METHOD": "SetPagerSize" 
         , "pager_name": __pager_name         , "size": __size       }),
       contentType: "text/plain",
       success: function(data, status) {
         var obj = null;
         eval('obj = ' + data + '*' + '/');
         if (__callback) __callback(obj, status);
       }
     })
  },
  invokeUrl: "/AjaxType.ashx?type=Bashneft.Controls.Scripts&t=634118647343691250"
};

Bashneft.Controls.Scripts = new Bashneft_Controls_Scripts_Class();

