﻿

$(function () {

    //setTimeout(showIntro, 3000);
    

    $('.del').click(function () {
        return (confirm("Are you sure?"));
    });


    $.fn.tipsy.defaults = {
        delayIn: 2500,      // delay before showing tooltip (ms)
        delayOut: 2500,     // delay before hiding tooltip (ms)
        fade: false,     // fade tooltips in/out?
        fallback: 'no tooltip',    // fallback text to use when no tooltip text
        gravity: 'e',    // gravity
        html: false,     // is tooltip content HTML?
        live: true,     // use live event support?
        offset: 0,       // pixel offset of tooltip from element
        opacity: 0.8,    // opacity of tooltip
        title: 'title',  // attribute/callback containing tooltip text
        trigger: 'hover' // how tooltip is triggered - hover | focus | manual
    };

    $('a:has("tipsy")').tipsy({ trigger: 'load', gravity: $.fn.tipsy.autoWE });
    $('*[rel=tipsy]').tipsy({ trigger: 'load', gravity: $.fn.tipsy.autoWE });

});

function showIntro() {
    $('#intro_newuser').slideDown();
}
