var Products=function() {
Products.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Products.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Products._staticInstance.get_path();},
EnterCompetition:function(name,pharmacy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EnterCompetition',false,{name:name,pharmacy:pharmacy},succeededCallback,failedCallback,userContext); },
Enquire:function(hslCode,quantity,customerCode,emailAddress,isVaccines,siteAccessId,isRadius,isOrderTemplateMode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Enquire',false,{hslCode:hslCode,quantity:quantity,customerCode:customerCode,emailAddress:emailAddress,isVaccines:isVaccines,siteAccessId:siteAccessId,isRadius:isRadius,isOrderTemplateMode:isOrderTemplateMode},succeededCallback,failedCallback,userContext); },
GetCSVBrandsFromCategory:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCSVBrandsFromCategory',false,{category:category},succeededCallback,failedCallback,userContext); }}
Products.registerClass('Products',Sys.Net.WebServiceProxy);
Products._staticInstance = new Products();
Products.set_path = function(value) { Products._staticInstance.set_path(value); }
Products.get_path = function() { return Products._staticInstance.get_path(); }
Products.set_timeout = function(value) { Products._staticInstance.set_timeout(value); }
Products.get_timeout = function() { return Products._staticInstance.get_timeout(); }
Products.set_defaultUserContext = function(value) { Products._staticInstance.set_defaultUserContext(value); }
Products.get_defaultUserContext = function() { return Products._staticInstance.get_defaultUserContext(); }
Products.set_defaultSucceededCallback = function(value) { Products._staticInstance.set_defaultSucceededCallback(value); }
Products.get_defaultSucceededCallback = function() { return Products._staticInstance.get_defaultSucceededCallback(); }
Products.set_defaultFailedCallback = function(value) { Products._staticInstance.set_defaultFailedCallback(value); }
Products.get_defaultFailedCallback = function() { return Products._staticInstance.get_defaultFailedCallback(); }
Products.set_path("/Products.asmx");
Products.EnterCompetition= function(name,pharmacy,onSuccess,onFailed,userContext) {Products._staticInstance.EnterCompetition(name,pharmacy,onSuccess,onFailed,userContext); }
Products.Enquire= function(hslCode,quantity,customerCode,emailAddress,isVaccines,siteAccessId,isRadius,isOrderTemplateMode,onSuccess,onFailed,userContext) {Products._staticInstance.Enquire(hslCode,quantity,customerCode,emailAddress,isVaccines,siteAccessId,isRadius,isOrderTemplateMode,onSuccess,onFailed,userContext); }
Products.GetCSVBrandsFromCategory= function(category,onSuccess,onFailed,userContext) {Products._staticInstance.GetCSVBrandsFromCategory(category,onSuccess,onFailed,userContext); }

