In javascript sarebbe:

document.form1.elements["arrintermedia"+i].value

per VBScript non so

ciao