/* Flash Video Wechsel */
function createFlashVideo(file, id, width, height, description){
	var so1 = new SWFObject("./swf/player.swf", "mainflash_1", width, height, "8", "");
	so1.addParam("wmode", "transparent");
	so1.addParam("swLiveConnect", "true");
	so1.addParam("allowScriptAccess", "always");
	so1.addParam("flashvars", "file="+file+"");
	so1.addParam("allowfullscreen", "true");
	so1.write("flash_1");
	counter = 0;
	while(document.getElementById('vid'+counter)){
		document.getElementById('vid'+counter).style.display = 'block';
		document.getElementById('vid'+counter).style.paddingRight = '0px';
		counter++;
	}
	if(id == 'vid0'){
		document.getElementById('vid1').style.paddingRight = '15px';
	}
	if(id == 'vid1' || id == 'vid2'){
		document.getElementById('vid0').style.paddingRight = '15px';
	}
	document.getElementById('videoDescription').innerHTML = document.getElementById(id+'Desc').innerHTML;
	document.getElementById(id).style.display = 'none';
	return false;
}