(function(){return function(r,e){var o=loadHelper("stripHeaderForDomain.js")[e],a=loadHelper("stripFooterForDomain.js")[e],s=loadHelper("stripBodyForDomain.js")[e],i={header:o,footer:a,body:s};for(var n in i)i[n]&&i[n].forEach(function(e,o){var a=r.search(e);if(a>-1)switch(n){case"header":r=r.substring(a);break;case"body":r=r.replace(e,o%2==0?i[n][o+1]:i[n][o]);break;case"footer":r=r.substring(0,a)}});return r}}).call();