	function toggleColour(x)
	{
		var table = document.getElementById("ProductColour");
		var imgs = table.getElementsByTagName("img");
		for(z in imgs)
		{
			if(imgs[z] && (imgs[z].id != "close_button" ))
			{
				if(imgs[z].style && imgs[z].id != x)
				{
					imgs[z].style.display = "none";
				}
			}
		}
		if(x)
		{
			var img = document.getElementById(x);
			if(img)
			{
				if(img.style.display == "block")
				{
					img.style.display = "none";
					table.style.display = "none";
				}
				else
				{
					img.style.display = "block";
					table.style.display = "block";
				}
			}
		}
		else
		{
			table.style.display = "none";
		}
	}
	/*
	if (parseInt(navigator.appVersion)>3) {
		 if (navigator.appName=="Netscape")
		 {
			winW = window.innerWidth-16;
			winH = window.innerHeight-16;
			winWoff = window.pageXOffset;
			winHoff = window.pageYOffset;
			var table = document.getElementById("ProductColour");
			table.style.left = Math.floor((parseInt(winW) + parseInt(winWoff)/4) + 20) + "px";
			table.style.top = Math.floor((parseInt(winH) + parseInt(winHoff)/4) + 200) + "px";
		 }
		 if (navigator.appName.indexOf("Microsoft")!=-1)
		 {
			winW = document.body.offsetWidth-20;
			winH = document.body.offsetHeight-20;
			winWoff = document.body.scrollLeft;
			winHoff =  document.body.scrollTop;

			var table = document.getElementById("ProductColour");
			table.style.left = Math.floor((parseInt(winW) + parseInt(winWoff)/4) + 20) + "px";
			table.style.top = Math.floor((parseInt(winH) + parseInt(winHoff)/4) + 200) + "px";

		 }
	}
	*/

