CINXE.COM

Europe PMC

<!DOCTYPE html> <html lang="en" prefix="dc: http://purl.org/dc/elements/1.1/#; dcterms: http://purl.org/dc/terms/#"> <head><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta charset="utf-8"><meta name="viewport" content="width=device-width"><script type="text/javascript" src="../../wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-3.6.0-ver-7B432A70897DCD6A8F6D26413CDF1916.js"></script> <link rel="stylesheet" type="text/css" href="/css_min/min/orcid-min.css?v=1.1.1" /> <script type="text/javascript" src="../../wicket/resource/org.europepmc.account.AccountSigninPanel/AccoutSigninPanel-ver-23536C62407C81CFCDCB80EBF689D4C9.js"></script> <script type="text/javascript" src="../../wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-6C3579C63E0C4EBFA954D232A7F1B943.js"></script> <script type="text/javascript" id="wicket-ajax-base-url"> /*<![CDATA[*/ Wicket.Ajax.baseUrl="article/med/33378810"; /*]]>*/ </script> <style id="uk-bl-ukpmc-web-pages-template-TemplatePage-0"> /*<![CDATA[*/ #search-feature-link { display: none; } @media only screen and (max-width: 800px) { #search-feature-link { display: block; } } /*]]>*/ </style> <script type="text/javascript" src="../../wicket/resource/uk.bl.ukpmc.web.pages.template.TemplatePage/TemplatePage-ver-540ECA69167ECC178EB8C919D0809EB3.js"></script> <title>Europe PMC</title> <link rel="stylesheet" href="/template/font-awesome/css/all.min.css"> <link rel="stylesheet" href="/template/EPMC-iconfont/style.css?v=1.1.1"> <link rel="icon" href="/images/favicon.ico" type="image/x-icon"> <link rel="alternate" type="application/rss+xml" title="Europe PMC: Popular articles" href="/Funders/RSS/MostViewedArticles.xml"> <link rel="alternate" type="application/rss+xml" title="Europe PMC: Recent articles" href="/Funders/RSS/AllFunders.xml"> <link rel="alternate" type="application/rss+xml" title="Europe PMC: Latest journals" href="/Funders/rss/NewJournals.xml"> <link rel="alternate" type="application/rss+xml" title="Europe PMC: Content Holdings" href="/contentrss"> <meta name="theme-color" content="#666"/> <meta name="author" content="Europe PMC"/> <meta name="owner" content="Europe PMC"/> <meta name="keywords" content="Europe PMC, Europe PubMed Central, open access, research articles, journal articles, abstracts, full text, literature search, clinical guidelines, biological patents, life sciences, bioinformatics, biomedical research, citation search, biomedical journals, ORCIDs, text mining, citation networks, REST APIs "/> <meta name="description" content="Europe PMC is an archive of life sciences journal literature."/> <meta http-equiv="X-UA-Compatible" content="IE=11" /> <link rel="search" type="application/opensearchdescription+xml" title="Search Europe PMC" href="/tools_epmc/opensearch_epmc.xml"> <link rel="stylesheet" type="text/css" media="print, screen" href="/template/jquery_ui.css?v=1.1.1"/> <link rel="stylesheet" type="text/css" media="screen" href="/template/jquery_menu.css?v=1.1.1"/> <script type="text/javascript" src="/template/yahoo-min.js?v=1.1.1"></script> <script type="text/javascript" src="/template/dom-min.js?v=1.1.1"></script> <script type="text/javascript" src="/template/enrichment.js?v=1.1.1"></script> <link rel="stylesheet" type="text/css" media="print, screen" href="/template/enrichment.css?v=1.1.1"/> <script type="text/javascript" src="/template/hoverIntent.js?v=1.1.1"></script> <script type="text/javascript" src="/plugins/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js?v=1.1.1"></script> <link rel="stylesheet" type="text/css" href="/template/ncbi/epmc.ncbi.css?v=1.1.1"/> <script type="text/javascript" src="/template/epmc.js?v=1.1.1"></script> <link rel="stylesheet" type="text/css" href="/template/epmc_new.css?v=1.1.1"/> <link href="/css/compromise.css" rel="stylesheet" type="text/css"/> <script type="text/javascript"> /*<![CDATA[*/ $(document).ready(function () { if (window.location.pathname === '/') { $(".page_proper").first().addClass('epmc-home-page'); } $("#Highlight_head").click(function (event) { event.preventDefault(); $("#Highlight_body").slideToggle(); }); $("#Highlight_body a").click(function (event) { event.preventDefault(); $("#Highlight_body").slideUp(); }); var locationHost = $.cookie('location_host'); if (typeof locationHost === 'undefined' || locationHost == null || locationHost == "") { $.cookie("location_host", window.location.host); } }); /*]]>*/ </script> <script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0121/7749.js" async="async" ></script> <script type="text/javascript"> /*<![CDATA[*/ Wicket.Event.subscribe('/ajax/call/complete', function (jqEvent, attributes, jqXHR, errorThrown, textStatus) { if (jqXHR != null && jqXHR.responseText != null && (jqXHR.responseText.match("ShowCitationDetails]]></redirect></ajax-response>") || jqXHR.responseText.match("articles]]></redirect></ajax-response>"))) { var ua = window.navigator.userAgent; var msie = ua.indexOf("MSIE "); var trident = ua.indexOf("Trident/"); if (msie > 0 || trident > 0) { window.document.execCommand("Stop"); } else { window.stop(); } } }); /*]]>*/ </script> <noscript><div><meta http-equiv=refresh content=0;URL='/article/med/33378810?javascript_support=no'></div></noscript><title>Europe PMC</title><script src="https://cdn.jsdelivr.net/npm/get-root-node-polyfill@1.0.0/index.min.js"></script><script id="org-europepmc-backend-EntryPage-0"> /*<![CDATA[*/ // for processing latex encoding in abstract and fulltext window.MathJax = { tex: { inlineMath: [['$$', '$$'], ['\\(', '\\)']] } }; /*]]>*/ </script><link href="/css/chunk-00126305.668275bf.css" rel="prefetch"><link href="/css/chunk-012e946a.7ca2240d.css" rel="prefetch"><link href="/css/chunk-02671363.98391652.css" rel="prefetch"><link href="/css/chunk-03a4b3e9.dbce14d4.css" rel="prefetch"><link href="/css/chunk-070da9dd.a997a06a.css" rel="prefetch"><link href="/css/chunk-0c1dee60.3a501649.css" rel="prefetch"><link href="/css/chunk-0ef6d313.26c993d2.css" rel="prefetch"><link href="/css/chunk-10ff9b5e.966f29bf.css" rel="prefetch"><link href="/css/chunk-136cee03.aea1f83b.css" rel="prefetch"><link href="/css/chunk-20755276.98ef90c1.css" rel="prefetch"><link href="/css/chunk-236f87ca.2b10b19e.css" rel="prefetch"><link href="/css/chunk-24facdb3.c795efbe.css" rel="prefetch"><link href="/css/chunk-29fd1570.90d910cd.css" rel="prefetch"><link href="/css/chunk-30203c74.6f499fd3.css" rel="prefetch"><link href="/css/chunk-3082ee44.c29eabab.css" rel="prefetch"><link href="/css/chunk-31dcb488.88c78b2f.css" rel="prefetch"><link href="/css/chunk-3237e5b9.392f2856.css" rel="prefetch"><link href="/css/chunk-348b3c64.bb8c49fe.css" rel="prefetch"><link href="/css/chunk-3e6665aa.948d4378.css" rel="prefetch"><link href="/css/chunk-40021bc0.5b152510.css" rel="prefetch"><link href="/css/chunk-47d49ad4.41859681.css" rel="prefetch"><link href="/css/chunk-49354abb.edca4954.css" rel="prefetch"><link href="/css/chunk-4a21b109.33476996.css" rel="prefetch"><link href="/css/chunk-4f08085a.0cceb84a.css" rel="prefetch"><link href="/css/chunk-5a6b3e90.1f22a5ad.css" rel="prefetch"><link href="/css/chunk-60d46f60.eef28202.css" rel="prefetch"><link href="/css/chunk-656e253f.c7ea151b.css" rel="prefetch"><link href="/css/chunk-673bd12a.23876be7.css" rel="prefetch"><link href="/css/chunk-675cc948.f8d46d6b.css" rel="prefetch"><link href="/css/chunk-70d289d7.a8744ce3.css" rel="prefetch"><link href="/css/chunk-7ee95f06.0a2e5af0.css" rel="prefetch"><link href="/css/chunk-7f1b5ba6.c8673e0f.css" rel="prefetch"><link href="/css/chunk-934e92e8.c978915f.css" rel="prefetch"><link href="/css/chunk-9578daba.9e7c8a22.css" rel="prefetch"><link href="/css/chunk-b55b5ddc.27d49e84.css" rel="prefetch"><link href="/css/chunk-fa5a5b92.8ac21d96.css" rel="prefetch"><link href="/css/chunk-feeca86c.eddce629.css" rel="prefetch"><link href="/css/chunk-ff8e64f6.376aa889.css" rel="prefetch"><link href="/js/chunk-00126305.20b42cd0.js" rel="prefetch"><link href="/js/chunk-012e946a.7ede3cb7.js" rel="prefetch"><link href="/js/chunk-02671363.3a4ab455.js" rel="prefetch"><link href="/js/chunk-03a4b3e9.adf61d90.js" rel="prefetch"><link href="/js/chunk-070da9dd.cf6a45df.js" rel="prefetch"><link href="/js/chunk-0c1dee60.58334e88.js" rel="prefetch"><link href="/js/chunk-0ef6d313.a710ad74.js" rel="prefetch"><link href="/js/chunk-10ff9b5e.2282c6cb.js" rel="prefetch"><link href="/js/chunk-136cee03.b024330d.js" rel="prefetch"><link href="/js/chunk-20755276.0c0046a0.js" rel="prefetch"><link href="/js/chunk-236f87ca.99d87738.js" rel="prefetch"><link href="/js/chunk-24facdb3.a80dbfe0.js" rel="prefetch"><link href="/js/chunk-29fd1570.1252ca6c.js" rel="prefetch"><link href="/js/chunk-2d0b33fc.c7442f96.js" rel="prefetch"><link href="/js/chunk-2d0bad09.436bcc5d.js" rel="prefetch"><link href="/js/chunk-2d0c95e3.75270c91.js" rel="prefetch"><link href="/js/chunk-2d0de79d.9bce1ff5.js" rel="prefetch"><link href="/js/chunk-2d0f07fe.26727cb3.js" rel="prefetch"><link href="/js/chunk-2d210a6c.dd0ac435.js" rel="prefetch"><link href="/js/chunk-2d213782.7b65b3bc.js" rel="prefetch"><link href="/js/chunk-30203c74.e6dbf042.js" rel="prefetch"><link href="/js/chunk-3082ee44.ae68c6e3.js" rel="prefetch"><link href="/js/chunk-31dcb488.2f53cc15.js" rel="prefetch"><link href="/js/chunk-3237e5b9.092ea1fb.js" rel="prefetch"><link href="/js/chunk-348b3c64.964c961f.js" rel="prefetch"><link href="/js/chunk-3e6665aa.6e98a179.js" rel="prefetch"><link href="/js/chunk-40021bc0.0eb9a76f.js" rel="prefetch"><link href="/js/chunk-47d49ad4.cecc1cd9.js" rel="prefetch"><link href="/js/chunk-49354abb.48295da6.js" rel="prefetch"><link href="/js/chunk-4a21b109.abfd7ca3.js" rel="prefetch"><link href="/js/chunk-4f08085a.a93749be.js" rel="prefetch"><link href="/js/chunk-5a6b3e90.4644b402.js" rel="prefetch"><link href="/js/chunk-60d46f60.a343ce46.js" rel="prefetch"><link href="/js/chunk-656e253f.9fef407f.js" rel="prefetch"><link href="/js/chunk-673bd12a.b0915a12.js" rel="prefetch"><link href="/js/chunk-675cc948.12b0531e.js" rel="prefetch"><link href="/js/chunk-70d289d7.ae59a05d.js" rel="prefetch"><link href="/js/chunk-7ee95f06.35dfc586.js" rel="prefetch"><link href="/js/chunk-7f1b5ba6.a894c82c.js" rel="prefetch"><link href="/js/chunk-934e92e8.39ed60d8.js" rel="prefetch"><link href="/js/chunk-9578daba.dab53a4f.js" rel="prefetch"><link href="/js/chunk-b55b5ddc.8b935fe2.js" rel="prefetch"><link href="/js/chunk-fa5a5b92.54ba3114.js" rel="prefetch"><link href="/js/chunk-feeca86c.fd9276fb.js" rel="prefetch"><link href="/js/chunk-ff8e64f6.12eb1c40.js" rel="prefetch"><link href="/css/app.ba6fa73f.css" rel="preload" as="style"><link href="/css/chunk-vendors.2173cd66.css" rel="preload" as="style"><link href="/js/app.a28cc023.js" rel="preload" as="script"><link href="/js/chunk-vendors.d1b5dc9a.js" rel="preload" as="script"><link href="/css/chunk-vendors.2173cd66.css" rel="stylesheet"><link href="/css/app.ba6fa73f.css" rel="stylesheet"><link rel="stylesheet" type="text/css" href="/css/local-compromise.css"><script type="text/javascript" src="/js_min/min/epmc-min.js?v=1.1.1"></script> <script type="text/javascript" src="/js_min/min/responsify-analytics-min.js?v=1.1.1"></script> <link rel="stylesheet" type="text/css" href="/css_min/min/jquery-ui-min.css?v=1.1.1" /> <link rel="stylesheet" type="text/css" href="/css_min/min/advanced_search-min.css?v=1.1.1" /> <script type="text/javascript"> /*<![CDATA[*/ Wicket.Event.add(window, "domready", function(event) { Wicket.Ajax.ajax({"u":"../../betaAdvanceSearch?1-1.0-search-exportPanelLink&0=med&1=33378810","c":"id1","coh":[function(attrs, jqXHR, textStatus){;onClickPanelLink();registerExportPanel();}],"e":"click","pd":true});; Wicket.Ajax.ajax({"u":"../../betaAdvanceSearch?1-1.0-search-closeExportWindow&0=med&1=33378810","c":"closeExportWindow","e":"click","pd":true});; Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); ;}); /*]]>*/ </script> </head> <body> <span style="display:none" id="piwikIdSite">1</span> <div class="page_proper" id="body"> <noscript> <div style="text-align:center"> <p><b>Europe PMC</b> requires Javascript to function effectively.</p> <p>Either your web browser doesn't support Javascript or it is currently turned off. In the latter case, please turn on Javascript support in your web browser and reload this page.</p> </div> </noscript> <header> <div id="epmc_pageHeader"> <div class="dark-gray"> <div class="container"> <div> <span> <span id="id2"> <span style="color: white !important;"> <i class="fa fa-user profile-icon"></i><a id="login-bar--signin-link" class="orcid_signin_text" href="/accounts/login">Sign in</a> | <a class="orcid_signin_text" href="/accounts/registration">Create an account</a> </span> </span> </span> <iframe id="iframeId" name="aframe" style="border:none" seamless></iframe> <span id="orcidurlId" class="screenReader">https://orcid.org</span> <span style="display:none" id="plusLogoutUrl">https://plus.europepmc.org</span> </div> </div> </div> <nav class="container"> <ul id="epmc_mainNav"> <li> <div class="logo"> <a href="/" target="_top" accesskey="U"> <span class="screenReader">Europe PMC</span> </a> </div> <a id="menu_button" href="#" onclick="return navDrop(this);" class=""> <span>Menu</span> </a> <ul class="dropdown"> <li> <a href="../../About" onclick="return navDrop(this);"> <span>About</span> </a> <ul class="sub_menu"> <li class="citation_navigation_unselected"> <a href="../../About"> <span>About Europe PMC</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../Preprints"> <span>Preprints in Europe PMC</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../Funders"> <span>Funders</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../BecomeFunder"> <span>Become a funder</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../Governance"> <span>Governance</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../Roadmap"> <span>Roadmap</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../Outreach"> <span>Outreach</span> </a> </li> </ul> </li><li> <a href="../../tools" onclick="return navDrop(this);"> <span>Tools</span> </a> <ul class="sub_menu"> <li class="citation_navigation_unselected"> <a href="../../tools"> <span>Tools overview</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../ArticleStatusMonitor"> <span>Article status monitor</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../orcid/import"> <span>ORCID article claiming</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../journalList"> <span>Journal list</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../grantfinder"> <span>Grant finder</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../LabsLink"> <span>External links service</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../RssFeeds"> <span>RSS feeds</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../Annotations"> <span>Annotations</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../AnnotationsSubmission"> <span>Annotations submission service</span> </a> </li> </ul> </li><li> <a href="../../developers" onclick="return navDrop(this);"> <span>Developers</span> </a> <ul class="sub_menu"> <li class="citation_navigation_unselected"> <a href="../../developers"> <span>Developer resources</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../RestfulWebService"> <span>Articles RESTful API</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../GristAPI"> <span>Grants RESTful API</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../API-case-studies"> <span>API case studies</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../SoapWebServices"> <span>SOAP web service</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../AnnotationsApi"> <span>Annotations API</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../OaiService"> <span>OAI service</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../downloads"> <span>Bulk downloads</span> </a> </li><li class="citation_navigation_unselected"> <a href="http://groups.google.com/a/ebi.ac.uk/forum/#!forum/epmc-webservices"> <span>Developers Forum</span> </a> </li> </ul> </li><li> <a href="../../Help" onclick="return navDrop(this);"> <span>Help</span> </a> <ul class="sub_menu"> <li class="citation_navigation_unselected"> <a href="../../Help"> <span>Help using Europe PMC</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../searchsyntax"> <span>Search syntax reference</span> </a> </li><li class="citation_navigation_unselected"> <a href="../../ContactUs"> <span>Contact us</span> </a> </li> </ul> </li><li class="contact-us"> <a href="/ContactUs" onclick="return navDrop(this);"> <span>Contact us</span> </a> <ul class="sub_menu"> <li> <a href="/ContactUs"> <span>Helpdesk</span> </a> </li> <li> <a href="/feedback?url=" onclick="var w = window.open('/feedback?url='+getReferredUrl(), 'ukpmc_feedback', 'scrollbars=no,location=no,menuBar=yes,resizable=yes,status=no,toolbar=yes,width=1050,height=810'); try {if (w.blur) w.focus();}catch(ignore){}; return false;"><span>Feedback</span></a> </li> <li> <a href="https://twitter.com/EuropePMC_news"> <span>Twitter</span> </a> </li> <li> <a href="http://blog.europepmc.org"> <span>Blog</span> </a> </li> <li> <a href="//europepmc.github.io/techblog/"> <span>Tech blog</span> </a> </li> <li> <a href="//groups.google.com/a/ebi.ac.uk/forum/#!forum/epmc-webservices"> <span>Developer Forum</span> </a> </li> </ul> </li><li class="last"> <a href="https://plus.europepmc.org/" target="epmcplus" onmouseover="TipAllowed('Submit your manuscripts, manage your grants and publish your research impact using &lt;b&gt;Europe PMC plus&lt;/b&gt;')" onmouseout="UnTipAllowed()"> <span>Europe PMC plus</span> </a> </li> </ul> <div style="clear:both"></div> </li> </ul> </nav> </div> <script type="text/javascript"> /*<![CDATA[*/ function openFeedbackForm() { var referredURL = window.location.origin + window.location.pathname + encodeURIComponent(window.location.search) var w = window.open( window.location.protocol + '//' + window.location.host + '/feedback?url=' + referredURL, 'ukpmc_feedback', 'scrollbars=no,location=no,menuBar=yes,resizable=yes,status=no,toolbar=yes,width=550,height=810' ); try { if (w.blur) w.focus(); } catch(ignore){}; return false; } function navDrop(link){ if ($('#epmc_pageHeader').width() < 870) { if ($('.nav_clicked').length > 0){ if ($(link).hasClass('nav_clicked')) { $(link).removeClass('nav_clicked'); } else { if ($(link).not('#menu_button')) { $('.nav_clicked').not('#menu_button').removeClass('nav_clicked'); } $(link).addClass('nav_clicked'); } } else { $(link).addClass('nav_clicked'); } return false; } else { return true; } } $(document).ready(function(){ $('#epmc_mainNav a').each(function(){ if($(this).attr('href').replace(/\./g, '').replace(/\//g, '') == window.location.pathname.replace(/\//g, '')){ $(this).addClass('current'); $(this).closest('ul').closest('li').children('a').addClass('current'); } if(window.location.pathname.replace(/\//g, '').indexOf($(this).attr('href').replace(/\./g, '').replace(/\//g, ''))!= -1){ $(this).addClass('parent'); $(this).closest('ul').closest('li').children('a').addClass('current'); } }); if (window.location.pathname.includes('AnnotationsApi')) { $('#epmc_mainNav .dropdown a[href="./tools"]').removeClass('current'); } }); /*]]>*/ </script> </header> <div id="epmc_pageBody"> <div> <div> <script type="text/javascript" src="/Scripts/recaptcha_ajax.js?v=1.1.1"></script> <div class="container"> <div id="searchToolsBox"> <div id="searchTools" style="display:none"> <div class="epmc_searchTools"> </div> </div> </div> <div id="exportPanel"></div> <span id="closeExportWindow"></span> </div> <div id="id3"> </div> <style> /*<![CDATA[*/ .covid-19-find-out-more { float: right; margin-top: 32px; } @media screen and (max-width: 1000px) { .covid-19-find-out-more { float: none; margin-top: 16px; } } /*]]>*/ </style> <script type="text/javascript"> /*<![CDATA[*/ jQuery('#banner--search-input').on('input', function () { if (jQuery(this).val().length >= 1500) { alert('The maximum allowed query length is 1500 characters'); } }); $('#searchButton').on('click', function () { PiwikAnalyticsTracker.track('Search', 'Keyword', 'Manual Input - ' + $('#textfield').val()); }); function onClickPanelLink() { var speed = 500; if ($('#exportPanel').css('display') == 'none') { $("#exportPanel").slideDown(speed); $('body').append('<div class="wicket-mask-dark export" style="z-index: 2; position: absolute; top: 0px; left: 0px; background-image: none;"></div>"'); exportDisplaySection(); // $(".results_pagination_range").fadeOut(speed - 100) $('#exportPanel').focus(); } else { $("#exportPanel").slideUp(speed); setTimeout(function () { $(".wicket-mask-dark.export").remove(); }, speed); // $(".results_pagination_range").fadeIn(speed + 150); } } $(document).ready(function() { $('#covid-search-example-link').click(function() { PiwikAnalyticsTracker.track("Search", "Covid-19", "Clicked Covid search link"); }); $('#covid-19-find-out-more-link').click(function() { PiwikAnalyticsTracker.track("Home", "Home page", "COVID-19 preprints intiative"); }); }) /*]]>*/ </script> </div> </div> <div id="app"></div><script> /*<![CDATA[*/ //survey changes function showSurvey(){ $(window).scroll(function(){ if (!navigator.cookieEnabled) { console.log("Cookie not enabled."); return; } if ($.cookie('no_impact_survey_session')) { console.log("no_impact_survey_session set."); return; } if ($.cookie('no_impact_survey_app')) { console.log("no_impact_survey_app set."); return; } $("div#europepmc_impact_survey").show(); }); } function hideSurvey() { $("div#europepmc_impact_survey").hide(); $('#ask-me-later-container').hide(); } function registerGdprAgreeClick() { var gdprAgreeIntervalId = setInterval(function() { var gdprBannerDisplay = $('#data-protection-banner').css('display'); if (!gdprBannerDisplay || gdprBannerDisplay === 'none') { console.log('No GDPR banner...') showSurvey(); clearInterval(gdprAgreeIntervalId); return; } console.log('GDPR Interval...') var agreeLink = $("#data-protection-agree"); if (agreeLink) { $("#data-protection-agree").click(function(){ showSurvey(); }); console.log('GDPR Interval stop') clearInterval(gdprAgreeIntervalId) } }, 100); } function repopupSurvey() { setTimeout(function(){ console.log("no_impact_survey_session set. timeout."); if ($.cookie('no_impact_survey_app')) { return; } if ($.cookie('no_impact_survey_session')) { $("div#europepmc_impact_survey").show(); $('#ask-me-later-container').hide(); $.cookie('no_impact_survey_session', null); } }, 120000); } function askMeLater() { $.cookie('no_impact_survey_session', 1); hideSurvey(); $('#ask-me-later-container').show(); repopupSurvey(); } function donnotShowMeAgain() { $.cookie('no_impact_survey_app', 1, {expires : 365}); hideSurvey(); } $(document).ready(function(){ console.log("inside document ready"); $("div#impact_survey_close").click(function(){ askMeLater(); }); $("#europepmc_impact_survey button").bind("click", function(){ donnotShowMeAgain(); }); $("#ask-me-later-container").bind("click", function(){ donnotShowMeAgain(); $.cookie('no_impact_survey_session', null, {path : '/'}); }); $("a#impact_askMeLater").click(function(){ askMeLater(); }); $("a#impact_donnotShowMeAgain").click(function(){ donnotShowMeAgain(); }); if (document.cookie.split(';').some((item) => item.trim().startsWith('no_impact_survey_session='))) { $('#ask-me-later-container').show(); } registerGdprAgreeClick(); //repopupSurvey(); }) // can be removed when moving to Vue window.onload = function () { if (window.location.pathname !== '/') { changeLinks(document.querySelectorAll("#epmc_mainNav a"), "./", "/"); changeLinks(document.querySelectorAll(".top-menu--my-account, .top-menu--manage-account"), "./", "/accounts/"); changeLinks(document.querySelectorAll(".top-menu--my-account, .top-menu--manage-account"), "/accounts/accounts/", "/accounts/"); function changeLinks(links, source, target) { if (links.length) { var length = links.length; for(var i=0; i<length; i++) { var link = links[i]; var href = link.getAttribute("href"); if (href.startsWith(source)) { link.setAttribute("href", href.replace(source, target)); } } } } } if (window.location.href.includes('orcid/auth/autoclose?auth=true')) { if (window.opener === undefined || window.opener === null) { localStorage.setItem( 'ORCID_AUTH_SUCCEEDED', urlParams('auth', window.location.href) ) if (urlParams('iesupport', window.location.href) == null) createHiddenIframe() } else { window.opener.postMessage( urlParams('auth', window.location.href), window.location.protocol + '//' + window.location.host ) window.opener.postMessage( urlParams('auth', window.location.href), window.location.protocol + '//' + window.location.host ) } window.close() } function urlParams(name, url) { const results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(url) return results === null ? null : decodeURI(results[1]) || 0 } function createHiddenIframe() { const iframe = document.createElement('iframe') const url = window.location.href + '&iesupport=true' iframe.setAttribute('id', 'orcid-auth-redirect') iframe.style.display = 'none' iframe.style.border = 'none' iframe.width = 0 iframe.height = 0 iframe.src = url.indexOf('https:') !== -1 ? url.replace('https:', 'http:') : url.replace('http:', 'https:') document.body.appendChild(iframe) } } /*]]>*/ </script><script src="/js/chunk-vendors.d1b5dc9a.js"></script><script src="/js/app.a28cc023.js"></script> </div> <script type="text/javascript" src="/Scripts/wz_tooltip.js?v=1.1.1"></script> <script type="text/javascript"> /*<![CDATA[*/ /**$(document).ready(function(){ $('#container-1 > ul').tabs(); });*/ /*]]>*/ </script> <script type="text/javascript"> /*<![CDATA[*/ var width = $(window).width(); if (width < 700) { /* $('#feedback-container').css('top', '44px'); */ /* $('#feedback-container').css('position', 'absolute'); */ $('#feedback-container').draggable(); } else { //@date 23/08/2016 https://www.ebi.ac.uk/panda/jira/browse/CIT-2216 //$('#feedback-container').css('top', height - 39 + 'px'); //$('#feedback-container').css('position', 'fixed'); } /*]]>*/ </script> <style> /*<![CDATA[*/ @media screen and (max-width: 870px) { #feedback-container { top: 44px; bottom: auto; position: absolute; } } /*]]>*/ </style> <script type="text/javascript"> /*<![CDATA[*/ jQuery.cachedScript = function (url, options) { // Allow user to set any option except for dataType, cache, and url options = jQuery.extend(options || {}, { dataType: "script", cache: true, url: url }); // Use $.ajax() since it is more flexible than $.getScript // Return the jqXHR object so we can chain callbacks return jQuery.ajax(options); }; jQuery.cachedCss = function (url, options) { // Allow user to set any option except for dataType, cache, and url options = jQuery.extend(options || {}, { dataType: "text", cache: true, url: url }); // Use $.ajax() since it is more flexible than $.getScript // Return the jqXHR object so we can chain callbacks return jQuery.ajax(options); }; /*]]>*/ </script> <script type="text/javascript"></script> <noscript></noscript> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10