function Pulsanti(stato,idrif){
	var sectionId = document.getElementById(idrif);
	if (sectionId == null) return;
	if (stato=="over") 
	{
		//sectionId.style.backgroundImage = 'none';
		switch(idrif) {
			case 'mlavoratore':
			sectionId.className="lavoratoreatt";
			break;
			case 'mdatore':
			sectionId.className="datoreatt";
			break;
			case 'mgiovani':
			sectionId.className="giovaniatt";
			break;
			case 'mstranieri':
			sectionId.className="stranieriatt";
			break;
		}
	}
	else
	{
		switch(idrif) {
			case 'mlavoratore':
			sectionId.className="lavoratore";
			break;
			case 'mdatore':
			sectionId.className="datore";
			break;
			case 'mgiovani':
			sectionId.className="giovani";
			break;
			case 'mstranieri':
			sectionId.className="stranieri";
			break;
		}
	}
}
