var IJ = function() {
	
	return {
		
		init : function() {
			
			var player = "/cmn/flash/player.swf";
			
			/*
				Set up Audio Player
			*/
			try {
				AudioPlayer.setup(
					player,
					{
						width:"100%25",
						animation:"yes",
						encode:"yes",
						initialvolume:"60",
						remaining:"no",
						noinfo:"no",
						buffer:"5",
						checkpolicy:"no",
						rtl:"no",
						bg:"E5E5E5",
						text:"333333",
						leftbg:"B4B4B4",
						lefticon:"333333",
						volslider:"a02714",
						voltrack:"666666",
						rightbg:"B4B4B4",
						rightbghover:"999999",
						righticon:"333333",
						righticonhover:"a02714",
						track:"FFFFFF",
						loader:"161f94",
						border:"CCCCCC",
						tracker:"72cef8",
						skip:"666666",
						pagebg:"FFFFFF",
						transparentpagebg:"yes"
					}
				);
			} catch(e) {}
			
			var swfPlayers = {
				p1 : {
					titles		: "It's All Right",
					soundFile	: "L21lZGlhLzAxX2l0c19hbGxfcmlnaHQubXAzA"
				},
				p2 : {
					titles		: "Change The World",
					soundFile	: "L21lZGlhLzAyX0NoYW5nZV9UaGVfV29ybGQubXAzA"
				},
				p3 : {
					titles		: "This Way",
					soundFile	: "L21lZGlhLzAzX1RoaXNfV2F5Lm1wMw"
				},
				p4 : {
					titles		: "Fallin' Sky",
					soundFile	: "L21lZGlhLzA0X0ZhbGxpbl9Ta3kubXAzA"
				},
				p5 : {
					titles		: "Stand Up",
					soundFile	: "L21lZGlhLzA1X1N0YW5kX1VwLm1wMw"
				},
				p6 : {
					titles		: "Caught Up",
					soundFile	: "L21lZGlhLzA2X0NhdWdodF9VcC5tcDM"
				},
				p7 : {
					titles		: "Something",
					soundFile	: "L21lZGlhLzA3X1NvbWV0aGluZy5tcDM"
				},
				p8 : {
					titles		: "Could It Be You",
					soundFile	: "L21lZGlhLzA4X0NvdWxkX0l0X0JlX1lvdS5tcDM"
				},
				p9 : {
					titles		: "Best We Can Do",
					soundFile	: "L21lZGlhLzA5X0Jlc3RfV2VfQ2FuX0RvLm1wMw"
				},
				p10 : {
					titles		: "You Make Everything All Right",
					soundFile	: "L21lZGlhLzEwX1lvdV9NYWtlX0V2ZXJ5dGhpbmdfQWxsX1JpZ2h0Lm1wMw"
				},
				p11 : {
					titles		: "Your Love",
					soundFile	: "L21lZGlhLzExX1lvdXJfTG92ZS5tcDM"
				}
			};
			
			for (var i in swfPlayers) {
				if (document.getElementById(i)) {
					try{
						AudioPlayer.embed(i, swfPlayers[i]);
					} catch(e) {}
				}
			}
			
		}
		
	};
	
}();

IJ.init();