if(typeof MauiWeekly == "undefined") MauiWeekly={}; if(typeof MauiWeekly.Controls == "undefined") MauiWeekly.Controls={}; MauiWeekly.Controls.VotingControl_class = function() {}; Object.extend(MauiWeekly.Controls.VotingControl_class.prototype, Object.extend(new AjaxPro.AjaxClass(), { AjaxVote: function(poll_id, answer_id) { return this.invoke("AjaxVote", {"poll_id":poll_id, "answer_id":answer_id}, this.AjaxVote.getArguments().slice(2)); }, AjaxShow: function(poll_id) { return this.invoke("AjaxShow", {"poll_id":poll_id}, this.AjaxShow.getArguments().slice(1)); }, url: '/GetAjaxType.ashx?type=MauiWeekly.Controls.VotingControl' })); MauiWeekly.Controls.VotingControl = new MauiWeekly.Controls.VotingControl_class();