function showItem(b,c){document.getElementById(b+c).style.display="block"}function hideItem(b,c){document.getElementById(b+c).style.display="none"}function teaserRandom(b,c){a=Math.random();a=Math.round(a);if(a){document.getElementById(c).style.display="none";document.getElementById(b).style.display="block"}}function getPlayerDiv(){return document.getElementById("playerdiv")}function getCloseDiv(){return document.getElementById("closediv")}function getWinHeight(){if(window.innerWidth){h=window.innerHeight}else{if(document.body){h=document.body.clientHeight;if(document.body.offsetHeight==h&&document.documentElement&&document.documentElement.clientHeight){h=document.documentElement.clientHeight}}}return h}function getWinWidth(){if(window.innerWidth){h=window.innerWidth}else{if(document.body){h=document.body.clientWidth;if(document.body.offsetWidth==h&&document.documentElement&&document.documentElement.clientWidth){h=document.documentElement.clientWidth}}}return h}function keepPosition(){try{var d=getPlayerDiv();var f=getCloseDiv();var b=parseInt(getWinHeight());var c=parseInt(getWinWidth());var g;if(typeof window.pageYOffset!="undefined"){g=window.pageYOffset}else{if(typeof document.compatMode!="undefined"&&document.compatMode!="BackCompat"){g=document.documentElement.scrollTop}}if(typeof g=="undefined"){g=(window.pageYOffset)?window.pageYOffset:document.body.scrollTop}g=parseInt(g);var i;if(typeof window.pageXOffset!="undefined"){i=window.pageXOffset}else{if(typeof document.compatMode!="undefined"&&document.compatMode!="BackCompat"){i=document.documentElement.scrollLeft}}if(typeof i=="undefined"){i=(window.pageYOffset)?window.pageXOffset:document.body.scrollLeft}i=parseInt(i);var e=parseInt(d.style.height);var j=parseInt(d.style.width);d.style.top=(g+parseInt(b/2)-parseInt(e/2))+"px";d.style.left=(i+parseInt(c/2)-parseInt(j/2))+"px";f.style.top=g+"px";f.style.left=i+"px";f.style.width=c+"px";f.style.height=b+"px"}catch(k){}}window.setInterval("keepPosition()",100);function hidePlayer(){var b=getPlayerDiv();var c=getCloseDiv();b.style.display="none";c.style.display="none"}function showPlayer(){var b=getPlayerDiv();var c=getCloseDiv();w=640;h=460;b.style.display="block";c.style.display="block";b.style.width=parseInt(w)+"px";b.style.height=parseInt(h)+"px";b.style.zIndex=3000;c.style.zIndex=2000;try{flowplayer("playerdiv","/layouts/web/547/de/flash/flowplayer.swf",{key:flowplayerkey,plugins:{controls:{timeColor:"#f0f0f0",buttonOverColor:"#949494",progressGradient:"none",durationColor:"#ffffff",sliderColor:"#000000",volumeSliderColor:"#000000",buttonColor:"#000000",backgroundColor:"#222222",bufferColor:"#666666",volumeSliderGradient:"none",progressColor:"#999999",sliderGradient:"none",tooltipTextColor:"#ffffff",backgroundGradient:"none",borderRadius:"0px",timeBgColor:"#555555",tooltipColor:"#7d7d7d",bufferGradient:"none",height:20,opacity:1},content:{url:"flowplayer.content.swf",height:h,width:w,opacity:0,display:"none",html:'<a href="/547/Anmelden/38" class="container"><img src="/layouts/web/547/de/images/blank.gif" alt="" width="640" height="460" /></a>',style:{".container":{margin:0}}}},play:{opacity:1},playlist:[{url:"/layouts/web/547/de/images/vod_trailer_picStart.jpg",scaling:"orig"},{url:"/layouts/web/547/de/flash/vodTrailer.flv",autoPlay:false},{url:"/layouts/web/547/de/images/vod_trailer_picEnde.jpg",scaling:"orig",onFinish:function(f){var e=this.getPlugin("content");e.show();this.getPlugin("play").hide()}}]})}catch(d){}};