(
    function ( $ )
    {
        $( document ).ready
        (
            function ()
            {
var category = 'information'; // 'release'

$.get
(
    '/index.php',
    {
        page            : 'topic_view.topic_list',
        search          : 1,
        search_category : category
    },
    function ( data )
    {
        var results = $( data ).find( 'li[class^="news-' + category + '"]' );

        $( results ).each
        (
            function ( index )
            {
                if ( '' !== ( $( this ).find( 'a' ).text() ) )
                {
                    return true;
                }

                var text   = $( this ).text();
                var anchor = $( this ).find( 'a' );

                $( this ).text( '' ).html( anchor.text( text ) );
            }
        );

        $( '#news-area ul' ).append( results );
    }
);
            }
        );
    }
)( jQuery );
