Type.registerNamespace("MPortal");

MPortal.Article = function(id){this.Id = id;this.Title = null;this.URL = null;this.PublishDate = null;this.__sig = "Id";this.__type = "MPortal.Article";
MPortal.Article.initializeBase(this);}

MPortal.Article.prototype = {SetArticleGrade : function(params,onSuccess, onFailure, args){	 return cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.Article.SetArticleGrade$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,
GetLinkedArticlesByPublishDate : function(params,onSuccess, onFailure, args){	 return cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.Article.GetLinkedArticlesByPublishDate$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.Article.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.Article._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}
MPortal.Article.GetArticles = function(params,onSuccess,onFailure, args){	 return cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.Article.GetArticles$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '',args);}

MPortal.Article.registerClass('MPortal.Article',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 = {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);}
,
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);}
,

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);

Type.registerNamespace("MPortal.Web");

MPortal.Web.Email = function(){this.Subject = null;this.__sig = "Subject";this.__type = "MPortal.Web.Email";
MPortal.Web.Email.initializeBase(this);}

MPortal.Web.Email.prototype = {Send : function(params,onSuccess, onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.Web.Email.Send$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', args);}
,

getSig : function() {return MPortal.Web.Email.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/MPortal.Web.Email._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, '', null);}}
MPortal.Web.Email.SendEmail = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/MPortal.Web.Email.SendEmail$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, '', args);}

MPortal.Web.Email.registerClass('MPortal.Web.Email',Corvus.JsBase.Base);

Type.registerNamespace("StockAnalitics");

StockAnalitics.Country = function(countryId){this.CountryId = countryId;this.Name = null;this.ShortName = null;this.__sig = "CountryId";this.__type = "StockAnalitics.Country";
StockAnalitics.Country.initializeBase(this);}

StockAnalitics.Country.prototype = {GetDailyIndexValues : function(params,onSuccess, onFailure, args){	 return cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.Country.GetDailyIndexValues$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE2rczsZSkzMGOXk1o9XqCVI6isAsw8AQNblmxegwhj/XI2LCpY3wMRgzYC7+ULDQ6WX24pY03J+XH10pPYXpzNqsRNB105u1YTS/TIigI+qdQ==', args);}
,
GetFallerRisers : function(params,onSuccess, onFailure, args){	 return cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.Country.GetFallerRisers$' + cfw_prepareParameters(params) + '$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE2rczsZSkzMGOXk1o9XqCVI6isAsw8AQNblmxegwhj/XI2LCpY3wMRgzYC7+ULDQ6WX24pY03J+XH10pPYXpzNqsRNB105u1YTS/TIigI+qdQ==', args);}
,

getSig : function() {return StockAnalitics.Country.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.Country._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE2rczsZSkzMGOXk1o9XqCVI6isAsw8AQNblmxegwhj/XI2LCpY3wMRgzYC7+ULDQ6WX24pY03J+XH10pPYXpzNqsRNB105u1YTS/TIigI+qdQ==', null);}}

StockAnalitics.Country.registerClass('StockAnalitics.Country',Corvus.JsBase.Base);

StockAnalitics.ExchangeRate = function(exchangeRateID){this.ExchangeRateID = exchangeRateID;this.Country = null;this.Code = null;this.Currency = null;this.Volume = null;this.__sig = "ExchangeRateID";this.__type = "StockAnalitics.ExchangeRate";
StockAnalitics.ExchangeRate.initializeBase(this);}

StockAnalitics.ExchangeRate.prototype = {
getSig : function() {return StockAnalitics.ExchangeRate.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.ExchangeRate._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE1raLJ6MorHNhdEwwjQ3hEsSVuHn5Wl1BlkykIICjUb/kCtsMaLX86O0GoYWLLUmUo0zY0XueY9eoPPfJ5aFDuusGII0WJ/RqGVVcmFh8CbVchfSGyAKqt/', null);}}
StockAnalitics.ExchangeRate.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/StockAnalitics.ExchangeRate.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, 'KkASJks/AE1raLJ6MorHNhdEwwjQ3hEsSVuHn5Wl1BlkykIICjUb/kCtsMaLX86O0GoYWLLUmUo0zY0XueY9eoPPfJ5aFDuusGII0WJ/RqGVVcmFh8CbVchfSGyAKqt/', args);}

StockAnalitics.ExchangeRate.registerClass('StockAnalitics.ExchangeRate',Corvus.JsBase.Base);

StockAnalitics.StockMarketIndex = function(stockMarketIndexID){this.StockMarketIndexID = stockMarketIndexID;this.Name = null;this.__sig = "StockMarketIndexID";this.__type = "StockAnalitics.StockMarketIndex";
StockAnalitics.StockMarketIndex.initializeBase(this);}

StockAnalitics.StockMarketIndex.prototype = {
getSig : function() {return StockAnalitics.StockMarketIndex.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.StockMarketIndex._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE1wv6IJjY7tlyuhp0o0ibzSTrXuHURXpOZQUKFwlkjCAghYNFInoEuE+poUt0Ro1G3Wt/he3/aRNXnYpQ1588pRYg+7qPVUcvi6Y1Zn18/gAUeQlHIJR6ATZv5+xxdA6N4=', null);}}
StockAnalitics.StockMarketIndex.ListAll = function(params,onSuccess,onFailure, args){	 return cfw_post('http://www.poslovni.hr/CorvusClient/StockAnalitics.StockMarketIndex.ListAll$' + cfw_prepareParameters(params) + '$().ashx', onSuccess, onFailure, 'KkASJks/AE1wv6IJjY7tlyuhp0o0ibzSTrXuHURXpOZQUKFwlkjCAghYNFInoEuE+poUt0Ro1G3Wt/he3/aRNXnYpQ1588pRYg+7qPVUcvi6Y1Zn18/gAUeQlHIJR6ATZv5+xxdA6N4=', args);}

StockAnalitics.StockMarketIndex.registerClass('StockAnalitics.StockMarketIndex',Corvus.JsBase.Base);

StockAnalitics.StockMarketIndexDailyValue = function(){this.StockMarketIndex = null;this.ClosePrice = null;this.PriceChange = null;this.PriceDiff = null;this.TradeTime = null;this.__sig = "";this.__type = "StockAnalitics.StockMarketIndexDailyValue";
StockAnalitics.StockMarketIndexDailyValue.initializeBase(this);}

StockAnalitics.StockMarketIndexDailyValue.prototype = {
getSig : function() {return StockAnalitics.StockMarketIndexDailyValue.callBaseMethod(this, 'getSig');},
_SetData : function(onSuccess, onFailure) {	 cfw_get('http://www.poslovni.hr/CorvusClient/StockAnalitics.StockMarketIndexDailyValue._SetData$$($' + this.getSig() + '$).ashx', onSuccess, onFailure, 'KkASJks/AE1wv6IJjY7tlyuhp0o0ibzSfVeRAzssvVQgCOPduBUQ60QECJw+VbBNdyrGtJFUNcKmkXhpFRtiSQM6w22ABtxNZYdl3M/K9iOTA2y+WZ9kQeLKfMstsFXgjV/ExKSvpQIamlM4fxBqbw==', null);}}

StockAnalitics.StockMarketIndexDailyValue.registerClass('StockAnalitics.StockMarketIndexDailyValue',Corvus.JsBase.Base);

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();
