var PostServices=function() {
PostServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PostServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PostServices._staticInstance.get_path();},
LogBannerClick:function(postid,url,succeededCallback, failedCallback, userContext) {
/// <param name="postid" type="Number">System.Int32</param>
/// <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(), 'LogBannerClick',false,{postid:postid,url:url},succeededCallback,failedCallback,userContext); },
SignOut:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'SignOut',false,{},succeededCallback,failedCallback,userContext); },
SpotParameters:function(spotArray,succeededCallback, failedCallback, userContext) {
/// <param name="spotArray" type="Array">System.Object[]</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(), 'SpotParameters',false,{spotArray:spotArray},succeededCallback,failedCallback,userContext); },
AddPostVote:function(voteValue,postId,succeededCallback, failedCallback, userContext) {
/// <param name="voteValue" type="String">System.String</param>
/// <param name="postId" type="Number">System.Int32</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(), 'AddPostVote',false,{voteValue:voteValue,postId:postId},succeededCallback,failedCallback,userContext); },
SendEmail:function(to,message,link,succeededCallback, failedCallback, userContext) {
/// <param name="to" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="link" 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(), 'SendEmail',false,{to:to,message:message,link:link},succeededCallback,failedCallback,userContext); }}
PostServices.registerClass('PostServices',Sys.Net.WebServiceProxy);
PostServices._staticInstance = new PostServices();
PostServices.set_path = function(value) {
PostServices._staticInstance.set_path(value); }
PostServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return PostServices._staticInstance.get_path();}
PostServices.set_timeout = function(value) {
PostServices._staticInstance.set_timeout(value); }
PostServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return PostServices._staticInstance.get_timeout(); }
PostServices.set_defaultUserContext = function(value) { 
PostServices._staticInstance.set_defaultUserContext(value); }
PostServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return PostServices._staticInstance.get_defaultUserContext(); }
PostServices.set_defaultSucceededCallback = function(value) { 
 PostServices._staticInstance.set_defaultSucceededCallback(value); }
PostServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return PostServices._staticInstance.get_defaultSucceededCallback(); }
PostServices.set_defaultFailedCallback = function(value) { 
PostServices._staticInstance.set_defaultFailedCallback(value); }
PostServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return PostServices._staticInstance.get_defaultFailedCallback(); }
PostServices.set_path("/Services/PostServices.asmx");
PostServices.LogBannerClick= function(postid,url,onSuccess,onFailed,userContext) {
/// <param name="postid" type="Number">System.Int32</param>
/// <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>
PostServices._staticInstance.LogBannerClick(postid,url,onSuccess,onFailed,userContext); }
PostServices.SignOut= function(onSuccess,onFailed,userContext) {
/// <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>
PostServices._staticInstance.SignOut(onSuccess,onFailed,userContext); }
PostServices.SpotParameters= function(spotArray,onSuccess,onFailed,userContext) {
/// <param name="spotArray" type="Array">System.Object[]</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>
PostServices._staticInstance.SpotParameters(spotArray,onSuccess,onFailed,userContext); }
PostServices.AddPostVote= function(voteValue,postId,onSuccess,onFailed,userContext) {
/// <param name="voteValue" type="String">System.String</param>
/// <param name="postId" type="Number">System.Int32</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>
PostServices._staticInstance.AddPostVote(voteValue,postId,onSuccess,onFailed,userContext); }
PostServices.SendEmail= function(to,message,link,onSuccess,onFailed,userContext) {
/// <param name="to" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="link" 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>
PostServices._staticInstance.SendEmail(to,message,link,onSuccess,onFailed,userContext); }

