function behaviors() {  
    $("div.League").hover( 
        function() {
            $(this).addClass("Highlight");
        },
        function() {
            $(this).removeClass("Highlight");
        }
    );
       
    $("a.ThumbLink").hover( 
        function() {
            $(this).siblings("span.LeagueName").addClass("Highlight").show();
            var wid = $("span.LeagueName.Highlight")[0].offsetWidth;
            $("span.LeagueName.Highlight").css("margin-left",(((wid/2) * -1)+14) + 'px');
        },
        function() {
            $(this).siblings("span.LeagueName").removeClass("Highlight").hide();
        }
    );
    
    $("input.register-name").focus(function(){
        if( $(this)[0].value=='your name')
        {
            $(this)[0].value='';
        }
    });

    $("input.register-email").focus(function(){
        if( $(this)[0].value=='your email')
        {
            $(this)[0].value='';
        }
    });
    
    $("input.register-name").blur(function(){
        if( $(this)[0].value=='')
        {
            $(this)[0].value='your name';
        }
    });

    $("input.register-email").blur(function(){
        if( $(this)[0].value=='')
        {
            $(this)[0].value='your email';
        }
    });
}
$(document).ready( behaviors );