/*
* Roxanne's Tax Service Sound Library
* http://roxannestaxservice.com
*
* Copyright 2010 Kevin Murek
*/

// We might as well stop the conflicts right here (not like there will be any. jQuery ROCKS!!!).
jQuery.noConflict();

// IE always screws stuff up. We have to start SM2 manually if we want to add AJAX features later.
var soundManager;
soundManager = new SoundManager();
soundManager.onload = function() {
	soundManager.createSound({id: 'intro', url: rootPath + 'stream.php?file=intro'});
}
soundManager.beginDelayedInit();

window.onload = function() {
	if (jQuery.cookie('introPlayed') != 'true') {
		soundManager.play('intro');
		jQuery.cookie('introPlayed', 'true');
	}
}
