Type.registerNamespace('BVI.Website');
BVI.Website.Methods=function() {
BVI.Website.Methods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BVI.Website.Methods.prototype={
SubmitRequest:function(type,email,email_style,action,succeededCallback, failedCallback, userContext) {
return this._invoke(BVI.Website.Methods.get_path(), 'SubmitRequest',false,{type:type,email:email,email_style:email_style,action:action},succeededCallback,failedCallback,userContext); },
GetWeather:function(succeededCallback, failedCallback, userContext) {
return this._invoke(BVI.Website.Methods.get_path(), 'GetWeather',false,{},succeededCallback,failedCallback,userContext); }}
BVI.Website.Methods.registerClass('BVI.Website.Methods',Sys.Net.WebServiceProxy);
BVI.Website.Methods._staticInstance = new BVI.Website.Methods();
BVI.Website.Methods.set_path = function(value) { BVI.Website.Methods._staticInstance._path = value; }
BVI.Website.Methods.get_path = function() { return BVI.Website.Methods._staticInstance._path; }
BVI.Website.Methods.set_timeout = function(value) { BVI.Website.Methods._staticInstance._timeout = value; }
BVI.Website.Methods.get_timeout = function() { return BVI.Website.Methods._staticInstance._timeout; }
BVI.Website.Methods.set_defaultUserContext = function(value) { BVI.Website.Methods._staticInstance._userContext = value; }
BVI.Website.Methods.get_defaultUserContext = function() { return BVI.Website.Methods._staticInstance._userContext; }
BVI.Website.Methods.set_defaultSucceededCallback = function(value) { BVI.Website.Methods._staticInstance._succeeded = value; }
BVI.Website.Methods.get_defaultSucceededCallback = function() { return BVI.Website.Methods._staticInstance._succeeded; }
BVI.Website.Methods.set_defaultFailedCallback = function(value) { BVI.Website.Methods._staticInstance._failed = value; }
BVI.Website.Methods.get_defaultFailedCallback = function() { return BVI.Website.Methods._staticInstance._failed; }
BVI.Website.Methods.set_path("/Methods.asmx");
BVI.Website.Methods.SubmitRequest= function(type,email,email_style,action,onSuccess,onFailed,userContext) {BVI.Website.Methods._staticInstance.SubmitRequest(type,email,email_style,action,onSuccess,onFailed,userContext); }
BVI.Website.Methods.GetWeather= function(onSuccess,onFailed,userContext) {BVI.Website.Methods._staticInstance.GetWeather(onSuccess,onFailed,userContext); }
