Hello
Simply edit your "details.html" for placing your ads on Image Details Page.
Edit "categories.html" if you want to place your ads in categories.
Edit "error.html" if you want to place of error pages
Edit "lightbox.html" if you want to place ads on light box
& Similarly on others too.
I would recommend you to use Microsoft Frontpage 2003 or Microsoft Expression Web (Formally Frontpage) , just open you .html files in FrontPage & it will be more easy for you. Dreamviewer is also great, but I would recommend you Frontpage as it easy for newbies
Regards