//soundManager.debugMode = false;
soundManager.url = '/js/soundmanager2/swf/';

soundManager.useHighPerformance = true; // keep flash on screen, boost performance
soundManager.useFastPolling = true; // increased JS callback frequency

var PP_CONFIG = {
  flashVersion: 9,       // version of Flash to tell SoundManager to use - either 8 or 9. Flash 9 required for peak / spectrum data.
  usePeakData: true,     // [Flash 9 only] whether or not to show peak data (left/right channel values) - nor noticable on CPU
  useWaveformData: false, // [Flash 9 only] show raw waveform data - WARNING: LIKELY VERY CPU-HEAVY
  useEQData: false,      // [Flash 9 only] show EQ (frequency spectrum) data
  useFavIcon: true,      // try to apply peakData to address bar (Firefox + Opera) - performance note: appears to make Firefox 3 do some temporary, heavy disk access/swapping/garbage collection at first(?)
  useMovieStar: true     // Flash 9.0r115+ only: Support for a subset of MPEG4 formats.
}


function animate_logo() {
	$('#logo img').animate({marginTop: '-=20px', opacity: 0.5}, 500);
	setTimeout( function() {
		$('#logo img').animate({marginTop: '+=20px', opacity: 1}, 500);
	}, 500);
	setTimeout(animate_logo, 1000);
}

$(document).ready( function() {
	animate_logo();
});
