How to implement a jscript for displaying custom ads I am very much a beginner with scripting, drupal theming, etc and I cannot figure out how to deal with the following "problem":

I have signed up my site with a media network, which will handle all the ad revenue making.
They have given me a custom .js script and shared the following generic instructions:


upload the .js script to the website - That I can do. :)
paste &lt;script type="text/javascript" src="path to script/scriptname.js"&gt;&lt;/script&gt; into the &lt;head&gt;&lt;/head&gt; area of all pages on the website. I guess this means editing the page.tpl.php file of the theme I am using to add this piece of code. However, I do not know how to do this, in a way that works well, without breaking the theme and how the website is displayed.
call the script into specific ad areas/blocks using something similar to this: &lt;script&gt;scriptname.display(options = {'width':635,
'ad_width':190,
'max_ads':3,
‘descFontSize':15,
'linkFontSize':12,
'linkFontColor':'999999'});&lt;/script&gt; Here, I am not sure if it is enough to simply copy/paste this code, while using the correct name of the script file.


The trouble is, these guys are used to working with WordPress and they won't advise me on how to set things up in Drupal. So... I appreciate any advice you can give.

PS: I am using the latest version of Drupal 7.
Upload your .js file in your theme directory. 
In your theme's .info file add 
scripts[] = path/file_name.js  as follows.


This will include the .js file in each page of your site. Path of the .js file is relative to the .info file.