Type.registerNamespace('App_Code');
App_Code.B=function() {
App_Code.B.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
App_Code.B.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return App_Code.B._staticInstance.get_path();},
Top:function(random,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Top',false,{random:random,count:count},succeededCallback,failedCallback,userContext); }}
App_Code.B.registerClass('App_Code.B',Sys.Net.WebServiceProxy);
App_Code.B._staticInstance = new App_Code.B();
App_Code.B.set_path = function(value) { App_Code.B._staticInstance.set_path(value); }
App_Code.B.get_path = function() { return App_Code.B._staticInstance.get_path(); }
App_Code.B.set_timeout = function(value) { App_Code.B._staticInstance.set_timeout(value); }
App_Code.B.get_timeout = function() { return App_Code.B._staticInstance.get_timeout(); }
App_Code.B.set_defaultUserContext = function(value) { App_Code.B._staticInstance.set_defaultUserContext(value); }
App_Code.B.get_defaultUserContext = function() { return App_Code.B._staticInstance.get_defaultUserContext(); }
App_Code.B.set_defaultSucceededCallback = function(value) { App_Code.B._staticInstance.set_defaultSucceededCallback(value); }
App_Code.B.get_defaultSucceededCallback = function() { return App_Code.B._staticInstance.get_defaultSucceededCallback(); }
App_Code.B.set_defaultFailedCallback = function(value) { App_Code.B._staticInstance.set_defaultFailedCallback(value); }
App_Code.B.get_defaultFailedCallback = function() { return App_Code.B._staticInstance.get_defaultFailedCallback(); }
App_Code.B.set_enableJsonp = function(value) { App_Code.B._staticInstance.set_enableJsonp(value); }
App_Code.B.get_enableJsonp = function() { return App_Code.B._staticInstance.get_enableJsonp(); }
App_Code.B.set_jsonpCallbackParameter = function(value) { App_Code.B._staticInstance.set_jsonpCallbackParameter(value); }
App_Code.B.get_jsonpCallbackParameter = function() { return App_Code.B._staticInstance.get_jsonpCallbackParameter(); }
App_Code.B.set_path("/B.asmx");
App_Code.B.Top= function(random,count,onSuccess,onFailed,userContext) {App_Code.B._staticInstance.Top(random,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(App_Code.Banner) === 'undefined') {
App_Code.Banner=gtc("App_Code.Banner");
App_Code.Banner.registerClass('App_Code.Banner');
}
