Hi,
Don't understand your question exactly..But this is how you can have each and every document: :
var myview:NotesView = database.getView("ImageThumbnails");
var mydocCollection:NotesDocumentCollection = myview.getAllDocumentsByKey("/* Pass some unique key here */")
for(i=0; i<mydocCollection
.getCount(); i++){
var myDoc:NotesDocument= mydocCollection
.getNextDocument(); // Do your stuff here..
}
Hope this helps..
Best Regards,
Chintan P.