if(typeof AiN == "undefined") AiN={};
if(typeof AiN.AiB == "undefined") AiN.AiB={};
if(typeof AiN.AiB.Site == "undefined") AiN.AiB.Site={};
AiN.AiB.Site.polls_class = function() {};
Object.extend(AiN.AiB.Site.polls_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SubmitPollVote: function(pollID, answerID) {
		return this.invoke("SubmitPollVote", {"pollID":pollID, "answerID":answerID}, this.SubmitPollVote.getArguments().slice(2));
	},
	GetPollResults: function(pollID) {
		return this.invoke("GetPollResults", {"pollID":pollID}, this.GetPollResults.getArguments().slice(1));
	},
	url: '/ajaxpro/AiN.AiB.Site.polls,AiN.AiB.Site.ashx'
}));
AiN.AiB.Site.polls = new AiN.AiB.Site.polls_class();

