function changeImage2(x)
{
	//x is the exact text shown to the user from the glass type dropdown menu.
	//alert(x);
	
	//declare a variable to hold the location for the image to change to
	var y;
	var z;
	
	//execute a switch statement to determine exactly where to send the user's picture
	switch(x)
	{
		case 'Double Prairie':
			y = '/calc/glass/glass_withPanel/9001-VG-DP-1P.jpg';
			z = 'Double Prairie Glass with 1 Panel';
			break;
		case '10 Lite Colonial':
			y = '/calc/glass/glass_withPanel/9001-VG-10-1P.jpg';
			z = '10 Lite Colonial Glass with 1 Panel';
			break;
		case '15 Lite Colonial':
			y = '/calc/glass/glass_withPanel/9001-VG-15-1P.jpg';
			z = '15 Lite Colonial Glass with 1 Panel';
			break;
		default:
			alert('error');
			break;
	}
	
	//set the image src to the y variable's contents
	//parent.document.getElementById("illustrate").src="http://w3schools.com";
	document.getElementById("imageGlass").src=y;
	document.getElementById("imageGlass").alt=z;
	document.getElementById("imageGlass").title=z;
}
