I created a JavaScript Slideshow base on Slideshow2<https://code.google.com/p/slideshow/> using Mootools. It works great stand-alone. I decided to incorporate it into my SharePoint 2010 Master Page and at first glance it was working great, but for some strange reason other native SharePoint javascript code on the page stopped working. Some JavaScript code such as the “Create” button from “View All site content” does nothing and some drop downs from the global navigation menu. I first noticed when I tried to approve the saved master.page and when I clicked on Approve nothing happened.
I began to delete all my JavaScript code and from process of elimination noticed that just by leaving the line: <script type="text/javascript" src="/_catalogs/javascript/mootools-1.3.2-core.js"></script> causes the error. Every other line doesn’t seem to affect the other JavaScript code. I even substituted it to the most recent version and got the same result: <script type="text/javascript" src="/_catalogs/javascript/mootools-core-1.4.5-full-compat.js"></script>