$(document).ready(function(){

/* HOMEPAGE IMAGE ROLLOVER */
	$('.home-images-child .dropshadow').hoverIntent(function(){
		$(this).animate({
			borderWidth: '5px',
			marginLeft: '-5px',
			marginTop: '-5px'
			}, 00);
	}, function() {
		$(this).animate({
			borderWidth: '0px',
			marginLeft: '0px',
			marginTop: '0px'			
			}, 00)
	})


/* SIDE NAV ROLLOVER */

/* $('.side-nav ul li').hoverIntent(animOver, animOut) */

function animOver(e) 
{
	if (!$(e.target).hasClass('current_page_item')) 
 	{ 
		$(e.target).children('a').animate({paddingLeft: '7px', borderLeftWidth: '3px'}, 200);
	}
}

function animOut(e)
{
	if (!$(e.target).hasClass('current_page_item')) 
 	{ 
		$(e.target).children('a').animate({paddingLeft: '10px',borderLeftWidth: '0px'}, 200);	
	}
}

/* DROP SHADOW FUNCTION */

$("img.dropshadow").dropShadow({left: 2, top: 2, opacity:.9, color:"#000", blur: 1});

})



