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