if(typeof AiN == "undefined") AiN={};
if(typeof AiN.AiC == "undefined") AiN.AiC={};
if(typeof AiN.AiC.Site == "undefined") AiN.AiC.Site={};
AiN.AiC.Site.polls_class = function() {};
Object.extend(AiN.AiC.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.AiC.Site.polls,AiN.AiC.Site.ashx'
}));
AiN.AiC.Site.polls = new AiN.AiC.Site.polls_class();

