$(document).ready(function () {
    $('#TopMenuLinks a').each(function (index) {
        $(this).bind("mouseenter mouseleave", function () {														
            $($('#TopMenuBg > div').get(index)).toggleClass("over");
        });
    });
});
