﻿/// <reference path="TheFarm.js" />
/// <reference path="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.1-vsdoc.js" />

// Global variable declarations below:
/*global TheFarm window document jQuery Moccona flowplayer */

TheFarm.registerNamespace('Moccona.Global');

Moccona.Global = (function ($) {
    var initialised = false;

    return {
        initialise: function () {
            if (!initialised) {

                $('a.scroll2Top').click(function () {
                    $(document).scrollTo($('#TOP'), 1000);
                });

                initialised = true;
            }
        }
    };
})(jQuery);


