function evidenzia(voce, colore, cursore)
	{
	if(document.all)
		{
		eval(voce+".bgColor=colore ")
		eval(voce+".style.cursor=cursore ")
		}
	else if (document.getElementById && document.body.style)
		{
		document.getElementById(voce).style.backgroundColor=colore;
		document.getElementById(voce).style.cursor='hand';
		}
	};



function changeimage(indice)


	{


	if (document.all)


		{


		targetimage.filters.item(0).Apply();


		image=eval("immagini["+indice+"].src");


		targetimage.src=image;


		targetimage.filters.item(0).Play();


		}


	else if(document.getElementById && document.body.style)


		{


		image=eval("immagini["+indice+"].src");


		document.getElementById("targetimage").src=image;


		}


	};



var memoria=1;



function tastoattivo(numero, tasto_old, tasto_new)


	{


	if(document.all)


		{


		if(memoria)


			{


			eval("icona_"+ memoria +".className='"+tasto_old+" ' ");


			}


		eval("icona_"+ numero +".className='"+tasto_new+" ' ")


		memoria=numero


		}


	else if(document.getElementById && document.body.style)


		{


		if(memoria)


			{


			eval("document.getElementById('icona_"+ memoria +"').className='"+tasto_old+" ' ");


			}


		eval("document.getElementById('icona_"+ numero +"').className='"+tasto_new+" ' ");


		memoria=numero


		}


	}



function tasto_swap(numero, classe)

	{

	if(document.all)

		{

		if(numero!=memoria)

			{

			eval("icona_"+ numero +".className='"+classe+" ' ");

			}

		}

	else if(document.getElementById && document.body.style)

		{

		if(numero!=memoria)

			{

			eval("document.getElementById('icona_"+ numero +"').className='"+classe+" ' ");

			}

		}

	}








