var StartPageService=function() {
StartPageService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
StartPageService.prototype={
CommentAdd:function(MessageBody,comboGuid,succeededCallback, failedCallback, userContext) {
return this._invoke(StartPageService.get_path(), 'CommentAdd',false,{MessageBody:MessageBody,comboGuid:comboGuid},succeededCallback,failedCallback,userContext); },
RateItem:function(itemID,rating,succeededCallback, failedCallback, userContext) {
return this._invoke(StartPageService.get_path(), 'RateItem',false,{itemID:itemID,rating:rating},succeededCallback,failedCallback,userContext); }}
StartPageService.registerClass('StartPageService',Sys.Net.WebServiceProxy);
StartPageService._staticInstance = new StartPageService();
StartPageService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; StartPageService._staticInstance._path = value; }
StartPageService.get_path = function() { return StartPageService._staticInstance._path; }
StartPageService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
StartPageService._staticInstance._timeout = value; }
StartPageService.get_timeout = function() { 
return StartPageService._staticInstance._timeout; }
StartPageService.set_defaultUserContext = function(value) { 
StartPageService._staticInstance._userContext = value; }
StartPageService.get_defaultUserContext = function() { 
return StartPageService._staticInstance._userContext; }
StartPageService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; StartPageService._staticInstance._succeeded = value; }
StartPageService.get_defaultSucceededCallback = function() { 
return StartPageService._staticInstance._succeeded; }
StartPageService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; StartPageService._staticInstance._failed = value; }
StartPageService.get_defaultFailedCallback = function() { 
return StartPageService._staticInstance._failed; }
StartPageService.set_path("/webServices/StartPageService.asmx");
StartPageService.CommentAdd= function(MessageBody,comboGuid,onSuccess,onFailed,userContext) {StartPageService._staticInstance.CommentAdd(MessageBody,comboGuid,onSuccess,onFailed,userContext); }
StartPageService.RateItem= function(itemID,rating,onSuccess,onFailed,userContext) {StartPageService._staticInstance.RateItem(itemID,rating,onSuccess,onFailed,userContext); }
