Prototype.js creating problems with InfiniteCarousel in jQuery
<p>I have this piece of code that works fine in the webpage: </p>

<pre><code>&lt;script src="http://code.jquery.com/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
&lt;script src="jquery.infinitecarousel3.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="easing.js"&gt;&lt;/script&gt;
&lt;script&gt;
    $(function(){
        $('#carousel').infiniteCarousel({
            imagePath: 'images/'
        });
    });
&lt;/script&gt;
&lt;!--&lt;script src="prototype.js"&gt;&lt;/script&gt;--&gt;
</code></pre>

<p>However, as soon as I uncomment The <code>prototype.js</code> line it gives an error:</p>

<blockquote>
  <p>Uncaught TypeError: Cannot call method 'infiniteCarousel' of null. </p>
</blockquote>

<p>The <code>prototype.js</code> file is from  <a href="http://prototypejs.org/" rel="nofollow">http://prototypejs.org/</a> and I'm using it for some other function. I have Googled a lot but am unable to come up with a solution - how do I solve this?</p>
