﻿/// <reference path="jQuery-1.3.2-vsdoc.js" />

$(function() {

    //add opacity to image of me
    $('#banner-grappa-bubble').css({ opacity: 0.9 });

    //display the bubble caption when user hovers over photo of me
    $('#banner-grappa').hoverIntent({
        over: function() { $('#banner-grappa-bubble').fadeIn(3000) },
        out: function() { $('#banner-grappa-bubble').fadeOut(3000) },
        sensitivity: 5,
        interval: 200,
        timeout: 0
    });

    $('#messenger').click(function() {
        window.open(
            'http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=b448ad1a6ca15ba8@apps.messenger.live.com&mkt=en-CA',
            '', 
            'toolbar=0,scrollbars=0,location=0,status=0,menubar=0,resizable=0,width=300,height=300'
        );
    });
    
});


	
