// --------------------------------- Interesting Facts about Peru ---------------------------------
function FactsRotation() {
	text = new Array();
	number = 0;
	
	// textArray
	text[number++] = "Peru was the cradle of the most advanced indigenous civilization and most powerful empire in pre-Columbian South America - the Incas.";
	text[number++] = "Peru has a 2,400 kilometer long coast on the Pacific Ocean.";
	text[number++] = "Peru borders Colombia and Ecuador in the north, Brazil and Bolivia on the east, and Chile on the south.";
	text[number++] = "Peru's capital city is Lima and nearly 26 percent of the country's population resides in it.";
	text[number++] = "Peru's Independence Day is celebreated July 28-29";
	text[number++] = "Peru is populated by more than 28 million people.";
	text[number++] = "Lake Titicaca, located high in the Andes on the border of Peru and Bolivia, is the highest commercially navigable lake in the world.";
	text[number++] = "After Brazil and Argentina, Peru is the 3rd largest country in South America and at 1.28 million sq. km. it is twice the size of France.";
	text[number++] = "Mining, agriculture, industry, and fisheries are the main components of the Peruvian economy.";
	text[number++] = "Cuzco lays claim to being the oldest continuously inhabited city in the Americas.";
	text[number++] = "Peru's currency is called nuevo sol. The currency was put into use on July 1, 1991 to replace the inti";
	text[number++] = "In Peru most people speak Spanish but Quechua and Aymara are spoken by the highland Indians.";
	text[number++] = "Peru became the first Hispanic country to win the Miss Universe crown when Gladys Zender won in 1957";
	text[number++] = "Peru was the last Spanish colony in South America.";
	text[number++] = "Peru elected Beatriz Merino as the first female prime minister on the continent in 2003";
	text[number++] = "The most powerful electric eel is found in the rivers of Brazil, Colombia, Venezuela, and Peru, and produces a shock of 400-650 volts.";
	text[number++] = "From the 13th to the 16th century the Incan Indians built a great empire in Peru.";
	text[number++] = "In the 1520s The Spanish conquistador Francisco Pizarro led an expedition into Peru.";
	text[number++] = "In the 1530s Francisco Pizarro conquered the Inca and made Peru a Spanish colony.";
	text[number++] = "In 1535 Francisco Pizarro founded Lima.";
	text[number++] = "In 1780 The mestizos, led by Tupac Amaru, revolted against the rule of Spain.";
	text[number++] = "In 1820 José de San Martín of Argentina invaded Peru to free the Peruvians from the Spanish rule.";
	text[number++] = "In 1821 Peru declared its independence from Spain.";
	text[number++] = "In 1823 Simon Bolivar led an army from Venezuela and Colombia into Peru to help fight the Spanish.";
	text[number++] = "In 1824 Antonio Jose de Sucre defeated the Spanish at Ayacucho.";
	text[number++] = "In 1827 General Jose de la Mar became the first Peruvian president.";
	text[number++] = "In 1879 Spain recognized the independence of Peru.";
	text[number++] = "In 1879 Peru went to war with Chile to aid Bolivia.";
	text[number++] = "In 1881 Chile occupied Lima.";
	text[number++] = "In 1883 The Treaty of Ancon ended the war - Chile was allowed to keep the Peruvian province of Tacna.";
	text[number++] = "In 1929 Chile returned the province of Tacna to Peru.";
	text[number++] = "In 1975 Quechua, the language of the Inca, was made an official language, along with Spanish, of Peru.";
	text[number++] = "Lima, as the center of the viceroyalty of Peru, was the capital of Spain's New World empire in the 17th and 18th centuries.";
	text[number++] = "Peru is one of only 2 countries in the world, as of 2004, where Coca-Cola is massively sold that it is not the market leader - Inca Kola rules Peru.";
	text[number++] = "Both Peru and Chile claim Pisco Sour as their national drink.";
	text[number++] = "Lima beans have been cultivated in Peru since 6000 B.C., and their common name comes from Lima, Peru's capital city.";
	text[number++] = "The peanut plant originated in South America. As early as 1500 B.C., the Incans of Peru used peanuts as sacrificial offerings";
	text[number++] = "The llama is a member of the camel family, domesticated from guanacos some 5,000 years ago. They are one of the oldest domestic animals in the world."; 
	
	// Generate random number
	mynumber = Math.floor(Math.random() * number);
	document.getElementById("llamatrivia").innerHTML = text[mynumber];
	return;
}
