// JavaScript Document

// Several thumbnail images, one feature image
// onclick, test if feature image corresponds to the clicked thumb image
// if so, do nothing
// if not, switch the feature image to the clicked thumb image


function displayFormValues() {
	
	// Find all the A tags
	var elem = document.getElementById("alternates").getElementsByTagName("a");
	
	
	// Loop through a div
	for(var i = 0; i < elem.length; i++) {

		var e = elem[i];
		//alert(e);
		// Add onclick="return showPic(this)" to them, right before the closing bracket
		e.onmouseover=function(){ 
					showPic(this); 
					return false;
		}; //end onmouseover
		e.onclick=function(){
			return false;
		}; //end onclick
	} // end for
} // end function
	

