/* Funciones para el manejo de ventanas prototype */


/* Muestra contenidos en una ventana prototype, indicandole la altura y anchura de la ventana y pudiendo abrir varias veces la misma ventana */
function contenidoenventana(url, width, height)
{
	var idventana = 'ventana_contenido';
	if (eval($('ventana_contenido')) != null)
	{
		idventana = 'ventana_contenido2';
	}
	Dialog.confirm({url:url},{className:"contenido",buttonClass:"botones",id:idventana,top:200,width:width,height:height, okLabel:" ", cancelLabel:" "});
}

/* Muestra contenidos en una ventana prototype, indicandole la altura y anchura de la ventana y pudiendo abrir varias veces la misma ventana */
function contenidoenventanagrande(url, width, height)
{
	var idventana = 'ventana_contenido3';
	if (eval($('ventana_contenido3')) != null)
	{
		idventana = 'ventana_contenido4';
	}
	Dialog.confirm({url:url},{className:"contenido",buttonClass:"botones",id:idventana,top:50,width:width,height:height, okLabel:" ", cancelLabel:" "});
}

/* Muestra contenidos en una ventana prototype, para el carrusel de fotos */
function contenidoenventanacarrusel(url, width, height)
{
	var idventana = 'ventana_contenido_carrusel';
	if (eval($('ventana_contenido_carrusel')) != null)
	{
		idventana = 'ventana_contenido_carrusel2';
	}
	Dialog.confirm({url:url},{className:"contenido",buttonClass:"botones",id:idventana,top:50,width:width,height:height, okLabel:" ", cancelLabel:" "});
}


