Removemovieclip problem

Hi, im making a dynamic photo gallery using php, its almost finished but ive been stuck for quite a while in trying to remove some of the thumbnails from the stage
u can see it working here:

its just a test server and it can be a bit slow, u can see when u choose one of the galleries that the thumbnails from the other remain there

i have read the depths tut by senocular

and searched the forums for several days and i found people with this problem but when i tried the solutions given to them(adapted to my needs) didnt work for me, there is also the chance that its a path problem but im almost sure it has to do with removemovieclip

if someone wants to check the fla i can post it for u, any help will be much apreciated