{"version":3,"sources":["../../../../Wellness/SharedUI/Scripts/hrbl-config/hrbl-config-1.1.3.js","../../../../Wellness/SharedUI/Scripts/data-view-models/data-view-models-1.1.6.js","../../../../Wellness/SharedUI/Scripts/hrbl-ui/hrbl-ui-1.2.6.js","../../../../Wellness/SharedUI/Scripts/MyHerbalife.js","../../../../Wellness/SharedUI/Scripts/video.js"],"names":["_resolveScope","context","accessor","result","MvvmConfiguration","this","Activate","viewModelHelpers","wire","configure","makeModel","o","kendo","observable","mvvmUtil","asLoadable","bind","init","apply","ContentListModel","path","items","randomItem","originId","title","HL","Locale","getLocale","loading","dataHandler","data","set","Title","OriginId","Items","item","Math","floor","random","length","body","Body","shift","push","AnnouncementsListModel","viewAllText","viewAllLink","ViewAllText","ViewAllLink","index","announcement","CmsPageViewModel","defaultClass","determineCurrent","navItems","relatedPages","i","isCurrentPage","Link","cssClass","currentPage","previousPage","nextPage","url","currentLink","decodeURI","window","location","pathname","toLowerCase","leftNav","breadCrumbs","description","cssIconClass","canLoad","cmsData","clickableCrumbs","allCrumbs","slice","crumb1","crumb2","crumb3","pop","crumb","selfCrumb","classes","split","isArrayWithValues","name","value","get","hasLeftNav","hasBreadCrumbs","showRelatedPreview","target","$","currentTarget","closest","find","targetMid","height","toggleClass","on","e","offset","left","pageX","top","pageY","hideRelatedPreview","ProfileViewModel","urlPrefix","callMbox","mb","segment","adobe","getOffer","mbox","params","profile.Parameter1","success","response","applyOffer","selector","offer","element","undefined","wiredModel","attachTo","attr","wireModelsToElements","show","logger","log","error","status","timeout","callGlobalMbox","adobeFmtdProfileData","r","elementTgt","elementTgtId","replace","targetInfo","Name","Salutation","TeamLevelName","DisplayBizworksStatus","IsBizworksSubscriber","FullNamePattern","TargetInfo","targetCheck","simpleMediator","publish","campaigns","c","CampaignName","trim","removeClass","SegmentName","each","InboxViewModel","AlertCount","EnvelopeClass","totalNumber","AlertsViewModel","_currentIndex","_alertsContainerStorageKey","BannerAlerts","CurrentAlert","UpDownClass","ContainerPadding","Collapsed","NotificationColors","1","2","3","onBeforeLoad","sessionStorage","storeValue","getItem","visibleAlerts","msg","inArray","ValidPages","getNormalizedURL","alertData","colors","v","NotificationColor","BannerTypeId","CollapseClass","CanCollapse","getBannerType","previousAlert","bannerAlerts","nextAlert","getCurrentCount","localizedOf","getShouldShowBanner","isEnabled","getShouldHidePagination","collapseAlert","isCollapsed","setItem","CollapseNotification","event","notificationId","Id","notificationIndex","GetNotificationIndex","tempNotifications","extraSpace","outerHeight","maxH","children","first","minH","parseInt","css","HasLink","animate","IsCollapsed","map","obj","idx","IdomooVideoViewModel","flowPlayer","player","baseUrl","videoId","shouldPlay","hasVideo","thumbNail","pauseVideo","api","flowplayer","pause","video_href","showVideo","open","center","setCookie","cookie","expires","ok","cookieText","CartViewModel","id","quantity","subTotal","volumePoints","sku","loaded","reset","Quantity","DisplaySubtotal","VolumePoints","Sku","onLoadError","checkout","scope","load","onAfterLoad","href","viewSavedCarts","activationHandler","shouldHide","VolumeViewModel","CurrentMonthVolume","VolumeMonth","HeaderText","PlainHeaderText","PPV","DV","TV","PV","GV","HeaderVolume","LastMonthVolume","ChartData","MonthName","xhr","isArray","cleanHeaderText","IsCurrentMonth","setChartValues","createChart","statusText","volumeObject","volume","chart","kendoChart","dataSource","DataSource","chartArea","background","text","position","legend","visible","seriesDefaults","type","labels","series","field","color","gap","border","overlay","gradient","categoryAxis","majorGridLines","valueAxis","tooltip","template","dismissableUiModel","deferDurationDays","externalContent","saveChoice","newMode","newDate","mode","deferDate","prefix","closeWindow","isStorageSupported","dismissMode","session","storeItem","localStorage","store","itemName","key","removeItem","itemKey","storeageKeyPrefix","ifPromoModal","contentType","isClosed","dVM","subscribe","promoModalMboxClosed","itemPrefix","actualWidget","callToAction","showMeLater","doNotShowAgain","imgSrc","later","indefinite","deferDays","_API_PATH","that","modalOpened","userChoice","queryTag","encodeURIComponent","reason","now","Date","isVisible","choice","openWindow","profileViewModel","getInstance","isModelBoundToElement","setTargetInfo","reasonText","widget","onWaiting","isPublished","onWaiting2","isModalOpened","modalData","image","callToActionButton","doNotShowAgainButton","alertId","post","done","fail","parent","resize","setOptions","modal","img","prop","hide","close","onDismissOnce","onDismissForLater","actionType","deferUntil","setDate","getDate","onDismissIndefinite","onCallToAction","onReset","setDisplayBehavior","validModal","modalNotifClosed","Array","popupNotifications","found","topNavViewModel","hideNav","navItem","flag","isMobileNav","hideElement","waiting","nextNavItem","setTimeout","className","getFirstChild","nodeName","nextSibling","style","display","firstChild","nodeType","isMobile","Util","Browser","any","isSmallScreen","dimensions","Width","previousNavItem","openLevel","actualNav","parentNode","relatedTarget","mobileNavViewModel","UrlEncriptionViewModel","sendURL","delegateTarget","search","temp","_AnalyticsFacts_","modalWindowViewModel","titleelement","titleElement","icon","iconElement","modalElement","UImodal","resizable","animation","effects","addClass","SessionMsgViewModel","cookieName","isOldIE","OldIE","Cookie","getCookie","IE","isTheBrowser","actualVersion","slideDown","closeMessage","slideUp","document","alphaNumericNoSpace","input","String","fromCharCode","which","regex","test","shiftKey","keyCode","preventDefault","scrollFixed","leftMenuFixed","leftMenuOffset","scroll","scrollTop","hasClass","openEventDetailWindow","eventID","arr","URL","openEventDetailWindowAnonmyous","addClickEventToLink","linkElement","getElementById","click","onclick","eval","AC_AddExtension","src","ext","indexOf","AC_Generateobj","objAttrs","embedAttrs","str","write","AC_FL_RunContent","ret","AC_GetArgs","arguments","AC_SW_RunContent","args","srcParamName","classid","mimeType","Object","currArg","dynamicDividerLine","offsetHeight","tab1_col1_height","tab1_col2_height","tab1_tallest","adjustDividerLineTab2","tab2_col1_height","tab2_col2_height","tab2_tallest","adjustDividerLineTab3","tab3_col1_height","tab3_col2_height","tab3_tallest","hideAllWraps","showDynamicWrap1a","showDynamicWrap1b","showDynamicWrap2","showDynamicWrap3","showHealthyIcons","hideHealthyIcons","toggleTab","backgroundImage","getXmlHttpRequestObject","XMLHttpRequest","xmlHttp","ActiveXObject","OpenWindow","strLink","width","strName","blnSizeWindow","strWidth","strHeight","strTop","strLeft","strProp","screen","availWidth","availHeight","_top","_left","oWindow","focus","checkMaxQuantity","max","srcElement","alert","checkSKU","ctrl","inputAmounts","getElementsByTagName","p","newString","checkQuantity","keynum","keychar","cancelBubble","returnValue","checkAmount","allowdecimal","valid","CVVKeyPress","totaldue","maxlen","useComma","eSource","GetEventSource","amtField","balanceField","findBalanceField","amount","balance","parseFloat","AmountLosingFocus","allowDecimals","ftotaldue","total","hasCommas","toFixed","val","isNaN","HideButtons","checkout1","checkout2","displayButton","DisableOnClick","button","DisableOnClick2","AmoutLosingFocus","Function","prototype","instantiate","constructorArguemnts","invokable","customBindings","k","binders","oneWayValueFromDOM","Binder","extend","refresh","valueFromDOM","bindings","centerWindow","options","fn","call","getWidget","fieldName","parents","confirmedClick","binding","method","source","message","confirm","configuration","x","wireMode","shared","own","defaultMode","sharedInstances","ownInstances","modelsCreatedListeners","modelName","instance","proto","initializeModel","activateLoaders","notifyModelsCreated","f","parseConstructorArguments","a","parsed","JSON","parse","applyHelper","e2","parsedArgs","model","e1","modelsCreated","modelsCreatedListener","toObservable","_events","change","selectors","sender","err","genericDataLoader","ajax","xhrFields","withCredentials","toLoadable","asObservable","topics","topic","callback","l","subscription","ctx","cb","constructor","logToConsole","console","Stash","isSupported","local","Android","navigator","userAgent","match","BlackBerry","iOS","Opera","Windows","whatBrowser","Chrome","Firefox","Safari","Explorer","all","jscriptMap","jscriptVersion","5.5","5.6","5.7","5.8","9","10","11","Height","Lib","resolveScope","moduleExtender","moduleArray","ModuleList","depsExtender","depsArray","require","deps","Url","getUrlParameter","queryParameterName","RegExp","encodeURI","UI","_guid","eWidth","wWidth","newLeft","scrollTo","config","xpos","ypos","Kendo","Validation","Create","ele","kendoValidator","Notification","Defaults","hideDelay","pinned","stacking","appendTo","Level","Success","Error","Info","Warning","kendoNotification","autoHideAfter","templates","byCookie","byURL","locale","nurl","ca","charAt","substring","values","j","IdleLogout","Act","Handle","Action","Interval","Warn","cfg","setIfDefined","tryReset","start","clearTimeout","tryStart","conflictElement","addConflictElement","hideConflictElements","showConflictElements","coreMvvm","cartVM","remove","leftMenuVar","filter","link","testElement","createElement","before","focusin","blur","keypress","substr","is","stopImmediatePropagation","localeSelectorChangeHandler","selectedIndex","jqXHR","textStatus","errorThrown","kendoDropDownList","nav","navPos","h","resizeId","hrblModal","live","removeAttr","actualModal","numPar","actualDiv","currentPar","html","nextDiv","next","fadeOut","fadeIn","prev","slideToggle","separator","idleWarningWindow","idleWarningContentUrl","LanguageCode","CountryCode","handle","logoutUrl","prepend","ready","rToken","append","decodeURIComponent"],"mappings":"AAiWA,QAASA,eAAcC,EAASC,GAC5B,GAAIC,GAASF,EAAQC,IAAaD,CAClC,OAAOE,GAmWX,QAASC,qBAELC,KAAKC,SAAW,WACZC,iBAAiBC,KAAKC,WAAYC,UAAW,SAAUC,GAAK,MAAOC,OAAMC,WAAWN,iBAAiBO,SAASC,WAAWJ,KAAQK,KAAMJ,MAAMI,KAAMC,KAAM,SAAUC,SCxsB3K,QAASC,kBAAiBC,GACtBf,KAAKgB,SACLhB,KAAKiB,WAAa,KAClBjB,KAAKkB,SAAW,KAChBlB,KAAKmB,MAAQ,KACbnB,KAAKe,KAAO,IAAMK,GAAGC,OAAOC,YAAc,2BAA6BP,EAAO,SAC9Ef,KAAKuB,SAAU,EACfvB,KAAKwB,YAAc,SAAUC,GACzB,GAAY,MAARA,EAKA,GAJAzB,KAAK0B,IAAI,WAAW,GACpB1B,KAAK0B,IAAI,UAAU,GACnB1B,KAAK0B,IAAI,QAASD,EAAKE,OACvB3B,KAAK0B,IAAI,WAAYD,EAAKG,UACtBH,EAAKI,MAAO,CACZ,GAAIC,GAAOL,EAAKI,MAAME,KAAKC,MAAMD,KAAKE,SAAWR,EAAKI,MAAMK,QAM5D,KAJAlC,KAAK0B,IAAI,cACLR,SAAUY,EAAKF,UAAY,GAC3BO,KAAML,EAAKM,MAAQ,KAEhBN,EAAOL,EAAKI,MAAMQ,SACrBrC,KAAKgB,MAAMsB,MACPpB,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,QAAQstB,OAAO,wWAA0WttB,EAAE,qBAAqBjE,KAAK,cAAgB,kBAAoBiE,EAAE,qBAAqBjE,KAAK,aAAe,kBAAoBsxB,EAAS,wMAAyMrtB,EAAE,QAAQstB,OAAOC,mBAAmB,2CAA6CvtB,EAAE,qBAAqBjE,KAAK,cAAgB,IAAMiE,EAAE,qBAAqBjE,KAAK,aAAe,6CAG13BiE,EAAE,qBAAqBxD,OAAS,IAChCwD,EAAE,QAAQstB,OAAO,oYAAsYttB,EAAE,qBAAqBjE,KAAK,cAAgB,kBAAoBiE,EAAE,qBAAqBjE,KAAK,aAAe,mIAClgBiE,EAAE,QAAQstB,OAAOC,mBAAmB,2CAA6CvtB,EAAE,qBAAqBjE,KAAK,cAAgB,IAAMiE,EAAE,qBAAqBjE,KAAK,aAAe,6CAG9KiE,EAAE,qBAAqBxD,OAAS,IAChCwD,EAAE,QAAQstB,OAAO,wWAA0WttB,EAAE,qBAAqBjE,KAAK,cAAgB,kBAAoBiE,EAAE,qBAAqBjE,KAAK,aAAe,kBAAoBsxB,EAAS,sRACngBrtB,EAAE,QAAQstB,OAAOC,mBAAmB,2CAA6CvtB,EAAE,qBAAqBjE,KAAK,cAAgB,IAAMiE,EAAE,qBAAqBjE,KAAK,aAAe,6CAG9KiE,EAAE,qBAAqBxD,OAAS,IAChCwD,EAAE,QAAQstB,OAAO,wWAA0WttB,EAAE,qBAAqBjE,KAAK,cAAgB,kBAAoBiE,EAAE,qBAAqBjE,KAAK,aAAe,kBAAoBsxB,EAAS,iIACngBrtB,EAAE,QAAQstB,OAAOC,mBAAmB,2CAA6CvtB,EAAE,qBAAqBjE,KAAK,cAAgB,IAAMiE,EAAE,qBAAqBjE,KAAK,aAAe","file":"common.js","sourcesContent":["// --------------------------------------------------------------------------------------------------------------------\r\n//
in every scroll action.\r\n //$('body').append('
reset by something ' + new Date() + '
');\r\n\r\n start();\r\n };\r\n\r\n var tryReset = function (cfg) {\r\n if (cfg && cfg.Handle && window) { window.clearTimeout(cfg.Handle); }\r\n\r\n };\r\n\r\n var start = function () {\r\n tryStart(config.Warn);\r\n tryStart(config.Act);\r\n };\r\n\r\n var tryStart = function (cfg) {\r\n if (cfg && cfg.Action && cfg.Interval) {\r\n cfg.Handle = window.setTimeout(cfg.Action, cfg.Interval);\r\n }\r\n };\r\n\r\n //elements that have conflicts with this modal\r\n var conflictElement = [];\r\n\r\n var addConflictElement = function (element) {\r\n conflictElement.push(element);\r\n };\r\n\r\n var hideConflictElements = function () {\r\n for (x = 0; x < conflictElement.length; x++) {\r\n $(conflictElement[x]).css(\"visibility\", \"hidden\");\r\n }\r\n };\r\n\r\n var showConflictElements = function (element) {\r\n for (x = 0; x < conflictElement.length; x++) {\r\n $(conflictElement[x]).css(\"visibility\", \"\");\r\n }\r\n };\r\n\r\n return {\r\n reset: reset,\r\n\r\n start: start,\r\n\r\n addConflictElement: addConflictElement,\r\n\r\n hideConflictElements: hideConflictElements,\r\n\r\n showConflictElements: showConflictElements,\r\n\r\n configure: function (configuration) {\r\n reset();\r\n configure(configuration);\r\n }\r\n };\r\n})();\r\n\r\n$(function () {\r\n coreMvvm = new MvvmConfiguration();\r\n coreMvvm.Activate();\r\n\r\n //*** splash page\r\n if ($(\".splash\").length == 0) {\r\n try { //break in case there's no Cart available for any country\r\n var cartVM = viewModelHelpers.wire.getInstance('CartViewModel', 'shared');\r\n simpleMediator.attachTo(cartVM);\r\n cartVM.subscribe(\"topNavCartEvent\", cartVM.activationHandler);\r\n } catch (error) {\r\n logger.log(error);\r\n }\r\n } //else splash();\r\n\r\n //*** Left Menu fixes\r\n if ($(\"#left_menu.leftMenuNew\").length == 0) $(\"#LeftNavMenuCell\").remove();\r\n\r\n try {\r\n var leftMenuVar = $(\".leftMenuNew\") ? \".leftMenuNew\" : \"#main-side-nav\";\r\n var leftNav = $(leftMenuVar);\r\n\r\n //Getting page name\r\n var pathname = decodeURI($(location).attr('pathname') + $(location).attr('search')).toLowerCase();\r\n\r\n //Searching and assigning active class\r\n var item = $(leftMenuVar + \" a\").filter(function () {\r\n link = $(this).attr(\"href\").toLowerCase();\r\n if ($(\"#ProductMenu\").length > 0) link = \"/ordering/\" + link;\r\n return link == pathname;\r\n });\r\n if (leftNav && item) item.parents('li').addClass(\"active\");\r\n } catch (err) {\r\n }\r\n\r\n $(\"#main-left-container > span a\").click(function () {\r\n var that = this;\r\n if ($(\"#main-side-nav:visible\").length != 0) { //visible\r\n $(that).removeClass();\r\n $(that).addClass(\"icon-arrow-circle-fl-29\");\r\n $(\"#main-side-nav\").slideUp();\r\n\r\n $(window).resize(function () {\r\n if ($(window).width() > 960) {\r\n $(that).removeClass();\r\n $(that).addClass(\"icon-arrow-circle-fl-30\");\r\n $(\"#main-side-nav\").slideDown();\r\n }\r\n else {\r\n $(that).removeClass();\r\n $(that).addClass(\"icon-arrow-circle-fl-29\");\r\n $(\"#main-side-nav\").slideUp();\r\n }\r\n });\r\n }\r\n else { //not visible\r\n $(that).removeClass();\r\n $(that).addClass(\"icon-arrow-circle-fl-30\");\r\n $(\"#main-side-nav\").slideDown();\r\n }\r\n });\r\n\r\n //Left Menu fixed\r\n scrollFixed();\r\n\r\n //*** Placeholders for I8 and IE9\r\n var testElement = document.createElement('input');\r\n if (!('placeholder' in testElement)) {\r\n $(\"input[placeholder]\").each(function () {\r\n if ($(this).attr(\"type\") == \"password\")\r\n $(this).before('');\r\n else\r\n $(this).val($(this).attr('placeholder'));\r\n });\r\n\r\n $(\"input[placeholder]\").focusin(function () {\r\n if ($(this).attr(\"type\") == \"password\") {\r\n if ($(this).val() == \"\") $('label[for=\"' + $(this).attr(\"id\") + '\"]').hide();\r\n }\r\n else\r\n if ($(this).val() == $(this).attr('placeholder')) $(this).val('');\r\n });\r\n\r\n $(\"input[placeholder]\").blur(function () {\r\n if ($(this).val() == '') {\r\n if ($(this).attr(\"type\") == \"password\")\r\n $('label[for=\"' + $(this).attr(\"id\") + '\"]').show();\r\n else\r\n $(this).val($(this).attr('placeholder'));\r\n }\r\n });\r\n\r\n $(\"#pin\").bind('propertychange change', function () {\r\n if ($(\"#pin\").val() == '')\r\n $('label[for=\"pin\"]').show();\r\n else\r\n $('label[for=\"pin\"]').hide();\r\n });\r\n\r\n }\r\n\r\n //*** Search box\r\n $(\"#rightTopNav input.search, #mobile-main-nav input.search\").keypress(function (event) {\r\n var locale;\r\n //Get locale value from current selection \r\n $.each($(\".localeSelector option\").filter(\":selected\"),\r\n function (i, val) {\r\n if (val.value) {\r\n if (val.length >= 5) {\r\n locale = locale.substr(0, 5);\r\n }\r\n\r\n locale = val.value;\r\n }\r\n });\r\n if (event.keyCode == 13) {\r\n if ($(this).val() == \"\") return false;\r\n else {\r\n event.preventDefault();\r\n window.location.href = '/ed/' + locale + '/SearchResults?q=' + $(this).val();\r\n }\r\n }\r\n });\r\n\r\n //*** Local Selector\r\n $(\"#closeLocalSel\").click(function () {\r\n $(\"#localeSel\").click();\r\n });\r\n\r\n $(\"#localeSel, #localeSelMobile\").click(function (e) {\r\n $(this).toggleClass(\"selected\");\r\n if ($(\".icon-chevron-down\", this).length) $(\".icon-chevron-down\", this).toggleClass(\"icon-chevron-up\");\r\n else $(\".icon-chevron-up\", this).toggleClass(\"icon-chevron-down\");\r\n\r\n if ($(\"#locales\").is(\":visible\")) $(\"#locales\").slideUp(400);\r\n else $(\"#locales\").slideDown(400);\r\n\r\n e.stopImmediatePropagation();\r\n });\r\n\r\n var localeSelectorChangeHandler = function (e) {\r\n var sender = e.target;\r\n var locale = sender.options[sender.selectedIndex].value;\r\n\r\n if (locale) {\r\n if (locale.length >= 5) {\r\n locale = locale.substr(0, 5);\r\n }\r\n\r\n $.get('/api/localeSelector/' + locale + '?url=' + encodeURI(window.location.href))\r\n .success(function (data, status) {\r\n window.location.href = data;\r\n })\r\n .error(function (jqXHR, textStatus, errorThrown) {\r\n logger.log('An error has ocurred executing locale change api.');\r\n });\r\n }\r\n };\r\n\r\n $(\"select.localeSelector\").kendoDropDownList({\r\n height: 500\r\n });\r\n $(\"select.localeSelector\").change(localeSelectorChangeHandler);\r\n\r\n //*** Nav position \r\n var nav = $(\"#main-nav\");\r\n var navPos = nav.offset();\r\n $(window).scroll(function () {\r\n //code for fixed navigation\r\n if (nav.length != 0) {\r\n if (($(this).scrollTop() > navPos.top) && !nav.hasClass('fixed')) {\r\n nav.addClass('fixed');\r\n } else if ($(this).scrollTop() <= navPos.top && nav.hasClass('fixed')) {\r\n nav.removeClass('fixed');\r\n }\r\n }\r\n });\r\n\r\n //*** Footer fix when not enough content \r\n if ((h = $(window).height() - $(\"body\").height()) > 0) {\r\n $(\"#hrblSiteWrapper > footer\").css(\"margin-top\", h + \"px\");\r\n }\r\n\r\n var resizeId;\r\n $(window).resize(function () {\r\n clearTimeout(resizeId);\r\n resizeId = setTimeout(function () {\r\n $(\"#hrblSiteWrapper > footer\").css(\"margin-top\", \"0px\");\r\n h = $(window).height() - $(\"body\").height();\r\n if ((h = $(window).height() - $(\"body\").height()) > 0) {\r\n $(\"#hrblSiteWrapper > footer\").css(\"margin-top\", h + \"px\");\r\n }\r\n }, 200);\r\n });\r\n\r\n //*** Buttons for K-grid\r\n if ($(\".k-grid\").length) {\r\n //Add record buttons on k-grid\r\n $(\".k-grid-add\").removeClass(\"k-button\");\r\n $(\".k-grid-add\").addClass(\"btn\"); //styling of \"Add Shipping Address\" button\r\n }\r\n\r\n //*** modal window\r\n $(\".hrblModal\").each(function () {\r\n hrblModal = this;\r\n var model;\r\n\r\n model = new modalWindowViewModel(hrblModal).load();\r\n });\r\n\r\n $('.modalBtn[title]').on(\"mouseenter\", function () {\r\n $(this).data(\"title\", $(this).attr(\"title\")).removeAttr(\"title\");\r\n });\r\n\r\n $('.modalBtn').on(\"click\", function (e) {\r\n e.preventDefault();\r\n actualModal = $(\"#\" + $(this).data(\"title\") + \".hrblModal\").data(\"kendoWindow\");\r\n if (actualModal != null) {\r\n\r\n img = $(\"img\", actualModal.element[0]);\r\n if (img.length != 0) {\r\n if (img.prop('complete')) {\r\n actualModal.open().center();\r\n } else {\r\n img.on(\"load\", function () {\r\n img.show();\r\n actualModal.open().center();\r\n }).error(function () {\r\n img.hide();\r\n actualModal.open().center();\r\n });\r\n }\r\n } else {\r\n actualModal.open().center();\r\n }\r\n\r\n\r\n }\r\n\r\n });\r\n\r\n $(window).resize(function () {\r\n if ($('[data-centerwindow]:visible').length != 0) {\r\n $(\"[data-centerwindow]:visible\").data(\"kendoWindow\").center();\r\n }\r\n });\r\n\r\n //*** Alert Messages\r\n if ($(\"#systemAlert\")) {\r\n\r\n var numPar = $('#systemAlert div').length;\r\n var actualDiv = $('#systemAlert div:first-child');\r\n var currentPar = 1;\r\n\r\n $('#systemAlert span b').html(currentPar + ' of ' + numPar);\r\n\r\n $('#systemAlert .next').click(function () {\r\n if (currentPar >= numPar) {\r\n currentPar = numPar;\r\n } else {\r\n currentPar++;\r\n var nextDiv = actualDiv.next();\r\n actualDiv.fadeOut(200, function () { nextDiv.fadeIn(200); });\r\n actualDiv = nextDiv;\r\n $('#systemAlert span b').html(currentPar + ' of ' + numPar);\r\n }\r\n });\r\n\r\n $('#systemAlert .prev').click(function () {\r\n if (currentPar <= 1) {\r\n currentPar = 1;\r\n } else {\r\n currentPar--;\r\n var nextDiv = actualDiv.prev();\r\n actualDiv.fadeOut(200, function () { nextDiv.fadeIn(400); });\r\n actualDiv = nextDiv;\r\n $('#systemAlert span b').html(currentPar + ' of ' + numPar);\r\n }\r\n });\r\n\r\n $('#systemAlert button').click(function () {\r\n $(\"#systemAlert p\").slideToggle(600);\r\n });\r\n\r\n }\r\n\r\n //*** Video\r\n if ($(\".videoWrapper\").length != 0) {\r\n $('.videoWrapper iframe').each(function () {\r\n var separator = \"?\";\r\n var url = $(this).attr(\"src\");\r\n\r\n if (url.indexOf(\"?\") != -1) {\r\n separator = \"&\";\r\n }\r\n $(this).attr(\"src\", url + separator + \"wmode=transparent\");\r\n });\r\n }\r\n\r\n if (window && window._AnalyticsFacts_ && window._AnalyticsFacts_.Id) {\r\n //*** idle timeout handling\r\n var idleWarningWindow = '#idleLogout';\r\n var idleWarningContentUrl = '/ed/' + _AnalyticsFacts_.LanguageCode + '-' + _AnalyticsFacts_.CountryCode + '/pages/IdleTimeoutWarning.html';\r\n var handle = \"\";\r\n var logoutUrl = '/Authentication/Logout';\r\n\r\n IdleLogout.configure({\r\n Warn: {\r\n Action: function () {\r\n if (handle == \"\") {\r\n //Check if fragment exists\r\n $.get(idleWarningContentUrl)\r\n .done(function () {\r\n\r\n try {\r\n handle = $(idleWarningWindow).data(\"kendoWindow\");\r\n handle.refresh({\r\n url: idleWarningContentUrl\r\n });\r\n $(idleWarningWindow + \" .btnForward\").on(\"click\", function () { handle.close(); });\r\n\r\n //On close\r\n handle.bind(\"close\", function () {\r\n IdleLogout.showConflictElements();\r\n IdleLogout.reset();\r\n });\r\n\r\n IdleLogout.hideConflictElements();\r\n\r\n handle.bind(\"refresh\", function () {\r\n handle.open().center();\r\n });\r\n } catch (err) { }\r\n\r\n }).fail(function () {\r\n // not exists code\r\n handle = \"fail\";\r\n logger.log(\"There's no fragment to show for Session Timeout. Reseting the timer\");\r\n IdleLogout.reset();\r\n });\r\n }\r\n else {\r\n if (handle == \"fail\")\r\n IdleLogout.reset();\r\n else {\r\n IdleLogout.hideConflictElements();\r\n handle && handle.open().center();\r\n }\r\n }\r\n }\r\n },\r\n Act: {\r\n Action: function () { document.location.href = logoutUrl; }\r\n }\r\n });\r\n // wire up resetting actions\r\n $(window).scroll(IdleLogout.reset);\r\n $(window).click(IdleLogout.reset);\r\n // start the timer\r\n IdleLogout.start();\r\n\r\n }\r\n\r\n //Put locale text from current selection in Country Header\r\n var locale;\r\n $.each($(\".localeSelector option\").filter(\":selected\"),\r\n function (i, val) {\r\n if (val.value) {\r\n locale = val.text;\r\n $('#localeSel').html(' ' + locale);\r\n }\r\n });\r\n\r\n $('a[href=\"/Home/RedirectToProfileCreate\"]').hide();\r\n\r\n //Link Box\r\n if ($('#classicLinkBox') && $('#classicLinkBox').length != 0) {\r\n $('#classicLinkBox').prepend(\"\");\r\n $('#classicLinkBox i').click(function () {\r\n $('#classicLinkBox').remove();\r\n });\r\n }\r\n\r\n //**************** Prevent multiple logout ****************//\r\n $(\"#myProfileDropDown a.full-width\").click(function () {\r\n if (!$(this).hasClass(\"disabled\")) {\r\n $(this).addClass(\"disabled\");\r\n }\r\n else { return false; }\r\n });\r\n\r\n});\r\n\r\n//Fixes left search to scroll SearchResults page\r\nfunction scrollFixed() {\r\n var leftMenuFixed = $('.scroll-fixed');\r\n if (leftMenuFixed.length != 0) {\r\n var leftMenuOffset = leftMenuFixed.offset().top - $('#main-nav').height();\r\n $(window).scroll(function () {\r\n if (($(this).scrollTop() > leftMenuOffset) && !leftMenuFixed.hasClass('fixed')) {\r\n leftMenuFixed.addClass('fixed');\r\n } else if ($(this).scrollTop() <= leftMenuOffset && leftMenuFixed.hasClass('fixed')) {\r\n leftMenuFixed.removeClass('fixed');\r\n }\r\n });\r\n }\r\n};\r\n","//// The script to open event detail window\r\nfunction openEventDetailWindow(eventID) {\r\n var arr = document.URL.split(\"/\");\r\n if (arr.length > 2) {\r\n var url = arr[0] + '//' + arr[2] + '/Events/EventDetail.aspx?eid=' + eventID;\r\n window.open(url, \"\", \"height=400,width=650,left=160,top=100,resizable=yes,toolbar=yes,scrollbars=yes,menubar=yes,location=no,directories=no,status=yes\");\r\n }\r\n}\r\n\r\nfunction openEventDetailWindowAnonmyous(eventID) {\r\n var url = '/Events/Public/EventDetail.aspx?eid=' + eventID;\r\n window.open(url, \"\", \"height=500,width=650,left=160,top=100,resizable=yes,toolbar=yes,scrollbars=yes,menubar=yes,location=no,directories=no,status=yes\");\r\n}\r\n\r\n\r\n// Support for firefox - add click event to a link\r\nfunction addClickEventToLink(id) {\r\n var linkElement = document.getElementById(id);\r\n if (linkElement && typeof (linkElement.click) == 'undefined') {\r\n linkElement.click = function () {\r\n var result = true;\r\n if (linkElement.onclick) result = linkElement.onclick();\r\n if (typeof (result) == 'undefined' || result) {\r\n eval(linkElement.href);\r\n linkElement.click();\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n///////////////////////////////////////\r\n// Support for flash activation - start\r\n//Copyright 2006 Adobe Systems, Inc. All rights reserved. //v1.0\r\nfunction AC_AddExtension(src, ext) {\r\n if (src.indexOf('?') != -1)\r\n return src.replace(/\\?/, ext + '?');\r\n else\r\n return src + ext;\r\n}\r\n\r\nfunction AC_Generateobj(objAttrs, params, embedAttrs) {\r\n var str = '';\r\n\r\n document.write(str);\r\n}\r\n\r\nfunction AC_FL_RunContent() {\r\n var ret =\r\n AC_GetArgs\r\n (arguments, \".swf\", \"movie\", \"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"\r\n , \"application/x-shockwave-flash\"\r\n );\r\n AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);\r\n}\r\n\r\nfunction AC_SW_RunContent() {\r\n var ret =\r\n AC_GetArgs\r\n (arguments, \".dcr\", \"src\", \"clsid:166B1BCA-3F9C-11CF-8075-444553540000\"\r\n , null\r\n );\r\n AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);\r\n}\r\n\r\nfunction AC_GetArgs(args, ext, srcParamName, classid, mimeType) {\r\n var ret = new Object();\r\n ret.embedAttrs = new Object();\r\n ret.params = new Object();\r\n ret.objAttrs = new Object();\r\n for (var i = 0; i < args.length; i = i + 2) {\r\n var currArg = args[i].toLowerCase();\r\n\r\n switch (currArg) {\r\n case \"classid\":\r\n break;\r\n case \"pluginspage\":\r\n ret.embedAttrs[args[i]] = args[i + 1];\r\n break;\r\n case \"src\":\r\n case \"movie\":\r\n args[i + 1] = AC_AddExtension(args[i + 1], ext);\r\n ret.embedAttrs[\"src\"] = args[i + 1];\r\n ret.params[srcParamName] = args[i + 1];\r\n break;\r\n case \"onafterupdate\":\r\n case \"onbeforeupdate\":\r\n case \"onblur\":\r\n case \"oncellchange\":\r\n case \"onclick\":\r\n case \"ondblClick\":\r\n case \"ondrag\":\r\n case \"ondragend\":\r\n case \"ondragenter\":\r\n case \"ondragleave\":\r\n case \"ondragover\":\r\n case \"ondrop\":\r\n case \"onfinish\":\r\n case \"onfocus\":\r\n case \"onhelp\":\r\n case \"onmousedown\":\r\n case \"onmouseup\":\r\n case \"onmouseover\":\r\n case \"onmousemove\":\r\n case \"onmouseout\":\r\n case \"onkeypress\":\r\n case \"onkeydown\":\r\n case \"onkeyup\":\r\n case \"onload\":\r\n case \"onlosecapture\":\r\n case \"onpropertychange\":\r\n case \"onreadystatechange\":\r\n case \"onrowsdelete\":\r\n case \"onrowenter\":\r\n case \"onrowexit\":\r\n case \"onrowsinserted\":\r\n case \"onstart\":\r\n case \"onscroll\":\r\n case \"onbeforeeditfocus\":\r\n case \"onactivate\":\r\n case \"onbeforedeactivate\":\r\n case \"ondeactivate\":\r\n case \"type\":\r\n case \"codebase\":\r\n ret.objAttrs[args[i]] = args[i + 1];\r\n break;\r\n case \"width\":\r\n case \"height\":\r\n case \"align\":\r\n case \"vspace\":\r\n case \"hspace\":\r\n case \"class\":\r\n case \"title\":\r\n case \"accesskey\":\r\n case \"name\":\r\n case \"id\":\r\n case \"tabindex\":\r\n ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i + 1];\r\n break;\r\n default:\r\n ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i + 1];\r\n }\r\n }\r\n ret.objAttrs[\"classid\"] = classid;\r\n if (mimeType) ret.embedAttrs[\"type\"] = mimeType;\r\n return ret;\r\n}\r\n\r\nfunction dynamicDividerLine() {\r\n\r\n if (document.getElementById('3tabsbox') && document.getElementById('tab12-col1')) {\r\n var tab12_col1_height = document.getElementById('tab12-col1').offsetHeight;\r\n if (tab12_col1_height > 130) {\r\n\r\n }\r\n }\r\n if (document.getElementById('3tabsbox') && document.getElementById('tab1-col1')) {\r\n\r\n var tab1_col1_height = document.getElementById('tab1-col1').offsetHeight;\r\n \r\n var tab1_col2_height = document.getElementById('tab1-col2').offsetHeight;\r\n \r\n\r\n if ((tab1_col1_height > 130) || (tab1_col2_height > 130)) {\r\n \r\n var tab1_tallest;\r\n if (tab1_col1_height > tab1_col2_height) {\r\n tab1_tallest = tab1_col1_height;\r\n document.getElementById('tab1-divider').style.height = tab1_tallest + 'px';\r\n }\r\n else if (tab1_col2_height > tab1_col1_height) {\r\n tab1_tallest = tab1_col2_height;\r\n document.getElementById('tab1-divider').style.height = tab1_tallest + 'px';\r\n }\r\n else { /* DO NOTHING */ }\r\n }\r\n else if ((tab1_col1_height < 130) && (tab1_col2_height < 130)) {\r\n }\r\n else { /* DO NOTHING */ }\r\n\r\n }\r\n}\r\n\r\n\r\n\r\nfunction adjustDividerLineTab2() {\r\n\r\n if (document.getElementById('3tabsbox') && document.getElementById('tab1-col2')) {\r\n\r\n var tab2_col1_height = document.getElementById('tab2-col1').offsetHeight;\r\n var tab2_col2_height = document.getElementById('tab2-col2').offsetHeight;\r\n\r\n if ((tab2_col1_height > 130) || (tab2_col2_height > 130)) {\r\n var tab2_tallest;\r\n if (tab2_col1_height > tab2_col2_height) {\r\n tab2_tallest = tab2_col1_height;\r\n document.getElementById('tab2-divider').style.height = tab2_tallest + 'px';\r\n }\r\n else if (tab2_col2_height > tab2_col1_height) {\r\n tab2_tallest = tab2_col2_height;\r\n document.getElementById('tab2-divider').style.height = tab2_tallest + 'px';\r\n }\r\n else { /* DO NOTHING */ }\r\n }\r\n else if ((tab2_col1_height < 130) && (tab2_col2_height < 130)) {\r\n }\r\n else { /* DO NOTHING */ }\r\n\r\n }\r\n}\r\n\r\n\r\n\r\nfunction adjustDividerLineTab3() {\r\n\r\n if (document.getElementById('3tabsbox') && document.getElementById('tab3-col1')) {\r\n\r\n var tab3_col1_height = document.getElementById('tab3-col1').offsetHeight;\r\n var tab3_col2_height = document.getElementById('tab3-col2').offsetHeight;\r\n\r\n if ((tab3_col1_height > 130) || (tab3_col2_height > 130)) {\r\n var tab3_tallest;\r\n if (tab3_col1_height > tab3_col2_height) {\r\n tab3_tallest = tab3_col1_height;\r\n document.getElementById('tab3-divider').style.height = tab3_tallest + 'px';\r\n }\r\n else if (tab3_col2_height > tab3_col1_height) {\r\n tab3_tallest = tab3_col2_height;\r\n document.getElementById('tab3-divider').style.height = tab3_tallest + 'px';\r\n }\r\n else { /* DO NOTHING */ }\r\n }\r\n else if ((tab3_col1_height < 130) && (tab3_col2_height < 130)) {\r\n }\r\n else { /* DO NOTHING */ }\r\n\r\n }\r\n}\r\n\r\n\r\n\r\n\r\nfunction hideAllWraps() {\r\n if (document.getElementById('dynamic_wrap1a') != null)\r\n document.getElementById('dynamic_wrap1a').style.display = 'none';\r\n if (document.getElementById('dynamic_wrap1b') != null)\r\n document.getElementById('dynamic_wrap1b').style.display = 'none';\r\n if (document.getElementById('dynamic_wrap2') != null)\r\n document.getElementById('dynamic_wrap2').style.display = 'none';\r\n if (document.getElementById('dynamic_wrap3') != null)\r\n document.getElementById('dynamic_wrap3').style.display = 'none';\r\n}\r\n\r\n\r\nfunction showDynamicWrap1a() {\r\n if (document.getElementById('dynamic_wrap1a') != null)\r\n document.getElementById('dynamic_wrap1a').style.display = 'inline';\r\n}\r\n\r\n\r\n// dynamic_wrap1b - TWO COLUMNS;\r\nfunction showDynamicWrap1b() {\r\n if (document.getElementById('dynamic_wrap1b') != null)\r\n document.getElementById('dynamic_wrap1b').style.display = 'inline';\r\n}\r\n\r\n// dynamic_wrap2 - TWO COLUMN;\r\nfunction showDynamicWrap2() {\r\n if (document.getElementById('dynamic_wrap2') != null)\r\n document.getElementById('dynamic_wrap2').style.display = 'inline';\r\n}\r\n\r\n// dynamic_wrap3 - TWO COLUMN;\r\nfunction showDynamicWrap3() {\r\n if (document.getElementById('dynamic_wrap3') != null)\r\n document.getElementById('dynamic_wrap3').style.display = 'inline';\r\n}\r\n\r\nfunction showHealthyIcons() {\r\n if (document.getElementById('healthy_icons') != null)\r\n document.getElementById('healthy_icons').style.display = 'inline';\r\n}\r\nfunction hideHealthyIcons() {\r\n if (document.getElementById('healthy_icons') != null)\r\n document.getElementById('healthy_icons').style.display = 'none';\r\n}\r\n\r\n\r\nfunction toggleTab(id) {\r\n if (id == 'tab1') {\r\n hideAllWraps();\r\n showDynamicWrap1a();\r\n hideHealthyIcons();\r\n if (document.getElementById('vis1') != null)\r\n document.getElementById('vis1').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-on.gif)';\r\n if (document.getElementById('vis1-header') != null)\r\n document.getElementById('vis1-header').style.color = '#005b7f';\r\n if (document.getElementById('vis2') != null)\r\n document.getElementById('vis2').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-off.gif)';\r\n if (document.getElementById('vis2-header') != null)\r\n document.getElementById('vis2-header').style.color = '#8c978b';\r\n if (document.getElementById('vis3') != null)\r\n document.getElementById('vis3').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-off_171x25.gif)';\r\n if (document.getElementById('vis3-header') != null)\r\n document.getElementById('vis3-header').style.color = '#8c978b';\r\n }\r\n\r\n else if (id == 'tab2') {\r\n hideAllWraps();\r\n showDynamicWrap2();\r\n showHealthyIcons();\r\n if (document.getElementById('vis1') != null)\r\n document.getElementById('vis1').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-off.gif)';\r\n if (document.getElementById('vis1-header') != null)\r\n document.getElementById('vis1-header').style.color = '#8c978b';\r\n if (document.getElementById('vis2') != null)\r\n document.getElementById('vis2').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-on.gif)';\r\n if (document.getElementById('vis2-header') != null)\r\n document.getElementById('vis2-header').style.color = '#005b7f';\r\n if (document.getElementById('vis3') != null)\r\n document.getElementById('vis3').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-off_171x25.gif)';\r\n if (document.getElementById('vis3-header') != null)\r\n document.getElementById('vis3-header').style.color = '#8c978b';\r\n }\r\n\r\n\r\n else if (id == 'tab3') {\r\n hideAllWraps();\r\n showDynamicWrap3();\r\n showHealthyIcons();\r\n if (document.getElementById('vis1') != null)\r\n document.getElementById('vis1').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-off.gif)';\r\n if (document.getElementById('vis1-header') != null)\r\n document.getElementById('vis1-header').style.color = '#8c978b';\r\n if (document.getElementById('vis2') != null)\r\n document.getElementById('vis2').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-off.gif)';\r\n if (document.getElementById('vis2-header') != null)\r\n document.getElementById('vis2-header').style.color = '#8c978b';\r\n if (document.getElementById('vis3') != null)\r\n document.getElementById('vis3').style.backgroundImage = 'url(/Content/Global/Products/Img/tab-blu-on_171x25.gif)';\r\n if (document.getElementById('vis3-header') != null)\r\n document.getElementById('vis3-header').style.color = '#005b7f';\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n// Support for flash activation - end\r\n\r\n\r\n\r\n///