ecco la preview:

function preview(i)
{
Img1= new Image(1,1);
Img1.src = "pixel.jpg";
Img2 = document.inserimento.upfile[i].value;
document.swap[i].width = "140";
document.swap[i].height = "95";
document.swap[i].src = Img2;
return true;

// -->
}