Type.registerNamespace('AttainDreamsWeb.Services');
AttainDreamsWeb.Services.WebCounter=function() {
AttainDreamsWeb.Services.WebCounter.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AttainDreamsWeb.Services.WebCounter.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AttainDreamsWeb.Services.WebCounter._staticInstance.get_path();},
RegisterClientData:function(windowWidth,windowHeight,screenWidth,screenHeight,operatingSystemName,url,previouseUrl,succeededCallback, failedCallback, userContext) {
/// <param name="windowWidth" type="Number">System.Int32</param>
/// <param name="windowHeight" type="Number">System.Int32</param>
/// <param name="screenWidth" type="Number">System.Int32</param>
/// <param name="screenHeight" type="Number">System.Int32</param>
/// <param name="operatingSystemName" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="previouseUrl" type="String">System.String</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(), 'RegisterClientData',false,{windowWidth:windowWidth,windowHeight:windowHeight,screenWidth:screenWidth,screenHeight:screenHeight,operatingSystemName:operatingSystemName,url:url,previouseUrl:previouseUrl},succeededCallback,failedCallback,userContext); }}
AttainDreamsWeb.Services.WebCounter.registerClass('AttainDreamsWeb.Services.WebCounter',Sys.Net.WebServiceProxy);
AttainDreamsWeb.Services.WebCounter._staticInstance = new AttainDreamsWeb.Services.WebCounter();
AttainDreamsWeb.Services.WebCounter.set_path = function(value) {
AttainDreamsWeb.Services.WebCounter._staticInstance.set_path(value); }
AttainDreamsWeb.Services.WebCounter.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AttainDreamsWeb.Services.WebCounter._staticInstance.get_path();}
AttainDreamsWeb.Services.WebCounter.set_timeout = function(value) {
AttainDreamsWeb.Services.WebCounter._staticInstance.set_timeout(value); }
AttainDreamsWeb.Services.WebCounter.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AttainDreamsWeb.Services.WebCounter._staticInstance.get_timeout(); }
AttainDreamsWeb.Services.WebCounter.set_defaultUserContext = function(value) { 
AttainDreamsWeb.Services.WebCounter._staticInstance.set_defaultUserContext(value); }
AttainDreamsWeb.Services.WebCounter.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AttainDreamsWeb.Services.WebCounter._staticInstance.get_defaultUserContext(); }
AttainDreamsWeb.Services.WebCounter.set_defaultSucceededCallback = function(value) { 
 AttainDreamsWeb.Services.WebCounter._staticInstance.set_defaultSucceededCallback(value); }
AttainDreamsWeb.Services.WebCounter.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AttainDreamsWeb.Services.WebCounter._staticInstance.get_defaultSucceededCallback(); }
AttainDreamsWeb.Services.WebCounter.set_defaultFailedCallback = function(value) { 
AttainDreamsWeb.Services.WebCounter._staticInstance.set_defaultFailedCallback(value); }
AttainDreamsWeb.Services.WebCounter.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AttainDreamsWeb.Services.WebCounter._staticInstance.get_defaultFailedCallback(); }
AttainDreamsWeb.Services.WebCounter.set_path("/WebServices/WebCounter.asmx");
AttainDreamsWeb.Services.WebCounter.RegisterClientData= function(windowWidth,windowHeight,screenWidth,screenHeight,operatingSystemName,url,previouseUrl,onSuccess,onFailed,userContext) {
/// <param name="windowWidth" type="Number">System.Int32</param>
/// <param name="windowHeight" type="Number">System.Int32</param>
/// <param name="screenWidth" type="Number">System.Int32</param>
/// <param name="screenHeight" type="Number">System.Int32</param>
/// <param name="operatingSystemName" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="previouseUrl" type="String">System.String</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>
AttainDreamsWeb.Services.WebCounter._staticInstance.RegisterClientData(windowWidth,windowHeight,screenWidth,screenHeight,operatingSystemName,url,previouseUrl,onSuccess,onFailed,userContext); }
