photos = new Array(3);
photos[0] = 'photo-1';
photos[1] = 'photo-2';
photos[2] = 'photo-3';


function toggle( targetId ){

	for (i in photos) {
		p_id = photos[i];
			
		if (document.getElementById){
			target = document.getElementById( p_id );
			target.style.display = "none";
		}
	}
	
	
	if (document.getElementById){
		target = document.getElementById(targetId);
		target.style.display = "";
	}	
	
}
