var PostsWebService=function() {
PostsWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PostsWebService.prototype={
ReturnPosts:function(Tag,MaxPosts,Layout,CurrentUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(PostsWebService.get_path(), 'ReturnPosts',false,{Tag:Tag,MaxPosts:MaxPosts,Layout:Layout,CurrentUrl:CurrentUrl},succeededCallback,failedCallback,userContext); }}
PostsWebService.registerClass('PostsWebService',Sys.Net.WebServiceProxy);
PostsWebService._staticInstance = new PostsWebService();
PostsWebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; PostsWebService._staticInstance._path = value; }
PostsWebService.get_path = function() { return PostsWebService._staticInstance._path; }
PostsWebService.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); }
PostsWebService._staticInstance._timeout = value; }
PostsWebService.get_timeout = function() { 
return PostsWebService._staticInstance._timeout; }
PostsWebService.set_defaultUserContext = function(value) { 
PostsWebService._staticInstance._userContext = value; }
PostsWebService.get_defaultUserContext = function() { 
return PostsWebService._staticInstance._userContext; }
PostsWebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; PostsWebService._staticInstance._succeeded = value; }
PostsWebService.get_defaultSucceededCallback = function() { 
return PostsWebService._staticInstance._succeeded; }
PostsWebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; PostsWebService._staticInstance._failed = value; }
PostsWebService.get_defaultFailedCallback = function() { 
return PostsWebService._staticInstance._failed; }
PostsWebService.set_path("/PostsWebService.asmx");
PostsWebService.ReturnPosts= function(Tag,MaxPosts,Layout,CurrentUrl,onSuccess,onFailed,userContext) {PostsWebService._staticInstance.ReturnPosts(Tag,MaxPosts,Layout,CurrentUrl,onSuccess,onFailed,userContext); }
