var jh = (("https:" == document.location.protocol) ? "https://" : "http://");
var hu = jh + 'www.ekupi.hr/CorvusClient/';

Type.registerNamespace("Corvus");

Corvus.Domain = function(id){this.Id = id;this.Name = null;this.SSL = null;this.DefaultUrl = null;this.Description = null;this.__sig = ["Id"];this.__type = "Corvus.Domain";this.id = id;
Corvus.Domain.initializeBase(this);}
var $Domain = Corvus.Domain;

$Domain.prototype = {Update : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Domain.Update$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Remove : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Domain.Remove$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
GetDomainInfo : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Domain.GetDomainInfo$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $Domain.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Domain._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$Domain.CreateNew = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Domain.CreateNew$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Domain.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Domain.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Domain.ListSupportedDomains = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Domain.ListSupportedDomains$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

$Domain.registerClass('Corvus.Domain',Corvus.JsBase.Base);

Corvus.Language = function(languageID){this.LanguageID = languageID;this.Name = null;this.Extension = null;this.__sig = ["LanguageID"];this.__type = "Corvus.Language";this.languageID = languageID;
Corvus.Language.initializeBase(this);}
var $Language = Corvus.Language;

$Language.prototype = {Equals : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Language.Equals$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
IsSelectedInArticleByDefault : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Language.IsSelectedInArticleByDefault$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $Language.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Language._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$Language.GetDefaultLanguage = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Language.GetDefaultLanguage$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Language.SetCurrentLanguage = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Language.SetCurrentLanguage$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Language.GetCurrentLanguage = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Language.GetCurrentLanguage$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Language.ListLanguagesByDomain = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Language.ListLanguagesByDomain$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

$Language.registerClass('Corvus.Language',Corvus.JsBase.Base);

Type.registerNamespace("Corvus.Foundation.Multimedia");

Corvus.Foundation.Multimedia.Gallery = function(id){this.Id = id;this.Title = null;this.Description = null;this.Extension = null;this.__sig = ["Id"];this.__type = "Corvus.Foundation.Multimedia.Gallery";this.id = id;
Corvus.Foundation.Multimedia.Gallery.initializeBase(this);}
var $Gallery = Corvus.Foundation.Multimedia.Gallery;

$Gallery.prototype = {ListRecentActions : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.ListRecentActions$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
AddItem : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.AddItem$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
RemoveItem : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.RemoveItem$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
GetItems : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.GetItems$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Update : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.Update$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Remove : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.Remove$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $Gallery.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Multimedia.Gallery._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$Gallery.CreateNew = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.CreateNew$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Gallery.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Gallery.GetGalleriesByTitle = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Gallery.GetGalleriesByTitle$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Gallery.ListByFirstLetters = function(params,onSuccess,onFailure, args){	 return cfw_get(hu + 'Corvus.Foundation.Multimedia.Gallery.ListByFirstLetters$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '',args);}

$Gallery.registerClass('Corvus.Foundation.Multimedia.Gallery',Corvus.JsBase.Base);

Corvus.Foundation.Multimedia.Video = function(id){this.Id = id;this.Title = null;this.Length = null;this.DateAdded = null;this.Views = null;this.Description = null;this.ImageUrl = null;this.FileExtension = null;this.UniqueName = null;this.Domain = null;this.YouTubeURL = null;this.IsYouTubeVideo = null;this.VideoURL = null;this.PlayerURL = null;this.ItemType = null;this.Extension = null;this.__sig = ["Id"];this.__type = "Corvus.Foundation.Multimedia.Video";this.id = id;
Corvus.Foundation.Multimedia.Video.initializeBase(this);}
var $Video = Corvus.Foundation.Multimedia.Video;

$Video.prototype = {Update : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.Update$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
SetLength : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.SetLength$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Copy : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.Copy$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Remove : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.Remove$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListTags : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.ListTags$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
AddTag : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.AddTag$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
RemoveTag : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.RemoveTag$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListRecentActions : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.ListRecentActions$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
CreateScreenShot : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.CreateScreenShot$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
CreateDefaultScreenShot : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.CreateDefaultScreenShot$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
MoveUpInGallery : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.MoveUpInGallery$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
MoveDownInGallery : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.MoveDownInGallery$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $Video.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Multimedia.Video._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$Video.CreateNew = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.CreateNew$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Video.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Video.ListByFirstLetters = function(params,onSuccess,onFailure, args){	 return cfw_get(hu + 'Corvus.Foundation.Multimedia.Video.ListByFirstLetters$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '',args);}
$Video.GetVideosByTag = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.GetVideosByTag$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Video.GetVideosByTitle = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Multimedia.Video.GetVideosByTitle$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

$Video.registerClass('Corvus.Foundation.Multimedia.Video',Corvus.JsBase.Base);

Corvus.Foundation.Multimedia.Size = function(width,height){this.Width = width;this.Height = height;this.__sig = ["Width","Height"];this.__type = "Corvus.Foundation.Multimedia.Size";this.width = width;this.height = height;
Corvus.Foundation.Multimedia.Size.initializeBase(this);}

Corvus.Foundation.Multimedia.Size.prototype = {
getSig : function() {return Corvus.Foundation.Multimedia.Size.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Multimedia.Size._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}

Corvus.Foundation.Multimedia.Size.registerClass('Corvus.Foundation.Multimedia.Size',Corvus.JsBase.Base);

Type.registerNamespace("Corvus.Foundation.Portal");

Corvus.Foundation.Portal.Image = function(id){this.Id = id;this.Description = null;this.Width = null;this.Height = null;this.Title = null;this.EditState = null;this.Uploader = null;this.ImageUrl = null;this.UniqueName = null;this.ImageTitle = null;this.LockedBy = null;this.Locked = null;this.ItemType = null;this.Extension = null;this.__sig = ["Id"];this.__type = "Corvus.Foundation.Portal.Image";this.id = id;
Corvus.Foundation.Portal.Image.initializeBase(this);}
var $Image = Corvus.Foundation.Portal.Image;

$Image.prototype = {ListRecentActions : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.ListRecentActions$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Update : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.Update$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Remove : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.Remove$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListTags : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.ListTags$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
AddTag : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.AddTag$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
RemoveTag : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.RemoveTag$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Copy : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.Copy$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
MoveUpInGallery : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.MoveUpInGallery$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
MoveDownInGallery : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.MoveDownInGallery$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $Image.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Portal.Image._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$Image.ListByFirstLetters = function(params,onSuccess,onFailure, args){	 return cfw_get(hu + 'Corvus.Foundation.Portal.Image.ListByFirstLetters$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '',args);}
$Image.GetImagesBySize = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.GetImagesBySize$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Image.GetImagesByTitle = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.GetImagesByTitle$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Image.GetImagesByTag = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.GetImagesByTag$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Image.ListImages = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.ListImages$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Image.GetImageFromUrl = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.Image.GetImageFromUrl$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

$Image.registerClass('Corvus.Foundation.Portal.Image',Corvus.JsBase.Base);

Corvus.Foundation.Portal.ImageEditState = function(fileName){this.Uri = null;this.FileName = fileName;this.Operation = null;this.Width = null;this.Height = null;this.Extension = null;this.__sig = ["FileName"];this.__type = "Corvus.Foundation.Portal.ImageEditState";this.fileName = fileName;
Corvus.Foundation.Portal.ImageEditState.initializeBase(this);}

Corvus.Foundation.Portal.ImageEditState.prototype = {
getSig : function() {return Corvus.Foundation.Portal.ImageEditState.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Portal.ImageEditState._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
Corvus.Foundation.Portal.ImageEditState.ListAllSteps = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Portal.ImageEditState.ListAllSteps$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

Corvus.Foundation.Portal.ImageEditState.registerClass('Corvus.Foundation.Portal.ImageEditState',Corvus.JsBase.Base);

Type.registerNamespace("Corvus.Foundation.Users");

Corvus.Foundation.Users.User = function(id){this.Id = id;this.Login = null;this.Extension = null;this.__sig = ["Id"];this.__type = "Corvus.Foundation.Users.User";this.id = id;
Corvus.Foundation.Users.User.initializeBase(this);}
var $User = Corvus.Foundation.Users.User;

$User.prototype = {GetCart : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.GetCart$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ChangeMailAndPass : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ChangeMailAndPass$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListUserAddresses : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListUserAddresses$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListUserGroups : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListUserGroups$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListActiveDomains : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListActiveDomains$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListRecentActions : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListRecentActions$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListUserGroupsInfo : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListUserGroupsInfo$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
AddToDomain : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.AddToDomain$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
RemoveFromDomain : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.RemoveFromDomain$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListSubscribedNewsletterLists : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListSubscribedNewsletterLists$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
CreateFriendRequest : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.CreateFriendRequest$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ApproveFriendRequest : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ApproveFriendRequest$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
RemoveFriendRequest : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.RemoveFriendRequest$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListPermissionInfo : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListPermissionInfo$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
GetUserInfo : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.GetUserInfo$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $User.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Users.User._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$User.CreateNew = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.CreateNew$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.Exists = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.Exists$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.GetLoggedUser = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.GetLoggedUser$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.RefreshSession = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.RefreshSession$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.LogOutCurrentUser = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.LogOutCurrentUser$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.ListByFirstLetters = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.ListByFirstLetters$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.Register = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.Register$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.RetrievePassword = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.RetrievePassword$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.Search = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.Search$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$User.LogOn = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Users.User.LogOn$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

$User.registerClass('Corvus.Foundation.Users.User',Corvus.JsBase.Base);

Type.registerNamespace("Corvus.Foundation.Web.JavaScript");

Corvus.Foundation.Web.JavaScript.ExpanderPrototype = function(target,extension){this.t = target;this.e = extension;this.__sig = ["Target","Extension"];this.__type = "Corvus.Foundation.Web.JavaScript.ExpanderPrototype";this.target = target;this.extension = extension;
Corvus.Foundation.Web.JavaScript.ExpanderPrototype.initializeBase(this);}

Corvus.Foundation.Web.JavaScript.ExpanderPrototype.prototype = {
getSig : function() {return Corvus.Foundation.Web.JavaScript.ExpanderPrototype.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Web.JavaScript.ExpanderPrototype._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}

Corvus.Foundation.Web.JavaScript.ExpanderPrototype.registerClass('Corvus.Foundation.Web.JavaScript.ExpanderPrototype',Corvus.JsBase.Base);

Type.registerNamespace("Corvus.Net");

Corvus.Net.EMailAddress = function(address){this.Address = address;this.__sig = ["Address"];this.__type = "Corvus.Net.EMailAddress";this.address = address;
Corvus.Net.EMailAddress.initializeBase(this);}
var $EMail = Corvus.Net.EMailAddress;

$EMail.prototype = {
getSig : function() {return $EMail.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Net.EMailAddress._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}

$EMail.registerClass('Corvus.Net.EMailAddress',Corvus.JsBase.Base);

Type.registerNamespace("Corvus.Web");

Corvus.Web.PagedList = function(items,currentPage,totalCount,itemsPerPage){this.Items = items;this.NumberOfPages = null;this.CurrentPage = currentPage;this.TotalCount = totalCount;this.__sig = ["Items","CurrentPage","TotalCount","ItemsPerPage"];this.__type = "Corvus.Web.PagedList";this.items = items;this.currentPage = currentPage;this.totalCount = totalCount;this.itemsPerPage = itemsPerPage;
Corvus.Web.PagedList.initializeBase(this);}

Corvus.Web.PagedList.prototype = {
getSig : function() {return Corvus.Web.PagedList.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Web.PagedList._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}

Corvus.Web.PagedList.registerClass('Corvus.Web.PagedList',Corvus.JsBase.Base);

Type.registerNamespace("MSanShop.Components");

MSanShop.Components.NewsletterSubscription = function(){this.__sig = [];this.__type = "MSanShop.Components.NewsletterSubscription";
MSanShop.Components.NewsletterSubscription.initializeBase(this);}
var $NewsletterSubscription = MSanShop.Components.NewsletterSubscription;

$NewsletterSubscription.prototype = {
getSig : function() {return $NewsletterSubscription.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'MSanShop.Components.NewsletterSubscription._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'kQw9hZzyz9S46BcZ5QGc2WfJ0hN7r8lVpy+Zk73B5GKG+w3XMgRFXR9zOiwgPX/gAYWuEuJmERT6mhS3RGjUbda3+F7f9pE1edilDXnzylFiD7uo9VRy+LpjVmfXz+ABR5CUcglHoBNm/n7HF0Do3g==', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$NewsletterSubscription.Subscribe = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'MSanShop.Components.NewsletterSubscription.Subscribe$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, 'kQw9hZzyz9S46BcZ5QGc2WfJ0hN7r8lVpy+Zk73B5GKG+w3XMgRFXR9zOiwgPX/gAYWuEuJmERT6mhS3RGjUbda3+F7f9pE1edilDXnzylFiD7uo9VRy+LpjVmfXz+ABR5CUcglHoBNm/n7HF0Do3g==', args);}

$NewsletterSubscription.registerClass('MSanShop.Components.NewsletterSubscription',Corvus.JsBase.Base);

Type.registerNamespace("MSANWebShopDBStorage");

MSANWebShopDBStorage.MsanUser = function(userID){this.Id = null;this.Login = null;this.Email = null;this.IsAnonymous = null;this.Extension = null;this.__sig = ["UserID"];this.__type = "MSANWebShopDBStorage.MsanUser";this.userID = userID;
MSANWebShopDBStorage.MsanUser.initializeBase(this);}
var $MsanUser = MSANWebShopDBStorage.MsanUser;

$MsanUser.prototype = {
getSig : function() {return $MsanUser.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'MSANWebShopDBStorage.MsanUser._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'LKo9Gmp4DWVofKnuVGuYRKIrqd+ekzoc09DSMKnm2r/dWWrdyPbQM9WlDBkf73AeyuqvFk6ULdimkXhpFRtiSQM6w22ABtxNZYdl3M/K9iOTA2y+WZ9kQeLKfMstsFXgjV/ExKSvpQIamlM4fxBqbw==', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$MsanUser.Register = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'MSANWebShopDBStorage.MsanUser.Register$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, 'LKo9Gmp4DWVofKnuVGuYRKIrqd+ekzoc09DSMKnm2r/dWWrdyPbQM9WlDBkf73AeyuqvFk6ULdimkXhpFRtiSQM6w22ABtxNZYdl3M/K9iOTA2y+WZ9kQeLKfMstsFXgjV/ExKSvpQIamlM4fxBqbw==', args);}
$MsanUser.LogOn = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'MSANWebShopDBStorage.MsanUser.LogOn$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, 'LKo9Gmp4DWVofKnuVGuYRKIrqd+ekzoc09DSMKnm2r/dWWrdyPbQM9WlDBkf73AeyuqvFk6ULdimkXhpFRtiSQM6w22ABtxNZYdl3M/K9iOTA2y+WZ9kQeLKfMstsFXgjV/ExKSvpQIamlM4fxBqbw==', args);}
$MsanUser.RetrievePassword = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'MSANWebShopDBStorage.MsanUser.RetrievePassword$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, 'LKo9Gmp4DWVofKnuVGuYRKIrqd+ekzoc09DSMKnm2r/dWWrdyPbQM9WlDBkf73AeyuqvFk6ULdimkXhpFRtiSQM6w22ABtxNZYdl3M/K9iOTA2y+WZ9kQeLKfMstsFXgjV/ExKSvpQIamlM4fxBqbw==', args);}

$MsanUser.registerClass('MSANWebShopDBStorage.MsanUser',Corvus.JsBase.Base);

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();
