/* Minification failed. Returning unminified contents.
(1,20): run-time error CSS1031: Expected selector, found '='
(1,20): run-time error CSS1025: Expected comma or open brace, found '='
(1,44): run-time error CSS1031: Expected selector, found '='
(1,44): run-time error CSS1025: Expected comma or open brace, found '='
(1,68): run-time error CSS1031: Expected selector, found '='
(1,68): run-time error CSS1025: Expected comma or open brace, found '='
(1,86): run-time error CSS1030: Expected identifier, found 'write('
(1,86): run-time error CSS1031: Expected selector, found 'write('
(1,86): run-time error CSS1025: Expected comma or open brace, found 'write('
(1,343): run-time error CSS1031: Expected selector, found '='
(1,343): run-time error CSS1025: Expected comma or open brace, found '='
(1,3986): run-time error CSS1019: Unexpected token, found ';'
(1,4002): run-time error CSS1031: Expected selector, found '='
(1,4002): run-time error CSS1025: Expected comma or open brace, found '='
(2,10): run-time error CSS1030: Expected identifier, found 'createElement('
(2,10): run-time error CSS1031: Expected selector, found 'createElement('
(2,10): run-time error CSS1025: Expected comma or open brace, found 'createElement('
(2,431): run-time error CSS1031: Expected selector, found '='
(2,431): run-time error CSS1025: Expected comma or open brace, found '='
(2,477): run-time error CSS1031: Expected selector, found 'slidingNav('
(2,477): run-time error CSS1025: Expected comma or open brace, found 'slidingNav('
(2,1137): run-time error CSS1031: Expected selector, found 'updateWidth('
(2,1137): run-time error CSS1025: Expected comma or open brace, found 'updateWidth('
(2,4903): run-time error CSS1031: Expected selector, found 'fixWrapperRHS('
(2,4903): run-time error CSS1025: Expected comma or open brace, found 'fixWrapperRHS('
(2,5166): run-time error CSS1031: Expected selector, found 'applyScroll('
(2,5166): run-time error CSS1025: Expected comma or open brace, found 'applyScroll('
(2,5472): run-time error CSS1031: Expected selector, found 'getUrlParameter('
(2,5472): run-time error CSS1025: Expected comma or open brace, found 'getUrlParameter('
(2,5681): run-time error CSS1031: Expected selector, found 'ValidatePANforFolio('
(2,5681): run-time error CSS1025: Expected comma or open brace, found 'ValidatePANforFolio('
(2,6232): run-time error CSS1031: Expected selector, found 'ValidatePAN('
(2,6232): run-time error CSS1025: Expected comma or open brace, found 'ValidatePAN('
(2,6468): run-time error CSS1031: Expected selector, found 'GetNFOSchemes('
(2,6468): run-time error CSS1025: Expected comma or open brace, found 'GetNFOSchemes('
(2,6768): run-time error CSS1031: Expected selector, found 'checkTimeRange('
(2,6768): run-time error CSS1025: Expected comma or open brace, found 'checkTimeRange('
(2,6938): run-time error CSS1019: Unexpected token, found '$'
(2,6939): run-time error CSS1019: Unexpected token, found '('
(2,6946): run-time error CSS1031: Expected selector, found ')'
(2,6946): run-time error CSS1025: Expected comma or open brace, found ')'
(2,7414): run-time error CSS1019: Unexpected token, found ')'
(2,7415): run-time error CSS1019: Unexpected token, found ','
(2,7417): run-time error CSS1019: Unexpected token, found '$'
(2,7418): run-time error CSS1019: Unexpected token, found '('
(2,7425): run-time error CSS1031: Expected selector, found ')'
(2,7425): run-time error CSS1025: Expected comma or open brace, found ')'
(2,7822): run-time error CSS1019: Unexpected token, found ')'
(2,7823): run-time error CSS1019: Unexpected token, found ','
(2,7825): run-time error CSS1019: Unexpected token, found '$'
(2,7826): run-time error CSS1019: Unexpected token, found '('
(2,7835): run-time error CSS1031: Expected selector, found ')'
(2,7835): run-time error CSS1025: Expected comma or open brace, found ')'
(2,32928): run-time error CSS1019: Unexpected token, found ')'
(2,32929): run-time error CSS1019: Unexpected token, found ','
(2,32931): run-time error CSS1019: Unexpected token, found '$'
(2,32944): run-time error CSS1031: Expected selector, found '='
(2,32944): run-time error CSS1025: Expected comma or open brace, found '='
(2,33112): run-time error CSS1019: Unexpected token, found ','
(2,33114): run-time error CSS1019: Unexpected token, found '$'
(2,33132): run-time error CSS1031: Expected selector, found '='
(2,33132): run-time error CSS1025: Expected comma or open brace, found '='
(2,33858): run-time error CSS1019: Unexpected token, found ','
(2,33860): run-time error CSS1019: Unexpected token, found '$'
(2,33861): run-time error CSS1019: Unexpected token, found '('
(2,33862): run-time error CSS1019: Unexpected token, found '".chatwithus"'
(2,33875): run-time error CSS1019: Unexpected token, found ')'
(2,33877): run-time error CSS1030: Expected identifier, found 'click('
(2,33877): run-time error CSS1019: Unexpected token, found 'click('
(2,33892): run-time error CSS1031: Expected selector, found '('
(2,33892): run-time error CSS1025: Expected comma or open brace, found '('
(2,34274): run-time error CSS1019: Unexpected token, found ')'
(2,34275): run-time error CSS1019: Unexpected token, found ','
(2,34277): run-time error CSS1019: Unexpected token, found '$'
(2,34278): run-time error CSS1019: Unexpected token, found '('
(2,34279): run-time error CSS1019: Unexpected token, found '".videochat"'
(2,34291): run-time error CSS1019: Unexpected token, found ')'
(2,34293): run-time error CSS1030: Expected identifier, found 'click('
(2,34293): run-time error CSS1019: Unexpected token, found 'click('
(2,34308): run-time error CSS1031: Expected selector, found '('
(2,34308): run-time error CSS1025: Expected comma or open brace, found '('
(2,34688): run-time error CSS1019: Unexpected token, found ')'
(2,34689): run-time error CSS1019: Unexpected token, found ','
(2,34691): run-time error CSS1019: Unexpected token, found '$'
(2,34692): run-time error CSS1019: Unexpected token, found '('
(2,34693): run-time error CSS1019: Unexpected token, found '"ul.commonLink li"'
(2,34711): run-time error CSS1019: Unexpected token, found ')'
(2,34713): run-time error CSS1030: Expected identifier, found 'click('
(2,34713): run-time error CSS1019: Unexpected token, found 'click('
(2,34728): run-time error CSS1031: Expected selector, found '('
(2,34728): run-time error CSS1025: Expected comma or open brace, found '('
(2,35430): run-time error CSS1019: Unexpected token, found ')'
(2,35431): run-time error CSS1019: Unexpected token, found ','
(2,35433): run-time error CSS1019: Unexpected token, found '$'
(2,35434): run-time error CSS1019: Unexpected token, found '('
(2,35435): run-time error CSS1019: Unexpected token, found '".haveusDetail a.close"'
(2,35458): run-time error CSS1019: Unexpected token, found ')'
(2,35460): run-time error CSS1030: Expected identifier, found 'click('
(2,35460): run-time error CSS1019: Unexpected token, found 'click('
(2,35475): run-time error CSS1031: Expected selector, found '('
(2,35475): run-time error CSS1025: Expected comma or open brace, found '('
(2,35578): run-time error CSS1019: Unexpected token, found ')'
(2,35579): run-time error CSS1019: Unexpected token, found ','
(2,35581): run-time error CSS1019: Unexpected token, found '$'
(2,35582): run-time error CSS1019: Unexpected token, found '('
(2,35583): run-time error CSS1019: Unexpected token, found '".videoDetail a.close"'
(2,35605): run-time error CSS1019: Unexpected token, found ')'
(2,35607): run-time error CSS1030: Expected identifier, found 'click('
(2,35607): run-time error CSS1019: Unexpected token, found 'click('
(2,35622): run-time error CSS1031: Expected selector, found '('
(2,35622): run-time error CSS1025: Expected comma or open brace, found '('
(2,35687): run-time error CSS1019: Unexpected token, found ')'
(2,35688): run-time error CSS1019: Unexpected token, found ','
(2,35690): run-time error CSS1019: Unexpected token, found '$'
(2,35691): run-time error CSS1019: Unexpected token, found '('
(2,35692): run-time error CSS1019: Unexpected token, found '".videoDetail1 a.close"'
(2,35715): run-time error CSS1019: Unexpected token, found ')'
(2,35717): run-time error CSS1030: Expected identifier, found 'click('
(2,35717): run-time error CSS1019: Unexpected token, found 'click('
(2,35732): run-time error CSS1031: Expected selector, found '('
(2,35732): run-time error CSS1025: Expected comma or open brace, found '('
(2,35798): run-time error CSS1019: Unexpected token, found ')'
(2,35799): run-time error CSS1019: Unexpected token, found ';'
(3,10): run-time error CSS1031: Expected selector, found 'bindUrls('
(3,10): run-time error CSS1025: Expected comma or open brace, found 'bindUrls('
(3,741): run-time error CSS1031: Expected selector, found 'setCurrentSelectedMenu('
(3,741): run-time error CSS1025: Expected comma or open brace, found 'setCurrentSelectedMenu('
(3,2305): run-time error CSS1031: Expected selector, found 'setLeftNavigationSelected('
(3,2305): run-time error CSS1025: Expected comma or open brace, found 'setLeftNavigationSelected('
(3,2849): run-time error CSS1031: Expected selector, found 'setTopNavigation('
(3,2849): run-time error CSS1025: Expected comma or open brace, found 'setTopNavigation('
(3,3722): run-time error CSS1019: Unexpected token, found '$'
(3,3723): run-time error CSS1019: Unexpected token, found '('
(3,3732): run-time error CSS1031: Expected selector, found ')'
(3,3732): run-time error CSS1025: Expected comma or open brace, found ')'
(3,4767): run-time error CSS1019: Unexpected token, found ')'
(3,4768): run-time error CSS1019: Unexpected token, found ','
(3,4789): run-time error CSS1031: Expected selector, found '='
(3,4789): run-time error CSS1025: Expected comma or open brace, found '='
(3,4891): run-time error CSS1019: Unexpected token, found ';'
 */
var checkboxHeight = "25"; var radioHeight = "25"; var selectWidth = "100"; document.write('<style type="text/css">input.styled { display: none; } select.styled { position: relative; width: ' + selectWidth + "px; opacity: 0; filter: alpha(opacity=0); z-index: 5; } .disabled { opacity: 0.5; filter: alpha(opacity=50); }</style>"); var Custom = { init: function () { var e = document.getElementsByTagName("input"), g = Array(), c, f, h; for (a = 0; a < e.length; a++) { if ((e[a].type == "checkbox" || e[a].type == "radio") && e[a].className == "styled") { g[a] = document.createElement("span"); g[a].className = e[a].type; if (e[a].checked == true) { if (e[a].type == "checkbox") { position = "0 -" + (checkboxHeight * 2) + "px"; g[a].style.backgroundPosition = position } else { position = "0 -" + (radioHeight * 2) + "px"; g[a].style.backgroundPosition = position } } e[a].parentNode.insertBefore(g[a], e[a]); e[a].onchange = Custom.clear; if (!e[a].getAttribute("disabled")) { g[a].onmousedown = Custom.pushed; g[a].onmouseup = Custom.check } else { g[a].className = g[a].className += " disabled" } } } e = document.getElementsByTagName("select"); for (a = 0; a < e.length; a++) { if (e[a].className == "styled") { f = e[a].getElementsByTagName("option"); h = f[0].childNodes[0].nodeValue; c = document.createTextNode(h); for (b = 0; b < f.length; b++) { if (f[b].selected == true) { c = document.createTextNode(f[b].childNodes[0].nodeValue) } } g[a] = document.createElement("span"); g[a].className = "select"; g[a].id = "select" + e[a].name; g[a].appendChild(c); e[a].parentNode.insertBefore(g[a], e[a]); if (!e[a].getAttribute("disabled")) { e[a].onchange = Custom.choose } else { e[a].previousSibling.className = e[a].previousSibling.className += " disabled" } } } document.onmouseup = Custom.clear }, pushed: function () { element = this.nextSibling; if (element.checked == true && element.type == "checkbox") { this.style.backgroundPosition = "0 -" + checkboxHeight * 3 + "px" } else { if (element.checked == true && element.type == "radio") { this.style.backgroundPosition = "0 -" + radioHeight * 3 + "px" } else { if (element.checked != true && element.type == "checkbox") { this.style.backgroundPosition = "0 -" + checkboxHeight + "px" } else { this.style.backgroundPosition = "0 -" + radioHeight + "px" } } } }, check: function () { element = this.nextSibling; if (element.checked == true && element.type == "checkbox") { this.style.backgroundPosition = "0 0"; element.checked = false } else { if (element.type == "checkbox") { this.style.backgroundPosition = "0 -" + checkboxHeight * 2 + "px" } else { this.style.backgroundPosition = "0 -" + radioHeight * 2 + "px"; group = this.nextSibling.name; inputs = document.getElementsByTagName("input"); for (a = 0; a < inputs.length; a++) { if (inputs[a].name == group && inputs[a] != this.nextSibling) { inputs[a].previousSibling.style.backgroundPosition = "0 0" } } } element.checked = true } }, clear: function () { inputs = document.getElementsByTagName("input"); for (var c = 0; c < inputs.length; c++) { if (inputs[c].type == "checkbox" && inputs[c].checked == true && inputs[c].className == "styled") { inputs[c].previousSibling.style.backgroundPosition = "0 -" + checkboxHeight * 2 + "px" } else { if (inputs[c].type == "checkbox" && inputs[c].className == "styled") { inputs[c].previousSibling.style.backgroundPosition = "0 0" } else { if (inputs[c].type == "radio" && inputs[c].checked == true && inputs[c].className == "styled") { inputs[c].previousSibling.style.backgroundPosition = "0 -" + radioHeight * 2 + "px" } else { if (inputs[c].type == "radio" && inputs[c].className == "styled") { inputs[c].previousSibling.style.backgroundPosition = "0 0" } } } } } }, choose: function () { option = this.getElementsByTagName("option"); for (d = 0; d < option.length; d++) { if (option[d].selected == true) { document.getElementById("select" + this.name).childNodes[0].nodeValue = option[d].childNodes[0].nodeValue } } } }; window.onload = Custom.init;
document.createElement("section"), document.createElement("header"), document.createElement("footer"), document.createElement("article"), document.createElement("aside"), document.createElement("nav"); var indBan, widBox, htDoc, htWin, thsMenu, widWin, widDoc, htBox, htCont, widCont, lftOffset, widFixUL, movingUL, fixWrapperOffsetTop, fixWrapperPosTop, offsetTop, offsetLeft, lftOfsArrow, searchTimer, element, api, tabInterval = 0, scrollPos = 0, NFOSchemes = ""; function slidingNav(e) { var i; e.hasClass("menu") ? (i = $("nav.mobNav").css("width"), e.hasClass("active") ? (e.removeClass("active"), $("#mainWrapper").animate({ left: "0" }, 350, function () { $("nav.mobNav").removeAttr("style") })) : (e.addClass("active"), $("#mainWrapper").animate({ left: i }, 350), $("nav.mobNav").css("height", "100%"))) : (i = $(".fixContainer").css("width"), e.hasClass("active") ? (e.removeClass("active"), $("#mainWrapper").animate({ left: "0" }, 350, function () { $(".fixContainer").removeAttr("style") })) : (e.addClass("active"), $("#mainWrapper").animate({ left: "-" + i }, 350), $(".fixContainer").css("height", "100%"))) } function updateWidth() { $(".searchfundDetailBox").removeAttr("style"), widBox = $(".quickSearch .quickBox").width() + 2 * (parseInt($(".quickSearch .quickBox").css("padding-left")) + 1), htBox = $(".quickSearch .quickBox").height() + 2 * (parseInt($(".quickSearch .quickBox").css("padding-top")) + 2); var e, i = $(".investOption").outerWidth() + parseInt($(".investOption").css("margin-left")), a = $(".investOption").length; $(".investOption").parent("#scroller").css("width", a * i), htDoc = $(document).height(), htWin = $(window).height(), widDoc = $(document).width(), widWin = $(window).width(), clearTimeout(searchTimer), searchTimer = setTimeout(function () { return $("ul.nav").hasClass("serchTab") ? (widWin < 800 ? $("ul.nav li").siblings().find("a").not(".serchBx a, ul.nav li ul li a, .whyInvest ul.nav li a").removeAttr("style") : ($("ul.nav li").siblings().find("a").not(".serchBx a, ul.nav li ul li a, .whyInvest ul.nav li a").animate({ width: "131px" }, 400), $("ul.nav li").siblings().find("a").not(".serchBx a, ul.nav li ul li a, .whyInvest ul.nav li a").css({ "padding-right": "2px", "padding-left": "0px" })), $(".searchBox").is(":visible") && $("nav.mobNav ul.nav li.lastLi").addClass("activeSearch"), !1) : void $("ul.nav li").siblings().find("a").not(".serchBx a, ul.nav li ul li a, .whyInvest ul.nav li a").removeAttr("style") }, 200), 0 < $("ul.fixWrapper").length && (e = $("ul.fixWrapper").offset().top, $(".fixContainer").css("top", e), htCont = $(".fixContainer").css("height"), widCont = $(".fixContainer").css("width"), lftOffset = $(".midWrap").offset(), widFixUL = $("ul.fixWrapper").width(), $(".fixContainer .toggleIcon").css("left", -(widFixUL + 21))), 768 == widDoc && $(".searchBox").is(":visible") && $("nav.mobNav ul.nav li.lastLi").addClass("activeSearch"); var t = 0; if (768 < widDoc) $(".navTabs ul").removeAttr("style"), $(".investBox .chkFund, p.moreCont").removeAttr("style"), $("nav.mobNav ul.nav li.lastLi").removeClass("activeSearch"), $(".mobileView > li").removeClass("selected").children().removeAttr("style"); else { var s = $(".navTabs ul li").length, n = parseInt($(".navTabs ul li").css("padding-left")); if (2 < s) { for (var l = 0; l < s; l++) t += $(".navTabs ul li").eq(l).width(); $(".navTabs ul").css("width", t + s * (2 * n)) } $("a").click(function () { var e; $(this).hasClass("deviceCallOnly") && (e = $(this).text(), $(this).attr("href", "tel:" + e)) }) } 1 <= $(".chatwithus").length && (offsetTop = $(".chatwithus").offset().top + 28, offsetLeft = $(".chatwithus").offset()), 1 <= $("ul.commonLink li.active").length && (lftOfsArrow = $("ul.commonLink li.active").offset(), widWin <= 640 ? $(".haveusDetail span.arrow").css("left", lftOfsArrow) : $(".haveusDetail span.arrow").removeAttr("style")), $("body").hasClass("chatus") && (widWin <= 1024 ? ($(".chatusBox").css({ left: offsetLeft - 150, top: offsetTop }).fadeIn(), $(".haveusDetail span.arrow").removeAttr("style")) : $(".chatusBox").css({ left: offsetLeft, top: offsetTop }).fadeIn(), widWin <= 640 && $(".chatusBox").css({ left: 0, top: offsetTop + 70 }).fadeIn()), 1 <= $(".videochat").length && (offsetTop = $(".videochat").offset().top + 28, offsetLeft = $(".videochat").offset()), 1 <= $("ul.commonLink li.active").length && (lftOfsArrow = $("ul.commonLink li.active").offset(), widWin <= 640 ? $(".videoDetail span.arrow").css("left", lftOfsArrow) : $(".videoDetail span.arrow").removeAttr("style")), $("body").hasClass("chatus") && (widWin <= 1024 ? ($(".videoBox").css({ left: offsetLeft - 150, top: offsetTop }).fadeIn(), $(".haveusDetail span.arrow").removeAttr("style")) : $(".videoBox").css({ left: offsetLeft, top: offsetTop }).fadeIn(), widWin <= 640 && $(".videoBox").css({ left: 0, top: offsetTop + 70 }).fadeIn()) } function fixWrapperRHS() { $(".fixWrapper").is(":visible") && (fixWrapperPosTop = ($(window).height() - $(".fixContainer .fixWrapper").height()) / 2, $(".fixContainer").css({ top: fixWrapperPosTop + "px" }), fixWrapperOffsetTop = $(".fixWrapper").offset().top) } function applyScroll() { if (widWin < 768) return !1; 640 < widWin && 0 < $(".scroll-pane").length && (setTimeout(function () { $("#panemain, #panemain1, #terms, #terms1").jScrollPane({ animateScroll: !0 }) }, 300), element = $("#panemain").jScrollPane({ animateScroll: !0 }), api = element.data("jsp")) } function getUrlParameter(e) { for (var i, a = decodeURIComponent(window.location.search.substring(1)).split("&"), t = 0; t < a.length; t++) if ((i = a[t].split("="))[0] === e) return void 0 === i[1] || i[1] } function ValidatePANforFolio(e, i) { var a = {}; return a.Folio = "" != e && "-1" != e && null != e && null != e ? e : "", a.Pan = "" != i && null != i && null != i ? i : "", ("" != a.Folio || "" != a.Pan) && ($.ajax({ url: "../Account/VerifyPan", async: !1, data: JSON.stringify(a), contentType: "application/json", dataType: "json", type: "POST", success: function (e) { e.constructor != {}.constructor && (e = JSON.parse(e)), console.log(e), kycstatus = e.PanStatus }, error: function (e) { return console.log(e), kycstatus = "" } }), kycstatus) } function ValidatePAN(e) { if (null == e && (e = window.event.srcElement), "" != e.value) return ObjVal = e.value, null == e.value && (ObjVal = e.val()), -1 != ObjVal.search(/^([a-zA-Z]{3})([pP]{1})([a-zA-Z]{1})(\d{4})([a-zA-Z]{1})$/) } function GetNFOSchemes() { "/online" != document.location.pathname && $.ajax({ url: "../Transaction/GetNFOSchemes", contentType: "application/json", dataType: "json", type: "POST", success: function (e) { 1 == e.IsSuccess && (NFOSchemes = e.NFOSchemes) }, error: function (e) { console.log(e) } }) } function checkTimeRange() { var e = new Date, i = new Date; i.setHours("08", "00"); var a = new Date; return a.setHours("20", "00"), i <= e && e < a && 0 != (new Date).getDay() } $(window).resize(function () { var e = $(".tableWrapper table").outerHeight(); $(".tableWrapper#s2scroller").css("height", e + 50), 0 < $("#s2scroller").length && setTimeout(function () { $("#s2scroller").jScrollPane() }, 300), (thsMenu = $(".divices .menu, .divices ul li a.fixNav")).hasClass("active") && slidingNav(thsMenu), fixWrapperRHS(), updateWidth(), applyScroll(), 0 < $(".scroll-pane").length && setTimeout(function () { $("#terms, #terms1").jScrollPane() }, 150) }), $(window).scroll(function () { return scrollPos = $(window).scrollTop(), $(".mutualWrap").animate({ top: 0 }, 800), !/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && void (320 < widWin && (fixWrapperOffsetTop <= scrollPos ? $(".fixContainer").css({ position: "fixed", top: "10" }) : $(".fixContainer").css({ position: "absolute", top: fixWrapperPosTop + "px" }))) }), $(document).ready(function () { $(".fixContainer .toggleIcon").click(function () { $(this).hasClass("actToggle") ? ($(".fixContainer").animate({ right: "0" }, 500), $(this).removeClass("actToggle")) : ($(".fixContainer").animate({ right: -widFixUL }, 500), $(this).addClass("actToggle")) }), $(".chatwithus").click(function () { updateWidth(), $(".haveusDetail").hide(), $(".videoDetail").hide(), $("body").addClass("chatus"), widWin <= 1024 ? ($(".chatusBox").css({ left: offsetLeft - 150, top: offsetTop }).fadeIn(), $(".haveusDetail span.arrow").removeAttr("style"), $(".videoDetail span.arrow").removeAttr("style")) : $(".chatusBox").css({ left: offsetLeft - 140, top: offsetTop }).fadeIn(), widWin <= 640 && $(".chatusBox").css({ left: 0, top: offsetTop + 70 }).fadeIn() }), $(".videochat").click(function () { updateWidth(), $(".haveusDetail").hide(), $(".videoDetail").hide(), $("body").addClass("chatus"), widWin <= 1024 ? ($(".videoBox").css({ left: offsetLeft - 150, top: offsetTop }).fadeIn(), $(".haveusDetail span.arrow").removeAttr("style"), $(".videoDetail span.arrow").removeAttr("style")) : $(".videoBox").css({ left: offsetLeft, top: offsetTop }).fadeIn(), widWin <= 640 && $(".videoBox").css({ left: 0, top: offsetTop + 70 }).fadeIn() }), $("ul.commonLink li").click(function () { checkTimeRange() ? ($(this).addClass("active").siblings().removeClass("active"), updateWidth(), lftOfsArrow = $(this).offset(), widWin <= 640 && ($(".haveusDetail span.arrow").css("left", lftOfsArrow), $(".videoDetail span.arrow").css("left", lftOfsArrow)), $(".haveusDetail").hide(), $(".videoDetail").hide(), $("body").removeClass("chatus"), $(".chatusBox").removeAttr("style"), $(this).hasClass("callImg") ? (ET = new Date, 18 == ET.getDate() && 9 == ET.getMonth() && 2019 == ET.getFullYear() ? alert("Thank you for choosing Nippon India Mutual Fund, on account of state elections scheduled in Maharashtra, our 'WebChat' services would be affected. Request you to use our self help options on Website / APP or IVR") : ($(".haveUsBox").fadeIn(), $(".captchaText input").attr("value", ""))) : $(this).hasClass("chatImg") ? $(".chatusBox").fadeIn() : $(this).hasClass("videoImg") && ($(".videoBox").fadeIn(), $(".captchaText input").attr("value", ""))) : alert("Thank you for choosing Nippon India Mutual Fund, our Click to Talk services are offered between 8:00 am to 8:00 pm IST (Between Monday to Saturday)") }), $(".haveusDetail a.close").click(function (e) { $("body").removeClass("chatus"), $(".chatusBox").removeAttr("style"), $(".haveusDetail").hide() }), $(".videoDetail a.close").click(function (e) { $("body").removeClass("chatus"), $(".videoBox").hide() }), $(".checkipan").find(".yesIpin").click(), $(".yesIpin").find("input").is(":checked") ? $(".haveIpn").show() : $(".haveIpn").hide(), $(".checkipan").click(function () { $(".yesIpin").find("input").is(":checked") ? $(".haveIpn").show() : $(".haveIpn").hide() }), 0 < $(".scroll-pane").length && setTimeout(function () { $("#terms, #terms1").jScrollPane() }, 150), $(".virtualKey").click(function () { 1 == $(this).find("input").is(":checked") ? $(".onlineKEyboard").fadeIn() : $(".onlineKEyboard").fadeOut() }), fixWrapperRHS(); for (var e = $("input:radio").length, i = 0; i < e; i++) $("input:radio").eq(i).parents("label").addClass("radioWidth"); var a, t = navigator.userAgent, s = parseFloat(t.slice(t.indexOf("Android") + 8)); 23 == navigator.userAgent.toLowerCase().indexOf("android") && 2.3 == s ? ($(".myAccWrapperContent .navTabs, .tableWrapper").attr("ID", "s2scroller"), a = $(".tableWrapper table").outerHeight(), $(".tableWrapper#s2scroller").css("height", a + 50), setTimeout(function () { $("#s2scroller").jScrollPane() }, 300), $(".linkFolio a.removeFolio").click(function () { $("#removeBox2, .overlay").fadeIn(300), $("html,body").animate({ scrollTop: 0 }, 300) })) : ($(".myAccWrapperContent .navTabs").attr("ID", "scroller"), $(".linkFolio a.removeFolio").click(function () { $("#removeBox2, .overlay").fadeIn(300) })), setTimeout(function () { 1 == $("#terms, #terms1").length && $("#terms, #terms1").jScrollPane() }, 150); for (var n = $(".tabDetail").length, i = 0; i < n; i++) $(".tabDetail").not(".noBgColor").eq(i).find(".row:even").css("background", "#e2e6eb"); $("a.save").click(function () { $("#saveLgtBox").fadeIn(), $(".overlay").fadeIn() }), $("a.cancelSIP").click(function () { $("#cancelLgtBox").fadeIn(), $(".overlay").fadeIn() }), $("input:radio[value=smartStep]").click(function () { $(".tabDetail .smartStepDiv .row").css("background", "none"), setTimeout(function () { $(".tabDetail .smartStepDiv .row:odd").css("background", "#e2e6eb"), $("#terms, #terms1").jScrollPane() }, 50), $(".smartStepDiv").fadeIn(), $(".lumpSumDiv").hide() }), $("input:radio[value=lumpSum], input:radio[value=stp]").click(function () { setTimeout(function () { $("#terms, #terms1").jScrollPane() }, 50), $(".smartStepDiv, .swpDiv").hide(), $(".lumpSumDiv").fadeIn() }), $("input:radio[value=SWP]").click(function () { $(".swpDiv").fadeIn(), $(".lumpSumDiv").hide() }), $(".toolTip").hover(function () { $("select").hide(); var e = $(this).attr("rel"), i = $(this).position(), a = $(this).position().top, t = '<div class="toolTipDetail"><span></span>' + e + "</div>"; $(this).parents("label").append(t), $(this).parents("p").append(t), $(".toolTipDetail").css({ left: i - 40, top: a + 30 }) }, function () { $(".toolTipDetail").remove(), $("select").removeAttr("style") }); var l = $(".investTabWrap ul.tab li").length; $(".investTabWrap ul.tab li").click(function () { var e = $(this).find("label").html(); $(".investTabWrap .mobTitle").html(e), setTimeout(function () { $("#terms, #terms1").jScrollPane() }, 150), $(this).addClass("active").siblings().removeClass("active"); var i = $(this).index(); $(this).prev().addClass("activate").css("z-index", l - i), $(".investTabWrap .tabDetail").eq(i).fadeIn().siblings(".tabDetail").hide() }).eq(0).click(), $(".rowMail input, .checkBoxDiv input").click(function () { $(this).is(":checked") ? $(this).prev("span.checkbox").addClass("checkedAct") : $(this).prev("span.checkbox").removeClass("checkedAct") }), $(".accontDetail .accordian h2").click(function () { applyScroll(), $(this).find("a").show(), $(this).hasClass("active") ? ($(this).removeClass("active"), $(this).next(".accordContent").hide()) : ($(this).addClass("active").siblings().removeClass("active"), $(this).next(".accordContent").fadeIn().siblings(".accordContent").hide()) }).eq(0).click(), $(".navTabs li").click(function () { $(this).addClass("active").siblings().removeClass("active"); var e = $(this).index(), i = $(this).position(); $(".myAccWrapper .navTabs").animate({ scrollLeft: i }, 350), applyScroll(), $(".myAccContent .accontDetail").eq(e).fadeIn().siblings().hide() }).eq(0).click(), updateWidth(), $(".fundAccord .accordDiv").click(function () { $(this).hasClass("act") ? ($(this).next(".accordDivDetail").hide(), $(this).removeClass("act")) : ($(this).addClass("act").siblings(".accordDiv").removeClass("act"), $(this).next(".accordDivDetail").fadeIn().siblings(".accordDivDetail").hide()) }), $(".fundAccord ul.fundTab li").click(function () { var e = $(this).index(); $(this).addClass("act").siblings("li").removeClass("act"), $(".tableView .tabList").eq(e).fadeIn().siblings(".tabList").hide() }).eq(0).click(), $(".fundAccord a.readMore").click(function () { $(this).hasClass("act") ? ($("p.moreCont").slideUp(), $(this).removeClass("act"), $(this).text("Read more")) : ($("p.moreCont").slideDown(), $(this).addClass("act"), $(this).text("Less")) }); var o = $(".retailInvestor").html(); $(".mobNav .midWrap").append(o); var c = $("ul.subMenuMain").length; for (i = 0; i < c; i++) $("ul.subMenuMain").find("li:even").css("clear", "both"); /Android|webOS|iPhone|iPod|iPad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? (640 < widWin && $("a").click(function () { var e; $(this).hasClass("tell") && (e = $(this).find("span").text(), $(this).attr("href", "tel:" + e)) }), $("ul.nav > li > ul > li").each(function () { $(this).children("ul").length <= 0 && $(this).addClass("noBg") }), $("ul.nav > li").each(function () { $(this).children("ul").length <= 0 && $(this).find("a").addClass("activeLinkMobile") }), document.addEventListener("touchmove", function (e) { $(".toolTipDetail").remove() }), $("ul.nav > li > a").click(function (e) { $(this).hasClass("activeLinkMobile") || e.preventDefault(), 0 != $(this).parents("li").index() ? $(this).parents("li").hasClass("active") ? ($(this).parents("li").removeClass("active"), $(this).next("ul").slideUp()) : ($(this).next("ul").fadeIn().parents("li").siblings("li").find("ul").slideUp(), $(this).parents("li").addClass("active").siblings().removeClass("active"), $(this).parents("li.active").find("a.activeThirdLevel").parents("ul.subMenuMain").show(), $(this).parents("li.active").find("a.activeThirdLevel").parents("ul.subMenuMain").parent("li").addClass("subMenuOpen")) : 768 < widWin && $("ul.nav li ul").hide() })) : $("ul.nav li").not("ul.nav li ul li, .whyInvest ul.nav li").hover(function (e) { e.preventDefault(), $(".headWrp .selectbg select, .detail .selectbg select").hide(), $(this).find("a.activeThirdLevel").parents("ul.subMenuMain").show(), $(this).find("a.activeThirdLevel").parents("ul.subMenuMain").parent("li").addClass("subMenuOpen"), $(this).children("ul").slideDown(), $(this).addClass("active").siblings().removeClass("active") }, function () { $("ul.nav li ul").hide(), $("ul.nav li.active li").removeClass("subMenuOpen"), $(".headWrp .selectbg select,  .detail .selectbg select").show(), $("ul.nav li").not("ul.nav li ul li").removeClass("active") }), $("ul.nav > li > ul > li").each(function () { $(this).children("ul").length <= 0 && $(this).addClass("noBg") }), $(".mobileView > li > .lineHead").click(function () { widWin < 768 && ($(".haveusDetail a.close").trigger("click"), $(this).parents("li").hasClass("selected") ? $(this).parents("li").removeClass("selected").children().not(".lineHead, .haveusDetail").hide() : ($(this).parents("li").addClass("selected").children().not(".lineHead, .haveusDetail").fadeIn(), $(this).parents("li.selected").siblings("li").removeClass("selected").children().not(".lineHead, .haveusDetail").hide()), $(".videoDetail").hide()) }), $("ul.nav li ul li a").not("ul.nav li ul li ul li a").click(function () { 768 <= widWin ? $(this).parent("li").hasClass("subMenuOpen") ? ($("ul.subMenuMain").slideUp(), $(this).parent("li").removeClass("subMenuOpen")) : ($(this).parent("li").addClass("subMenuOpen").siblings().removeClass("subMenuOpen"), $(this).parent("li").find("ul.subMenuMain").slideDown(), $(this).parent("li").siblings().find("ul.subMenuMain").slideUp()) : $(this).parent("li").find("ul").hasClass("subMenuMain") && ($(this).parents("li.active").children("a").append('<span class="menuBackBtn"></span>'), $(this).parent("li").siblings("li").fadeOut().parents("li").siblings("li").fadeOut(), $(this).parents(".mobNav").find("#retailWrap").fadeOut(), $(this).parent("li").find(".subMenuMain").css("position", "relative").fadeIn().animate({ left: "0" }, 300).addClass("subMenuMainActive"), $(this).parents("li").removeClass("active")) }), $(".menuBackBtn").click(function () { $(this).parents("li").find(".subMenuMainActive").animate({ left: "100%" }, 300).fadeOut().css("position", "absolute"), $(this).parents("li").siblings("li").fadeIn().parents("li").siblings("li").fadeIn(), $(this).parents("li").children("ul").find("li").show(), $(this).parents("li").find(".noBg").siblings("li").fadeIn().addClass("noBg"), $(this).parents(".mobNav").find("#retailWrap").fadeIn(), $(".menuBackBtn").remove(), $("ul.nav > li > ul > li").each(function () { $(this).children("ul").length <= 0 ? $(this).addClass("noBg") : $(this).removeClass("noBg") }), $(".midWrap ul.nav li.lastLi").removeAttr("style") }), $(".divices ul li a.searchDevice").click(function () { $("#mainWrapper").animate({ left: "0" }, 500, function () { $(".divices ul li a.fixNav").removeClass("active"), $(".fixWrapper").removeAttr("style"), $(".nav li a").removeAttr("style"), $(".searchBoxDevice").fadeIn() }) }), $(".divices .closeSearch").click(function () { $(".searchBoxDevice").animate({ opacity: "0", left: "35%" }, 350, function () { $(".searchBoxDevice").removeAttr("style") }) }), $(".divices .menu, .divices ul li a.fixNav").click(function () { slidingNav(thsMenu = $(this)) }), $(".whyInvest ul.accord li h3").click(function () { $(this).parent("li").addClass("active").siblings("li").removeClass("active"), $(this).next().slideDown().parent("li").siblings("li").find("h3").next().slideUp() }).eq(0).click(), setTimeout(function () { $(".subscribeBox").fadeIn() }, 3e3), $(".closeSub").click(function () { $(".subscribeBox").fadeOut() }); var r = $(".bannerWrap .banWrap").length; for (i = 0; i < r; i++) $("ul.tabWrap").append("<li></li>"); var d, h, f, u = $(".bannerWrap ul.tabWrap li").width(); $(".bannerWrap ul.tabWrap").css("width", r * u * 2), $("ul.tabWrap li").click(function () { var e; indBan = $(this).index(), $(this).addClass("sel").siblings().removeClass("sel"), "640" < widWin ? ($(".banWrap").eq(indBan).fadeIn(function () { $(".banWrap").eq(indBan).find("h2").animate({ left: 0, opacity: "1" }, 800, "easeOutQuad", function () { $(".banWrap").eq(indBan).find("p").not("p.btmTxt").animate({ left: "0" }, 600, function () { $(".banWrap").eq(indBan).find(".knowMor").animate({ left: "0" }, 600, function () { $(".banWrap").eq(indBan).find("p.btmTxt").animate({ left: "0" }, 500) }) }) }) }), $(".banWrap").eq(indBan).find("img.couple").delay(1e3).animate({ opacity: "1" }, 300, function () { $(".banWrap").eq(indBan).find("img").animate({ opacity: "1" }, 800) }), $(".banWrap").eq(indBan).siblings(".banWrap").hide().find("*").removeAttr("style"), e = $(".banWrap").eq(indBan).css("background-color"), $(".bannerWrap").css("background-color", e), clearInterval(tabInterval)) : $(".banWrap").eq(indBan).fadeIn().siblings(".banWrap").hide() }).eq(0).click(), $(".searchFund").click(function () { 640 < widDoc ? $(".searchfundDetailBox").animate({ left: "0", width: widBox + "px" }, 800, function () { $(".searchFund").addClass("active") }) : $(".searchfundDetailBox").animate({ top: "53px", width: widBox + "px", height: htBox }, 800, function () { $(".searchFund").addClass("active") }), $(".searchfundDetail").delay(400).fadeIn() }), $(".closeQuick").click(function () { 640 < widDoc ? $(".searchfundDetailBox").animate({ left: widBox + "px", width: "0" }, 800, function () { $(".searchFund").removeClass("active") }) : $(".searchfundDetailBox").animate({ top: htBox + 53 + "px", height: "0" }, 800, function () { $(".searchFund").removeClass("active") }), $(".searchfundDetail").delay(400).fadeOut() }), $(".clickRetail").click(function () { $(".retailInvestor, ul.retailWrap").not(".mobNav .retailInvestor, .mobNav  ul.retailWrap").slideToggle(function () { "block" == $(".retailInvestor").css("display") ? $(".clickRetail").addClass("act") : $(".clickRetail").removeClass("act") }) }), $(".searchBtn").click(function () { $(".searchBox").is(":visible") || ($("ul.nav li ul").hide(), $("ul.nav").addClass("serchTab"), $(this).parent("li").siblings().find("a").not(".serchBx a, ul.nav li ul li a, .whyInvest ul.nav li a").css({ "padding-right": "2px", "padding-left": "0px" }), $(this).parent("li").siblings().find("a").not(".serchBx a, ul.nav li ul li a, .whyInvest ul.nav li a,ul.nav li.firstLi a").animate({ width: "125px" }, 400), $(this).parent("li").siblings("li.firstLi").find("a").animate({ width: "35px" }, 400), 800 < widWin ? ($(this).parent(".lastLi").animate({ width: "278px" }, 410), $(this).parent(".lastLi").removeClass("activeSearch")) : $(this).parent(".lastLi").addClass("activeSearch"), $(".searchBox").delay(250).fadeIn(300)) }), $(".closeSearch").click(function () { $("ul.nav li ul").hide(), $("ul.nav li.lastLi").removeClass("activeSearch"), $("ul.nav li.lastLi").removeAttr("style"), $(".searchBox").hide(0, function () { $("ul.nav li.lastLi").removeAttr("style"), 800 < widWin && ($("ul.nav li").siblings().find("a").not(".serchBx a, ul.nav li ul li a, .whyInvest ul.nav li a,ul.nav li.firstLi a").animate({ width: "165px", "padding-right": "20px", "padding-left": "20px" }, 200), $(this).parent("li").siblings("li.firstLi").find("a").animate({ width: "60px" }, 200)), $("ul.nav li a").removeAttr("style") }), $("ul.nav").removeClass("serchTab") }), $(".accordWrap .accordHead").click(function () { $(this).index(), $(this).hasClass("act") ? ($(this).next().hide(), $(this).removeClass("act")) : ($(this).next().fadeIn().siblings(".accordWrap .accordDetail").hide(), $(this).addClass("act").siblings(".accordHead").removeClass("act")) }), $(".accordDetail a.closeBtn").click(function () { $(".accordWrap .accordHead").removeClass("act"), $(this).parent(".accordDetail").hide() }), $(".invstMre").click(function () { $(".investBox .chkFund").is(":visible") ? ($("img.moreImg").animate({ width: "40px" }, 200), $(".chkFund").fadeOut()) : ($("img.moreImg").animate({ width: 0 }, 200), $(".chkFund").fadeIn()) }), $("select").each(function () { $(this).children("option").each(function () { $(this).attr("selected") && $(this).parent(".selectedvalue").html($(this).html()) }) }), $("select").change(function () { console.log($(this).val()); var e = this.id, i = $("#" + e + " option:selected").text(); $(this).prev().html(i) }), $(".loginDesktop").click(function () { var e = $(this).offset().top, i = $(this).offset(), a = $(window).width(), t = $(this).outerWidth(!0), s = a - (i + parseInt(t)); $(".loginWrapper").slideDown(300).css({ top: e - parseInt(10) + "px", right: s + "px" }), $(".overlay").fadeIn(100) }), $(".userNameClick").click(function () { var e = $(this).offset().top, i = $(this).offset(), a = $(this).outerHeight(!0), t = $(window).width(), s = $(this).outerWidth(!0), n = t - (i + parseInt(s)); $(this).addClass("userNameClick2").removeClass("userNameClick"), $(".logedinWrapper").slideDown(300).css({ top: e + parseInt(a) + parseInt(6) + "px", right: n + "px" }) }), $(".userNameClick2").click(function () { $(this).addClass("userNameClick").removeClass("userNameClick2"), $(".logedinWrapper").slideUp(300) }), $(".overlay, .lightBox .close, a.cancelBox").click(function () { $(this).parents().hasClass("myAcc") ? ($(".myAcc").prev(".overlay").hide(), $(".myAcc .overlay").hide()) : ($(".fixWrapper li a").hasClass("active") && $(".fixWrapper li a.active").trigger("click"), $(".overlay").hide()), $(".lightBox").hide(), $(".loginWrapper").slideUp(300) }), $(".loginMob a").click(function () { $("#mainWrapper").animate({ left: "0" }, 300), $(".fixNav.active").removeClass("active"), $(".bannerWrap, .mutualWrap, .domore, .regisContent").hide(), $(".loginWrapper").removeAttr("style"), $(".loginWrapper").show() }), $(".loginBtnClick").click(function () { $("#senario1, .login").show(), $(".register, .thankYouMsg, #senario3, #senario4").hide() }), $(".registerBtnClick").click(function () { $(".login").hide(), $(".register").show() }), $(".submitClick").click(function () { $("#senario1, .googleConnect.register").hide(), $(".thankYouMsg").show() }), $(".resendClick").click(function () { $("#senario2").hide(), $("#senario3").show() }), $(".updateClick").click(function () { $("#senario3").hide(), $(".alreadyRegister").show() }), $(".forgotuser").click(function () { $(".forgotUser").show(), $(".loginReg, .registerWrapper, .login, .forgotPass").hide() }), $(".forgotFolioClick").click(function () { $(".folioDetails").hide(), $(".forgotFolio").show() }), $(".forgotSecClick").click(function () { $(".forgotFolio").hide(), $(".forgotsecQues").show() }), $(".updatenow").click(function () { $(".forgotsecQues").hide(), $(".updaetForgotdetails").show() }), $(".forgotThank").click(function () { $(".forgotsecQues").hide(), $(".forgotUserThank").show() }), $(".forgotPassClick").click(function () { $(".forgotPass").show(), $(".loginReg, .registerWrapper, .login").hide() }), $(".forgotPassThankClick").click(function () { $(".forgotUserThank").show(), $(".forgotFolio").hide() }), $(".closeClick").click(function () { $(this).text("Change").addClass("change").removeClass("closeClick"), $(this).parent(".contentValue").siblings(".changeDiv").remove() }), $("[placeholder]").focus(function () { var e = $(this); e.val() == e.attr("placeholder") && (e.val(""), e.removeClass("placeholder")) }).blur(function () { var e = $(this); "" != e.val() && e.val() != e.attr("placeholder") || (e.addClass("placeholder"), e.val(e.attr("placeholder"))) }).blur().parents("form").submit(function () { $(this).find("[placeholder]").each(function () { var e = $(this); e.val() == e.attr("placeholder") && e.val("") }) }), $(".folioTitle h3.accordClick").click(function () { var e; widWin < 768 ? ($("html,body").animate({ scrollTop: 0 }, 300), $(this).parents(".folioAccordHead").hasClass("active") ? ($(this).parents(".folioAccordHead").removeClass("active"), $(this).parents(".folioAccordHead").next().hide(), $(this).parents(".folioAccordHead").find(".systematicplanLinks").hide()) : ($(this).removeClass("accordClick").addClass("accordActiveClick"), $(this).parents(".folioAccordHead").addClass("active"), $(this).parents(".folioAccordHead").next().show(), $(".myAccHeader, .myAccHeaderInfo, .navTabs, .folioAccordHead").hide(), $(this).parents(".folioAccordHead").show(), $(this).parents(".folioAccordHead").find(".systematicplanLinks").show().parents(".folioAccordHead").siblings(".folioAccordHead").find(".systematicplanLinks").hide())) : (applyScroll(), e = $(this).parents(".folioAccordHead").index(), $(this).parents(".folioAccordHead").height(), Math.ceil(e / 2), applyScroll(), $(this).parents(".folioAccordHead").hasClass("active") ? ($(this).parents(".folioAccordHead").removeClass("active"), $(this).parents(".folioAccordHead").next().hide(), $(this).parents(".folioAccordHead").find(".systematicplanLinks").hide()) : ($(this).parents(".folioAccordHead").addClass("active").siblings(".folioAccordHead").removeClass("active"), $(this).parents(".folioAccordHead").find(".systematicplanLinks").show().parents(".folioAccordHead").siblings(".folioAccordHead").find(".systematicplanLinks").hide(), $(this).parents(".folioAccordHead").next().slideDown(300).siblings(".folioAccordCont").slideUp())) }), $(".folioTitle1 h3.accordClick1").click(function () { var e; widWin < 768 ? ($("html,body").animate({ scrollTop: 0 }, 300), $(this).parents(".folioAccordHead1").hasClass("active") ? ($(this).parents(".folioAccordHead1").removeClass("active"), $(this).parents(".folioAccordHead1").next().hide(), $(this).parents(".folioAccordHead1").find(".systematicplanLinks").hide()) : ($(this).removeClass("accordClick1").addClass("accordActiveClick1"), $(this).parents(".folioAccordHead1").addClass("active"), $(this).parents(".folioAccordHead1").next().show(), $(".myAccHeader1, .myAccHeaderInfo1, .navTabs1, .folioAccordHead1").hide(), $(this).parents(".folioAccordHead1").show(), $(this).parents(".folioAccordHead1").find(".systematicplanLinks").show().parents(".folioAccordHead1").siblings(".folioAccordHead1").find(".systematicplanLinks").hide())) : (applyScroll(), e = $(this).parents(".folioAccordHead1").index(), $(this).parents(".folioAccordHead1").height(), Math.ceil(e / 2), applyScroll(), $(this).parents(".folioAccordHead1").hasClass("active") ? ($(this).parents(".folioAccordHead1").removeClass("active"), $(this).parents(".folioAccordHead1").next().hide(), $(this).parents(".folioAccordHead1").find(".systematicplanLinks").hide()) : ($(this).parents(".folioAccordHead1").addClass("active").siblings(".folioAccordHead1").removeClass("active"), $(this).parents(".folioAccordHead1").find(".systematicplanLinks").show().parents(".folioAccordHead1").siblings(".folioAccordHead1").find(".systematicplanLinks").hide(), $(this).parents(".folioAccordHead1").next().slideDown(300).siblings(".folioAccordCont1").slideUp())) }), $(".accordActiveClick").click(function () { return widWin < 768 && ($("html,body").animate({ scrollTop: 0 }, 300), $(this).parents(".folioAccordHead").removeClass("active"), $(this).removeClass("accordActiveClick").addClass("accordClick"), $(this).parents(".folioAccordHead").next().hide(), void $(".myAccHeader, .myAccHeaderInfo, .navTabs, .folioAccordHead").show()) }), $(".fundName h2").click(function () { widWin < 768 && ($(this).parent(".fundName").addClass("active").parents(".fundDetailsCont").siblings(".fundDetailsCont").find(".fundName").removeClass("active"), $(this).parents(".fundDetailsCont").find(".mobDisp").show().parents(".fundDetailsCont").siblings(".fundDetailsCont").find(".mobDisp").hide()) }), $(".statement").click(function () { d = parseInt($(".jspDrag").css("top")), h = parseInt($(".jspTrack").css("height")), f = $(this).find("ul").height(), console.log(h - d + "::::" + f + ":::" + $(this).find("ul").is(":visible")), 1 == $(this).find("ul").is(":visible") ? $(this).find("ul").removeAttr("style") : (h - d < f && $(this).find("ul").css({ bottom: "24px" }), $(this).find("ul").slideToggle(300).parents().siblings().find(".statement").find("ul").hide()) }), GetNFOSchemes() }), $.fn.numeric = function (e) { var i = "abcdefghijklmnopqrstuvwxyz"; return i += i.toUpperCase(), e = $.extend({ nchars: i }, e), this.each(function () { $(this).alphanumeric(e) }) }, $.fn.alphanumeric = function (t) { return t = $.extend({ ichars: "!@#$%^&*()+=[]\\';,/{}|\":<>?~`.-_ ", nchars: "", allow: "" }, t), this.each(function () { for (t.nocaps && (t.nchars += "ABCDEFGHIJKLMNOPQRSTUVWXYZ"), t.allcaps && (t.nchars += "abcdefghijklmnopqrstuvwxyz"), s = t.allow.split(""), i = 0; i < s.length; i++) -1 != t.ichars.indexOf(s[i]) && (s[i] = "\\" + s[i]); t.allow = s.join("|"); var e = new RegExp(t.allow, "gi"), a = (a = t.ichars + t.nchars).replace(e, ""); $(this).keypress(function (e) { k = e.charCode ? String.fromCharCode(e.charCode) : String.fromCharCode(e.which), -1 != a.indexOf(k) && e.preventDefault(), e.ctrlKey && "v" == k && e.preventDefault() }), $(this).bind("contextmenu", function () { return !1 }) }) }, $(".chatwithus").click(function () { $(".haveusDetail").hide(), $(".videoDetail").hide(), $("body").addClass("chatus"), widWin <= 1024 ? ($(".chatusBox").css({ left: offsetLeft - 150, top: offsetTop }).fadeIn(), $(".haveusDetail span.arrow").removeAttr("style")) : $(".chatusBox").css({ left: offsetLeft, top: offsetTop }).fadeIn(), widWin <= 640 && $(".chatusBox").css({ left: 0, top: offsetTop + 70 }).fadeIn() }), $(".videochat").click(function () { $(".haveusDetail").hide(), $(".videoDetail").hide(), $("body").addClass("chatus"), widWin <= 1024 ? ($(".videoBox").css({ left: offsetLeft - 150, top: offsetTop }).fadeIn(), $(".haveusDetail span.arrow").removeAttr("style")) : $(".videoBox").css({ left: offsetLeft, top: offsetTop }).fadeIn(), widWin <= 640 && $(".chatusBox").css({ left: 0, top: offsetTop + 70 }).fadeIn() }), $("ul.commonLink li").click(function () { checkTimeRange() ? ($(this).addClass("active").siblings().removeClass("active"), lftOfsArrow = $(this).offset(), widWin <= 640 && ($(".haveusDetail span.arrow").css("left", lftOfsArrow), $(".videoDetail span.arrow").css("left", lftOfsArrow)), $(".haveusDetail").hide(), $(".videoDetail").hide(), $("body").removeClass("chatus"), $(".chatusBox").removeAttr("style"), $(this).hasClass("callImg") ? $(".haveUsBox").fadeIn() : $(this).hasClass("chatImg") ? $(".chatusBox").fadeIn() : $(this).hasClass("videoImg") && $(".videoBox").fadeIn()) : alert("Thank you for choosing Nippon India Mutual Fund, our Click to Talk services are offered between 8:00 am to 8:00 pm IST (Between Monday to Saturday)") }), $(".haveusDetail a.close").click(function (e) { $("body").removeClass("chatus"), $(".chatusBox").removeAttr("style"), $(".haveusDetail").hide() }), $(".videoDetail a.close").click(function (e) { $("body").removeClass("chatus"), $(".videoDetail").hide() }), $(".videoDetail1 a.close").click(function (e) { $("body").removeClass("chatus"), $(".videoDetail1").hide() });
function bindUrls() { $(".facebookImg").find("a").attr("href", "https://www.facebook.com/NipponindiaMF"), $(".facebookImg").find("a").attr("target", "_blank"), $(".googleImg").find("a").attr("href", "https://plus.google.com/+Reliancemutualfunds-india"), $(".googleImg").find("a").attr("target", "_blank"), $(".youtubeImg").find("a").attr("href", "https://www.youtube.com/c/NipponIndiaMutualFund"), $(".youtubeImg").find("a").attr("target", "_blank"), $(".linkedImg").find("a").attr("href", "http://www.linkedin.com/company/reliance-mutual-fund"), $(".linkedImg").find("a").attr("target", "_blank"), $(".twitterImg").find("a").attr("href", "https://twitter.com/NipponindiaMF"), $(".twitterImg").find("a").attr("target", "_blank") } function setCurrentSelectedMenu() { var a = window.location.href, e = (a = (a = a.replace("http://", "")).replace("https://", "")).split("/"); if (5 == e.length) { var t = "/" + e[1] + "/"; $("nav.mobNav li").find('a[href="' + t + '"]').parent("li").addClass("firstLevelli"), $("nav.mobNav li").find('a[href="' + t + '"]').addClass("firstLevela"); var i = "/" + e[1] + "/" + e[2] + "/" + e[3] + "/"; $("nav.mobNav li").find('a[href="' + i + '"]').parent("li").addClass("thirdLevelli noBg"), $("nav.mobNav li").find('a[href="' + i + '"]').addClass("thirdLevela"); var n = "/" + e[1] + "/" + e[2] + "/"; $("nav.mobNav li").find('a[href="' + i + '"]').parent("li").parent("ul.subMenuMain").css("display", "block") } else 4 == e.length ? (t = "/" + e[1] + "/", $("nav.mobNav li").find('a[href="' + t + '"]').parent("li").addClass("firstLevelli"), $("nav.mobNav li").find('a[href="' + t + '"]').addClass("firstLevela"), n = "/" + e[1] + "/" + e[2] + "/", $("nav.mobNav li").find('a[href="' + n + '"]').parent("li").removeClass("noBg"), $("nav.mobNav li").find('a[href="' + n + '"]').parent("li").css("background", "none"), $("nav.mobNav li").find('a[href="' + n + '"]').parent("li").removeAttr("style"), $("nav.mobNav li").find('a[href="' + n + '"]').parent("li").addClass("thirdLevelli noBg"), $("nav.mobNav li").find('a[href="' + n + '"]').addClass("thirdLevela")) : 3 == e.length && (t = "/" + e[1] + "/", $("nav.mobNav li").find('a[href="' + t + '"]').parent("li").addClass("firstLevelli"), $("nav.mobNav li").find('a[href="' + t + '"]').addClass("firstLevela")) } function setLeftNavigationSelected() { var a = window.location.href, e = (a = (a = a.replace("http://", "")).replace("https://", "")).split("/"); if (4 == e.length) { var t = "/" + e[1] + "/" + e[2] + "/"; $("ul.lhsLinks li").find('a[href="' + t + '"]').addClass("lnfirstlevel") } else 5 == e.length && (t = "/" + e[1] + "/" + e[2] + "/" + e[3] + "/", $atag = $("ul.lhsLinks").find('a[href="' + t + '"]').addClass("lnsecondlevel"), $atag.parent().parent().parent().addClass("select"), $("li.select").find("a:first").addClass("SelectedLink")) } function setTopNavigation() { var a = window.location.href; null != a.match("distributor-centre") && a.match("distributor-centre").length > 0 ? ($("ul.retailWrap").find("li:nth-child(1)").find("a").css("background", "none"), $("ul.retailWrap").find("li:nth-child(1)").find("a").css("color", "#fefeff"), $("ul.retailWrap").find("li:nth-child(3)").find("a").css("background", "#d8dee5"), $("ul.retailWrap").find("li:nth-child(3)").find("a").css("color", "#203349"), $(".clickRetailSpan").html("Distributor")) : ($("ul.retailWrap").find("li:nth-child(3)").find("a").css("background", "none"), $("ul.retailWrap").find("li:nth-child(3)").find("a").css("color", "#fefeff"), $("ul.retailWrap").find("li:nth-child(1)").find("a").css("background", "#d8dee5"), $("ul.retailWrap").find("li:nth-child(1)").find("a").css("color", "#203349"), $(".clickRetailSpan").html("Individual Investor")) } $(document).ready(function () { $('a[id$="btnEmail"]').on("click", function () { var a = $("[id$=txtEmail]").val(), e = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(a); return "" == a || "Subscribe for regular updates" == a ? (alert("Please enter Email ID"), !1) : e ? ($.ajax({ type: "POST", url: "../Pages/SaveEmailPage.aspx?subscriberEmail=" + a, datatype: "json", contentType: "application/json; charset=utf-8", dataFilter: function (a) { return a }, success: function (a) { a.d }, failure: function (a) { alert(a.d) } }), $('[id$="txtEmail"]').val(""), void alert("Email saved successfully")) : (alert("Please enter valid Email ID"), !1) }), navigator.userAgent.indexOf("Firefox") > -1 || (setCurrentSelectedMenu(), setLeftNavigationSelected(), setTopNavigation(), bindUrls()) }), Number.prototype.k = function () { return this < 1e3 ? this.toString() : (Math.round(this / 100) / 10).toString() + "K" };

