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