var jh = (("https:" == document.location.protocol) ? "https://" : "http://");
var hu = jh + 'www.shop-in-zagreb.com.hr/CorvusClient/';

Type.registerNamespace("Corvus");

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.Community.Forum");

Corvus.Foundation.Community.Forum.ForumThread = function(threadId){this.ThreadId = threadId;this.Title = null;this.Forum = null;this.Sticky = null;this.Locked = null;this.Extension = null;this.__sig = ["ThreadId"];this.__type = "Corvus.Foundation.Community.Forum.ForumThread";this.threadId = threadId;
Corvus.Foundation.Community.Forum.ForumThread.initializeBase(this);}
var $ForumThread = Corvus.Foundation.Community.Forum.ForumThread;

$ForumThread.prototype = {ListPosts : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumThread.ListPosts$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $ForumThread.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Community.Forum.ForumThread._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$ForumThread.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumThread.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$ForumThread.Search = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumThread.Search$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$ForumThread.ListByFirstLetters = function(params,onSuccess,onFailure, args){	 return cfw_get(hu + 'Corvus.Foundation.Community.Forum.ForumThread.ListByFirstLetters$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '',args);}

$ForumThread.registerClass('Corvus.Foundation.Community.Forum.ForumThread',Corvus.JsBase.Base);

Corvus.Foundation.Community.Forum.Forum = function(forumId){this.ForumId = forumId;this.ForumName = null;this.Extension = null;this.__sig = ["ForumId"];this.__type = "Corvus.Foundation.Community.Forum.Forum";this.forumId = forumId;
Corvus.Foundation.Community.Forum.Forum.initializeBase(this);}
var $Forum = Corvus.Foundation.Community.Forum.Forum;

$Forum.prototype = {
getSig : function() {return $Forum.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Community.Forum.Forum._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$Forum.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.Forum.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$Forum.Search = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.Forum.Search$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

$Forum.registerClass('Corvus.Foundation.Community.Forum.Forum',Corvus.JsBase.Base);

Corvus.Foundation.Community.Forum.ForumGroup = function(groupId){this.GroupId = groupId;this.Name = null;this.Extension = null;this.__sig = ["GroupId"];this.__type = "Corvus.Foundation.Community.Forum.ForumGroup";this.groupId = groupId;
Corvus.Foundation.Community.Forum.ForumGroup.initializeBase(this);}
var $ForumGroup = Corvus.Foundation.Community.Forum.ForumGroup;

$ForumGroup.prototype = {Update : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumGroup.Update$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
Remove : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumGroup.Remove$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ListAllForums : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumGroup.ListAllForums$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $ForumGroup.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Community.Forum.ForumGroup._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$ForumGroup.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumGroup.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$ForumGroup.CreateNew = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumGroup.CreateNew$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

$ForumGroup.registerClass('Corvus.Foundation.Community.Forum.ForumGroup',Corvus.JsBase.Base);

Corvus.Foundation.Community.Forum.ForumPost = function(postId){this.PostId = postId;this.Extension = null;this.__sig = ["PostId"];this.__type = "Corvus.Foundation.Community.Forum.ForumPost";this.postId = postId;
Corvus.Foundation.Community.Forum.ForumPost.initializeBase(this);}
var $ForumPost = Corvus.Foundation.Community.Forum.ForumPost;

$ForumPost.prototype = {GetHistoryPosts : function(params,onSuccess, onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumPost.GetHistoryPosts$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return $ForumPost.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Community.Forum.ForumPost._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}
$ForumPost.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumPost.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$ForumPost.Search = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumPost.Search$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$ForumPost.CreateNew = function(params,onSuccess,onFailure, args){	 return cfw_post(hu + 'Corvus.Foundation.Community.Forum.ForumPost.CreateNew$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
$ForumPost.ListLastPosts = function(params,onSuccess,onFailure, args){	 return cfw_get(hu + 'Corvus.Foundation.Community.Forum.ForumPost.ListLastPosts$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '',args);}

$ForumPost.registerClass('Corvus.Foundation.Community.Forum.ForumPost',Corvus.JsBase.Base);

Corvus.Foundation.Community.Forum.ForumHistoryPost = function(postId){this.TrackId = null;this.PostId = postId;this.Extension = null;this.__sig = ["PostId"];this.__type = "Corvus.Foundation.Community.Forum.ForumHistoryPost";this.postId = postId;
Corvus.Foundation.Community.Forum.ForumHistoryPost.initializeBase(this);}
var $ForumHistoryPost = Corvus.Foundation.Community.Forum.ForumHistoryPost;

$ForumHistoryPost.prototype = {
getSig : function() {return $ForumHistoryPost.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure, args, exp) {	 cfw_get(hu +'Corvus.Foundation.Community.Forum.ForumHistoryPost._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args, exp ? exp : (this.Extension ? this.Extension.Expanders : null));}}

$ForumHistoryPost.registerClass('Corvus.Foundation.Community.Forum.ForumHistoryPost',Corvus.JsBase.Base);

Type.registerNamespace("Corvus.Foundation.Multimedia");

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);

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();
