jQuery(document).ready(function($){
	//When mouse is ontop of
	$(".madimg").mouseover(function(){
		$(this).stop().animate({top:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	//When mouse is removed
	$(".madimg").mouseout(function(){
		$(this).stop().animate({top:'26px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});	
	// latest nest tab taggle
	$('#latest-news').tabSlideOut({
	         tabHandle: '.handle',                              //class of the element that will be your tab
	         tabLocation: 'right',                              //side of screen where tab lives, top, right, bottom, or left
	         speed: 300,                                        //speed of animation
	         action: 'click',                                   //options: 'click' or 'hover', action to trigger animation
	         topPos: '210px',                                   //position from the top
	         fixedPosition: false                               //options: true makes it stick(fixed position) on scroll
	});
	$('img[usemap]').maphilight({
		fillColor: '7ac142',
		fillOpacity: 1.0,
		stroke: true,
		strokeColor: '7E7F81'
	});

});
