function newLocation(suffix)
{
    var buffer = window.location.href;

    if (buffer.substr(buffer.length - 1, 1) == '/')
        buffer += suffix;

    return buffer;
}

$(function(){
    $('.active')
        .click(function(){
            window.location = $('div a', this).attr('href')
        })
        .hover(
            function(){
                window.status = newLocation($('div a', this).attr('href'))
            },
            function(){
                window.status = ''
            }
        )
});
