jQuery(function($){
    $('#box_5 + .moreLessButton').css({
        'color': '#017bba',
        'padding-right': '2em',
        'height': '17px',
        'width': '50%',
        'float': 'right',
        'font-size': '.9em',
        'background': 'url(/files/css/freescale_images/arrow_down_off_icon.gif) no-repeat right center'
    }).hover(function(){
        $(this).css({
            'color': '#017bba',
            'padding-right': '2em',
            'height': '17px',
            'width': '50%',
            'float': 'right',
            'font-size': '.9em',
            'background': 'url(/files/css/freescale_images/arrow_down_on_icon.gif) no-repeat right center',
            'cursor': 'pointer',
            'text-decoration': 'underline'
        });
    }, function(){
        $(this).css({
            'cursor': 'auto',
            'text-decoration': 'none',
            'background': 'url(/files/css/freescale_images/arrow_down_off_icon.gif) no-repeat right center'
        });
    });
    $('.moreOfThis').live('mouseover mouseout', function(event){
        if (event.type == 'mouseover') {
            $(this).css({
                'color': '#017bba',
                'padding-right': '2em',
                'height': '17px',
                'width': '50%',
                'float': 'right',
                'font-size': '.9em',
                'background': 'url(/files/css/freescale_images/arrow_up_on_icon.gif) no-repeat right center',
                'cursor': 'pointer',
                'text-decoration': 'underline'
            });
        }
        else {
            $(this).css({
                'color': '#017bba',
                'padding-right': '2em',
                'height': '17px',
                'width': '50%',
                'float': 'right',
                'font-size': '.9em',
                'background': 'url(/files/css/freescale_images/arrow_up_off_icon.gif) no-repeat right center',
                'cursor': 'pointer',
                'text-decoration': 'underline'
            });
        }
    });
    $('#box_5 li:gt(2)').css({
        'display': 'none'
    });
    $('#box_5 + .moreLessButton').text('See more').live('click', function(){
        $('#box_5 li:gt(2)').toggle();
        $(this).toggleClass('moreOfThis').text(($(this).text() == 'See more') ? 'See less' : 'See more');
        return false
    });
});

