Here we swap two images

this is document.images[0]


this is document.images[1]