function DeterminarFecha()
{
	var today = new Date();
	var month = ""; 

	switch(today.getMonth() + 1)
	{
		case 1:
			month = "Enero";
			break;
		case 2:
			month = "Febrero";
			break;
		case 3:
			month = "Marzo";
			break;
		case 4:
			month = "Abril";
			break;
		case 5:
			month = "Mayo";
			break;
		case 6:
			month = "Junio";
			break;
		case 7:
			month = "Julio";
			break;
		case 8:
			month = "Agosto";
			break;
		case 9:
			month = "Septiembre";
			break;
		case 10:
			month = "Octubre";
			break;
		case 11:
			month = "Noviembre";
			break;
		case 12:
			month = "Diciembre";
			break;
	}

			
	var day = today.getDate();
	var year = today.getFullYear();

	return  "Ciudad de Panamá, " + day + " de " + month + " " + year;
}

function Siguiente()
{
	var Base = "BoletinesInformativosReformaFiscal";

	var sPath = window.location.pathname;
	var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
	sPage = sPage.replace(Base, "").replace(".php", "");

	var Proximo = parseInt(sPage) + 1;
	var Pagina = Base + Proximo + ".php"
	window.location = Pagina;
}

function Anterior()
{
	var Base = "BoletinesInformativosReformaFiscal";

	var sPath = window.location.pathname;
	var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
	sPage = sPage.replace(Base, "").replace(".php", "");

	var Anterior = parseInt(sPage) - 1;
	var Pagina = Base + Anterior + ".php"
	window.location = Pagina;
}
