var BL_WS=function() {
BL_WS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BL_WS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BL_WS._staticInstance.get_path();},
SendComment:function(IsAnonimous,txtComment,VideoCode,txtVerification,Position,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendComment',false,{IsAnonimous:IsAnonimous,txtComment:txtComment,VideoCode:VideoCode,txtVerification:txtVerification,Position:Position},succeededCallback,failedCallback,userContext); },
SaveRating:function(VideoID,SelectedRate,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveRating',false,{VideoID:VideoID,SelectedRate:SelectedRate},succeededCallback,failedCallback,userContext); },
Add2Favorite:function(VideoID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Add2Favorite',false,{VideoID:VideoID},succeededCallback,failedCallback,userContext); },
IsAlreadyInFavorite:function(VideoID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsAlreadyInFavorite',false,{VideoID:VideoID},succeededCallback,failedCallback,userContext); },
DeleteVideoItem:function(VideoCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteVideoItem',false,{VideoCode:VideoCode},succeededCallback,failedCallback,userContext); },
DeleteVideoItemFromFavorites:function(FavoriteID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteVideoItemFromFavorites',false,{FavoriteID:FavoriteID},succeededCallback,failedCallback,userContext); },
ReportInappropriate:function(CommentID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReportInappropriate',false,{CommentID:CommentID},succeededCallback,failedCallback,userContext); }}
BL_WS.registerClass('BL_WS',Sys.Net.WebServiceProxy);
BL_WS._staticInstance = new BL_WS();
BL_WS.set_path = function(value) { BL_WS._staticInstance.set_path(value); }
BL_WS.get_path = function() { return BL_WS._staticInstance.get_path(); }
BL_WS.set_timeout = function(value) { BL_WS._staticInstance.set_timeout(value); }
BL_WS.get_timeout = function() { return BL_WS._staticInstance.get_timeout(); }
BL_WS.set_defaultUserContext = function(value) { BL_WS._staticInstance.set_defaultUserContext(value); }
BL_WS.get_defaultUserContext = function() { return BL_WS._staticInstance.get_defaultUserContext(); }
BL_WS.set_defaultSucceededCallback = function(value) { BL_WS._staticInstance.set_defaultSucceededCallback(value); }
BL_WS.get_defaultSucceededCallback = function() { return BL_WS._staticInstance.get_defaultSucceededCallback(); }
BL_WS.set_defaultFailedCallback = function(value) { BL_WS._staticInstance.set_defaultFailedCallback(value); }
BL_WS.get_defaultFailedCallback = function() { return BL_WS._staticInstance.get_defaultFailedCallback(); }
BL_WS.set_path("/WebServices/BL_WS.asmx");
BL_WS.SendComment= function(IsAnonimous,txtComment,VideoCode,txtVerification,Position,onSuccess,onFailed,userContext) {BL_WS._staticInstance.SendComment(IsAnonimous,txtComment,VideoCode,txtVerification,Position,onSuccess,onFailed,userContext); }
BL_WS.SaveRating= function(VideoID,SelectedRate,onSuccess,onFailed,userContext) {BL_WS._staticInstance.SaveRating(VideoID,SelectedRate,onSuccess,onFailed,userContext); }
BL_WS.Add2Favorite= function(VideoID,onSuccess,onFailed,userContext) {BL_WS._staticInstance.Add2Favorite(VideoID,onSuccess,onFailed,userContext); }
BL_WS.IsAlreadyInFavorite= function(VideoID,onSuccess,onFailed,userContext) {BL_WS._staticInstance.IsAlreadyInFavorite(VideoID,onSuccess,onFailed,userContext); }
BL_WS.DeleteVideoItem= function(VideoCode,onSuccess,onFailed,userContext) {BL_WS._staticInstance.DeleteVideoItem(VideoCode,onSuccess,onFailed,userContext); }
BL_WS.DeleteVideoItemFromFavorites= function(FavoriteID,onSuccess,onFailed,userContext) {BL_WS._staticInstance.DeleteVideoItemFromFavorites(FavoriteID,onSuccess,onFailed,userContext); }
BL_WS.ReportInappropriate= function(CommentID,onSuccess,onFailed,userContext) {BL_WS._staticInstance.ReportInappropriate(CommentID,onSuccess,onFailed,userContext); }
