jQuery.noConflict();

	jQuery("#primary-nav a").attr("href", "JavaScript:void(0);");
	jQuery("#primary-nav #nav-Home a").attr("href", "/");

// Home

			jQuery("#primary-nav #nav-Home").mouseenter(function () {	
					jQuery(".down").slideUp("slow","swing").removeClass("down");
			});
			
			jQuery("#primary-nav #nav-Home").mouseleave(function () {
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});


// About

			jQuery("#primary-nav #nav-About a").click(function () {	
					jQuery(".musical-note").animate({ opacity: 0.1 }, 500 );
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery("#about-dropdown").slideDown("slow","swing").addClass("down");
					jQuery("#musical-note-about").animate({
						opacity: 0.6
					}, 500 );
			});
			
			jQuery("#about-dropdown").mouseleave(function () {
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});


// Join

			jQuery("#primary-nav #nav-Join a").click(function () {	
					jQuery(".musical-note").animate({ opacity: 0.1 }, 500 );
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery("#join-dropdown").slideDown("slow","swing").addClass("down");
					jQuery("#musical-note-join").animate({
						opacity: 0.6
					}, 500 );
			});
			
			jQuery("#join-dropdown").mouseleave(function () {
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});


// Events

			jQuery("#primary-nav #nav-Events a").click(function () {	
					jQuery(".musical-note").animate({ opacity: 0.1 }, 500 );
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery("#events-dropdown").slideDown("slow","swing").addClass("down");
					jQuery("#musical-note-events").animate({
						opacity: 0.6
					}, 500 );
					
			});
			
			jQuery("#events-dropdown").mouseleave(function () {
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});


// News

			jQuery("#primary-nav #nav-News a").click(function () {	
					jQuery(".musical-note").animate({ opacity: 0.1 }, 500 );
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery("#news-dropdown").slideDown("slow","swing").addClass("down");
					jQuery("#musical-note-news").animate({
						opacity: 0.6
					}, 500 );
			});
			
			jQuery("#news-dropdown").mouseleave(function () {
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});

// Resources

			jQuery("#primary-nav #nav-Resources a").click(function () {	
					jQuery(".musical-note").animate({ opacity: 0.1 }, 500 );
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery("#resources-dropdown").slideDown("slow","swing").addClass("down");
					jQuery("#musical-note-resources").animate({
						opacity: 0.6
					}, 500 );
			});
			
			jQuery("#resources-dropdown").mouseleave(function () {
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});


// Contact

			jQuery("#primary-nav #nav-Contact a").click(function () {	
					jQuery(".musical-note").animate({ opacity: 0.1 }, 500 );
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery("#contact-dropdown").slideDown("slow","swing").addClass("down");
					jQuery("#musical-note-contact").animate({
						opacity: 0.6
					}, 500 );
			});
			
			jQuery("#contact-dropdown").mouseleave(function () {
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});
			
// Sliding failsafe
jQuery("#primary-nav a").click(function () {
	jQuery(".hovering").delay(1000).mouseleave(function () {
		jQuery(".down").slideUp("slow","swing").removeClass("down").removeClass("hovering");
		jQuery(".hovering").removeClass("hovering");
	});
});

// Board

			jQuery("#primary-nav #nav-Board a").mouseenter(function () {	
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});


// Member

			jQuery("#primary-nav #nav-Member a").mouseenter(function () {	
					jQuery(".down").slideUp("slow","swing").removeClass("down");
					jQuery(".musical-note").animate({
						opacity: 0.1
					}, 500 );
			});
			
