// JavaScript Document	

$(document).ready(function() {				
				
$('#nav-top img').each(function(){
	if ($(this).hasClass('current'))
	{
		$(this).css({'opacity': 1});
	}
	else 
	{
		$(this).css({'opacity':0});
	}
})

$('a.nav-item').hover(function () {
		var imageID = $(this).attr('rel');		
        $('.'+ imageID+ ':not(.current)').stop().animate({
            "opacity": 1
        }, 'fast');
    },

    function () {
		var imageID = $(this).attr('rel');
        $('.'+ imageID+ ':not(.current)').stop().animate({
            "opacity": 0
        }, 'fast');
    });
});