﻿var menu = function () {
    return {
        init: function (source, target) {
            $(source).mouseenter(function () {
                $(target).show().mouseleave(function () {
                    $(target).hide();
                }); ;
            })
        },
        goTo: function (source, url) {
            $(source).click(function () {
                window.open(url);
            });
        }
    };
} ();


