Type.registerNamespace('Modern.Webshop');
Modern.Webshop.Cookie=function() {
Modern.Webshop.Cookie.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Modern.Webshop.Cookie.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Modern.Webshop.Cookie._staticInstance.get_path();},
SetCampaign:function(campaign,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetCampaign',false,{campaign:campaign},succeededCallback,failedCallback,userContext); },
SetCampaignAndUrl:function(campaign,url,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetCampaignAndUrl',false,{campaign:campaign,url:url},succeededCallback,failedCallback,userContext); }}
Modern.Webshop.Cookie.registerClass('Modern.Webshop.Cookie',Sys.Net.WebServiceProxy);
Modern.Webshop.Cookie._staticInstance = new Modern.Webshop.Cookie();
Modern.Webshop.Cookie.set_path = function(value) { Modern.Webshop.Cookie._staticInstance.set_path(value); }
Modern.Webshop.Cookie.get_path = function() { return Modern.Webshop.Cookie._staticInstance.get_path(); }
Modern.Webshop.Cookie.set_timeout = function(value) { Modern.Webshop.Cookie._staticInstance.set_timeout(value); }
Modern.Webshop.Cookie.get_timeout = function() { return Modern.Webshop.Cookie._staticInstance.get_timeout(); }
Modern.Webshop.Cookie.set_defaultUserContext = function(value) { Modern.Webshop.Cookie._staticInstance.set_defaultUserContext(value); }
Modern.Webshop.Cookie.get_defaultUserContext = function() { return Modern.Webshop.Cookie._staticInstance.get_defaultUserContext(); }
Modern.Webshop.Cookie.set_defaultSucceededCallback = function(value) { Modern.Webshop.Cookie._staticInstance.set_defaultSucceededCallback(value); }
Modern.Webshop.Cookie.get_defaultSucceededCallback = function() { return Modern.Webshop.Cookie._staticInstance.get_defaultSucceededCallback(); }
Modern.Webshop.Cookie.set_defaultFailedCallback = function(value) { Modern.Webshop.Cookie._staticInstance.set_defaultFailedCallback(value); }
Modern.Webshop.Cookie.get_defaultFailedCallback = function() { return Modern.Webshop.Cookie._staticInstance.get_defaultFailedCallback(); }
Modern.Webshop.Cookie.set_path("/Service/Cookie.asmx");
Modern.Webshop.Cookie.SetCampaign= function(campaign,onSuccess,onFailed,userContext) {Modern.Webshop.Cookie._staticInstance.SetCampaign(campaign,onSuccess,onFailed,userContext); }
Modern.Webshop.Cookie.SetCampaignAndUrl= function(campaign,url,onSuccess,onFailed,userContext) {Modern.Webshop.Cookie._staticInstance.SetCampaignAndUrl(campaign,url,onSuccess,onFailed,userContext); }

