index1_class = function() {}; Object.extend(index1_class.prototype, Object.extend(new AjaxPro.AjaxClass(), { Gx: function(id) { return this.invoke("Gx", {"id":id}, this.Gx.getArguments().slice(1)); }, url: '/ajaxpro/index1,WebApplication1.ashx' })); index1 = new index1_class();