function writeFlashObj(movie, qs, width, height, colore){
  document.write(
   '<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"\n'+
   ' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"\n'+
   ' WIDTH="' + width + '" HEIGHT="' + height + '">\n'+
   ' <PARAM NAME=movie VALUE="' + movie + '">\n'+
   ' <PARAM NAME=FlashVars VALUE="'+qs+'">\n'+
   ' <PARAM NAME=quality VALUE=high>\n'+
   ' <PARAM NAME=menu VALUE=false>\n'+
   ' <PARAM NAME=bgcolor VALUE=' + colore + '>\n'+
   ' <EMBED src="' + movie +'"\n'+
   '  FlashVars="'+qs+'"\n'+
   '  quality=high menu="false" bgcolor="' + colore + '" WIDTH="' + width + '" HEIGHT="' + height +
   '  TYPE="application/x-shockwave-flash"\n'+
   '  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>\n'+
   '</OBJECT>');
}  

function ingrandimento_old(c, valore) {
	document.getElementById(valore).src=c.src;
}

function ingrandimento(c, valore, testo) {
	document.getElementById(valore).src=c.src;
	//document.getElementById(testo).innerText = c.alt;
	document.getElementById(testo).innerHTML = c.alt;
}


indice = 1;
colore1 = "#0099ff";
colore2 = "#ffcc33";
colore3 = "#ff6600";
colore4 = "#009900";
colore5 = "#000099";
colore6 = "#990033";
colore7 = "#663399";
colore8 = "#669999";
colore9 = "#cc0000";
colore10 = "#ffcc33";
colore11 = "#0099ff";


function ingrandimento2(quale, valore, testo) {
	if (quale<=0) { quale=massimo; indice=massimo};
	if (quale>massimo) { quale=1; indice=1 };
	c = document.getElementById("img"+quale);
	document.getElementById(valore).src=c.src;
	//document.getElementById(testo).innerText = c.alt;
	document.getElementById(testo).innerHTML = c.alt;
	
}
