if(typeof VeoAjax == "undefined") VeoAjax={};
VeoAjax_class = function() {};
Object.extend(VeoAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	DeleteVeotag: function(veotagId) {
		return this.invoke("DeleteVeotag", {"veotagId":veotagId}, this.DeleteVeotag.getArguments().slice(1));
	},
	GetSlide: function(slideId) {
		return this.invoke("GetSlide", {"slideId":slideId}, this.GetSlide.getArguments().slice(1));
	},
	GetSlidePreload: function(slideId, current, total) {
		return this.invoke("GetSlidePreload", {"slideId":slideId, "current":current, "total":total}, this.GetSlidePreload.getArguments().slice(3));
	},
	GetInterfaceSlide: function(slideId, programId, interfaceId, editMode, timecode) {
		return this.invoke("GetInterfaceSlide", {"slideId":slideId, "programId":programId, "interfaceId":interfaceId, "editMode":editMode, "timecode":timecode}, this.GetInterfaceSlide.getArguments().slice(5));
	},
	GetTagsIdArray: function(programId) {
		return this.invoke("GetTagsIdArray", {"programId":programId}, this.GetTagsIdArray.getArguments().slice(1));
	},
	GetSlidesWithHash: function(programId) {
		return this.invoke("GetSlidesWithHash", {"programId":programId}, this.GetSlidesWithHash.getArguments().slice(1));
	},
	GetSlideObject: function(slideId) {
		return this.invoke("GetSlideObject", {"slideId":slideId}, this.GetSlideObject.getArguments().slice(1));
	},
	GetSlidePreloadElement: function(slideId, slideFormatId) {
		return this.invoke("GetSlidePreloadElement", {"slideId":slideId, "slideFormatId":slideFormatId}, this.GetSlidePreloadElement.getArguments().slice(2));
	},
	AddIndent: function(veotagId) {
		return this.invoke("AddIndent", {"veotagId":veotagId}, this.AddIndent.getArguments().slice(1));
	},
	RemoveIndent: function(veotagId) {
		return this.invoke("RemoveIndent", {"veotagId":veotagId}, this.RemoveIndent.getArguments().slice(1));
	},
	GetEmbedValue: function(programId, isHorizontal, isSlideShow, videoAndSlideSizeId, slideShowCustomVideoHeight, slideShowCustomVideoWidth, slideShowCustomSlideHeight, slideShowCustomSlideWidth, isCustomVideoSize, customVideoSizeHeight, customVideoSizeWidth, isCustomTagArea, customTagAreaHeight) {
		return this.invoke("GetEmbedValue", {"programId":programId, "isHorizontal":isHorizontal, "isSlideShow":isSlideShow, "videoAndSlideSizeId":videoAndSlideSizeId, "slideShowCustomVideoHeight":slideShowCustomVideoHeight, "slideShowCustomVideoWidth":slideShowCustomVideoWidth, "slideShowCustomSlideHeight":slideShowCustomSlideHeight, "slideShowCustomSlideWidth":slideShowCustomSlideWidth, "isCustomVideoSize":isCustomVideoSize, "customVideoSizeHeight":customVideoSizeHeight, "customVideoSizeWidth":customVideoSizeWidth, "isCustomTagArea":isCustomTagArea, "customTagAreaHeight":customTagAreaHeight}, this.GetEmbedValue.getArguments().slice(13));
	},
	GetLinkToVeoProgram: function(programId, timecode, withTag) {
		return this.invoke("GetLinkToVeoProgram", {"programId":programId, "timecode":timecode, "withTag":withTag}, this.GetLinkToVeoProgram.getArguments().slice(3));
	},
	SendVeoProgram: function(programId, fromEmail, toEmail, message, sendTag, timecode) {
		return this.invoke("SendVeoProgram", {"programId":programId, "fromEmail":fromEmail, "toEmail":toEmail, "message":message, "sendTag":sendTag, "timecode":timecode}, this.SendVeoProgram.getArguments().slice(6));
	},
	SendReportViolation: function(programId, reason) {
		return this.invoke("SendReportViolation", {"programId":programId, "reason":reason}, this.SendReportViolation.getArguments().slice(2));
	},
	AddToFavorites: function(programId) {
		return this.invoke("AddToFavorites", {"programId":programId}, this.AddToFavorites.getArguments().slice(1));
	},
	RemoveFromFavorites: function(programId) {
		return this.invoke("RemoveFromFavorites", {"programId":programId}, this.RemoveFromFavorites.getArguments().slice(1));
	},
	JsTrace: function(msg) {
		return this.invoke("JsTrace", {"msg":msg}, this.JsTrace.getArguments().slice(1));
	},
	GetMediaTypeByProgramId: function(programId) {
		return this.invoke("GetMediaTypeByProgramId", {"programId":programId}, this.GetMediaTypeByProgramId.getArguments().slice(1));
	},
	url: '/ajaxpro/VeoAjax,App_Code.wphpat8l.ashx'
}));
VeoAjax = new VeoAjax_class();

