// Define animations to show on annamadeleine.com

// Format is (remember to quote everything) -
// 
// animationName = new Array{
//   "vimeoID",
//   "title",
//   "year",
//   "description",
//   "music"}  
//
// Then to show animation use showAnimation(animationName);

animations = new Array();

animations["mixedTape"] = new Array(
    "5928999",
    "Excerpt from <i>Mixed Tape</i>",
    "2007",
    "Single channel version of multi-chanel projection installation 15:09",
    "Music by Coda"
);

animations["idiotBox"] = new Array(
    "5905334",
    "Excerpt from <i>Idiot Box</i>",
    "2008",
    "Stop motion animation 12:19",
    "Music by Paul Heslin"
);

animations["dusty"] = new Array(
    "5908563",
    "Excerpt from <i>Mixed Tape</i>",
    "2007",
    "Single channel version of multi-chanel projection installation 15:09",
    ""
);

animations["nonsense"] = new Array(
    "5908413",
    "Excerpt from <i>Mixed Tape</i>",
    "2007",
    "Single channel version of multi-chanel projection installation 15:09",
    "Music by Kade Rogers"
);

animations["book"] = new Array(
    "6604642",
    "<i>Why read the book when you can watch the movie?</i>",
    "2009",
    "Stop-motion animation",
    "Music by Art of Fighting"
);

// Change this function to change the vimeo embed code.
function animationString(id) {
    str = '<iframe src="http://player.vimeo.com/video/' + id + '"' +
	'width="600" height="460" frameborder="0" id="videoFrame"></iframe>';

    return(str);
};

// Global variables to keep track of state.
currentAnimation = "";
