var MapService=function() {
MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MapService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MapService._staticInstance.get_path();},
getInfoWindow:function(pid,currencyid,type,succeededCallback, failedCallback, userContext) {
/// <param name="pid" type="String">System.String</param>
/// <param name="currencyid" type="String">System.String</param>
/// <param name="type" 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(), 'getInfoWindow',false,{pid:pid,currencyid:currencyid,type:type},succeededCallback,failedCallback,userContext); },
getLeftPanel:function(id,type,bounds,currencyid,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="String">System.String</param>
/// <param name="type" type="String">System.String</param>
/// <param name="bounds" type="String">System.String</param>
/// <param name="currencyid" 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(), 'getLeftPanel',false,{id:id,type:type,bounds:bounds,currencyid:currencyid},succeededCallback,failedCallback,userContext); },
sendEmail:function(to,from,msg,bcc,townurl,succeededCallback, failedCallback, userContext) {
/// <param name="to" type="String">System.String</param>
/// <param name="from" type="String">System.String</param>
/// <param name="msg" type="String">System.String</param>
/// <param name="bcc" type="Boolean">System.Boolean</param>
/// <param name="townurl" 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(), 'sendEmail',false,{to:to,from:from,msg:msg,bcc:bcc,townurl:townurl},succeededCallback,failedCallback,userContext); }}
MapService.registerClass('MapService',Sys.Net.WebServiceProxy);
MapService._staticInstance = new MapService();
MapService.set_path = function(value) {
MapService._staticInstance.set_path(value); }
MapService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MapService._staticInstance.get_path();}
MapService.set_timeout = function(value) {
MapService._staticInstance.set_timeout(value); }
MapService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MapService._staticInstance.get_timeout(); }
MapService.set_defaultUserContext = function(value) { 
MapService._staticInstance.set_defaultUserContext(value); }
MapService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MapService._staticInstance.get_defaultUserContext(); }
MapService.set_defaultSucceededCallback = function(value) { 
 MapService._staticInstance.set_defaultSucceededCallback(value); }
MapService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MapService._staticInstance.get_defaultSucceededCallback(); }
MapService.set_defaultFailedCallback = function(value) { 
MapService._staticInstance.set_defaultFailedCallback(value); }
MapService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MapService._staticInstance.get_defaultFailedCallback(); }
MapService.set_path("/MapService.asmx");
MapService.getInfoWindow= function(pid,currencyid,type,onSuccess,onFailed,userContext) {
/// <param name="pid" type="String">System.String</param>
/// <param name="currencyid" type="String">System.String</param>
/// <param name="type" 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>
MapService._staticInstance.getInfoWindow(pid,currencyid,type,onSuccess,onFailed,userContext); }
MapService.getLeftPanel= function(id,type,bounds,currencyid,onSuccess,onFailed,userContext) {
/// <param name="id" type="String">System.String</param>
/// <param name="type" type="String">System.String</param>
/// <param name="bounds" type="String">System.String</param>
/// <param name="currencyid" 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>
MapService._staticInstance.getLeftPanel(id,type,bounds,currencyid,onSuccess,onFailed,userContext); }
MapService.sendEmail= function(to,from,msg,bcc,townurl,onSuccess,onFailed,userContext) {
/// <param name="to" type="String">System.String</param>
/// <param name="from" type="String">System.String</param>
/// <param name="msg" type="String">System.String</param>
/// <param name="bcc" type="Boolean">System.Boolean</param>
/// <param name="townurl" 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>
MapService._staticInstance.sendEmail(to,from,msg,bcc,townurl,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(info) === 'undefined') {
var info=gtc("info");
info.registerClass('info');
}
if (typeof(leftlist) === 'undefined') {
var leftlist=gtc("leftlist");
leftlist.registerClass('leftlist');
}
