var bubbleTimer = null; 

var timerDelay = 700;  // delay until a menu shows after hover 1000 == 1 second
var showSpeed = 700;    // length of time the show animation runs
var hideSpeed = 300;    // length of time the hide animation runs



// Do one of these for each of the four popup people
// the items in purple below will need to be customized for each one

$(function(){

$("a.aboutbubble").hover(
        function() { 
                bubbleTimer = setTimeout( function() {  
                                $("em.aboutbubble").animate({opacity: "show", top: "280"}, showSpeed ); 
                        }, timerDelay); 
        },
        function() { 
                clearTimeout(bubbleTimer ); 
                $("em.aboutbubble").animate({opacity: "hide", top: "-15"}, hideSpeed );
        }
);
})

$(function(){
$("a.contactbubble").hover(
        function() { 
                bubbleTimer = setTimeout( function() {  
                                $("em.contactbubble").animate({opacity: "show", top: "320"}, showSpeed ); 
                        }, timerDelay); 
        },
        function() { 
                clearTimeout(bubbleTimer ); 
                $("em.contactbubble").animate({opacity: "hide", top: "-15"}, hideSpeed );
        }
);
})

$(function(){
$("a.securitybubble").hover(
        function() { 
                bubbleTimer = setTimeout( function() {  
                                $("em.securitybubble").animate({opacity: "show", top: "332"}, showSpeed ); 
                        }, timerDelay); 
        },
        function() { 
                clearTimeout(bubbleTimer ); 
                $("em.securitybubble").animate({opacity: "hide", top: "-15"}, hideSpeed );
        }
);
})

$(function(){
$("a.glossarybubble").hover(
        function() { 
                bubbleTimer = setTimeout( function() {  
                                $("em.glossarybubble").animate({opacity: "show", top: "317"}, showSpeed ); 
                        }, timerDelay); 
        },
        function() { 
                clearTimeout(bubbleTimer ); 
                $("em.glossarybubble").animate({opacity: "hide", top: "-15"}, hideSpeed );
        }
);
})
