Type.registerNamespace('thewebsiteshop.Services');
thewebsiteshop.Services.SiteService=function() {
thewebsiteshop.Services.SiteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
thewebsiteshop.Services.SiteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return thewebsiteshop.Services.SiteService._staticInstance.get_path();},
GetKeywords:function(Uri,Type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetKeywords',false,{Uri:Uri,Type:Type},succeededCallback,failedCallback,userContext); },
WebEnquiry:function(message,email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'WebEnquiry',true,{message:message,email:email},succeededCallback,failedCallback,userContext); }}
thewebsiteshop.Services.SiteService.registerClass('thewebsiteshop.Services.SiteService',Sys.Net.WebServiceProxy);
thewebsiteshop.Services.SiteService._staticInstance = new thewebsiteshop.Services.SiteService();
thewebsiteshop.Services.SiteService.set_path = function(value) { thewebsiteshop.Services.SiteService._staticInstance.set_path(value); }
thewebsiteshop.Services.SiteService.get_path = function() { return thewebsiteshop.Services.SiteService._staticInstance.get_path(); }
thewebsiteshop.Services.SiteService.set_timeout = function(value) { thewebsiteshop.Services.SiteService._staticInstance.set_timeout(value); }
thewebsiteshop.Services.SiteService.get_timeout = function() { return thewebsiteshop.Services.SiteService._staticInstance.get_timeout(); }
thewebsiteshop.Services.SiteService.set_defaultUserContext = function(value) { thewebsiteshop.Services.SiteService._staticInstance.set_defaultUserContext(value); }
thewebsiteshop.Services.SiteService.get_defaultUserContext = function() { return thewebsiteshop.Services.SiteService._staticInstance.get_defaultUserContext(); }
thewebsiteshop.Services.SiteService.set_defaultSucceededCallback = function(value) { thewebsiteshop.Services.SiteService._staticInstance.set_defaultSucceededCallback(value); }
thewebsiteshop.Services.SiteService.get_defaultSucceededCallback = function() { return thewebsiteshop.Services.SiteService._staticInstance.get_defaultSucceededCallback(); }
thewebsiteshop.Services.SiteService.set_defaultFailedCallback = function(value) { thewebsiteshop.Services.SiteService._staticInstance.set_defaultFailedCallback(value); }
thewebsiteshop.Services.SiteService.get_defaultFailedCallback = function() { return thewebsiteshop.Services.SiteService._staticInstance.get_defaultFailedCallback(); }
thewebsiteshop.Services.SiteService.set_path("/Services/SiteService.svc");
thewebsiteshop.Services.SiteService.GetKeywords= function(Uri,Type,onSuccess,onFailed,userContext) {thewebsiteshop.Services.SiteService._staticInstance.GetKeywords(Uri,Type,onSuccess,onFailed,userContext); }
thewebsiteshop.Services.SiteService.WebEnquiry= function(message,email,onSuccess,onFailed,userContext) {thewebsiteshop.Services.SiteService._staticInstance.WebEnquiry(message,email,onSuccess,onFailed,userContext); }
