var myQuotes = new Array();
myQuotes[0] = "I fix things that are broken.";
myQuotes[1] = "I'm a monster with an X-acto knife.";
myQuotes[2] = "I move it around 'til it feels right.";
myQuotes[3] = "I love images and words.";
myQuotes[4] = "I'm a peg to hang ideas on. ";
myQuotes[5] = "I take a lot of pictures.";
myQuotes[6] = "I have trouble putting stuff on my walls that doesn't mean anything.";
myQuotes[7] = "I want to make something for you.";
myQuotes[8] = "I hope this makes the world a better place.";
myQuotes[9] = "let's make something together.";
myQuotes[10] = "I stare for too long.";

 $(document).ready(function() {
 	
 // random quote on page load
 	
var myRandom = Math.floor(Math.random()*myQuotes.length);
$('#fuckenquote').html(myQuotes[myRandom]);
 	
 	// Fade menu
 	
 //	$("#menu").fadeTo("fast", 0.85);


// First we hide all exhibitis

$("#menu ul li.section-title").nextAll().hide();

// then the active exhibit is showed

// $("#menu ul").each(function(){
// $(this).find("li.active").prevAll().nextAll().show();
// });

//This is the toggle function

$("#menu ul li.section-title").mouseenter(function(){
    $(this).nextAll().slideDown("fast");
});

$("#menu ul").mouseleave(function(){
	$("#menu ul li.section-title").nextAll().slideUp("fast");
});

//This hides captions that do not have anything in them

$("#img-container span:contains('empty')").css("display", "none");
$("#img-container .pics p:contains('empty')").css("display", "none");


//Shows my phone number
$("#footer #phonenumber").hide();

$("#footer #callme").click(function(){
	$("#footer #phonenumber").slideToggle("fast");
});



 });

