function addEvent(a,b,c){if(a.addEventListener)a.addEventListener(b,c,false);else if(a.attachEvent){a["e"+b+c]=c;a[b+c]=function(){a["e"+b+c](window.event)};a.attachEvent("on"+b,a[b+c])}};function initAnalytics(){if(_gat&&_gat._getTracker){try{var a=_gat._getTracker("UA-209576-1");a._trackPageview()}catch(err){}}};function initFriendConnect(a){if(google&&google.friendconnect&&window.XMLHttpRequest){var b=document.createElement("div");b.id="social-core";document.body.appendChild(b);var c={};c["BORDER_COLOR"]="#e5e5e5";c["ENDCAP_BG_COLOR"]="#f1f1f1";c["ENDCAP_TEXT_COLOR"]="#666666";c["ENDCAP_LINK_COLOR"]="#cc0088";c["ALTERNATE_BG_COLOR"]="#f1f1f1";c["CONTENT_BG_COLOR"]="#ffffff";c["CONTENT_LINK_COLOR"]="#cc0088";c["CONTENT_TEXT_COLOR"]="#333333";c["CONTENT_SECONDARY_LINK_COLOR"]="#cc0088";c["CONTENT_SECONDARY_TEXT_COLOR"]="#333333";c["CONTENT_HEADLINE_COLOR"]="#000000";c["POSITION"]="bottom";if(a=="de"){c["DEFAULT_COMMENT_TEXT"]="Ihr Kommentar";c["HEADER_TEXT"]="Kommentare";google.friendconnect.container.setParentUrl("/");google.friendconnect.container.renderSocialBar({id:"social-core",locale:"de",site:"11566686978894603777","view-params":{"scope":"PAGE","allowAnonymousPost":"true","features":"comment","showWall":"true"}},c)}else{c["DEFAULT_COMMENT_TEXT"]="";c["HEADER_TEXT"]="";google.friendconnect.container.setParentUrl("/en/");google.friendconnect.container.renderSocialBar({id:"social-core",locale:"en",site:"11566686978894603777","view-params":{"scope":"PAGE","showWall":"false"}},c)}document.body.id="social"}};function launchWindow(a,b,c,d){var e;if(b&&b.type=="keypress"){if(b.keyCode){e=b.keyCode}else if(b.which){e=b.which}if(e!=13&&e!=32){return true}}var f=window.open(a,"win","scrollbars,resizable,location,menubar,status,toolbar");f.focus();return false};function initLinks(){if(document.getElementsByTagName){var b=document.getElementsByTagName("a");var c,linkTitleHint;for(var i=0;i<b.length;i++){if(b[i].getAttribute("href")&&((b[i].getAttribute("rel")=="doc")||(b[i].getAttribute("rel")=="help"))){b[i].onclick=function(a){return launchWindow(this,a)};b[i].onkeypress=function(a){return launchWindow(this,a)}}}}};function initSearch(){if(document.getElementById("search")){var a=document.getElementById("search");document.getElementById("search-aux").removeAttribute("href");if(a.style.display=="block"){a.style.display="none"}else{a.style.display="block";document.getElementById("q").focus()}}};function initAds(){if(document.getElementById("ad-aux"))document.getElementById("ad-aux").setAttribute("id","ad")};function initTranscripts(){if(document.getElementById("transcript")){var a=document.getElementById("transcript");var b=document.getElementById("transcript-aux");if(a.style.display=="none"){a.style.display="block";b.removeAttribute("href");b.style.display="none"}}};function init(){initLinks();if(document.getElementById("search-aux"))addEvent(document.getElementById("search-aux"),"click",initSearch);initAds();if(document.getElementById("transcript-aux")){document.getElementById("transcript").style.display="none";addEvent(document.getElementById("transcript-aux"),"click",initTranscripts)}};addEvent(window,"load",init);