﻿function openHiddenDiv(imgName, imgSrc)
	{
		// Getting the id to hide and how the hiddenImage div
		var elHidden = document.getElementById("hiddenImage");
		// Getting the id to place the image into
		var elImage = document.getElementById("hiddenImageHolder");
		
		// Check if the image is hidden and show it
		if (elHidden.style.display = "none")
			{
			    elImage.src = "i/transparent.gif";
				elHidden.style.display = "block";
				elImage.style.display = "block";
				elImage.src = imgSrc;
			} 
	}
	
function hideHiddenDiv(imgName)
	{
		// Getting the id to hide and how the hiddenImage div
		var elHidden = document.getElementById("hiddenImage");
		// Getting the id to place the image into
		var elImage = document.getElementById("hiddenImageHolder");
		
		// Check if the image is shown and hide it
		if (elHidden.style.display = "block")
			{
				elHidden.style.display = "none";
				elImage.src = "#";
				
			} 
	}


