    var busleft=-200;
	var maxleft=screen.width;
	function setMarker(nr) {
		switch (nr)
		{
		case 1: document.getElementById('marker').style.left="53px";break;
		case 2: document.getElementById('marker').style.left="140px";break;
		case 3: document.getElementById('marker').style.left="218px";break;
		case 4: document.getElementById('marker').style.left="312px";break;
		case 5: document.getElementById('marker').style.left="432px";break;
		case 6: document.getElementById('marker').style.left="527px";break;
		case 7: document.getElementById('marker').style.left="637px";break;
		}
    }
	  function busmove(){
         document.getElementById("bus1").style.left = position+"px";
         if (position>(screen.width+25))
            {position=-250;}
         else
            {position=position+1;}
         setTimeout("busmove()", "20");
      }


    function busmove()
	{
		document.getElementById('bus').style.left=busleft+"px";
		if (busleft>maxleft+300) {busleft=-200;}
		else {busleft=busleft+2;}
		setTimeout("busmove()","30");
	}
	function drawbus(){
    document.getElementById('csslink').href="css/busstyle.css";
	document.write('<div id="busstreet" style="height:50px; width:100%; position:absolute; top:100px; background:#00ff00; overflow:hidden; background:url(\'pics/busbar.gif\');"><div id="bus"><img src="pics/bus.gif" /></div></div>');
    setTimeout("busmove();",30);
	}


	  //Div
		var divBGAlpha=0;
		var divStatus='null';
		var dWidth;
		var dHeight;
		var divWidth;
		var divHeight;
		var divData;
		function showDiv(data,w,h){
			divData=data;
			dWidth=w;
			dHeight=h;
			divWidth=100;
			divHeight=50;
			bgDiv=document.createElement("div");
			bgDiv.id='_divViewBG';
			bgDiv.name='_divViewBG';
			bgDiv.style.zIndex='104';
			bgDiv.style.position='absolute';
			bgDiv.style.background='#000000';
			bgDiv.style.display='block';
			bgDiv.style.filter = "alpha(opacity:"+divBGAlpha+")";
			bgDiv.style.KHTMLOpacity = divBGAlpha/100;
			bgDiv.style.MozOpacity = divBGAlpha/100;
			bgDiv.style.opacity = divBGAlpha/100;
			bgDiv.style.width=document.documentElement.clientWidth+'px';
			bgDiv.style.height=document.documentElement.clientHeight+'px';
			bgDiv.style.top=document.documentElement.scrollTop+'px';
			bgDiv.style.left='0px';
			document.getElementsByTagName('body')[0].appendChild(bgDiv);
			if (document.addEventListener) { document.getElementById('_divViewBG').addEventListener("click", function(e) { divStatus='fadeOut'; fadeOutPic(); }, true); }
			else { document.getElementById('_divViewBG').onclick = function(e) { divStatus='fadeOut'; fadeOutPic(); }; }
			newDiv=document.createElement("div");
			newDiv.id='_divView';
			newDiv.name='_divView';
			newDiv.style.zIndex='105';
			newDiv.style.position='absolute';
			newDiv.style.background='#ffffff';
			newDiv.style.border='1px solid #000000';
			newDiv.style.display='none';
			//newDiv.style.textAlign='center';
			document.getElementsByTagName('body')[0].appendChild(newDiv);
			divStatus='fadeIn';
			fadeInPic();
		}
		function fadeInPic(){
			divBGAlpha=divBGAlpha+5;
			bgDiv=document.getElementById('_divViewBG');
			bgDiv.style.filter = "alpha(opacity:"+divBGAlpha+")";
			bgDiv.style.KHTMLOpacity = divBGAlpha/100;
			bgDiv.style.MozOpacity = divBGAlpha/100;
			bgDiv.style.opacity = divBGAlpha/100;
			if(divStatus=='fadeIn' && divBGAlpha<80) {
				setTimeout("fadeInPic();",40);
			}
			else if(divStatus=='fadeIn') {
				divStatus='resizePic';
				resizePic();
			}
		}
		function fadeOutPic(){
			divBGAlpha=divBGAlpha-10;
			bgDiv=document.getElementById('_divViewBG');
			bgDiv.style.filter = "alpha(opacity:"+divBGAlpha+")";
			bgDiv.style.KHTMLOpacity = divBGAlpha/100;
			bgDiv.style.MozOpacity = divBGAlpha/100;
			bgDiv.style.opacity = divBGAlpha/100;
			if(divStatus=='fadeOut' && divBGAlpha>0) {
				div=document.getElementById('_divView');
				div.style.display='none';
				setTimeout("fadeOutPic();",30);
			}
			else if(divStatus=='fadeOut') {
				document.getElementsByTagName('body')[0].removeChild( document.getElementById('_divViewBG') );
				document.getElementsByTagName('body')[0].removeChild( document.getElementById('_divView') );
			}
		}
		function resizePic(){
			if( divStatus=='resizePic' ){
				if(divWidth<dWidth) divWidth=Math.min(divWidth+10,dWidth);
				if(divHeight<dHeight) divHeight=Math.min(divHeight+10,dHeight);
				if(divWidth>dWidth) divWidth=Math.max(divWidth-10,dWidth);
				if(divHeight>dHeight) divHeight=Math.max(divHeight-10,dHeight);
				document.getElementById('_divView').style.top=(document.documentElement.clientHeight-divHeight)/2+document.documentElement.scrollTop+'px';
				document.getElementById('_divView').style.left=( (document.documentElement.clientWidth-divWidth)/2 )+'px';
				document.getElementById('_divView').style.height=divHeight+'px';
				document.getElementById('_divView').style.width=divWidth+'px';
				div=document.getElementById('_divView');
				div.style.display='block';
				if( (divWidth!=dWidth) || (divHeight!=dHeight) )
					setTimeout("resizePic();",30);
				else 
					div.innerHTML=divData;
			}
		}

	var inner1='<object id="innerfilm" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="500" height="320" id="Untitled-1" align="middle">'+"\n"+
					'<param name="XFlashVars" Value="VidName=';
	var inner2='" />'+"\n"+
					'<param name="allowScriptAccess" value="sameDomain" />'+"\n"+
					'<param name="allowFullScreen" value="true" />'+"\n"+
					'<param name="movie" value="video480-270.swf';
	var inner2b='" /><param name="quality" value="high" /><param name="bgcolor" value="#ff9900" />	<embed name="innerfilm" src="video480-270.swf';
	var inner2c='" quality="high" bgcolor="#ff9900" width="500" height="320" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" XFlashVars="VidName=';
	var inner3='.flv" />'+"\n"+
				'</object>'+"\n";
	function closeFilm(){
		document.getElementById('film').style.display='none';
		document.getElementById('film').innerHTML='';
	}
	function loadFilm(fname) {
		var now=new Date();
		var mil=now.getTime();
		document.getElementById('film').style.display='block';
		document.getElementById('film').innerHTML='';
		var tmpstr=inner1+inner2+'?VidName='+fname+'.flv&d='+mil+inner2b+'?VidName='+fname+'.flv&d='+mil+inner2c+inner3;
		tmpstr+='<p style="margin:0px; padding:10px 0px 0px 0px;text-align:center;"><a target="_new" style="color:#553300;" href="http://www.busandcoach.travel/en/">http://www.busandcoach.travel</a><br /><br />';
		tmpstr+='<a style="color:#553300;" href="http://www.busandcoach.travel/de/" onClick="closeFilm();return false;">close Video</a></p>';
		document.getElementById('film').innerHTML=tmpstr;
	}