$(document).ready(
	function(){
		
		$('#allowedtags').hide();
        
		$("#tagtoggle").click(function(e){
		                e.preventDefault();
		                $('#allowedtags').slideToggle('fast', function() {
					    // Animation complete.
					  });
					  
		        });

		
		
		$('#circle1').scrollingParallax({
		    staticSpeed : .3,
		    staticScrollLimit : false
		});
		$('#circle2').scrollingParallax({
		    staticSpeed : .6,
		    staticScrollLimit : false
		});
		$('#circle3').scrollingParallax({
		    staticSpeed : 1.6,
		    staticScrollLimit : false
		});
		$('#circle4').scrollingParallax({
		    staticSpeed : .1,
		    staticScrollLimit : false
		});
		
		$('h2.progtitle').click(function () {
	    $('.dropdown').slideToggle('medium');
		});
		
		$('h2.progtitle2').click(function () {
	    $('.dropdown2').slideToggle('medium');
		});
		
		$('h2.progtitle3').click(function () {
	    $('.dropdown3').slideToggle('medium');
		});
		
		$('h2.progtitle4').click(function () {
	    $('.dropdown4').slideToggle('medium');
		});
		
		$('h2.progtitle5').click(function () {
	    $('.dropdown5').slideToggle('medium');
		});
		
		$("#join a").hover(
		  function () {
		    $("#circle5").animate({ 
			    width: ["400",'easeOutBounce'],
			    height: ["400",'easeOutBounce'],
			    marginRight: ["200",'easeOutBounce'],
			    top: ["105",'easeOutBounce'],
			    opacity: 0.3
			  }, 800 );
			$(this).animate({ 
			    width: ["80",'easeOutBounce'],
			    height: ["80",'easeOutBounce'],
			    marginTop: ["60",'easeOutBounce'],
			    top: ["105",'easeOutBounce'],
			    opacity: 0.9
			  }, 300 );
		  },
		  function () {
		    $("#circle5").animate({ 
			    width: ["350",'easeOutBounce'],
			    height: ["350",'easeOutBounce'],
			    marginRight: ["225",'easeOutBounce'],
			    top: ["130",'easeOutBounce'],
			    opacity: 0.1
			  }, 800 );
			$(this).animate({ 
			    width: ["70",'easeOutBounce'],
			    height: ["70",'easeOutBounce'],
			    marginTop: ["70",'easeOutBounce'],
			    top: ["105",'easeOutBounce'],
			    opacity: 0.9
			  }, 300 );
				  }
		);
		
	}
	
);


