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

