Overriding embedit.in script to allow downloads of PDF
<p>I'm a library and information science student and a true programming novice (I've only taken one introductory course in JS, PHP, and MySQL), so I would really love some help. I'm sorry that I might not have the right vocabulary to talk about this!</p>

<p>I am building a prototype of a digital thesis collection for a course, and I am using the <a href="http://embedit.in/sitewide/" rel="nofollow">embedit.in sitewide</a> script so that users can view the PDFs linked to in each thesis record in an overlay viewer. The problem is that the overlay viewer does not give the user the option to download the PDF (although that is an advertised feature, there actually is no download button in the viewer for some reason), and the script works for the whole page, so I cannot provide an alternate link to the PDF that would allow users to download directly. I also can't see the script itself so I don't know exactly what it's doing. I really like the overlay viewer, but I want users to be able to download the PDFs as well. Ideally, I envision having two side-by-side links, one that says "Click here to view or print," which allows users to launch the viewer, and the other that says, "Click here to download," that does not launch the viewer and lets them download it. Is there anyway to write a script that would prevent the embedit.in script from working against a specific link on the page, without seeing the script itself? </p>

<p>Here is a bit of the HTML code from a sample thesis record page below, for a bit of context: </p>

<pre><code>&lt;h2&gt;Development of the Black Community of Bedford-Stuyvesant&lt;/h2&gt;
&lt;div id="description"&gt;
&lt;p&gt;&lt;strong&gt;Title:&lt;/strong&gt; Development of the Black Community of Bedford-Stuyvesant&lt;br /&gt;
&lt;strong&gt;Author:&lt;/strong&gt; Austin Finigan, Jr.&lt;br /&gt;
&lt;strong&gt;Date:&lt;/strong&gt; 1974&lt;br /&gt;
&lt;strong&gt;Subjects:&lt;/strong&gt; African Americans--New York (State)--New York&lt;br /&gt;
Brooklyn (New York, N.Y.)--History&lt;br /&gt;
&lt;br /&gt;
&lt;a href="finigan.pdf"&gt;Click here to view or print PDF&lt;/a&gt;&lt;/div&gt;
&lt;script src="http://embedit.in/sitewide.054fbf300b0637d7d8cc525ff36789500da4f3c2.js" type="text/javascript"&gt;&lt;/script&gt;
</code></pre>
