Drucken 
 
(function($){ 
 var g,d,j=1,a,b=this,f=!1,h="postMessage",e="addEventListener",c,i=b[h]&&!$.browser.opera;$[h]=function(k,l,m){if(!l){return}k=typeof k==="string"?k:$.param(k);m=m||parent;if(i){m[h](k,l.replace(/([^:]+:\/\/[^\/]+).*/,"$1"))}else{if(l){m.location=l.replace(/#.*$/,"")+"#"+(+new Date)+(j++)+"&"+k}}};$.receiveMessage=c=function(l,m,k){if(i){if(l){a&&c();a=function(n){if((typeof m==="string"&&n.origin!==m)||($.isFunction(m)&&m(n.origin)===f)){return f}l(n)}}if(b[e]){b[l?e:"removeEventListener"]("message",a,f)}else{b[l?"attachEvent":"detachEvent"]("onmessage",a)}}else{g&&clearInterval(g);g=null;if(l){k=typeof m==="number"?m:typeof k==="number"?k:100;g=setInterval(function(){var o=document.location.hash,n=/^#?\d+&/;if(o!==d&&n.test(o)){d=o;l({data:o.replace(n,"")})}},k)}}} 
 var checkSpobox=function(a,b,h){var c=$("body #spobox"),f=c.find("a"),d=$("meta[name=robots]"),g;if(c.length!==1){g='The BODY element must contain exactly one DIV tag with id "spobox"!'}else{if(f.length!==1){g='The DIV element "spobox" must contain exactly one A tag!'}else{if(f.attr("href")!==a){g="The link's href attribute must match \""+a+'"!'}else{if(f.html()!==b){g="The link's label must match \""+b+'"!'}else{if(f.attr("title")!==h){g="The link's title attribute must match \""+h+'"!'}else{if(f.attr("rel").match(/nofollow/)){g='The link\'s rel attribute must not match "nofollow"!'}else{if(d.length!==0){if(d.attr("content").match(/nofollow/)){g="There must not be a nofollow META tag!"}else{if(d.attr("content").match(/noindex/)){g="There must not be a noindex META tag!"}}}}}}}}}if(g){alert("Error: "+g+"\n\nSpobox integration has been disabled.")}else{return true}}; 
 if (checkSpobox("http://www.spobox.tv/tischtennis", "Tischtennis Bundesliga live Videos", "Tischtennis Bundesliga live und on demand auf spobox.tv")) { 
 $.receiveMessage(function(e,h){(h = e.data.match(/documentHeight=(\d+)/)) ? $("#spoboxIframe").height(h[1]+"px") : ""},"http://www.spobox.tv"); 
 $("#spoboxContainer").replaceWith(''); 
 } 
})(jQuery);