if(typeof Webscene == "undefined") Webscene={};
if(typeof Webscene.UI == "undefined") Webscene.UI={};
if(typeof Webscene.UI.RTC == "undefined") Webscene.UI.RTC={};
Webscene.UI.RTC_class = function() {};
Object.extend(Webscene.UI.RTC_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	RTCSubmit: function(sessionId, nodeId, contentId, rating) {
		return this.invoke("RTCSubmit", {"sessionId":sessionId, "nodeId":nodeId, "contentId":contentId, "rating":rating}, this.RTCSubmit.getArguments().slice(4));
	},
	GetRating: function(rating, script, showShort, numberOfRaters, clientId, contentId) {
		return this.invoke("GetRating", {"rating":rating, "script":script, "showShort":showShort, "numberOfRaters":numberOfRaters, "clientId":clientId, "contentId":contentId}, this.GetRating.getArguments().slice(6));
	},
	url: '/ajaxpro/Webscene.UI.RTC,Webscene.UI.ashx'
}));
Webscene.UI.RTC = new Webscene.UI.RTC_class();


