Type.registerNamespace('Gallery.Service');
Gallery.Service.ServiceWeb=function() {
Gallery.Service.ServiceWeb.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Gallery.Service.ServiceWeb.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Gallery.Service.ServiceWeb._staticInstance.get_path();},
List6Properties:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'List6Properties',false,{},succeededCallback,failedCallback,userContext); },
ListProperties:function(strPostcode,dblLatitude,dblLongitude,strCriteria,lngPage,lngRadius,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListProperties',false,{strPostcode:strPostcode,dblLatitude:dblLatitude,dblLongitude:dblLongitude,strCriteria:strCriteria,lngPage:lngPage,lngRadius:lngRadius},succeededCallback,failedCallback,userContext); },
AddProperty:function(dblLatitude,dblLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProperty',false,{dblLatitude:dblLatitude,dblLongitude:dblLongitude},succeededCallback,failedCallback,userContext); },
SetLongLat:function(strPostcode,dblLatitude,dblLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetLongLat',false,{strPostcode:strPostcode,dblLatitude:dblLatitude,dblLongitude:dblLongitude},succeededCallback,failedCallback,userContext); },
SetTownLongLat:function(strPostcode,dblLatitude,dblLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetTownLongLat',false,{strPostcode:strPostcode,dblLatitude:dblLatitude,dblLongitude:dblLongitude},succeededCallback,failedCallback,userContext); }}
Gallery.Service.ServiceWeb.registerClass('Gallery.Service.ServiceWeb',Sys.Net.WebServiceProxy);
Gallery.Service.ServiceWeb._staticInstance = new Gallery.Service.ServiceWeb();
Gallery.Service.ServiceWeb.set_path = function(value) { Gallery.Service.ServiceWeb._staticInstance.set_path(value); }
Gallery.Service.ServiceWeb.get_path = function() { return Gallery.Service.ServiceWeb._staticInstance.get_path(); }
Gallery.Service.ServiceWeb.set_timeout = function(value) { Gallery.Service.ServiceWeb._staticInstance.set_timeout(value); }
Gallery.Service.ServiceWeb.get_timeout = function() { return Gallery.Service.ServiceWeb._staticInstance.get_timeout(); }
Gallery.Service.ServiceWeb.set_defaultUserContext = function(value) { Gallery.Service.ServiceWeb._staticInstance.set_defaultUserContext(value); }
Gallery.Service.ServiceWeb.get_defaultUserContext = function() { return Gallery.Service.ServiceWeb._staticInstance.get_defaultUserContext(); }
Gallery.Service.ServiceWeb.set_defaultSucceededCallback = function(value) { Gallery.Service.ServiceWeb._staticInstance.set_defaultSucceededCallback(value); }
Gallery.Service.ServiceWeb.get_defaultSucceededCallback = function() { return Gallery.Service.ServiceWeb._staticInstance.get_defaultSucceededCallback(); }
Gallery.Service.ServiceWeb.set_defaultFailedCallback = function(value) { Gallery.Service.ServiceWeb._staticInstance.set_defaultFailedCallback(value); }
Gallery.Service.ServiceWeb.get_defaultFailedCallback = function() { return Gallery.Service.ServiceWeb._staticInstance.get_defaultFailedCallback(); }
Gallery.Service.ServiceWeb.set_path("/ServiceWeb.asmx");
Gallery.Service.ServiceWeb.List6Properties= function(onSuccess,onFailed,userContext) {Gallery.Service.ServiceWeb._staticInstance.List6Properties(onSuccess,onFailed,userContext); }
Gallery.Service.ServiceWeb.ListProperties= function(strPostcode,dblLatitude,dblLongitude,strCriteria,lngPage,lngRadius,onSuccess,onFailed,userContext) {Gallery.Service.ServiceWeb._staticInstance.ListProperties(strPostcode,dblLatitude,dblLongitude,strCriteria,lngPage,lngRadius,onSuccess,onFailed,userContext); }
Gallery.Service.ServiceWeb.AddProperty= function(dblLatitude,dblLongitude,onSuccess,onFailed,userContext) {Gallery.Service.ServiceWeb._staticInstance.AddProperty(dblLatitude,dblLongitude,onSuccess,onFailed,userContext); }
Gallery.Service.ServiceWeb.SetLongLat= function(strPostcode,dblLatitude,dblLongitude,onSuccess,onFailed,userContext) {Gallery.Service.ServiceWeb._staticInstance.SetLongLat(strPostcode,dblLatitude,dblLongitude,onSuccess,onFailed,userContext); }
Gallery.Service.ServiceWeb.SetTownLongLat= function(strPostcode,dblLatitude,dblLongitude,onSuccess,onFailed,userContext) {Gallery.Service.ServiceWeb._staticInstance.SetTownLongLat(strPostcode,dblLatitude,dblLongitude,onSuccess,onFailed,userContext); }

