var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function phoneMenu(){oldie||($=jQuery,zen_cochrane_mq=window.matchMedia("(min-width: 481px)"),not_phone=zen_cochrane_mq.matches?!0:!1,not_phone?$("body").removeClass("menu-js"):$("body").addClass("menu-js"))}function healthevidencecookie(){var e=new Date;e.setTime(e.getTime()+15552e6);var t="expires="+e.toUTCString();document.cookie="healthevidence=1; "+t+"; path=/"}function isIE(e,t){var i,a="IE",n=document.createElement("B"),o=document.documentElement;return e&&(a+=" "+e,t&&(a=t+" "+a)),n.innerHTML="',o.appendChild(n),i=!!document.getElementById("iecctest"),o.removeChild(n),i}var zen_cochrane_mq=window.matchMedia("(min-width: 481px)"),not_phone=zen_cochrane_mq.matches?!0:!1,oldie=!0;!function(e,t,i,a){t.behaviors.zen_cochrane={attach:function(){if(oldie=isIE(8,"lte"),e("#page").append('
'),e("#main-menu").prepend(''),e("#small-menu").click(function(){e("body").toggleClass("menu-show")}),e("#small-search").click(function(){e("body").toggleClass("search-show"),e("#top-search .apachesolr-autocomplete").focus()}),e("#menu-hide").click(function(){e("body").toggleClass("menu-show")}),e("#main-menu").append(e("#top-nav").clone()),phoneMenu(),e(i).resize(function(){phoneMenu()}),not_phone&&!e("body").hasClass("i18n-en")&&e("#main").css("padding-top",e("#main-menu").height()+16+"px"),!not_phone&&!oldie&&0!=e(".node-type-review").length){e("#content-inner").prepend(''),e("#sidebar-actions").append(''),e(".sidebar").each(function(){e("#information-action .content").append(e(this).html())}),e("#information-action #article-actions").remove();var t=e("#article-actions");0!=t.length&&e("#sidebar-actions").append('"),e(".sidebar-action .sidebar-button").click(function(){e(this).parent().hasClass("active")?e(".sidebar-action").removeClass("active"):(e(".sidebar-action").removeClass("active"),e(this).parent().addClass("active"))})}if(e(".search-sort-block input, .search-sort-block select").change(function(){this.form.submit()}),e("#meta-nav .has-children > a").click(function(){return e(this).parent().siblings(".active").removeClass("active"),e(this).parent().toggleClass("active"),!1}),e("#print-link").click(function(){return i.print(),!1}),e(".lexicon-term abbr").each(function(){e(this).attr("data-title",e(this).attr("title")),e(this).removeAttr("title"),e(this).parent().removeAttr("title")}),e("#block-views-latest-reviews-block .label").click(function(){e("#block-views-latest-reviews-block .latest-top").removeClass("active"),e(this).parent().addClass("active")}),e("#cochrane-library-link a").click(function(){try{ga("send","event","Cochrane Library","Main button",i.location.pathname)}catch(e){}}),e("#library-link-review a").click(function(){try{ga("send","event","Cochrane Library","Review button",i.location.pathname)}catch(e){}}),-1==a.cookie.search(/healthevidence=/)&&setTimeout(function(){e("#block-block-8 .button-close").click(function(){e("#block-block-8").removeClass("show")}),e("#block-block-8 .button-remove").click(function(){e("#block-block-8").removeClass("show"),healthevidencecookie()}),e("#block-block-8 a").click(function(){healthevidencecookie();try{ga("send","event","Health evidence overlay","Click",i.location.pathname)}catch(e){}}),e("#block-block-8").addClass("show")},5e3),!e("body").hasClass("i18n-en")&&e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp li").length>1){var n=e("#facetapi-facet-apachesolrsolr-block-im-field-terms-cochrane-library").children("li").remove();n.sort(function(t,i){return e(t).text().localeCompare(e(i).text())}),e("#facetapi-facet-apachesolrsolr-block-im-field-terms-cochrane-library").append(n)}if(e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp a.facetapi-inactive").length>10){var o=[];if(e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp a.facetapi-inactive").each(function(){for(var t=e(this).text().replace(/^.+\((\d+)\).*$/,"$1");t.length<6;)t="0"+t;t+=":"+e(this).attr("id"),o.push(t)}),o.length>10){o.sort();for(var c=0;c'+e("#jst-show-more").text()+'"),e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp .show-more").click(function(){e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp li.less-hide").addClass("less-show"),e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp .show-more").hide(),e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp .show-less").show()}),e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp .show-less").click(function(){e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp li.less-hide").removeClass("less-show"),e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp .show-less").hide(),e("#block-facetapi-dfsyagnk1souzkzxvjccchqygvviabdp .show-more").show()})}}var s=e("#country-search-box");if(0!=s.length&&(s.keyup(function(){var t=e(this).val().split(" ");e("#countries-navigation .centre").each(function(){var i=!0,a=e(this).text().toLowerCase();e.each(t,function(e,t){return-1==a.search(t.toLowerCase())?void(i=!1):void 0}),i?e(this).removeClass("hide"):e(this).addClass("hide")}),e("#countries-navigation .branch").each(function(){var i=!0,a=e(this).text().toLowerCase();e.each(t,function(e,t){return-1==a.search(t.toLowerCase())?void(i=!1):void 0}),i?(e(this).removeClass("hide"),e(this).parent().removeClass("hide")):e(this).addClass("hide")}),e("#countries-navigation .zone").each(function(){e(this).find(".centre.hide").length==e(this).find(".centre").length?e(this).addClass("hide"):e(this).removeClass("hide")})}),e("#countries-navigation a").click(function(){e("#contact-details li").addClass("hide");var t=e(e(this).attr("href"));t.removeClass("hide"),t.parents("#contact-details li").removeClass("hide"),t.find("li").removeClass("hide")})),!TypeHelpers.hasSmoothing())try{ga("send","event","No font smoothing","Load",i.location.pathname)}catch(l){}}}}(jQuery,Drupal,this,this.document),function(e){Drupal.behaviors.searchInfiniteScroll={attach:function(){e(function(){if(!this.processed&&(this.processed=!0,not_phone&&!oldie)){if(0==e(".search-results").length)return;var t=e(".search-results");t.infinitescroll({navSelector:"ul.pager",nextSelector:".pager-next a",itemSelector:".search-result",pixelsFromNavToBottom:e(document).height()-e("ul.pager").offset().top+300,pathParse:function(e){return e=e.match(/^(.*\?page=)\d+(.*|$)/).slice(1)},maxPage:parseInt(e("ul.pager .pager-last a").attr("href").match(/^.*\?page=(\d+).*|$/)[1]),state:{currPage:0},loading:{msg:e('
'+e("#jst-loading-more").text()+"
"),finishedMsg:""+e("#jst-end").text()+"",speed:0}},function(){}),e(".pager").hide()}})}}}(jQuery);var TypeHelpers=new function(){var e=this;e.hasSmoothing=function(){if("undefined"!=typeof screen.fontSmoothingEnabled)return screen.fontSmoothingEnabled;try{var e=document.createElement("canvas");e.width="35",e.height="35",e.style.display="none",document.body.appendChild(e);var t=e.getContext("2d");t.textBaseline="top",t.font="32px Arial",t.fillStyle="black",t.strokeStyle="black",t.fillText("O",0,0);for(var i=8;32>=i;i++)for(var a=1;32>=a;a++){var n=t.getImageData(a,i,1,1).data,o=n[3];if(255!=o&&0!=o)return!0}return!1}catch(c){return null}}}; } /* FILE ARCHIVED ON 08:12:41 Oct 07, 2015 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 02:37:43 Aug 26, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.848 exclusion.robots: 0.042 exclusion.robots.policy: 0.027 esindex: 0.016 cdx.remote: 8.981 LoadShardBlock: 144.946 (3) PetaboxLoader3.datanode: 105.669 (4) PetaboxLoader3.resolve: 111.675 (3) load_resource: 94.52 */