(function($) {
	$.fn.fadeIn = function(speed, callback) {
       		return this.animate({opacity: 'show'}, speed, function() {
            		if ( $.browser.msie ){
    				this.style.removeAttribute('filter');
			}
			if ( $.isFunction(callback) ){
				callback.call(this);
			}
       		});
  	};
})(jQuery);
$(function(){
	$("#moGfx").click(function(event) {
		$("#gfxDesCnt").slideUp(function(event) {
			$("#digArtCnt").slideUp(function(event) {
             	  	 	$("#moGfxCnt").slideToggle();
			});
		});

	});
}); 
$(function(){
	$("#gfxDes").click(function(event) {
		$("#moGfxCnt").slideUp(function(event) {
			$("#digArtCnt").slideUp(function(event) {
             	  	 	$("#gfxDesCnt").slideToggle();
			});
		});
	});
}); 
$(function(){
	$("#digArt").click(function(event) {
		$("#moGfxCnt").slideUp(function(event) {
			$("#gfxDesCnt").slideUp(function(event) {
             	  	 	$("#digArtCnt").slideToggle();
			});
		});
	});
});

$(function(){
	$(".close").click(function(event) {
		$("#moGfxCnt").slideUp(function(event) {
			$("#gfxDesCnt").slideUp(function(event) {
				$("#digArtCnt").slideUp();
			});
		});
	});
});


$(function(){
	$("#aboutMe").click(function(){
		$("#aboutMeCnt").fadeIn();	
	});

  	$("#aboutMe").click(function(){
		$("#expCnt").hide();
	});

  	$("#aboutMe").click(function(){
		$("#skillsCnt").hide();	
	});

  	$("#aboutMe").click(function(){
		$("#eduCnt").hide();	
	});


  	$("#exp").click(function(){
		$("#expCnt").fadeIn();	
 	});

	$("#expCnt").hide();

  	$("#exp").click(function(){
		$("#aboutMeCnt").hide();
	});

  	$("#exp").click(function(){
		$("#skillsCnt").hide();	
 	});

  	$("#exp").click(function(){
		$("#eduCnt").hide();	
 	});




	$("#skills").click(function(){
		$("#skillsCnt").fadeIn();	
 	});

	$("#skillsCnt").hide();

  	$("#skills").click(function(){
		$("#aboutMeCnt").hide();
	});

  	$("#skills").click(function(){
		$("#expCnt").hide();	
 	});

  	$("#skills").click(function(){
		$("#eduCnt").hide();	
 	});



	$("#edu").click(function(){
		$("#eduCnt").fadeIn();	
 	});

	$("#eduCnt").hide();

  	$("#edu").click(function(){
		$("#aboutMeCnt").hide();
	});

  	$("#edu").click(function(){
		$("#expCnt").hide();	
 	});

  	$("#edu").click(function(){
		$("#skillsCnt").hide();	
 	});
});



$(function(){
	function formatText(index, panel) {
		return index + "";
	};
	$(function () {
		$('.anythingSlider').anythingSlider({
			easing: "swing",
			autoPlay: true,
			startStopped: false,
			delay: 3000,
			animationTime: 900,
			hashTags: false,
			buildNavigation: false,
		});
	});
});
