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

