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