(function(){

var messages = [
	'I\'ve dropped out of 3 of the 4 schools I\'ve attended. Including my CalTech Physics PhD degree.',
  'We just raised $2.25 million. We are <a href="http://massivehealth.com#jobs">hiring</a>.',
  'I was the <b><a href="http://gigaom.com/2010/03/30/firefox-aza/">Creative Lead</a></b> for <a href="http://www.firefox.com/">Firefox</a>',
	'I am the cofounder of <a href="http://songza.fm">Songza</a>&mdash;a music search engine and jukebox.',
	'I make <b>cardboard</b> furniture. Check out <a href="http://bloxes.com">Bloxes.com</a>.',
  'To the user, the interface is the product.',
	'You can\'t be better without being different.',
	'I\'ve been on the <a href="http://www.flickr.com/photos/azaraskin/4148124550/">cover of Wired</a>.',
	'I\'ve been described as short.',	
	'The future is a renewable resource.',
	'I\'ve given a <a href="http://blog.ted.com/2009/07/session_3_runni_2.php">TED talk</a>.',
	'I am a <a href="http://flickr.com/photos/azaraskin">photographer</a> of many things, but <b>rarely</b> people.',
	'Yes, I am the son of <a href="http://en.wikipedia.org/wiki/Jef_Raskin">the guy</a> who invented the Mac.',
	'Never use a warning when you mean <a href="http://www.alistapart.com/articles/neveruseawarning/">undo</a>.',
	'I speak Japanese and have worked in a Tokyo physics lab'
];

var current = 0;

function animate(){
	$("#iam")
		.css({position:"relative"})
		.animate({left:"+=20px", opacity:0}, 300, function(){ $("#iam").html( messages[current] ) })
		.animate({left:"-=40px"}, 10)
		.animate({left:"+=20px", opacity:1}, 300)
		
	current = (current+1) % messages.length;
}

setTimeout( function(){
  animate();
  setInterval( animate, 7500 );
}, 2500 );


})();
