Ciao a tutti.
Ho la seguente funzione js:

codice:
 
function settaproprietadiv(id,nome,testo,tipo,obbligatoria) 
{
	modifica=id;

	document.getElementById("Nome risposta").value=nome;	
	document.getElementById("Testo risposta").value=testo;	
	


		
	document.getElementById("data").checked=0;
	document.getElementById("testo").checked=0;
	document.getElementById("check").checked=0;
	document.getElementById("radio").checked=0;
		
		
	if(tipo=="Data")
		document.getElementById("data").checked=1;
	if(tipo=="Testo")
		document.getElementById("testo").checked=1;
	if(tipo=="Check")
		document.getElementById("check").checked=1;
	if(tipo=="Radio")
		document.getElementById("radio").checked=1;
		
	
}
e richiamandola cosi:

codice:
 

<td>risp1</td>
funzione , mentre se metto un a capo nel nome:


codice:
 

<a href='#' onclick="document.getElementById('aprichiudi').style.display='block';settaproprietadiv('14','r1234','giugio1

ppp','Radio','');">giugio1(qui ci andrebbe un br che nel forum viene convertito)
ppp</a></td>
non va!
come faccio?