Check if jQuery or mooTools are loaded <p>In my project I am using <code>jQuery</code> in client side and <code>mooTools</code> in admin side. I would like to be able to write some part of code (google maps functions, etc) which will be common for both of that libraries.</p> <p>Is it possible to check if <code>jQuery</code> or <code>mooTools</code> libraries are loaded and use proper behaviours ?</p> <p><code>$(document).ready(function() {});</code> or <code>window.addEvent('domready', function(){});</code></p> <p><code>$('#id');</code> or <code>$('id');</code></p> <p><code>$('googleMapLocalize').addEvent('click', function(){});</code> or <code>$('googleMapLocalize').bind('click', function(){});</code></p> <p>What is the best way ?</p>