var sever=function() {
sever.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
sever.prototype={
login:function(user,passwd,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'login',false,{user:user,passwd:passwd},succeededCallback,failedCallback,userContext); },
isuser:function(user,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'isuser',false,{user:user},succeededCallback,failedCallback,userContext); },
getnews:function(pram,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'getnews',false,{pram:pram},succeededCallback,failedCallback,userContext); },
getnewss:function(pram,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'getnewss',false,{pram:pram},succeededCallback,failedCallback,userContext); },
getnewtitle:function(pram,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'getnewtitle',false,{pram:pram},succeededCallback,failedCallback,userContext); },
getcontent:function(pram,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'getcontent',false,{pram:pram},succeededCallback,failedCallback,userContext); },
checktitlee:function(pram,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'checktitlee',false,{pram:pram},succeededCallback,failedCallback,userContext); },
sendmail:function(prm,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'sendmail',false,{prm:prm},succeededCallback,failedCallback,userContext); },
resetSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'resetSession',false,{},succeededCallback,failedCallback,userContext); },
getfirsttitle:function(type,succeededCallback, failedCallback, userContext) {
return this._invoke(sever.get_path(), 'getfirsttitle',false,{type:type},succeededCallback,failedCallback,userContext); }}
sever.registerClass('sever',Sys.Net.WebServiceProxy);
sever._staticInstance = new sever();
sever.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; sever._staticInstance._path = value; }
sever.get_path = function() { return sever._staticInstance._path; }
sever.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); }
sever._staticInstance._timeout = value; }
sever.get_timeout = function() { 
return sever._staticInstance._timeout; }
sever.set_defaultUserContext = function(value) { 
sever._staticInstance._userContext = value; }
sever.get_defaultUserContext = function() { 
return sever._staticInstance._userContext; }
sever.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; sever._staticInstance._succeeded = value; }
sever.get_defaultSucceededCallback = function() { 
return sever._staticInstance._succeeded; }
sever.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; sever._staticInstance._failed = value; }
sever.get_defaultFailedCallback = function() { 
return sever._staticInstance._failed; }
sever.set_path("/dfyey/ss/sever.asmx");
sever.login= function(user,passwd,onSuccess,onFailed,userContext) {sever._staticInstance.login(user,passwd,onSuccess,onFailed,userContext); }
sever.isuser= function(user,onSuccess,onFailed,userContext) {sever._staticInstance.isuser(user,onSuccess,onFailed,userContext); }
sever.getnews= function(pram,onSuccess,onFailed,userContext) {sever._staticInstance.getnews(pram,onSuccess,onFailed,userContext); }
sever.getnewss= function(pram,onSuccess,onFailed,userContext) {sever._staticInstance.getnewss(pram,onSuccess,onFailed,userContext); }
sever.getnewtitle= function(pram,onSuccess,onFailed,userContext) {sever._staticInstance.getnewtitle(pram,onSuccess,onFailed,userContext); }
sever.getcontent= function(pram,onSuccess,onFailed,userContext) {sever._staticInstance.getcontent(pram,onSuccess,onFailed,userContext); }
sever.checktitlee= function(pram,onSuccess,onFailed,userContext) {sever._staticInstance.checktitlee(pram,onSuccess,onFailed,userContext); }
sever.sendmail= function(prm,onSuccess,onFailed,userContext) {sever._staticInstance.sendmail(prm,onSuccess,onFailed,userContext); }
sever.resetSession= function(onSuccess,onFailed,userContext) {sever._staticInstance.resetSession(onSuccess,onFailed,userContext); }
sever.getfirsttitle= function(type,onSuccess,onFailed,userContext) {sever._staticInstance.getfirsttitle(type,onSuccess,onFailed,userContext); }
