//My custom functions

function show(category){
	//Change descriptions
	$(".description[id!='description-"+category+"']").hide("fast");
	$(".description[id='description-"+category+"']").show("fast");
	
	//Change portfolio items
	$(".all-categories:not(:contains('|"+category+"|'))").parent().parent().parent().parent().parent().hide("slow");
	$(".all-categories:contains('|"+category+"|')").parent().parent().parent().parent().parent().show("slow");
}

function showall(){
	$("article").show("slow");
	$(".description").hide("fast");
}
