$('#nav li a:not("li.current-menu-item a, li.current-page-ancestor a")')
		.css( {'backgroundPosition': "0 0"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0px -95px)"}, {duration:300})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "0 0"})
			}})
		});
	
	
$('.staffmember:nth-child(3n)').css('marginRight', 0);
$('.thumbs:nth-child(5n)').css('marginRight', 0);

$('#minifooter a').mouseover(function() {
  $(this).stop().animate({marginTop: '1px'},100);
}).mouseout(function() {
  $(this).stop().animate({marginTop: '0px'},100);
});

$('.probi').append('<a class="gloss">Click Here to View Video</a>');
$("#gallery-smiles img:first").addClass('current');
$("#gallery-smiles img:not('.current')").css('display','none');
function imageFading(){
var $current = $('#gallery-smiles .current');
var $next = ($('#gallery-smiles .current').next().length > 0) ? $('#gallery-smiles .current').next() : $('#gallery-smiles img:first');
$current.fadeOut('slow',function(){
$current.removeClass('current');
$next.fadeIn().addClass('current');
});
}
$(document).ready(function() {
setInterval('imageFading()', 4900);
});

