function mostrarImagenVertical(src)
{
	mostrarImagen(src, true, false);
	return false;
}

function mostrarImagenHorizontal(src)
{
	mostrarImagen(src, false, false);
	return false;
}

function mostrarImagen(src, vertical, scroll)
{
	if (scroll)
	{
		if (vertical)
			window.open(src, '', 'width=500, height=660, resizable=yes, scrollbars=yes');
		else
			window.open(src, '', 'width=660, height=500, resizable=yes, scrollbars=yes');
	}
	else
	{
		if (vertical)
			window.open(src, '', 'width=500, height=660, resizable=yes');
		else
			window.open(src, '', 'width=660, height=500, resizable=yes');
	}
	return false;
}

function mostrarImagenHorizontalScroll(src)
{
	mostrarImagen(src, false, true);
	return false;
}