var obj = null;

function checkHover() {
	if (obj) {
		obj.find('div').fadeOut('fast');	
	} //if
} //checkHover

$(document).ready(function() {
    $('#NavMsg').hover(function() {
        if (obj) {
            obj.find('div').fadeOut('fast');
            obj = null;
            document.getElementById('messagecurrent').style.backgroundColor = '#2C486B';
        } //if

        $(this).find('div').fadeIn('fast');
        
    }, function() {
    obj = $(this);
    document.getElementById('messagecurrent').style.backgroundColor = '#5A6A7E';
        setTimeout(
			"checkHover()",
			400);
    });
});