Not sure if this is the only thing needing to be fixed, but "document.all" is essentially obsolete. Use this instead:
Code:
document.getElementById("Parameters").data = tempParams[0];