(function($){/**
* A page loading progress object. Initialized by passing a "loader" element in
* which the loading progress will be displayed by a
* <div><span>[dynamicPercentage]</span>%</div>
*
* e.g. Insert <div id="loader"></div> inside your page.tpl.php (or html...)
* then follow usage :)
*
* Usage:
* $('#loader').loader({options});
*
* Options:
* 'wrapper': $(document.body),
* The element in which we check for the images to load