function makevisible(cur,which)
{		
	var classes = document.getElementsByTagName("img");	
	
	// Traverse all the images..	
	for (var i=0; i<classes.length; i++)
	{		
		var myClass = classes[i].className;
		
		if(myClass == 'iimg|' + cur)
		{
			strength=(which==0)? 1 : 0.5	
			
			
			if(typeof classes[i].style.opacity == "string") 
				// Safari, Opera etc.
				classes[i].style.opacity = strength;
			else if(typeof classes[i].style.MozOpacity == "string") 
				// Mozilla
				classes[i].style.MozOpacity = strength;
			else
				//IE
				if (which == 0)
				{
					strength = 1;
				}
				else if (which == 0.5)
				{
					strength = .5;
				}
				
				classes[i].style.filter = "alpha(opacity = "+strength*100+")";
		}	
	}
	
	//alert(document.getElementById(cur).className);
	
	if (which == 0)
	{
		document.getElementById(cur).className = "buthover";
	}
	else
	{
		document.getElementById(cur).className = "but";
	}
	//alert(document.getElementById(cur).className);
}