// JavaScript Document
		
	var i=1;	
	var reproductor="player_flv.swf";
	
	function abrirVideo(video, tam_ventana_x, tam_ventana_y, tam_video_x, tam_video_y) { 
		
		var tamano_Ventana="width="+tam_ventana_x+",height="+tam_ventana_y;
		i=i+1;

		
		//Abrimos una pagina vacía
		ventana = window.open("",i,tamano_Ventana);		

		//Escribimos el codigo
		ventana.document.writeln('<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Aciplas</title><link href="css/estilosPopupVideo.css" rel="stylesheet" type="text/css" /></head><body ><object type="application/x-shockwave-flash" data="player_flv.swf" width="'+tam_video_x+'" height="'+ tam_video_y +'">')
		
		
		//Escribimos el reproductor
		ventana.document.writeln('<param name="movie" value="'+reproductor+'" />');
		
		//Escribimos los parámetros
		ventana.document.writeln('<param name="FlashVars" value="flv='+ video +'&amp;width='+tam_video_x+'&amp;height='+tam_video_y+'&amp;showvolume=1&amp;showtime=1&amp;autoload=1&amp;autoplay=1"/><param name="wmode" value="transparent" /></object>');		

		//Escribimos el resto de codigo
		ventana.document.writeln('</body></html>');
		ventana.document.close();
		
		
	}