		// some variables to save
		var currentPosition;
		var lastSecond = false;
		var bannerStartet = false;
		var index = 0;

	function getUpdate(typ,pr1,pr2,pid) {
			if(typ == "time") { currentPosition = pr1; }


			if((currentPosition == 2)) lastSecond = true;
			if(lastSecond && (currentPosition == 0) &&  !bannerStartet){
				lastSecond = false;
				index++;

				if(index == getLength()){
					startBanner();
				}
			}
		};


		// This is a javascript handler for the player and is always needed.
		function thisMovie(movieName) {
		    if(navigator.appName.indexOf("Microsoft") != -1) {
				return window[movieName];
			} else {
				return document[movieName];
			}
		};

		function getLength()
		{ 
	  		return thisMovie("mpl").getLength();
		};

		function startBanner(){

			bannerStartet = true;
			document.getElementById("banner").innerHTML = '<a href="index.php" id="rotator_link_2"><img src="" width="425" height="240" alt="Banner" id="rotator_2" style="border:0px;"/></a>';
			document.getElementById('rotator_2').src = b_2[0].src;
			document.getElementById('rotator_link_2').href = h_2[0];
			document.getElementById('rotator_link_2').target = t_2[0];

			// Rotator starten
			window.setTimeout("TunnelBannerRotator(0, 2, b_2, h_2, t_2)", 0);
		};
