Type.registerNamespace('Tickets.Web');
Tickets.Web.Tracking=function() {
Tickets.Web.Tracking.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Tickets.Web.Tracking.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Tickets.Web.Tracking._staticInstance.get_path();},
CreateTopXImpression:function(clpId,topEventId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateTopXImpression',false,{clpId:clpId,topEventId:topEventId},succeededCallback,failedCallback,userContext); },
CreateSpotlightImpression:function(clpId,spotlightAdId,spotlightAdOwnerId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateSpotlightImpression',false,{clpId:clpId,spotlightAdId:spotlightAdId,spotlightAdOwnerId:spotlightAdOwnerId},succeededCallback,failedCallback,userContext); },
CreatePartnerLinkImpression:function(clpId,partnerLinkId,partnerLinkOwnerId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreatePartnerLinkImpression',false,{clpId:clpId,partnerLinkId:partnerLinkId,partnerLinkOwnerId:partnerLinkOwnerId},succeededCallback,failedCallback,userContext); },
CreatePromotedMovieImpression:function(clpId,promotedMovieId,promotedMovieTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreatePromotedMovieImpression',false,{clpId:clpId,promotedMovieId:promotedMovieId,promotedMovieTypeId:promotedMovieTypeId},succeededCallback,failedCallback,userContext); },
CreateAdvertImpression:function(advertId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateAdvertImpression',false,{advertId:advertId},succeededCallback,failedCallback,userContext); }}
Tickets.Web.Tracking.registerClass('Tickets.Web.Tracking',Sys.Net.WebServiceProxy);
Tickets.Web.Tracking._staticInstance = new Tickets.Web.Tracking();
Tickets.Web.Tracking.set_path = function(value) { Tickets.Web.Tracking._staticInstance.set_path(value); }
Tickets.Web.Tracking.get_path = function() { return Tickets.Web.Tracking._staticInstance.get_path(); }
Tickets.Web.Tracking.set_timeout = function(value) { Tickets.Web.Tracking._staticInstance.set_timeout(value); }
Tickets.Web.Tracking.get_timeout = function() { return Tickets.Web.Tracking._staticInstance.get_timeout(); }
Tickets.Web.Tracking.set_defaultUserContext = function(value) { Tickets.Web.Tracking._staticInstance.set_defaultUserContext(value); }
Tickets.Web.Tracking.get_defaultUserContext = function() { return Tickets.Web.Tracking._staticInstance.get_defaultUserContext(); }
Tickets.Web.Tracking.set_defaultSucceededCallback = function(value) { Tickets.Web.Tracking._staticInstance.set_defaultSucceededCallback(value); }
Tickets.Web.Tracking.get_defaultSucceededCallback = function() { return Tickets.Web.Tracking._staticInstance.get_defaultSucceededCallback(); }
Tickets.Web.Tracking.set_defaultFailedCallback = function(value) { Tickets.Web.Tracking._staticInstance.set_defaultFailedCallback(value); }
Tickets.Web.Tracking.get_defaultFailedCallback = function() { return Tickets.Web.Tracking._staticInstance.get_defaultFailedCallback(); }
Tickets.Web.Tracking.set_path("/Tracking.asmx");
Tickets.Web.Tracking.CreateTopXImpression= function(clpId,topEventId,onSuccess,onFailed,userContext) {Tickets.Web.Tracking._staticInstance.CreateTopXImpression(clpId,topEventId,onSuccess,onFailed,userContext); }
Tickets.Web.Tracking.CreateSpotlightImpression= function(clpId,spotlightAdId,spotlightAdOwnerId,onSuccess,onFailed,userContext) {Tickets.Web.Tracking._staticInstance.CreateSpotlightImpression(clpId,spotlightAdId,spotlightAdOwnerId,onSuccess,onFailed,userContext); }
Tickets.Web.Tracking.CreatePartnerLinkImpression= function(clpId,partnerLinkId,partnerLinkOwnerId,onSuccess,onFailed,userContext) {Tickets.Web.Tracking._staticInstance.CreatePartnerLinkImpression(clpId,partnerLinkId,partnerLinkOwnerId,onSuccess,onFailed,userContext); }
Tickets.Web.Tracking.CreatePromotedMovieImpression= function(clpId,promotedMovieId,promotedMovieTypeId,onSuccess,onFailed,userContext) {Tickets.Web.Tracking._staticInstance.CreatePromotedMovieImpression(clpId,promotedMovieId,promotedMovieTypeId,onSuccess,onFailed,userContext); }
Tickets.Web.Tracking.CreateAdvertImpression= function(advertId,onSuccess,onFailed,userContext) {Tickets.Web.Tracking._staticInstance.CreateAdvertImpression(advertId,onSuccess,onFailed,userContext); }
