תקשורת ומדיה

לכל הכתבות +

מדריכים

'; var base64 = function (s) { return window.btoa(unescape(encodeURIComponent(s))) }; var format = function (s, c) { return s.replace(/{(\w+)}/g, function (m, p) { return c[p]; }) }; var ctx = { worksheet: 'Worksheet', table: new_tbl_rows } var link = document.createElement("a"); link.download = "bizportal_mutualfunds.xls"; link.href = uri + base64(format(template, ctx)); link.click(); }); } var do_animate_search = false; function FundsSearch() { if (do_animate_search) { do_animate_search = false; $('html, body').animate({ scrollTop: $("#cph_main_ltr_search_mutual_funds_section").offset().top }, 1000); } GetMutualfundsSearch(current_sort_col, current_sort_dir); } function FundsSearchParamChanged() { page_number = 1; FundsSearch() } function GetSearchFundsPage(pn) { page_number = pn; FundsSearch(); } var selected_compare_funds = ","; function SetCompareFunds(fid) { if (document.getElementById('chk_fund_compare_' + fid).checked) { if (selected_compare_funds.indexOf("," + fid + ",") == -1) { selected_compare_funds += fid + ","; } } else { if (selected_compare_funds.indexOf("," + fid + ",") != -1) { selected_compare_funds = selected_compare_funds.replace("," + fid + ",", ",") } } var ids = "~" + selected_compare_funds + "~"; ids = ids.replace("~,", ""); ids = ids.replace(",~", ""); var l = ids.split(',').length; if (l <= 5) { $(".compare_btn_wrap span").css("color", "#000"); } else { $(".compare_btn_wrap span").css("color", "red"); } if (l >= 1) { $(".compare_btn_wrap button i").text("(" + l + ")"); } else { $(".compare_btn_wrap button i").text(""); } } function CompareFunds() { var ids = "~" + selected_compare_funds + "~"; ids = ids.replace("~,", ""); ids = ids.replace(",~", ""); if (ids.split(',').length <= 5) { window.location.href = global_bizportal_web_base_url + "mutualfunds/compare?ids=" + ids; } } function ShowFilter() { $(".desktop-filter-box").css("display", "block"); } function HideFilter() { $(".desktop-filter-box").css("display", "none"); }
OSZAR »