// swap photos on the gallery page -- hard-coded
function swapPhoto( numStr )
{
	var photo = "photo";
	
	photo += numStr;
	photo += ".jpg";
	
	var elem = document.getElementById('photo');
	
	elem.src = "./img/photo/" + photo;
}

// preload images to speed things up
function preload()
{
	// this photo is already loaded
	//Image1= new Image(450,338)
	//Image1.src = "./img/photo/photo01.jpg"
	
	Image2= new Image(450,338)
	Image2.src = "./img/photo/photo02.jpg"
	
	Image3= new Image(450,338)
	Image3.src = "./img/photo/photo03.jpg"
	
	Image4= new Image(450,338)
	Image4.src = "./img/photo/photo04.jpg"
	
	Image5= new Image(450,600)
	Image5.src = "./img/photo/photo05.jpg"
	
	Image6= new Image(450,600)
	Image6.src = "./img/photo/photo06.jpg"
}