			var currentPosition;
			var currentVolume;
			var status;
			function sendEvent(typ,prm) {
				thisMovie("mediaplayer").sendEvent(typ,prm);
			};
			function loadFile(file,title,link,id,image,author,captions,category,start,type) {
				thisMovie("mediaplayer").loadFile(file,title,link,id,image,author,captions,category,start,type);
			};
			function thisMovie(movieName) {
				if(navigator.appName.indexOf("Microsoft") != -1) {
					return window[movieName];
				} else {
					return document[movieName];
				}
			};
			function getUpdate(typ,pr1,pr2) {
				if(typ=="state")
					status = pr1;
			};
			function popup ( link , typ ){
				if(typ==3){
					if(status==2){
						sendEvent('playpause');
					}
				}
				popupFenster = window.open(link, "popupFenster", "width="+(screen.availWidth-10)+",height="+(screen.availHeight-40)+",left=0,top=0");
				popupFenster.focus();
			}
			function popup_klein ( link ){
				popupFenster = window.open(link, "popupFenster", "width=600,height=400,left=0,top=0,scrollbars=yes");
				popupFenster.focus();
			}
			var py,wy,ps;
			function grunddaten(){
				if (self.pageYOffset){
					py = self.pageYOffset;
				} else if (document.documentElement && document.documentElement.scrollTop){
					py = document.documentElement.scrollTop;
				} else if (document.body){
					py = document.body.scrollTop;
				}
				if (self.innerHeight){
					wy = self.innerHeight;
				} else if (document.documentElement && document.documentElement.clientHeight){
					wy = document.documentElement.clientHeight;
				} else if (document.body){
					wy = document.body.clientHeight;
				}

				var obj = document.getElementById("flash");
				var pos = {top:0};

				if(typeof obj.offsetTop != 'undefined'){
				   while (obj){
				       pos.top += obj.offsetTop;
				       obj = obj.offsetParent;
				   }
				}else{
				   pos.top = obj.top ;
				}
				ps=pos.top;

				np=wy-pos.top-100+py;
				document.getElementById("flash").style.top=np+"px";
				var aktiv = window.setInterval("positionieren()", 1); 
				document.getElementById("flash").style.visibility="visible";
			}
			function positionieren(){
				if (self.pageYOffset){
					py = self.pageYOffset;
				} else if (document.documentElement && document.documentElement.scrollTop){
					py = document.documentElement.scrollTop;
				} else if (document.body){
					py = document.body.scrollTop;
				}
				if (self.innerHeight){
					wy = self.innerHeight;
				} else if (document.documentElement && document.documentElement.clientHeight){
					wy = document.documentElement.clientHeight;
				} else if (document.body){
					wy = document.body.clientHeight;
				}

				np=wy-ps-100+py;
				cp=document.getElementById("flash").style.top.substr(0,document.getElementById("flash").style.top.length-2);
				dif=Math.ceil((cp-np)/10);
				xp=Math.ceil(cp)-Math.ceil(dif);
				document.getElementById("flash").style.top=Math.max(xp,0)+"px";
			}
