Type.registerNamespace('local2UI');
local2UI.WebMethods=function() {
local2UI.WebMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
local2UI.WebMethods.prototype={
SubmitAbuseReport:function(reviewId,sReportText,sUserName,sUserEmail,succeededCallback, failedCallback, userContext) {
return this._invoke(local2UI.WebMethods.get_path(), 'SubmitAbuseReport',false,{reviewId:reviewId,sReportText:sReportText,sUserName:sUserName,sUserEmail:sUserEmail},succeededCallback,failedCallback,userContext); },
SubmitHelpfulReviewVote:function(id,vote,succeededCallback, failedCallback, userContext) {
return this._invoke(local2UI.WebMethods.get_path(), 'SubmitHelpfulReviewVote',false,{id:id,vote:vote},succeededCallback,failedCallback,userContext); }}
local2UI.WebMethods.registerClass('local2UI.WebMethods',Sys.Net.WebServiceProxy);
local2UI.WebMethods._staticInstance = new local2UI.WebMethods();
local2UI.WebMethods.set_path = function(value) { local2UI.WebMethods._staticInstance._path = value; }
local2UI.WebMethods.get_path = function() { return local2UI.WebMethods._staticInstance._path; }
local2UI.WebMethods.set_timeout = function(value) { local2UI.WebMethods._staticInstance._timeout = value; }
local2UI.WebMethods.get_timeout = function() { return local2UI.WebMethods._staticInstance._timeout; }
local2UI.WebMethods.set_defaultUserContext = function(value) { local2UI.WebMethods._staticInstance._userContext = value; }
local2UI.WebMethods.get_defaultUserContext = function() { return local2UI.WebMethods._staticInstance._userContext; }
local2UI.WebMethods.set_defaultSucceededCallback = function(value) { local2UI.WebMethods._staticInstance._succeeded = value; }
local2UI.WebMethods.get_defaultSucceededCallback = function() { return local2UI.WebMethods._staticInstance._succeeded; }
local2UI.WebMethods.set_defaultFailedCallback = function(value) { local2UI.WebMethods._staticInstance._failed = value; }
local2UI.WebMethods.get_defaultFailedCallback = function() { return local2UI.WebMethods._staticInstance._failed; }
local2UI.WebMethods.set_path("/asmx/WebMethods.asmx");
local2UI.WebMethods.SubmitAbuseReport= function(reviewId,sReportText,sUserName,sUserEmail,onSuccess,onFailed,userContext) {local2UI.WebMethods._staticInstance.SubmitAbuseReport(reviewId,sReportText,sUserName,sUserEmail,onSuccess,onFailed,userContext); }
local2UI.WebMethods.SubmitHelpfulReviewVote= function(id,vote,onSuccess,onFailed,userContext) {local2UI.WebMethods._staticInstance.SubmitHelpfulReviewVote(id,vote,onSuccess,onFailed,userContext); }
