function showPhoto(pid) {
	if(document.getElementById) {
		clearActive();
		document.getElementById('ph'+pid).style.display="block";
	}
}

function clearActive() {
	if(document.getElementById) {
		for(var i=0; i<=10; i++) {
			if(document.getElementById('ph'+i)) {
				document.getElementById('ph'+i).style.display="none";
			}
		}
	}
}
