sono due funzioni che vengono chiamate con un evento 'onclick' di un input checkbox

codice:
function visualizza_input(quale,quanti)
{
	if (!document.getElementById('quanti_quarti_'+quale)){
		var ele=document.getElementById('prodotti_'+quale);
		var riga=document.createElement('tr');
		var colonna=document.createElement('td');
		riga.setAttribute('id','quanti_quarti_'+quale);
		colonna.setAttribute('colspan','2');
		var quanti_quarti=document.createElement("select");
		quanti_quarti.setAttribute('name','quanti_quarti_'+quale);
		var opzione=null;
		for (var i=0;i<quanti;i++)
		{
			opzione=document.createElement('option');
			opzione.setAttribute('value',i+1);
			var testo=document.createTextNode(i+1);
			opzione.appendChild(testo);
			quanti_quarti.appendChild(opzione);
		}
		var testo=document.createTextNode(' --> Seleziona il numero di quarti che desideri acquistare : ');
		colonna.appendChild(testo);
		colonna.appendChild(quanti_quarti);
		riga.appendChild(colonna);
		ele.appendChild(riga);
	}
	else nascondi_input(quale);
}

function nascondi_input(quale)
{
	if (ele=document.getElementById('quanti_quarti_'+quale))
	{	var elimina=ele.parentNode.removeChild(ele);}
}

so che a iexplorer 6 da fastidio il setAttribute..perciò ho provato anche a sostituirlo, ad esempio:
codice:
quanti_quarti.setAttribute('name','quanti_quarti_'+quale);
è diventato
codice:
quanti_quarti.name=quanti_quarti_+quale;
ma niente......

che succede?


mille grazie