function showHideTextPart(){var A=document.getElementById("artwithdynpart");if(A){var B=A.getElementsByTagName("h4");var D=A.getElementsByTagName("div");for(var C=0;C<B.length;C++){D[C].style.display="none";B[C].toShowHide=D[C];B[C].onclick=function(){this.toShowHide.style.display=this.toShowHide.style.display=="block"?"none":"block";};}}}Util.Event.addHandler(window,"load",showHideTextPart);function initSideList(A){$(A).find("dd").not(".active").css("display","none");$(A).find("dt").each(function(B){$(this).click(function(){$(A).find("dd").eq(B).animate({height:"toggle",opacity:"toggle"},"slow");$(this).toggleClass("active");return false;}).hover(function(){$(this).addClass("hover");},function(){$(this).removeClass("hover");});});}$(document).ready(function(){$(".sorting-view #articleCategory option[value='articleCategory37359']").remove();$(".confirm-checkbox .articlecontent").hide();function A(){if($(".confirm-checkbox input:checked").length>0){$(".confirm-checkbox .articleabstract").hide();
$(".confirm-checkbox .articlecontent").show();}}A();$(".confirm-checkbox button").click(function(){A();});initSideList("#faq");if(typeof eipf!="undefined"){if(typeof eipf.faq!="undefined"){eipf.faq.initFaqGear({autohide:true});}}});function insertLink(B,A){$("#productInfoHermes table").eq(0).find("tr:last").after('<tr><td colspan="2"><a href="'+B+'" class="pdfLink reactive">'+A+"</a></td></tr>");}function displayLinks(F,G){for(var C=0;C<G.length;C++){if(G[C].id==F){for(var A=0;A<G[C].urls.length;A++){var D=G[C].urls[A];var E=" (FGL)";if(D.indexOf("/products/rcp_")>-1){var E=" (RCP)";}var B=G[C].name+E;insertLink(D,B);}}}}$(document).ready(function(){if($("span#page_id").text()=="re79050"&&$("#productInfoHermes").length>0){$.getJSON("/portal/templates/europe/corporate/style/js/hermes-mapping-pdf.json",function(B){var D=(B.pdfTable);var A=""+window.location;var C=A.split("&")[3].split("=")[1];displayLinks(C,D);});}});