var mbc=function() {
mbc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
mbc.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return mbc._staticInstance.get_path();},
chk_user:function(tb,succeededCallback, failedCallback, userContext) {
/// <param name="tb" type="booking">booking</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'chk_user',false,{tb:tb},succeededCallback,failedCallback,userContext); },
Fillstate:function(tb,succeededCallback, failedCallback, userContext) {
/// <param name="tb" type="booking">booking</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Fillstate',false,{tb:tb},succeededCallback,failedCallback,userContext); },
FillCity:function(tb,succeededCallback, failedCallback, userContext) {
/// <param name="tb" type="booking">booking</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'FillCity',false,{tb:tb},succeededCallback,failedCallback,userContext); }}
mbc.registerClass('mbc',Sys.Net.WebServiceProxy);
mbc._staticInstance = new mbc();
mbc.set_path = function(value) {
mbc._staticInstance.set_path(value); }
mbc.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return mbc._staticInstance.get_path();}
mbc.set_timeout = function(value) {
mbc._staticInstance.set_timeout(value); }
mbc.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return mbc._staticInstance.get_timeout(); }
mbc.set_defaultUserContext = function(value) { 
mbc._staticInstance.set_defaultUserContext(value); }
mbc.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return mbc._staticInstance.get_defaultUserContext(); }
mbc.set_defaultSucceededCallback = function(value) { 
 mbc._staticInstance.set_defaultSucceededCallback(value); }
mbc.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return mbc._staticInstance.get_defaultSucceededCallback(); }
mbc.set_defaultFailedCallback = function(value) { 
mbc._staticInstance.set_defaultFailedCallback(value); }
mbc.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return mbc._staticInstance.get_defaultFailedCallback(); }
mbc.set_path("/mbc.asmx");
mbc.chk_user= function(tb,onSuccess,onFailed,userContext) {
/// <param name="tb" type="booking">booking</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
mbc._staticInstance.chk_user(tb,onSuccess,onFailed,userContext); }
mbc.Fillstate= function(tb,onSuccess,onFailed,userContext) {
/// <param name="tb" type="booking">booking</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
mbc._staticInstance.Fillstate(tb,onSuccess,onFailed,userContext); }
mbc.FillCity= function(tb,onSuccess,onFailed,userContext) {
/// <param name="tb" type="booking">booking</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
mbc._staticInstance.FillCity(tb,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(booking) === 'undefined') {
var booking=gtc("booking");
booking.registerClass('booking');
}
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
