var Mapping=function() {
Mapping.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Mapping.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Mapping._staticInstance.get_path();},
GetHotspots:function(x,y,width,height,zoomLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHotspots',false,{x:x,y:y,width:width,height:height,zoomLevel:zoomLevel},succeededCallback,failedCallback,userContext); },
GetComments:function(hotspotId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetComments',false,{hotspotId:hotspotId},succeededCallback,failedCallback,userContext); },
SubmitComment:function(name,comment,email,hotspotId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubmitComment',false,{name:name,comment:comment,email:email,hotspotId:hotspotId},succeededCallback,failedCallback,userContext); }}
Mapping.registerClass('Mapping',Sys.Net.WebServiceProxy);
Mapping._staticInstance = new Mapping();
Mapping.set_path = function(value) { Mapping._staticInstance.set_path(value); }
Mapping.get_path = function() { return Mapping._staticInstance.get_path(); }
Mapping.set_timeout = function(value) { Mapping._staticInstance.set_timeout(value); }
Mapping.get_timeout = function() { return Mapping._staticInstance.get_timeout(); }
Mapping.set_defaultUserContext = function(value) { Mapping._staticInstance.set_defaultUserContext(value); }
Mapping.get_defaultUserContext = function() { return Mapping._staticInstance.get_defaultUserContext(); }
Mapping.set_defaultSucceededCallback = function(value) { Mapping._staticInstance.set_defaultSucceededCallback(value); }
Mapping.get_defaultSucceededCallback = function() { return Mapping._staticInstance.get_defaultSucceededCallback(); }
Mapping.set_defaultFailedCallback = function(value) { Mapping._staticInstance.set_defaultFailedCallback(value); }
Mapping.get_defaultFailedCallback = function() { return Mapping._staticInstance.get_defaultFailedCallback(); }
Mapping.set_path("/webservices/mapping.asmx");
Mapping.GetHotspots= function(x,y,width,height,zoomLevel,onSuccess,onFailed,userContext) {Mapping._staticInstance.GetHotspots(x,y,width,height,zoomLevel,onSuccess,onFailed,userContext); }
Mapping.GetComments= function(hotspotId,onSuccess,onFailed,userContext) {Mapping._staticInstance.GetComments(hotspotId,onSuccess,onFailed,userContext); }
Mapping.SubmitComment= function(name,comment,email,hotspotId,onSuccess,onFailed,userContext) {Mapping._staticInstance.SubmitComment(name,comment,email,hotspotId,onSuccess,onFailed,userContext); }
