//Created 3/15/08 

var picturePath = "../media/pictures/";

//winter descriptions

var stanley_desc = "Stanley, ID...taken from SMG HQ";
var aerial = "Thompson and Williams, yurt is located just to right of clearing @ bottom/center of picture.(Kirk Anderson)";
var williams = "Left to right: Thompson, Williams and pt. 10084.";
var big = "Zach Crist in 'Big Fatty', a classic Sawtooth line.";
var kb = "Skier in KB's.";
var bigf = "Guided group in 'Big Fatty'";
var yurt_skis = "Morning at Williams Peak Yurt";
var thompson_tour = "Skinning up to Skiers Summit with Thompson in background";
var fishhook = "Hiking up fishhook ridge with Heyburn & Horstmann in background (on way to yurt).";
var mogul = "Snowboarding above Redfish Lake.";
var wilderness = "Classic Sawtooth Wilderness from Horstmann peak.";
var jc = "Guide Mike Hatch between rock walls accessed from Williams Peak Yurt.";
var danish_butter = "Mike carving down 'Skiers Summit' above Williams Peak Yurt with Thompson Peak in the background.";
var bird_chute = "Another long, beautiful Sawtooth Line.  Jan 09.";
var south_valley_pano = "View of Sawtooths from the South, with Williams Peak on right.  Feb 09.";
var jc_snowboard = "A line off Thompson's East Ridge, accessed from yurt.  April 08 Photo: Cody Doucette.";
var zach_powder = "Zach Crist finding the goods in the Sawtooth WiIlderness.  April 08 Photo: Cody Doucette.";
var pow = "Deep.  Feb 09."
var terrain = "Profile Basin.  March 09."
var couloir_exit = "Aesthic and dramtic, typical Sawtooth Alpine.  April 08."

//summer descriptions

var stanley_spring = "Stanley, ID with Sawtooth range.  Photo by Ken Klusmire.";
var lake = "One of the many pristine alpine lakes in the Sawtooth.  Photo by Matt Leidecker.";
var monolith = "Monolith valley with the Rotten Monolith on right.";
var city = "World Class climbing destination at the City of Rocks."
var climber_leading = "Climbing granite on the supers slabs.  Photo by Terry Tillman."
var slabs_top = "The top of the super slabs with Grand Mogul in the background. Photo by Terry Tillman";
var fishing = "Kirk fishing one of the many pristine lakes in the Sawtooth."
var perch_sun = "The Elephant's Perch...some of the best wilderness granite you'll find.";
var finger = "The finger of fate...open book route is below summit.";
var perch_summit = "Summit of Elephant's Perch with Goats Perch & Chipmunk Arete in background.";
var sawtooths_spring = "Stanley and the Sawtooths.  Early summer 09";


function setImage (pic)
{
document.getElementById('main').src = picturePath + pic + ".jpg";

if (pic == 'monolith')
{
	document.all.pic_desc.innerHTML = monolith;
}

if (pic == 'lake')
{
	document.all.pic_desc.innerHTML = lake;
}

if (pic == 'city')
{
	document.all.pic_desc.innerHTML = city;
}

if (pic == 'climber_leading')
{
	document.all.pic_desc.innerHTML = climber_leading;
}

if (pic == 'slabs_top')
{
	document.all.pic_desc.innerHTML = slabs_top;
}

if (pic == 'fishing')
{
	document.all.pic_desc.innerHTML = fishing;
}

if (pic == 'perch_sun')
{
	document.all.pic_desc.innerHTML = perch_sun;
}

if (pic == 'finger')
{
	document.all.pic_desc.innerHTML = finger;
}
if (pic == 'perch_summit')
{
	document.all.pic_desc.innerHTML = perch_summit;
}

if (pic == 'sawtooths_spring')
{
	document.all.pic_desc.innerHTML = sawtooths_spring;
}


//winter pics


if (pic == 'aerial')
{
	document.all.pic_desc.innerHTML = aerial;
}

if (pic == 'stanley')
{
	document.all.pic_desc.innerHTML = stanley_desc;
}

if (pic == 'williams')
{
	document.all.pic_desc.innerHTML = williams;
}

if (pic == 'big')
{
	document.all.pic_desc.innerHTML = big;
}

if (pic == 'kb')
{
	document.all.pic_desc.innerHTML = kb;
}

if (pic == 'bigf')
{
	document.all.pic_desc.innerHTML = bigf;
}

if (pic == 'yurt_skis')
{
	document.all.pic_desc.innerHTML = yurt_skis;
}

if (pic == 'thompson_tour')
{
	document.all.pic_desc.innerHTML = thompson_tour;
}

if (pic == 'fishhook')
{
	document.all.pic_desc.innerHTML = fishhook;
}

if (pic == 'stanley_spring')
{
	document.all.pic_desc.innerHTML = stanley_spring;
}

if (pic == 'mogul')
{
	document.all.pic_desc.innerHTML = mogul;
}

if (pic == 'wilderness')
{
	document.all.pic_desc.innerHTML = wilderness;
}

if (pic == 'jc')
{
	document.all.pic_desc.innerHTML = jc;
}

if (pic == 'danish_butter')
{
	document.all.pic_desc.innerHTML = danish_butter;
}

if (pic == 'bird_chute')
{
	document.all.pic_desc.innerHTML = bird_chute;
}

if (pic == 'south_valley_pano')
{
	document.all.pic_desc.innerHTML = south_valley_pano;
}

if (pic == 'jc_snowboard')
{
	document.all.pic_desc.innerHTML = jc_snowboard;
}

if (pic == 'zach_powder')
{
	document.all.pic_desc.innerHTML = zach_powder;
}

if (pic == 'pow')
{
	document.all.pic_desc.innerHTML = pow;
}

if (pic == 'terrain')
{
	document.all.pic_desc.innerHTML = terrain;
}

if (pic == 'couloir_exit')
{
	document.all.pic_desc.innerHTML = couloir_exit;
}

}
//sets main picture from thumbs

function changeBackground(num)
{

if (num =='1')
{
document.getElementById('1').style.backgroundColor = "#FFFFFF";
}

if (num == '2')
{
document.getElementById('2').style.backgroundColor = "#FFFFFF";
}

if (num == '3')
{
document.getElementById('3').style.backgroundColor = "#FFFFFF";
}

if (num == '4')
{
document.getElementById('4').style.backgroundColor = "#FFFFFF";
}

if (num == '5')
{
document.getElementById('5').style.backgroundColor = "#FFFFFF";
}

if (num == '6')
{
document.getElementById('6').style.backgroundColor = "#FFFFFF";
}

if (num == '7')
{
document.getElementById('7').style.backgroundColor = "#FFFFFF";
}

if (num == '8')
{
document.getElementById('8').style.backgroundColor = "#FFFFFF";
}
if (num == '9')
{
document.getElementById('9').style.backgroundColor = "#FFFFFF";
}
if (num == '10')
{
document.getElementById('10').style.backgroundColor = "#FFFFFF";
}
if (num == '11')
{
document.getElementById('11').style.backgroundColor = "#FFFFFF";
}
if (num == '12')
{
document.getElementById('12').style.backgroundColor = "#FFFFFF";
}
if (num == '13')
{
document.getElementById('13').style.backgroundColor = "#FFFFFF";
}
if (num == '14')
{
document.getElementById('14').style.backgroundColor = "#FFFFFF";
}
if (num == '15')
{
document.getElementById('15').style.backgroundColor = "#FFFFFF";
}
if (num == '16')
{
document.getElementById('16').style.backgroundColor = "#FFFFFF";
}
if (num == '17')
{
document.getElementById('17').style.backgroundColor = "#FFFFFF";
}

if (num == '18')
{
document.getElementById('18').style.backgroundColor = "#FFFFFF";
}

if (num == '19')
{
document.getElementById('19').style.backgroundColor = "#FFFFFF";
}

if (num == '20')
{
document.getElementById('20').style.backgroundColor = "#FFFFFF";
}


}//function

function restoreBackground(num)
{

if (num == '1')
{
document.getElementById('1').style.backgroundColor = "#666666";
}

if (num == '2')
{
document.getElementById('2').style.backgroundColor = "#666666";
}

if (num == '3')
{
document.getElementById('3').style.backgroundColor = "#666666";
}

if (num == '4')
{
document.getElementById('4').style.backgroundColor = "#666666";
}

if (num == '5')
{
document.getElementById('5').style.backgroundColor = "#666666";
}

if (num == '6')
{
document.getElementById('6').style.backgroundColor = "#666666";
}

if (num == '7')
{
document.getElementById('7').style.backgroundColor = "#666666";
}
if (num == '8')
{
document.getElementById('8').style.backgroundColor = "#666666";
}
if (num == '9')
{
document.getElementById('9').style.backgroundColor = "#666666";
}
if (num == '10')
{
document.getElementById('10').style.backgroundColor = "#666666";
}
if (num == '11')
{
document.getElementById('11').style.backgroundColor = "#666666";
}
if (num == '12')
{
document.getElementById('12').style.backgroundColor = "#666666";
}
if (num == '13')
{
document.getElementById('13').style.backgroundColor = "#666666";
}
if (num == '14')
{
document.getElementById('14').style.backgroundColor = "#666666";
}
if (num == '15')
{
document.getElementById('15').style.backgroundColor = "#666666";
}
if (num == '16')
{
document.getElementById('16').style.backgroundColor = "#666666";
}
if (num == '17')
{
document.getElementById('17').style.backgroundColor = "#666666";
}

if (num == '18')
{
document.getElementById('18').style.backgroundColor = "#666666";
}

if (num == '19')
{
document.getElementById('19').style.backgroundColor = "#666666";
}

if (num == '20')
{
document.getElementById('20').style.backgroundColor = "#666666";
}

}


