Type.registerNamespace('CodeArtWeb.Services');
CodeArtWeb.Services.WebCounter=function() {
CodeArtWeb.Services.WebCounter.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CodeArtWeb.Services.WebCounter.prototype={
RegisterClientData:function(windowWidth,windowHeight,screenWidth,screenHeight,operatingSystemName,url,previouseUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(CodeArtWeb.Services.WebCounter.get_path(), 'RegisterClientData',false,{windowWidth:windowWidth,windowHeight:windowHeight,screenWidth:screenWidth,screenHeight:screenHeight,operatingSystemName:operatingSystemName,url:url,previouseUrl:previouseUrl},succeededCallback,failedCallback,userContext); }}
CodeArtWeb.Services.WebCounter.registerClass('CodeArtWeb.Services.WebCounter',Sys.Net.WebServiceProxy);
CodeArtWeb.Services.WebCounter._staticInstance = new CodeArtWeb.Services.WebCounter();
CodeArtWeb.Services.WebCounter.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; CodeArtWeb.Services.WebCounter._staticInstance._path = value; }
CodeArtWeb.Services.WebCounter.get_path = function() { return CodeArtWeb.Services.WebCounter._staticInstance._path; }
CodeArtWeb.Services.WebCounter.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); }
CodeArtWeb.Services.WebCounter._staticInstance._timeout = value; }
CodeArtWeb.Services.WebCounter.get_timeout = function() { 
return CodeArtWeb.Services.WebCounter._staticInstance._timeout; }
CodeArtWeb.Services.WebCounter.set_defaultUserContext = function(value) { 
CodeArtWeb.Services.WebCounter._staticInstance._userContext = value; }
CodeArtWeb.Services.WebCounter.get_defaultUserContext = function() { 
return CodeArtWeb.Services.WebCounter._staticInstance._userContext; }
CodeArtWeb.Services.WebCounter.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; CodeArtWeb.Services.WebCounter._staticInstance._succeeded = value; }
CodeArtWeb.Services.WebCounter.get_defaultSucceededCallback = function() { 
return CodeArtWeb.Services.WebCounter._staticInstance._succeeded; }
CodeArtWeb.Services.WebCounter.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; CodeArtWeb.Services.WebCounter._staticInstance._failed = value; }
CodeArtWeb.Services.WebCounter.get_defaultFailedCallback = function() { 
return CodeArtWeb.Services.WebCounter._staticInstance._failed; }
CodeArtWeb.Services.WebCounter.set_path("/WebServices/WebCounter.asmx");
CodeArtWeb.Services.WebCounter.RegisterClientData= function(windowWidth,windowHeight,screenWidth,screenHeight,operatingSystemName,url,previouseUrl,onSuccess,onFailed,userContext) {CodeArtWeb.Services.WebCounter._staticInstance.RegisterClientData(windowWidth,windowHeight,screenWidth,screenHeight,operatingSystemName,url,previouseUrl,onSuccess,onFailed,userContext); }
