$.noConflict();
jQuery(document).ready(function($) {

// Animate the "go to top" scroll
$('a[href=#top]').click(function(){
	$('html, body').animate({scrollTop:0}, 'slow');
        return false;
});

// Hover effect on social icons
jQuery(".social_links img").hover(
	function() {
		jQuery(this).stop().animate({"opacity": "0"}, "400");
	},
	function() {
		jQuery(this).stop().animate({"opacity": "1"}, "400");
	});
	

	
// Opacity fade on the main logo
jQuery(".linkFade").hover(
	function() {
		jQuery(this).stop().animate({"opacity": "1"}, "300");
	},
	function() {
		jQuery(this).stop().animate({"opacity": "0.7"}, "300");
	});
	
// Opacity fade on targeted backgrounds.
jQuery(".bgFade").hover(
	function() {
		jQuery(this).stop().animate({"opacity": "1"}, "300");
	},
	function() {
		jQuery(this).stop().animate({"opacity": "0.2"}, "300");
	});
	
			
// Show & Hide: search box, admin bar, 
$(".jq_show_search").click(function () {
	$("#search").fadeToggle('fast');
	return false;	
});
$(".jq_show_admin_bar").click(function () {
	$("#admin_bar").fadeToggle('fast');	
	return false;	
});

});

