$(document).ready(function($){
    // Unless I activate the megamenu-based javascript, this is useless
    // $(".megamenu").megaMenu('hover_fade');

    $(".fancynote").fancybox({
        maxWidth    : 800,
        maxHeight   : 600,
        fitToView   : false,
        // width       : '50%',
        // height      : '50%',
        scrolling   : 'no',
        autoSize    : true,
        closeClick  : false,
        openEffect  : 'none',
        closeEffect : 'none'
    });

    $(".fancyimage").fancybox({
        maxWidth    : 800,
        maxHeight   : 600,
        fitToView   : false,
        scrolling   : 'no',
        autoSize    : true,
        closeClick  : false,
        openEffect  : 'none',
        closeEffect : 'none'
    });

    // $('.fancytip').cluetip();

    $('.fancytip').cluetip({
      // showTitle: true,
      // cluetipClass: 'rounded',
      // dropShadow: false,
      positionBy: 'mouse'
    });

    /*
    $('.fancytip').cluetip({
      splitTitle: '|', // use the invoking element's title attribute to populate the clueTip...
                       // ...and split the contents into separate divs where there is a "|"
      showTitle: false // hide the clueTip's heading
    });
    */
});

