Type.registerNamespace('STS20');
STS20.MasterPageWS=function() {
STS20.MasterPageWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
STS20.MasterPageWS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return STS20.MasterPageWS._staticInstance.get_path();},
GetAreaContent:function(areaName,succeededCallback, failedCallback, userContext) {
/// <param name="areaName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetAreaContent',false,{areaName:areaName},succeededCallback,failedCallback,userContext); },
UpdateContent:function(areaName,content,succeededCallback, failedCallback, userContext) {
/// <param name="areaName" type="String">System.String</param>
/// <param name="content" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UpdateContent',false,{areaName:areaName,content:content},succeededCallback,failedCallback,userContext); },
GetComments:function(url,succeededCallback, failedCallback, userContext) {
/// <param name="url" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetComments',false,{url:url},succeededCallback,failedCallback,userContext); },
AddComment:function(comment,commentBy,url,email,succeededCallback, failedCallback, userContext) {
/// <param name="comment" type="String">System.String</param>
/// <param name="commentBy" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AddComment',false,{comment:comment,commentBy:commentBy,url:url,email:email},succeededCallback,failedCallback,userContext); }}
STS20.MasterPageWS.registerClass('STS20.MasterPageWS',Sys.Net.WebServiceProxy);
STS20.MasterPageWS._staticInstance = new STS20.MasterPageWS();
STS20.MasterPageWS.set_path = function(value) {
STS20.MasterPageWS._staticInstance.set_path(value); }
STS20.MasterPageWS.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return STS20.MasterPageWS._staticInstance.get_path();}
STS20.MasterPageWS.set_timeout = function(value) {
STS20.MasterPageWS._staticInstance.set_timeout(value); }
STS20.MasterPageWS.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return STS20.MasterPageWS._staticInstance.get_timeout(); }
STS20.MasterPageWS.set_defaultUserContext = function(value) { 
STS20.MasterPageWS._staticInstance.set_defaultUserContext(value); }
STS20.MasterPageWS.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return STS20.MasterPageWS._staticInstance.get_defaultUserContext(); }
STS20.MasterPageWS.set_defaultSucceededCallback = function(value) { 
 STS20.MasterPageWS._staticInstance.set_defaultSucceededCallback(value); }
STS20.MasterPageWS.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return STS20.MasterPageWS._staticInstance.get_defaultSucceededCallback(); }
STS20.MasterPageWS.set_defaultFailedCallback = function(value) { 
STS20.MasterPageWS._staticInstance.set_defaultFailedCallback(value); }
STS20.MasterPageWS.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return STS20.MasterPageWS._staticInstance.get_defaultFailedCallback(); }
STS20.MasterPageWS.set_enableJsonp = function(value) { STS20.MasterPageWS._staticInstance.set_enableJsonp(value); }
STS20.MasterPageWS.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return STS20.MasterPageWS._staticInstance.get_enableJsonp(); }
STS20.MasterPageWS.set_jsonpCallbackParameter = function(value) { STS20.MasterPageWS._staticInstance.set_jsonpCallbackParameter(value); }
STS20.MasterPageWS.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return STS20.MasterPageWS._staticInstance.get_jsonpCallbackParameter(); }
STS20.MasterPageWS.set_path("/MasterPageWS.asmx");
STS20.MasterPageWS.GetAreaContent= function(areaName,onSuccess,onFailed,userContext) {
/// <param name="areaName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
STS20.MasterPageWS._staticInstance.GetAreaContent(areaName,onSuccess,onFailed,userContext); }
STS20.MasterPageWS.UpdateContent= function(areaName,content,onSuccess,onFailed,userContext) {
/// <param name="areaName" type="String">System.String</param>
/// <param name="content" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
STS20.MasterPageWS._staticInstance.UpdateContent(areaName,content,onSuccess,onFailed,userContext); }
STS20.MasterPageWS.GetComments= function(url,onSuccess,onFailed,userContext) {
/// <param name="url" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
STS20.MasterPageWS._staticInstance.GetComments(url,onSuccess,onFailed,userContext); }
STS20.MasterPageWS.AddComment= function(comment,commentBy,url,email,onSuccess,onFailed,userContext) {
/// <param name="comment" type="String">System.String</param>
/// <param name="commentBy" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
STS20.MasterPageWS._staticInstance.AddComment(comment,commentBy,url,email,onSuccess,onFailed,userContext); }

