cioè la funzione diventa così?


var str="";


function aggiorna(tema){
str='temi/'+tema+'.asp';
document.getElementById(idframe).src = str;
}