Type.registerNamespace('FHM');
FHM.Methods=function() {
FHM.Methods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FHM.Methods.prototype={
SubmitInformation:function(first_name,last_name,gender,age,email_address,address,phone,comments,succeededCallback, failedCallback, userContext) {
return this._invoke(FHM.Methods.get_path(), 'SubmitInformation',false,{first_name:first_name,last_name:last_name,gender:gender,age:age,email_address:email_address,address:address,phone:phone,comments:comments},succeededCallback,failedCallback,userContext); }}
FHM.Methods.registerClass('FHM.Methods',Sys.Net.WebServiceProxy);
FHM.Methods._staticInstance = new FHM.Methods();
FHM.Methods.set_path = function(value) { FHM.Methods._staticInstance._path = value; }
FHM.Methods.get_path = function() { return FHM.Methods._staticInstance._path; }
FHM.Methods.set_timeout = function(value) { FHM.Methods._staticInstance._timeout = value; }
FHM.Methods.get_timeout = function() { return FHM.Methods._staticInstance._timeout; }
FHM.Methods.set_defaultUserContext = function(value) { FHM.Methods._staticInstance._userContext = value; }
FHM.Methods.get_defaultUserContext = function() { return FHM.Methods._staticInstance._userContext; }
FHM.Methods.set_defaultSucceededCallback = function(value) { FHM.Methods._staticInstance._succeeded = value; }
FHM.Methods.get_defaultSucceededCallback = function() { return FHM.Methods._staticInstance._succeeded; }
FHM.Methods.set_defaultFailedCallback = function(value) { FHM.Methods._staticInstance._failed = value; }
FHM.Methods.get_defaultFailedCallback = function() { return FHM.Methods._staticInstance._failed; }
FHM.Methods.set_path("/Methods.asmx");
FHM.Methods.SubmitInformation= function(first_name,last_name,gender,age,email_address,address,phone,comments,onSuccess,onFailed,userContext) {FHM.Methods._staticInstance.SubmitInformation(first_name,last_name,gender,age,email_address,address,phone,comments,onSuccess,onFailed,userContext); }

