Type.registerNamespace("MPortal");

MPortal.Forum = function(forumId){this.ForumId = forumId;this.__sig = "ForumId";this.__type = "MPortal.Forum";
MPortal.Forum.initializeBase(this);}

MPortal.Forum.prototype = {GetModerators : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.Forum.GetModerators$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.Forum.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.Forum._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}

MPortal.Forum.registerClass('MPortal.Forum',Corvus.JsBase.Base);

MPortal.User = function(id){this.Avatar = null;this.Id = id;this.DateCreated = null;this.Login = null;this.BlogId = null;this.__sig = "Id";this.__type = "MPortal.User";
MPortal.User.initializeBase(this);}

MPortal.User.prototype = {GetPMs : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.GetPMs$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
CreateFriendRequest : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.CreateFriendRequest$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ApproveFriendRequest : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.ApproveFriendRequest$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
RemoveFriendRequest : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.RemoveFriendRequest$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
GetCart : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.GetCart$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
SendPMWithMesssageValidation : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.SendPMWithMesssageValidation$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ToggleForumSubscription : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.ToggleForumSubscription$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.User.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.User._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}
MPortal.User.TryLogin = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.TryLogin$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
MPortal.User.RetrievePasword = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.RetrievePasword$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
MPortal.User.RegisterPrivateUser = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.RegisterPrivateUser$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
MPortal.User.RegisterLegalUser = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.RegisterLegalUser$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}
MPortal.User.RefreshSession = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.User.RefreshSession$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

MPortal.User.registerClass('MPortal.User',Corvus.JsBase.Base);

MPortal.PM = function(pMID){this.PMID = pMID;this.Title = null;this.Sender = null;this.Message = null;this.DateSent = null;this.__sig = "PMID";this.__type = "MPortal.PM";
MPortal.PM.initializeBase(this);}

MPortal.PM.prototype = {SetViewed : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.PM.SetViewed$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.PM.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.PM._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}

MPortal.PM.registerClass('MPortal.PM',Corvus.JsBase.Base);

MPortal.PostAttachment = function(attID){this.AttID = attID;this.__sig = "AttID";this.__type = "MPortal.PostAttachment";
MPortal.PostAttachment.initializeBase(this);}

MPortal.PostAttachment.prototype = {AddClick : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.PostAttachment.AddClick$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.PostAttachment.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.PostAttachment._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}

MPortal.PostAttachment.registerClass('MPortal.PostAttachment',Corvus.JsBase.Base);

MPortal.ForumThread = function(threadID){this.ThreadID = threadID;this.Title = null;this.__sig = "ThreadID";this.__type = "MPortal.ForumThread";
MPortal.ForumThread.initializeBase(this);}

MPortal.ForumThread.prototype = {LogVisit : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.ForumThread.LogVisit$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
ToggleThreadEmailSubscription : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.ForumThread.ToggleThreadEmailSubscription$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.ForumThread.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.ForumThread._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}

MPortal.ForumThread.registerClass('MPortal.ForumThread',Corvus.JsBase.Base);

MPortal.ForumPost = function(postID){this.PostID = postID;this.ThreadTitle = null;this.ShortText = null;this.User = null;this.DatePosted = null;this.UsersGrade = null;this.ModeratorsGrade = null;this.DirectiLink = null;this.__sig = "PostID";this.__type = "MPortal.ForumPost";
MPortal.ForumPost.initializeBase(this);}

MPortal.ForumPost.prototype = {AddPostGrade : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.ForumPost.AddPostGrade$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.ForumPost.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.ForumPost._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}
MPortal.ForumPost.ListLastPosts = function(params,onSuccess,onFailure, args){	 return cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.ForumPost.ListLastPosts$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '',args);}

MPortal.ForumPost.registerClass('MPortal.ForumPost',Corvus.JsBase.Base);

Type.registerNamespace("StockAnalitics");

StockAnalitics.StockMarket = function(stockMarketID){this.StockMarketID = stockMarketID;this.Name = null;this.ShortName = null;this.__sig = "StockMarketID";this.__type = "StockAnalitics.StockMarket";
StockAnalitics.StockMarket.initializeBase(this);}

StockAnalitics.StockMarket.prototype = {
getSig : function() {return StockAnalitics.StockMarket.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.StockMarket._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE1wv6IJjY7tlyuhp0o0ibzSoukSoUktvAeNeU+aJ58uVm/GJXnOPh+o9gR3tNmLW1nMtDNOHBZxSVpTWAgASw1/FJw0h1bMSRKrWasL7WEVrLO5WKWHh++9', null);}}

StockAnalitics.StockMarket.registerClass('StockAnalitics.StockMarket',Corvus.JsBase.Base);

StockAnalitics.Company = function(companyID){this.CompanyID = companyID;this.Name = null;this.ArticleID = null;this.HasFundamentalData = null;this.__sig = "CompanyID";this.__type = "StockAnalitics.Company";
StockAnalitics.Company.initializeBase(this);}

StockAnalitics.Company.prototype = {GetDailyStockTrades : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/StockAnalitics.Company.GetDailyStockTrades$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE2rczsZSkzMGGDzhQM0behy6isAsw8AQNblmxegwhj/XI2LCpY3wMRgzYC7+ULDQ6WX24pY03J+XH10pPYXpzNqsRNB105u1YTS/TIigI+qdQ==', args);}
,
GetLastTrades : function(params,onSuccess, onFailure, args){	 return cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.Company.GetLastTrades$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE2rczsZSkzMGGDzhQM0behy6isAsw8AQNblmxegwhj/XI2LCpY3wMRgzYC7+ULDQ6WX24pY03J+XH10pPYXpzNqsRNB105u1YTS/TIigI+qdQ==', args);}
,

getSig : function() {return StockAnalitics.Company.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.Company._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE2rczsZSkzMGGDzhQM0behy6isAsw8AQNblmxegwhj/XI2LCpY3wMRgzYC7+ULDQ6WX24pY03J+XH10pPYXpzNqsRNB105u1YTS/TIigI+qdQ==', null);}}
StockAnalitics.Company.GetCompany = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/StockAnalitics.Company.GetCompany$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, 'KkASJks/AE2rczsZSkzMGGDzhQM0behy6isAsw8AQNblmxegwhj/XI2LCpY3wMRgzYC7+ULDQ6WX24pY03J+XH10pPYXpzNqsRNB105u1YTS/TIigI+qdQ==', args);}

StockAnalitics.Company.registerClass('StockAnalitics.Company',Corvus.JsBase.Base);

StockAnalitics.TradeData = function(){this.UrlDetail = null;this.TickerId = null;this.ChangeDiff = null;this.MinPrice = null;this.MaxPrice = null;this.LastPrice = null;this.AveragePrice = null;this.BestBid = null;this.BestAsk = null;this.Turnover = null;this.Volume = null;this.Change = null;this.TickerName = null;this.StockMarket = null;this.StockType = null;this.TimeTrade = null;this.__sig = "";this.__type = "StockAnalitics.TradeData";
StockAnalitics.TradeData.initializeBase(this);}

StockAnalitics.TradeData.prototype = {
getSig : function() {return StockAnalitics.TradeData.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.TradeData._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE0ekh9ylFLcuhdMYoWyZiZOoNL2KkSLKNLL4+XeBBFBnxAGCO3Qudrs2D6O3Ex0O+5ajl1d1aEV1jFPU40X3O2AfpGOPvEzEdmB6FtydXmbnT2vtzWJBuM4', null);}}

StockAnalitics.TradeData.registerClass('StockAnalitics.TradeData',Corvus.JsBase.Base);

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();
