powered by Stockomendation

'),t(".vortex-side").append('
'),t(".vortex-bottom").append('
'),t(".vortex-midboard-1").append('
'),t(".vortex-midboard-2").append('
'),t(".vortex-block-1").append('
'),t(".vortex-block-2").append('
'),t(".vortex-block-3").append('
')):(t(".vortex-top, .vortex-side, .vortex-bottom, .vortex-midboard-1, .vortex-midboard-2, .vortex-block-1, .vortex-block-2, .vortex-block-3").empty(),t(".vortex-top").append('
'),t(".vortex-midboard-1").append('
'),t(".vortex-side").append('
'),t(".vortex-block-1").append('
'),t(".vortex-block-2").append('
'),t(".vortex-bottom").append('
'))})}($),function(t){t(".tip.bidask").popover({trigger:"hover",title:"Mid, bid and ask",placement:"top",content:"todo "}),t(".tip.open").popover({trigger:"hover",title:"Open tips",placement:"top",content:"todo "}),t(".tip.closed").popover({trigger:"hover",title:"Closed tips",placement:"top",content:"todo "}),t(".tip.login").popover({trigger:"hover",title:"You must login",placement:"top",content:"todo "}),t(".tip.upgrade").popover({trigger:"hover",title:"You must upgrade",placement:"top",content:"todo "}),t(".tip.pending").popover({trigger:"hover",title:"Pending tips",placement:"top",content:"todo "}),t(".tip.scheduled").popover({trigger:"hover",title:"Scheduled tips",placement:"top",content:"todo "}),t(".tip.restricted").popover({trigger:"hover",title:"No data",placement:"top",content:"todo "})}($),function(t,e,i,n,o,r,s,a,l,h,d,c){t(function(){Highcharts.setOptions({global:{timezone:"Europe/London"}}),t(document).on("click",".watchlist-toggle",function(e){e.preventDefault(),i.click(t(this))}),t(".league-toggle").on("click",function(e){e.preventDefault(),n.click(t(this))}),t("#sector-price-chart").length&&o.setUpPriceChart(t("#sector-price-chart")),t("#sector-consensus-chart").length&&o.setUpConsensusChart(t("#sector-consensus-chart")),t(".sector-consensus-week").length&&t(".sector-consensus-week").each(function(e,i){o.setUpConsensusWeekChart(t(i))}),t("#company_consensus").length&&s.setUpConsensusChart(t("#company_consensus")),t(".company-consensus-week-chart").length&&t(".company-consensus-week-chart").each(function(e,i){s.setUpConsensusWeekChart(t(i))}),t(".company-consensus-week-bar").length&&t(".company-consensus-week-bar").each(function(e,i){s.setUpConsensusWeekBar(t(i))}),t("#company-stock-chart").length&&s.setUpStockChart(t("#company-stock-chart")),t("#tip-rating").length&&a.init(t("#tip-rating")),t("#tip-stock-chart").length&&l.setUpStockChart(t("#tip-stock-chart")),t("#tab-content").length&&h.setUpPortfolioCharts(t("#tab-content")),t("#tipster_stats:not(.broker-row)").length&&d.tipsterShow(t("#tipster_stats")),t("#sell-hits-misses").length&&d.tipsterSellHitsMisses(t("#sell-hits-misses"),r),t("#tipster-sector-count").length&&d.tipsterSectorActivity(t("#tipster-sector-count"),r),t("#tipster-sector-high-low").length&&d.tipsterSectorHighLow(t("#tipster-sector-high-low"),r),t("#tipster-sector-average").length&&d.tipsterSectorAverage(t("#tipster-sector-average"),r),t("#broker-sector-count").length&&c.setUpSectorActivityChart(t("#broker-sector-count")),t("#broker-sell-hits-misses").length&&c.setUpSellTipChart(t("#broker-sell-hits-misses")),t("#broker-sector-high-low").length&&c.setUpSectorHighLowChart(t("#broker-sector-high-low")),t("#broker-sector-average").length&&c.setUpSectorAverageChart(t("#broker-sector-average")),t(".tipster-pub-selection").on("click",function(e){e.preventDefault(),d.tipsterClick(t(this),r)}),t("form",".modal-ajax").submit(function(e){e.preventDefault(),t(this).find("input[type=submit]").attr("disabled","disabled"),t.post(t(this).attr("action"),t(this).serialize(),function(t){"success"==t.status&&location.reload()})}),t("#modal-portfolio-item-new").on("show.bs.modal",function(e){var i=t(e.relatedTarget),n=i.data("portfolio-name"),o=i.data("portfolio-id"),r=t(this);r.find("h4.modal-title strong").text(n),r.find("input[name=portfolio_id]").val(o)}),t("#modal-portfolio-item-sell").on("show.bs.modal",function(e){var i=t(e.relatedTarget),n=(i.data("portfolio-id"),i.data("portfolio-name")),o=i.data("portfolio-item-id"),r=parseInt(i.data("portfolio-item-quantity")),s=t(this),a=i.attr("href");s.find(".modal-title strong").text(n),s.find(".modal-body span#portfolio-item-sell-company").text(i.data("portfolio-item-company")),s.find(".modal-body span#portfolio-item-sell-quantity").text(r),s.find("input[name=portfolio_item_id]").val(o),s.find("#price").attr("placeholder",i.data("portfolio-item-price")),s.find("#quantity").attr("max",r),s.find("form").attr("action",a)}),t("#modal-portfolio-item-delete").on("show.bs.modal",function(e){var i=t(e.relatedTarget),n=i.data("href"),o=i.data("portfolio-name"),r=i.data("portfolio-item-name"),s=t(this);s.find("form").attr("action",n),s.find("#portfolio-item-delete-name").text(r),s.find("#portfolio-item-delete-portfolio-name").text(o)}),t("#modal-portfolio-item-sell").on("hidden.bs.modal",function(e){var i=t(this);i.find("form").attr("action","#")}),t(".datetimepicker").datetimepicker({format:"DD/MM/YYYY HH:mm",useCurrent:!0,stepping:5,icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-chevron-up",down:"fa fa-chevron-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-crosshairs",clear:"fa fa-trash-o",close:"fa fa-times"}}),t(".datepicker").datetimepicker({format:"DD/MM/YYYY",useCurrent:!0,icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-chevron-up",down:"fa fa-chevron-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-crosshairs",clear:"fa fa-trash-o",close:"fa fa-times"}});var e=document.location.hash;e&&t('.stockoTabs a[href="'+e+'"]').tab("show"),t(".stockoTabs a").on("shown.bs.tab",function(t){window.location.hash=t.target.hash}),t(".modal").on("hidden.bs.modal",function(e){t(this).find("input").each(function(e,i){var n=t(this);"submit"!=n.attr("type")&&n.val("")})}),t("#tickerItems").endlessScroll({width:"100%",height:"20px",steps:-2,speed:40,mousestop:!0}),t("#submit-tip").on("submit",function(){t(this).find("input[type=submit]").attr("disabled",!0)}),t("#click-notification").on("touchstart",function(e){window.location.href=t(e.target).attr("href")})})}($,moment,watchlistToggle,leagueToggle,sectorPriceChart,tipsterScripts,companyScripts,tipRatingChart,tipStockChart,portfolioCharts,tipsterDisplayScripts,brokerDisplayScripts);