Type.registerNamespace('GUI');
GUI.HighlightTextService=function() {
GUI.HighlightTextService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GUI.HighlightTextService.prototype={
HighlightText:function(userName,userInsider,postID,progressiveNumber,brand,line,productService,featureOrPart,quality,rating,voteIDs,buildVoteDivs,succeededCallback, failedCallback, userContext) {
return this._invoke(GUI.HighlightTextService.get_path(), 'HighlightText',false,{userName:userName,userInsider:userInsider,postID:postID,progressiveNumber:progressiveNumber,brand:brand,line:line,productService:productService,featureOrPart:featureOrPart,quality:quality,rating:rating,voteIDs:voteIDs,buildVoteDivs:buildVoteDivs},succeededCallback,failedCallback,userContext); }}
GUI.HighlightTextService.registerClass('GUI.HighlightTextService',Sys.Net.WebServiceProxy);
GUI.HighlightTextService._staticInstance = new GUI.HighlightTextService();
GUI.HighlightTextService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GUI.HighlightTextService._staticInstance._path = value; }
GUI.HighlightTextService.get_path = function() { return GUI.HighlightTextService._staticInstance._path; }
GUI.HighlightTextService.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); }
GUI.HighlightTextService._staticInstance._timeout = value; }
GUI.HighlightTextService.get_timeout = function() { 
return GUI.HighlightTextService._staticInstance._timeout; }
GUI.HighlightTextService.set_defaultUserContext = function(value) { 
GUI.HighlightTextService._staticInstance._userContext = value; }
GUI.HighlightTextService.get_defaultUserContext = function() { 
return GUI.HighlightTextService._staticInstance._userContext; }
GUI.HighlightTextService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GUI.HighlightTextService._staticInstance._succeeded = value; }
GUI.HighlightTextService.get_defaultSucceededCallback = function() { 
return GUI.HighlightTextService._staticInstance._succeeded; }
GUI.HighlightTextService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GUI.HighlightTextService._staticInstance._failed = value; }
GUI.HighlightTextService.get_defaultFailedCallback = function() { 
return GUI.HighlightTextService._staticInstance._failed; }
GUI.HighlightTextService.set_path("/demo/HighlightTextService.asmx");
GUI.HighlightTextService.HighlightText= function(userName,userInsider,postID,progressiveNumber,brand,line,productService,featureOrPart,quality,rating,voteIDs,buildVoteDivs,onSuccess,onFailed,userContext) {GUI.HighlightTextService._staticInstance.HighlightText(userName,userInsider,postID,progressiveNumber,brand,line,productService,featureOrPart,quality,rating,voteIDs,buildVoteDivs,onSuccess,onFailed,userContext); }

