Problem with mmBackgrounds plugin

Problem with mmBackgrounds plugin

Hi guys,

Hope you can help. I'm creating a website using Joomla 2.5.9 and the Shape 5 Vertex template. One of the plugins I've installed is mmBackgrounds. But I keep getting this message in the error console:

Uncaught ReferenceError: jQuery is not defined (anonymous function)
When I go to the script to which the error code is referencing, this is what I see:
  1. jQuery. noConflict();
    jQuery(document).ready(function() { jQuery('#modal-messages').css('margin-top', ((jQuery(window).height() - jQuery('#modal-messages').outerHeight())/2) + jQuery(window).scrollTop() + 'px'); jQuery('#modal-messages').css('margin-left', ((jQuery(window).width() - jQuery('#modal-messages').outerWidth())/2) + jQuery(window).scrollLeft() + 'px'); jQuery('#modal-messages').show();jQuery('#messages-overlay').show(); jQuery('#messages-close-button').click(function() { jQuery('#messages-overlay').hide(); jQuery('#modal-messages').hide(); }); jQuery('#messages-overlay').click(function() { jQuery('#messages-overlay').hide(); jQuery('#modal-messages').hide(); });}); window.addEvent('load', function() { new JCaption('img.caption'); }); var mmBgImageOpacity = 1; var mmBgColor = '#000000'; var mmBgOpacity = 0; var theStage = null; window.addEvent('domready', function() { // init mmStage theStage = new mmStage({ element: 'mmStage', onInit: function() {
    var mmWrapper = new wdgtWrapper( this, {});
    this. registerWidget( 'mmWrapper', mmWrapper);
    var mmBackground = new wdgtBackground( this, {
    images: [ 'http://*********.com/templates/shape5_vertex/images/photo_loj3.jpg'],
    background: { opacity: mmBgOpacity, color: mmBgColor },
    image: { opacity: mmBgImageOpacity }
    this. registerWidget( 'mmBackground', mmBackground);
    $( 'mmWrapper'). setStyles({ scroll: 'auto', position: 'absolute', zIndex: 1, top: '0px', left: '0px', overflow: 'auto', 'overflow-x': 'hidden' });
    </script >

    Could someone please point me in the right direction to try and sort this problem out?

    Many thanks in advance. I look forward to your reply.



    PS: I'm an absolute novice at this, but willing to get my hands dirty.