	$(document).ready(function(){
	//accordion menus
	$("#accordion").accordion({ collapsible: true, autoHeight: false });
	
	//Location Map
	$(".popupmap").fancybox({'transitionIn':'elastic','transitionOut':'elastic', 'hideOnContentClick':true});
	
	//Boxes on Home Page
	$("#boxes a img").each(function(){ //find all images withing ID of boxes 
	$(this).css("opacity","0.5"); //set their opacity to "0.5" alpha
	$(this).mouseenter(function(){ //when you hover over the images 
	$(this).animate({opacity:1},{duration:400,queue:false}); //bring opacity back to full, stop if mouse leaves the image
	}); //close mouse enter
	$(this).mouseleave(function(){ //start mouse leave
	$(this).animate({opacity:0.5},{duration:600,queue:false}); //bring opacity down to "0.5" alpha, stop if mouse leaves image
	}); //close mouse leave function	
	}); //close boxes each function	
	
	$("#footer-background a img").each(function(){
	$(this).css("opacity","0.5");
	$(this).mouseenter(function(){
	$(this).animate({opacity:1},{duration:400,queue:false});});
	$(this).mouseleave(function(){
	$(this).animate({opacity:0.5},{duration:400,queue:false});
	});
	});
	 
	$("#slides-health").cycle({timeout: 9000, random:1, speedOut: 1200, speedOut: 1000});
	$("#slides-test").cycle({fx:'scrollUp',timeout: 12000, random:1, speedOut: 1000, speedOut: 1000});

	}); //close document ready function