you would most likely have to create a new article and put the code into the HTML area of the article. That would be my first guess. Make sure you also have the code settings in the system area setup so that it will allow you to add some of the weird java and flash codes or the HTML editor part of the article area will keep stripping the code on ya lol.
You could most likely add a Module to do this also, and there is probably a module already built for Joomla itself to do this even so you may want to look there first as that code would already be setup for Joomla. Other than that, the article thing would be your best bet, and you can also set it up so that the article will load in a Module or Menu area even so that it will be strategically placeable on the site too.
GL with it