﻿var headers = new Array();
var pictures = new Array();
var content = new Array();

headers[0] = "Mt Vinson Antarctica (4897m)";
pictures[0] = "vinson.jpg";
content[0] = "The highest mountain in Antarctica. Extremely cold and unbelievably beautiful.  Located about 1200 km from the South pole. The mountain is about 21 km long and 13 km wide. It is in the Sentinel Range of the Ellsworth mountains.<br /><br /> <strong>Location: Antartica</strong><br /><strong>Elevation: 4 897m </strong><br /><strong>Range: Sentinel</strong> ";

headers[1] = "Mt Aconcagua (6959m)";
pictures[1] = "aconcagua2.jpg";
content[1] = "Mt Aconcagua is the highest mountain in South America, and the highest mountain outside Asia. It is located in the Andes mountain range, in the Argentine province of Mendoza. The summit is located about 5 kilometres from San Juan Province and 15 kilometres from the international border with Chile. It lies 112 km west of the city of Mendoza. Aconcagua is the highest peak in both the Western and Southern Hemispheres.<br /><br /> <strong>Location: Argentina, South America</strong><br /><strong>Elevation: 6 959m </strong><br /><strong>Range: Andes</strong> ";

headers[2] = "Mt McKinley (6194m)";
pictures[2] = "mckinley.jpg";
content[2] = "Mount McKinley or Denali 'The Great One' in Alaska is the highest mountain peak in North America. The mountain is also characterized by extremely cold weather. A thermometer left exposed at an elevation 4,600 m on Mount McKinley over 19 years recorded a temperature of −73.3 °C. At the equator, a mountain as high as Mount McKinley would have 47% as much oxygen available on its summit as there is at sea level, but because of its latitude, the pressure on the summit of McKinley is even lower (42%).<br /><br /> <strong>Location: Alaska</strong><br /><strong>Elevation: 6 194m </strong><br /><strong>Range: Cascades</strong>";

headers[3] = "Mt Everest (8850m)";
pictures[3] = "everest.jpg";
content[3] = "Mount Everest, also called Chomolungma or Sagarmatha is the highest mountain in Asia and on Earth. The mountain, which is part of the Himalaya range in High Asia, is located on the border between Nepal, and Tibet, China.<br /><br /> <strong>Location: Nepal/Tibet</strong><br /><strong>Elevation: 8 850m </strong><br /><strong>Range: Himalaya</strong>";

headers[4] = "Mt Elbrus (5642m)";
pictures[4] = "elbrus.jpg";
content[4] = "Mount Elbrus is considered to be the highest mountain in Europe; it is also the highest point in Russia. It is located in the western Caucasus mountain range, Russia, near the border of Georgia, in the northern Iranian plateau. Elbrus is a stratovolcano that has lain dormant for about 2,000 years.<br /><br /> <strong>Location: Russia</strong><br /><strong>Elevation: 5 642m </strong><br /><strong>Range: Caucasus</strong>";

headers[5] = "Carstensz Pyramid (4884m)";
pictures[5] = "carstensz.jpg";
content[5] = "Carstensz Pyramid is a mountain in the Sudirman Range, the western central highlands of Papua province, Indonesia. It is the highest mountain in Indonesia, the highest on the island of New Guinea, the highest on the Australia-New Guinea continent and the highest in Oceania. It is also the highest point between the Himalayas and the Andes and the highest island peak in the world.<br /><br /> <strong>Location: Irian Jaya</strong><br /><strong>Elevation: 4 884m </strong><br /><strong>Range: Sudirman</strong>";

headers[6] = "Mt Kilimanjaro (5895m)";
pictures[6] = "kilimanjaro1.jpg";
content[6] = "Mt Kilimanjaro is the highest peak in Africa. It is an inactive stratovolcano in north-eastern Tanzania. Almost every climate type on earth is represented there, including a year-round snow-topped summit.<br /><br /> <strong>Location: Tanzania</strong><br /><strong>Elevation: 5 895m </strong><br /><strong>Highest free-standing mountain in the world (not part of a range)</strong>";

function getSummit(index)
{
    document.getElementById('subContent').style.display = "";
    document.getElementById('subHeader').innerHTML = headers[index];
    document.getElementById('subPic').src = "App_Themes/Wisedale/Images/Mountains/" + pictures[index];
    document.getElementById('subText').innerHTML = content[index];
}