I'm creating a page where it will contain a gif that is looped, but I would like it as soon as I got to the end of the first loop to replace the gif with another and so on ... to do that with javascript or something the type? where do I find the explanation about?