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