Type.registerNamespace('TFWebApp');
TFWebApp._ProductService=function() {
TFWebApp._ProductService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TFWebApp._ProductService.prototype={
GetQuantityofStock:function(nsInternalId,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWebApp._ProductService.get_path(), 'GetQuantityofStock',false,{nsInternalId:nsInternalId},succeededCallback,failedCallback,userContext); },
GetSlides:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWebApp._ProductService.get_path(), 'GetSlides',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
SendMailToFrnd:function(txtName,txtNameFrnd,txtEmail,productname,txtMsg,txtEmailFrnd,currenturl,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWebApp._ProductService.get_path(), 'SendMailToFrnd',false,{txtName:txtName,txtNameFrnd:txtNameFrnd,txtEmail:txtEmail,productname:productname,txtMsg:txtMsg,txtEmailFrnd:txtEmailFrnd,currenturl:currenturl},succeededCallback,failedCallback,userContext); },
EmailSignUpNewsletter:function(name,email,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWebApp._ProductService.get_path(), 'EmailSignUpNewsletter',false,{name:name,email:email},succeededCallback,failedCallback,userContext); },
GetBigSlides:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWebApp._ProductService.get_path(), 'GetBigSlides',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
ContactUs:function(title,fname,lname,frmemail,tel,mobile,address1,address2,address3,city,country,postcode,whereHear,otherwhrhear,msg,chkNews,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWebApp._ProductService.get_path(), 'ContactUs',false,{title:title,fname:fname,lname:lname,frmemail:frmemail,tel:tel,mobile:mobile,address1:address1,address2:address2,address3:address3,city:city,country:country,postcode:postcode,whereHear:whereHear,otherwhrhear:otherwhrhear,msg:msg,chkNews:chkNews},succeededCallback,failedCallback,userContext); }}
TFWebApp._ProductService.registerClass('TFWebApp._ProductService',Sys.Net.WebServiceProxy);
TFWebApp._ProductService._staticInstance = new TFWebApp._ProductService();
TFWebApp._ProductService.set_path = function(value) { TFWebApp._ProductService._staticInstance._path = value; }
TFWebApp._ProductService.get_path = function() { return TFWebApp._ProductService._staticInstance._path; }
TFWebApp._ProductService.set_timeout = function(value) { TFWebApp._ProductService._staticInstance._timeout = value; }
TFWebApp._ProductService.get_timeout = function() { return TFWebApp._ProductService._staticInstance._timeout; }
TFWebApp._ProductService.set_defaultUserContext = function(value) { TFWebApp._ProductService._staticInstance._userContext = value; }
TFWebApp._ProductService.get_defaultUserContext = function() { return TFWebApp._ProductService._staticInstance._userContext; }
TFWebApp._ProductService.set_defaultSucceededCallback = function(value) { TFWebApp._ProductService._staticInstance._succeeded = value; }
TFWebApp._ProductService.get_defaultSucceededCallback = function() { return TFWebApp._ProductService._staticInstance._succeeded; }
TFWebApp._ProductService.set_defaultFailedCallback = function(value) { TFWebApp._ProductService._staticInstance._failed = value; }
TFWebApp._ProductService.get_defaultFailedCallback = function() { return TFWebApp._ProductService._staticInstance._failed; }
TFWebApp._ProductService.set_path("/_Product.asmx");
TFWebApp._ProductService.GetQuantityofStock= function(nsInternalId,onSuccess,onFailed,userContext) {TFWebApp._ProductService._staticInstance.GetQuantityofStock(nsInternalId,onSuccess,onFailed,userContext); }
TFWebApp._ProductService.GetSlides= function(contextKey,onSuccess,onFailed,userContext) {TFWebApp._ProductService._staticInstance.GetSlides(contextKey,onSuccess,onFailed,userContext); }
TFWebApp._ProductService.SendMailToFrnd= function(txtName,txtNameFrnd,txtEmail,productname,txtMsg,txtEmailFrnd,currenturl,onSuccess,onFailed,userContext) {TFWebApp._ProductService._staticInstance.SendMailToFrnd(txtName,txtNameFrnd,txtEmail,productname,txtMsg,txtEmailFrnd,currenturl,onSuccess,onFailed,userContext); }
TFWebApp._ProductService.EmailSignUpNewsletter= function(name,email,onSuccess,onFailed,userContext) {TFWebApp._ProductService._staticInstance.EmailSignUpNewsletter(name,email,onSuccess,onFailed,userContext); }
TFWebApp._ProductService.GetBigSlides= function(contextKey,onSuccess,onFailed,userContext) {TFWebApp._ProductService._staticInstance.GetBigSlides(contextKey,onSuccess,onFailed,userContext); }
TFWebApp._ProductService.ContactUs= function(title,fname,lname,frmemail,tel,mobile,address1,address2,address3,city,country,postcode,whereHear,otherwhrhear,msg,chkNews,onSuccess,onFailed,userContext) {TFWebApp._ProductService._staticInstance.ContactUs(title,fname,lname,frmemail,tel,mobile,address1,address2,address3,city,country,postcode,whereHear,otherwhrhear,msg,chkNews,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.Slide) === 'undefined') {
AjaxControlToolkit.Slide=gtc("AjaxControlToolkit.Slide");
AjaxControlToolkit.Slide.registerClass('AjaxControlToolkit.Slide');
}
