I want to insert javascript code from Chitika so that the ads show up at the foot of single posts. If your familiar with Chitika they run contextually targeted search engine queries for users from the US and Canada, the ads don't show up for any other visitors. I have experimented by placing the code into the HTML/Scipts tab in the body, footer and header but this dosen't solve my problem. The ads do show up but only in the footer below the fold and in the header above the web page content.
If i need to go into the theme editor which file do i have to insert the javascript into and at what position. Any help would be much appreciated

Regards, maxhomebits