function showPic(id){
	var doc = document.getElementsByTagName('div');
	for (var i = 0; i < doc.length; i++){
		thisId = doc[i].id;
		if ( thisId.indexOf('pic') === 0 ){
			// Shut it.
			document.getElementById(thisId).style.display='none';
		}

		if ( thisId.indexOf('thumb') === 0 ){
			// Darken all thumbs.
			//document.getElementById(thisId).style.opacity='0.4';
		}
	}
	document.getElementById('pic'+id).style.display='block';
	//document.getElementById('thumb'+id).style.opacity='1.0';
}
