var webtrekkData = {"contentGroup":{"1":"all","4":"Kempten"},"pageTitle":"","pageUrl":"","fehlerseite":"0","domain":"www.all-in.de","portal":"all","pageType":"Beitragsdetailseite","quantitySearchResults":"","internalSearch":"","loginSession":"","environment":"","imagesCount":"3","tag":"","erfasser":{"vorname":"","nachname":"System"},"articleTitle":"Die Enkel des W\u00fcstenfuchses Erwin Rommel leben in Kempten","daysSincePublication":"4473","publication":"23.03.2012","publisherTime":"00:00","contentId":"161361","wordCount":"579","contentGroup4":"Kempten"}; function htmldecode (str){ var txt = document.createElement('textarea'); txt.innerHTML = str; return txt.value; } webtrekkData["pageUrl"] = window.location.href; webtrekkData["contentGroup"][2] = location.pathname.split('/')[1]; webtrekkData["contentGroup"][3] = location.pathname.split('/')[2]; webtrekkData["pageTitle"] = htmldecode(document.getElementsByTagName("title")[0].innerHTML); if ( window.innerWidth < 640 ) { webtrekkData["environment"] = "small (0-639px)"; } else if ( window.innerWidth >= 640 && window.innerWidth < 1000 ) { webtrekkData["environment"] = "medium (640-999px)"; } else if ( window.innerWidth >= 1000 && window.innerWidth < 1200 ) { webtrekkData["environment"] = "large (1000-1199px)"; } else if ( window.innerWidth >= 1200 && window.innerWidth < 1440 ) { webtrekkData["environment"] = "xlarge (1200-1439px)"; } else if ( window.innerWidth >= 1440 ) { webtrekkData["environment"] = "xxlarge (>1440px)"; } // merge window._ti with updated webtrekkData if ( typeof window._ti !== 'undefined' ) { window._ti = extend(window._ti, webtrekkData); } else { window._ti = webtrekkData; } // Call this function for opt-out. function webtrekkOptOut() { var img = new Image(); img.src = "https://responder.wt-safetag.com/517717528680725/optout"; } // load webtrekk window._tiConfig = window._tiConfig || { tiDomain: "responder.wt-safetag.com", tiId: "517717528680725", option: {} }; /** start TagIntegration loader */ (function(a,d,c,f){a.wts=a.wts||[];var g=function(b){var a="";b.customDomain&&b.customPath?a=b.customDomain+"/"+b.customPath:b.tiDomain&&b.tiId&&(a=b.tiDomain+"/resp/api/get/"+b.tiId+"?url="+encodeURIComponent("https://"+d.location.host+"/")+"&v=5");if(b.option)for(var c in b.option)a+="&"+c+"="+encodeURIComponent(b.option[c]);return a};if(-1===d.cookie.indexOf("wt_r=1")){var e=d.getElementsByTagName(c)[0];c=d.createElement(c);c.async=!0;c.onload=function(){if("undefined"!==typeof a.wt_r&&!isNaN(a.wt_r)){var b= new Date,c=b.getTime()+1E3*parseInt(a.wt_r);b.setTime(c);d.cookie="wt_r=1;path=/;expires="+b.toUTCString()}};c.onerror=function(){"undefined"!==typeof a.wt_mcp_hide&&"function"===typeof a.wt_mcp_hide.show&&(a.wt_mcp_hide.show(),a.wt_mcp_hide.show=function(){})};c.src="//"+g(f);e.parentNode.insertBefore(c,e)}})(window,document,"script",_tiConfig); /** end TagIntegration loader */