From f31ccd8ff878328a60a3f9b196d16f4840bae217 Mon Sep 17 00:00:00 2001 From: Peter Walter Date: Wed, 10 Feb 2021 14:23:02 +0000 Subject: [PATCH] training link update --- js/ebi-global-includes/script/4_ebiFrameworkContent.js | 2 +- js/script.js | 2 +- js/script.min.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ebi-global-includes/script/4_ebiFrameworkContent.js b/js/ebi-global-includes/script/4_ebiFrameworkContent.js index cbc55d9..4ed2893 100644 --- a/js/ebi-global-includes/script/4_ebiFrameworkContent.js +++ b/js/ebi-global-includes/script/4_ebiFrameworkContent.js @@ -304,7 +304,7 @@ function ebiFrameworkUpdateFoot() { '
Research
' + '
' + - '
Training
' + '
' + '
Industry
' + diff --git a/js/script.js b/js/script.js index 3a78723..65c87fb 100644 --- a/js/script.js +++ b/js/script.js @@ -400,7 +400,7 @@ function ebiFrameworkInsertEMBLdropdown() { * Insert EBI Footer into `#global-nav-expanded` */ function ebiFrameworkUpdateFoot() { - var html = '
' + '

EMBL-EBI

' + ' Intranet for staff' + '
' + '
' + '
' + '
Services
' + '
' + '
Research
' + ' ' + ' ' + '
' + '
About
' + '
'; + var html = '
' + '

EMBL-EBI

' + ' Intranet for staff' + '
' + '
' + '
' + '
Services
' + '
' + '
Research
' + ' ' + ' ' + '
' + '
About
' + '
'; function init() { try { diff --git a/js/script.min.js b/js/script.min.js index b6ec404..b3acb6f 100644 --- a/js/script.min.js +++ b/js/script.min.js @@ -1 +1 @@ -function ebiGetParameterByName(name,url){url||(url=window.location.href),name=name.replace(/[\[\]]/g,"\\$&");var results=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)").exec(url);return results?results[2]?decodeURIComponent(results[2].replace(/\+/g," ")):"":null}function ebiHasClass(element,cls){return(" "+element.className+" ").indexOf(" "+cls+" ")>-1}function ebiFrameworkExternalLinks(){function isFileType(url,type){return-1!==url.indexOf(type,url.length-type.length)}try{var i,icon,alist=document.getElementsByTagName("a"),fileTypes=["pdf","doc","txt"];for(i=0;i')&&-1===alist[i].innerHTML.indexOf("
',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var searchBar=document.querySelectorAll(".search-bar")[0],searchBarButton=document.querySelectorAll(".search-toggle")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];searchBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&(blackBar.className+=" peek")},!1),searchBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".search-toggle")[0].addEventListener("click",function(event){event.preventDefault(),ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1),document.querySelectorAll(".search-bar .close-button")[0].addEventListener("click",function(event){event.preventDefault(),ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1)}catch(err){setTimeout(init,500)}}catch(err){}}function ebiFrameworkSearchNullError(){try{var disabled=-1!==document.body.className.indexOf("no-search-error"),searchBoxes=[{inputNode:document.getElementById("global-searchbox")},{inputNode:document.getElementById("local-searchbox")},{inputNode:-1!==document.body.className.indexOf("front")?document.getElementById("query"):null},{inputNode:document.getElementById("people-groups")?document.getElementById("people-groups").getElementsByTagName("input")[0]:null}];if(!disabled)for(searchBox in searchBoxes){var searchInput=searchBoxes[searchBox].inputNode,searchForm=searchInput?searchInput.form:null,searchInputDefault=searchBoxes[searchBox].defaultText||"",searchError=searchBoxes[searchBox].errorText||"Please enter a search term",isEbiSearch=-1!==(searchForm?searchForm.action:"").indexOf("/ebisearch/");searchForm&&searchInput&&isEbiSearch&&(searchForm.searchInput=searchInput,searchForm.searchInputDefault=searchInputDefault,searchForm.searchError=searchError,searchForm.onsubmit=function(){if(searchInput=this.searchInput,searchInputDefault=this.searchInputDefault,searchError=this.searchError,searchInput.value=searchInput.value.trim(),searchInput.value===searchInputDefault||""===searchInput.value)return alert(searchError),!1})}}catch(err){}}function isIE(){var myNav=navigator.userAgent.toLowerCase();return-1!=myNav.indexOf("msie")&&parseInt(myNav.split("msie")[1])}function ebiToggleClass(element,toggleClass){var newClass,currentClass=element.className;newClass=currentClass.split(" ").indexOf(toggleClass)>-1?currentClass.replace(new RegExp("\\b"+toggleClass+"\\b","g"),""):currentClass+" "+toggleClass,element.className=newClass.trim()}function ebiActivateClass(element,cssClass){element.classList.remove(cssClass),element.classList.add(cssClass)}function ebiRemoveClass(element,cssClass){element.classList.remove(cssClass)}function ebiFrameworkHideGlobalNav(){try{var elem,hasGlobalMasthead=null!==document.getElementById("masthead-black-bar"),disabled=-1!==document.body.className.indexOf("no-global-nav");hasGlobalMasthead&&disabled&&(null!==(elem=document.getElementById("global-nav"))&&elem.parentNode.removeChild(elem),null!==(elem=document.getElementById("global-nav-expanded"))&&elem.parentNode.removeChild(elem))}catch(err){}}function ebiFrameworkAssignImageByMetaTags(){var masthead=document.getElementById("masthead"),mastheadColor=document.querySelector("meta[name='ebi:masthead-color']")||document.querySelector("meta[name='ebi-masthead-color']"),mastheadImage=document.querySelector("meta[name='ebi:masthead-image']")||document.querySelector("meta[name='ebi-masthead-image']");null!=mastheadColor&&(masthead.style.backgroundColor=mastheadColor.getAttribute("content"),masthead.className+=" meta-background-color"),null!=mastheadImage&&(masthead.style.backgroundImage="url("+mastheadImage.getAttribute("content")+")",masthead.className+=" meta-background-image")}function ebiFrameworkPopulateBlackBar(){try{null!==(elem=document.getElementById("masthead-black-bar"))&&(document.getElementById("masthead-black-bar").innerHTML="");var barContents=document.createElement("div");barContents.innerHTML='',document.getElementById("masthead-black-bar").insertBefore(barContents,document.getElementById("masthead-black-bar").firstChild),document.body.className+=" ebi-black-bar-loaded"}catch(err){}}function ebiGetFacet(passedAttribute){var tag="#masthead-black-bar ."+passedAttribute.toLowerCase();return document.querySelectorAll(tag)[0]}function ebiFrameworkActivateBlackBar(){try{var mouseoutTimer;blackBar.addEventListener("mouseenter",function(){window.clearTimeout(mouseoutTimer)},!1),blackBar.addEventListener("mouseleave",function(){mouseoutTimer=window.setTimeout(function(){ebiFrameworkActivateBlackBar()},500)})}catch(err){}}function ebiFrameworkInsertEMBLdropdown(){try{null!==(elem=document.getElementById("embl-bar"))&&document.getElementById("embl-bar").remove();var dropdownDiv=document.createElement("div");dropdownDiv.innerHTML='',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var emblBar=document.querySelectorAll(".embl-bar")[0],emblBarButton=document.querySelectorAll(".embl-selector")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];emblBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&(blackBar.className+=" peek")},!1),emblBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".embl-selector")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),event.preventDefault(),window.scrollTo(0,0)},!1),document.querySelectorAll(".embl-bar .close-button")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),event.preventDefault(),window.scrollTo(0,0)},!1)}catch(err){}}function ebiFrameworkUpdateFoot(){var html='';!function init(){try{document.getElementById("global-nav-expanded").innerHTML=html}catch(err){setTimeout(init,500)}}()}function ebiFrameworkUpdateFooterMeta(){var html='

EMBL-EBI, Wellcome Genome Campus, Hinxton, Cambridgeshire, CB10 1SD, UK. +44 (0)1223 49 44 44

';!function init(){try{document.getElementById("ebi-footer-meta").innerHTML=html}catch(err){setTimeout(init,500)}}()}function ebiInjectAnnouncements(message){if(void 0===message)return!1;if(void 0!==message.processed)return!0;message.processed=!0;var container=document.getElementById("main-content-area")||document.getElementById("main-content")||document.getElementById("main")||document.getElementById("content")||document.getElementById("contentsarea");if(null==container)return console.warn("A message needs to be shown on this site, but an appropriate container could not be found. \n Message follows:","\n"+message.headline,"\n"+message.message,"\nPriority:",message.priority),!1;var banner=document.createElement("div"),wrapper=document.createElement("div");banner.className="notifications-js row margin-top-medium",wrapper.className="callout "+(message.priority||""),wrapper.innerHTML="

"+message.headline+"

"+message.message,container.insertBefore(banner,container.firstChild),banner.appendChild(wrapper)}function ebiFrameworkIncludeAnnouncements(){function detectAnnouncements(messages){var currentHost=window.location.hostname,currentPath=window.location.pathname;if(currentHost=currentHost.replace(/wwwdev/g,"www"),currentPath.length>1){ebiInjectAnnouncements(messages[currentHost+currentPath]),ebiInjectAnnouncements(messages[currentHost+currentPath+"/"]);for(var currentPathArray=currentPath.split("/"),pathsToMatch=[currentHost+currentPathArray[0]],i=1;i",document.body.appendChild(banner),banner.appendChild(wrapper),ebiFrameworkTrackDataProtectionBanner(),openDataProtectionBanner()}function ebiFrameworkTrackDataProtectionBanner(){var bannerTrackingEventLoaded=0;"function"==typeof analyticsTrackInteraction&&"function"==typeof jQuery&&jQuery("body").hasClass("google-analytics-loaded")?(bannerTrackingEventLoaded=1,jQuery("body.google-analytics-loaded .data-protection-banner a").on("mousedown",function(e){analyticsTrackInteraction(e.target,"Data protection banner")})):bannerTrackingEventLoaded=ebiFrameworkRetryTrackDataProtectionBanner(bannerTrackingEventLoaded)}function ebiFrameworkRetryTrackDataProtectionBanner(bannerTrackingEventLoaded){return--bannerTrackingEventLoaded>-3&&setTimeout(ebiFrameworkTrackDataProtectionBanner,900),bannerTrackingEventLoaded}function openDataProtectionBanner(){var height=document.getElementById("data-protection-banner").offsetHeight||0;document.getElementById("data-protection-banner").style.display="block",document.body.style.paddingBottom=height+"px",document.getElementById("data-protection-agree").onclick=function(){return closeDataProtectionBanner(),!1}}function closeDataProtectionBanner(){document.getElementById("data-protection-banner").offsetHeight;document.getElementById("data-protection-banner").style.display="none",document.body.style.paddingBottom="0",ebiFrameworkSetCookie(dataProtectionSettings.cookieName,"true",90)}function ebiFrameworkSetCookie(c_name,value,exdays){var c_value,exdate=new Date;exdate.setDate(exdate.getDate()+exdays),c_value=escape(value)+(null===exdays?"":";expires="+exdate.toUTCString())+";domain="+document.domain+";path=/",document.cookie=c_name+"="+c_value}function ebiFrameworkGetCookie(c_name){var i,x,y,ARRcookies=document.cookie.split(";");for(i=0;i0&&"true"==(divDataProtectionBannerDisable=divDataProtectionBannerDisable[0]).dataset.protectionMessageDisable&&(disableDataProtectionBanner=!0);var divDataProtectionBanner=document.getElementById("data-protection-message-configuration");null!==divDataProtectionBanner&&(void 0!==divDataProtectionBanner.dataset.message&&(dataProtectionSettings.message=divDataProtectionBanner.dataset.message),void 0!==divDataProtectionBanner.dataset.serviceId&&(dataProtectionSettings.serviceId=divDataProtectionBanner.dataset.serviceId),void 0!==divDataProtectionBanner.dataset.dataProtectionVersion&&(dataProtectionSettings.dataProtectionVersion=divDataProtectionBanner.dataset.dataProtectionVersion)),dataProtectionSettings.cookieName=dataProtectionSettings.serviceId+"-v"+dataProtectionSettings.dataProtectionVersion+"-data-protection-accepted","true"!=ebiFrameworkGetCookie(dataProtectionSettings.cookieName)&&!1===disableDataProtectionBanner&&ebiFrameworkCreateDataProtectionBanner()}catch(err){setTimeout(function(){ebiFrameworkRunDataProtectionBanner(targetedFrameworkVersion)},100)}}function resetDataProtectionBanner(){document.cookie=dataProtectionSettings.cookieName+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT;domain="+document.domain+";path=/",ebiFrameworkRunDataProtectionBanner("1.4")}function ebiFrameworkCookieBanner(){console.warn("You are calling an old function name, update it to ebiFrameworkRunDataProtectionBanner();"),ebiFrameworkRunDataProtectionBanner("1.4")}function ebiFrameworkInvokeScripts(){ebiFrameworkPopulateBlackBar(),ebiFrameworkActivateBlackBar(),ebiFrameworkExternalLinks(),ebiFrameworkManageGlobalSearch(),ebiFrameworkSearchNullError(),ebiFrameworkHideGlobalNav(),ebiFrameworkAssignImageByMetaTags(),ebiFrameworkInsertEMBLdropdown(),ebiFrameworkUpdateFoot(),ebiFrameworkUpdateFooterMeta(),ebiFrameworkIncludeAnnouncements(),ebiFrameworkRunDataProtectionBanner("1.4")}document.addEventListener("DOMContentLoaded",function(event){var bodyData=document.body.dataset;isIE()&&isIE()<=10&&(bodyData=[]),"false"!=bodyData.ebiframeworkinvokescripts&&ebiFrameworkInvokeScripts()}); \ No newline at end of file +function ebiGetParameterByName(name,url){url||(url=window.location.href),name=name.replace(/[\[\]]/g,"\\$&");var results=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)").exec(url);return results?results[2]?decodeURIComponent(results[2].replace(/\+/g," ")):"":null}function ebiHasClass(element,cls){return(" "+element.className+" ").indexOf(" "+cls+" ")>-1}function ebiFrameworkExternalLinks(){function isFileType(url,type){return-1!==url.indexOf(type,url.length-type.length)}try{var i,icon,alist=document.getElementsByTagName("a"),fileTypes=["pdf","doc","txt"];for(i=0;i')&&-1===alist[i].innerHTML.indexOf("
',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var searchBar=document.querySelectorAll(".search-bar")[0],searchBarButton=document.querySelectorAll(".search-toggle")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];searchBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&(blackBar.className+=" peek")},!1),searchBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".search-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".search-toggle")[0].addEventListener("click",function(event){event.preventDefault(),ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1),document.querySelectorAll(".search-bar .close-button")[0].addEventListener("click",function(event){event.preventDefault(),ebiToggleClass(searchBar,"active"),ebiToggleClass(searchBarButton,"active"),window.scrollTo(0,0)},!1)}catch(err){setTimeout(init,500)}}catch(err){}}function ebiFrameworkSearchNullError(){try{var disabled=-1!==document.body.className.indexOf("no-search-error"),searchBoxes=[{inputNode:document.getElementById("global-searchbox")},{inputNode:document.getElementById("local-searchbox")},{inputNode:-1!==document.body.className.indexOf("front")?document.getElementById("query"):null},{inputNode:document.getElementById("people-groups")?document.getElementById("people-groups").getElementsByTagName("input")[0]:null}];if(!disabled)for(searchBox in searchBoxes){var searchInput=searchBoxes[searchBox].inputNode,searchForm=searchInput?searchInput.form:null,searchInputDefault=searchBoxes[searchBox].defaultText||"",searchError=searchBoxes[searchBox].errorText||"Please enter a search term",isEbiSearch=-1!==(searchForm?searchForm.action:"").indexOf("/ebisearch/");searchForm&&searchInput&&isEbiSearch&&(searchForm.searchInput=searchInput,searchForm.searchInputDefault=searchInputDefault,searchForm.searchError=searchError,searchForm.onsubmit=function(){if(searchInput=this.searchInput,searchInputDefault=this.searchInputDefault,searchError=this.searchError,searchInput.value=searchInput.value.trim(),searchInput.value===searchInputDefault||""===searchInput.value)return alert(searchError),!1})}}catch(err){}}function isIE(){var myNav=navigator.userAgent.toLowerCase();return-1!=myNav.indexOf("msie")&&parseInt(myNav.split("msie")[1])}function ebiToggleClass(element,toggleClass){var newClass,currentClass=element.className;newClass=currentClass.split(" ").indexOf(toggleClass)>-1?currentClass.replace(new RegExp("\\b"+toggleClass+"\\b","g"),""):currentClass+" "+toggleClass,element.className=newClass.trim()}function ebiActivateClass(element,cssClass){element.classList.remove(cssClass),element.classList.add(cssClass)}function ebiRemoveClass(element,cssClass){element.classList.remove(cssClass)}function ebiFrameworkHideGlobalNav(){try{var elem,hasGlobalMasthead=null!==document.getElementById("masthead-black-bar"),disabled=-1!==document.body.className.indexOf("no-global-nav");hasGlobalMasthead&&disabled&&(null!==(elem=document.getElementById("global-nav"))&&elem.parentNode.removeChild(elem),null!==(elem=document.getElementById("global-nav-expanded"))&&elem.parentNode.removeChild(elem))}catch(err){}}function ebiFrameworkAssignImageByMetaTags(){var masthead=document.getElementById("masthead"),mastheadColor=document.querySelector("meta[name='ebi:masthead-color']")||document.querySelector("meta[name='ebi-masthead-color']"),mastheadImage=document.querySelector("meta[name='ebi:masthead-image']")||document.querySelector("meta[name='ebi-masthead-image']");null!=mastheadColor&&(masthead.style.backgroundColor=mastheadColor.getAttribute("content"),masthead.className+=" meta-background-color"),null!=mastheadImage&&(masthead.style.backgroundImage="url("+mastheadImage.getAttribute("content")+")",masthead.className+=" meta-background-image")}function ebiFrameworkPopulateBlackBar(){try{null!==(elem=document.getElementById("masthead-black-bar"))&&(document.getElementById("masthead-black-bar").innerHTML="");var barContents=document.createElement("div");barContents.innerHTML='',document.getElementById("masthead-black-bar").insertBefore(barContents,document.getElementById("masthead-black-bar").firstChild),document.body.className+=" ebi-black-bar-loaded"}catch(err){}}function ebiGetFacet(passedAttribute){var tag="#masthead-black-bar ."+passedAttribute.toLowerCase();return document.querySelectorAll(tag)[0]}function ebiFrameworkActivateBlackBar(){try{var mouseoutTimer;blackBar.addEventListener("mouseenter",function(){window.clearTimeout(mouseoutTimer)},!1),blackBar.addEventListener("mouseleave",function(){mouseoutTimer=window.setTimeout(function(){ebiFrameworkActivateBlackBar()},500)})}catch(err){}}function ebiFrameworkInsertEMBLdropdown(){try{null!==(elem=document.getElementById("embl-bar"))&&document.getElementById("embl-bar").remove();var dropdownDiv=document.createElement("div");dropdownDiv.innerHTML='',document.getElementById("masthead-black-bar").insertBefore(dropdownDiv,document.getElementById("masthead-black-bar").firstChild);var emblBar=document.querySelectorAll(".embl-bar")[0],emblBarButton=document.querySelectorAll(".embl-selector")[0],blackBar=document.querySelectorAll(".masthead-black-bar")[0];emblBarButton.addEventListener("mouseenter",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&(blackBar.className+=" peek")},!1),emblBarButton.addEventListener("mouseleave",function(event){0==ebiHasClass(document.querySelectorAll(".embl-bar")[0],"active")&&blackBar.classList.remove("peek")},!1);document.querySelectorAll(".embl-selector")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),event.preventDefault(),window.scrollTo(0,0)},!1),document.querySelectorAll(".embl-bar .close-button")[0].addEventListener("click",function(event){ebiToggleClass(emblBar,"active"),ebiToggleClass(emblBarButton,"active"),event.preventDefault(),window.scrollTo(0,0)},!1)}catch(err){}}function ebiFrameworkUpdateFoot(){var html='';!function init(){try{document.getElementById("global-nav-expanded").innerHTML=html}catch(err){setTimeout(init,500)}}()}function ebiFrameworkUpdateFooterMeta(){var html='

EMBL-EBI, Wellcome Genome Campus, Hinxton, Cambridgeshire, CB10 1SD, UK. +44 (0)1223 49 44 44

';!function init(){try{document.getElementById("ebi-footer-meta").innerHTML=html}catch(err){setTimeout(init,500)}}()}function ebiInjectAnnouncements(message){if(void 0===message)return!1;if(void 0!==message.processed)return!0;message.processed=!0;var container=document.getElementById("main-content-area")||document.getElementById("main-content")||document.getElementById("main")||document.getElementById("content")||document.getElementById("contentsarea");if(null==container)return console.warn("A message needs to be shown on this site, but an appropriate container could not be found. \n Message follows:","\n"+message.headline,"\n"+message.message,"\nPriority:",message.priority),!1;var banner=document.createElement("div"),wrapper=document.createElement("div");banner.className="notifications-js row margin-top-medium",wrapper.className="callout "+(message.priority||""),wrapper.innerHTML="

"+message.headline+"

"+message.message,container.insertBefore(banner,container.firstChild),banner.appendChild(wrapper)}function ebiFrameworkIncludeAnnouncements(){function detectAnnouncements(messages){var currentHost=window.location.hostname,currentPath=window.location.pathname;if(currentHost=currentHost.replace(/wwwdev/g,"www"),currentPath.length>1){ebiInjectAnnouncements(messages[currentHost+currentPath]),ebiInjectAnnouncements(messages[currentHost+currentPath+"/"]);for(var currentPathArray=currentPath.split("/"),pathsToMatch=[currentHost+currentPathArray[0]],i=1;i",document.body.appendChild(banner),banner.appendChild(wrapper),ebiFrameworkTrackDataProtectionBanner(),openDataProtectionBanner()}function ebiFrameworkTrackDataProtectionBanner(){var bannerTrackingEventLoaded=0;"function"==typeof analyticsTrackInteraction&&"function"==typeof jQuery&&jQuery("body").hasClass("google-analytics-loaded")?(bannerTrackingEventLoaded=1,jQuery("body.google-analytics-loaded .data-protection-banner a").on("mousedown",function(e){analyticsTrackInteraction(e.target,"Data protection banner")})):bannerTrackingEventLoaded=ebiFrameworkRetryTrackDataProtectionBanner(bannerTrackingEventLoaded)}function ebiFrameworkRetryTrackDataProtectionBanner(bannerTrackingEventLoaded){return--bannerTrackingEventLoaded>-3&&setTimeout(ebiFrameworkTrackDataProtectionBanner,900),bannerTrackingEventLoaded}function openDataProtectionBanner(){var height=document.getElementById("data-protection-banner").offsetHeight||0;document.getElementById("data-protection-banner").style.display="block",document.body.style.paddingBottom=height+"px",document.getElementById("data-protection-agree").onclick=function(){return closeDataProtectionBanner(),!1}}function closeDataProtectionBanner(){document.getElementById("data-protection-banner").offsetHeight;document.getElementById("data-protection-banner").style.display="none",document.body.style.paddingBottom="0",ebiFrameworkSetCookie(dataProtectionSettings.cookieName,"true",90)}function ebiFrameworkSetCookie(c_name,value,exdays){var c_value,exdate=new Date;exdate.setDate(exdate.getDate()+exdays),c_value=escape(value)+(null===exdays?"":";expires="+exdate.toUTCString())+";domain="+document.domain+";path=/",document.cookie=c_name+"="+c_value}function ebiFrameworkGetCookie(c_name){var i,x,y,ARRcookies=document.cookie.split(";");for(i=0;i0&&"true"==(divDataProtectionBannerDisable=divDataProtectionBannerDisable[0]).dataset.protectionMessageDisable&&(disableDataProtectionBanner=!0);var divDataProtectionBanner=document.getElementById("data-protection-message-configuration");null!==divDataProtectionBanner&&(void 0!==divDataProtectionBanner.dataset.message&&(dataProtectionSettings.message=divDataProtectionBanner.dataset.message),void 0!==divDataProtectionBanner.dataset.serviceId&&(dataProtectionSettings.serviceId=divDataProtectionBanner.dataset.serviceId),void 0!==divDataProtectionBanner.dataset.dataProtectionVersion&&(dataProtectionSettings.dataProtectionVersion=divDataProtectionBanner.dataset.dataProtectionVersion)),dataProtectionSettings.cookieName=dataProtectionSettings.serviceId+"-v"+dataProtectionSettings.dataProtectionVersion+"-data-protection-accepted","true"!=ebiFrameworkGetCookie(dataProtectionSettings.cookieName)&&!1===disableDataProtectionBanner&&ebiFrameworkCreateDataProtectionBanner()}catch(err){setTimeout(function(){ebiFrameworkRunDataProtectionBanner(targetedFrameworkVersion)},100)}}function resetDataProtectionBanner(){document.cookie=dataProtectionSettings.cookieName+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT;domain="+document.domain+";path=/",ebiFrameworkRunDataProtectionBanner("1.4")}function ebiFrameworkCookieBanner(){console.warn("You are calling an old function name, update it to ebiFrameworkRunDataProtectionBanner();"),ebiFrameworkRunDataProtectionBanner("1.4")}function ebiFrameworkInvokeScripts(){ebiFrameworkPopulateBlackBar(),ebiFrameworkActivateBlackBar(),ebiFrameworkExternalLinks(),ebiFrameworkManageGlobalSearch(),ebiFrameworkSearchNullError(),ebiFrameworkHideGlobalNav(),ebiFrameworkAssignImageByMetaTags(),ebiFrameworkInsertEMBLdropdown(),ebiFrameworkUpdateFoot(),ebiFrameworkUpdateFooterMeta(),ebiFrameworkIncludeAnnouncements(),ebiFrameworkRunDataProtectionBanner("1.4")}document.addEventListener("DOMContentLoaded",function(event){var bodyData=document.body.dataset;isIE()&&isIE()<=10&&(bodyData=[]),"false"!=bodyData.ebiframeworkinvokescripts&&ebiFrameworkInvokeScripts()}); \ No newline at end of file