objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
    objects[i].outerHTML = objects[i].outerHTML;
}


	
function cambiaAlto(alto)
	{
	ob1 = document.getElementById('flash1')
	ob1.style.height = alto 
	}


function ventanaVideos(video)
	{
	abrirPopUp('popup-reels.php?video=video_reels/'+video,470,390,"Reels");
	}
	
	
function ventanaVideos2(video)
	{
	abrirPopUp('popup-reels2.php?video=video_reels/'+video,790,630,"Reels2");
	}
		
	
function ventanaOnset(foto)
	{
	abrirPopUp('popup-onset.php?foto=imgs_onset/'+foto,600,600,"foto");
	}	


function abrirPopUp(ventana,ancho,alto,nombreVentana)
	{
	var x=screen.width/2 - (ancho/2); 
	var y=screen.height/2 - (alto/2);
	NewWindow=window.open(ventana,nombreVentana,'width=' + ancho + ',height=' + alto +',left=' + x + ',top=' + y + ',toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');
	NewWindow.focus(); 
	void(0);
	}
		
