jquery dequee

jquery dequee

hi need some help, i came across a need of code and never worked with jquery :(
my problem is
i have some images in a queue in a table 4 rows and 5 columns
it mean i have these 20 images
my problem is if i click on 1st image then 1st image should disappear and next image 2nd one should come on its place and 3rd image should come in 2nd's place and so on. i have no idea of it. please give me working example of it. :( i have been searching for ages for this and finally reached here. :( please i badly need this help i never worked with jquery :(