/**
 *
 * Loader Script
 * Requires the Jax JavaScript Library
 *
 */

var menus = null;
var mnus = new Array();

// Function to set up and initialize the menus.
function setMenus() {

    mnus = new Array(new Array('workMenu', 120, 248),
                     new Array('clientsMenu', 120, 279),
					 new Array('aboutMenu', 120, 350));

    // Create the menus object.
    menus = new JaxMenu(mnus, 850);

    // Declare the listener function.
    chkMnu = function(event) {
        menus.checkMenu(event);
    }

    // Add the listener function to the event listener.
    addEvent('mousemove', chkMnu);

}

addLoader(setMenus);
