document.write('<script type="text/javascript" src="/system/js/swfobject.js"></script>');

var glob_video = '';

function init(video,id,width,hight) {
	if (typeof id == 'undefined') { id = 'film' }
	if (typeof width == 'undefined') { width = '720'; }	
	if (typeof height == 'undefined') { height = '328'; }

	glob_video = video;

	filmdiv = document.getElementById("film");

	filmdiv.innerHTML = "<br><br><br><div class='hinweis'><h2>Hinweis:</h2> Das folgende Video wird von einem externen Server bereitgestellt<br> und liegt ausserhalb unserer Verantwortung. <br><br><br> Sie werden automatisch zum Video weitergeleitet.</div>";

	setTimeout(function(){filmstart(id,width,height)},3000);

}



function filmstart(id, width, height) {
	if (typeof id == 'undefined') { id = 'film' }
	if (typeof width == 'undefined') { width = '720'; }	
	if (typeof height == 'undefined') { height = '328'; }

	var so = new SWFObject(glob_video, id, width, height, "8", "#FFFFFF");

	  so.addParam("wmode", "transparent");

	  so.write("film");

}


