Problema risolto

theimage[k][0]=new Image(100,100).src=theimage[k][0];

Grazie