BLUE

			setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/blueWhale/spectrogramBlueWhale.png',
			 '../../images/species/spectrogramPlayer/baleenWhales/blueWhale/scaleHZblueWhale.png',
			 'The call of blue whale', 
			 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue.wav',
			 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue.mp3');
			
			//call1
			$("#callLink1").click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/blueWhale/spectrogramBlueWhale.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/blueWhale/scaleHZblueWhale.png',
					 'The call of blue whale',
					 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue.mp3');
				}
			);
			//call2
			$("#callLink2").click(
				function() {
					//document.getElementById("spectrogramAudio").src = "../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue.wav";
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Acall.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Acall.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/blueWhale/spectrogramBlueWhale2.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/blueWhale/scaleHZblueWhale2.png',
					 ‘Blue whale A call’,
					 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Acall.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Acall.mp3');
				}
			);
			//call3
			$("#callLink3").click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Bcall.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Bcall.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/blueWhale/spectrogramBlueWhale3.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/blueWhale/scaleHZblueWhale3.png',
					 'Blue whale B call',
					 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Bcall.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/blueWhale/blue_Bcall.mp3');
				}
			);

————————————————————————————————————————————————————————————————————————————————————

BOWHEAD

		$("#callLink2”).click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/bowheadWhale/bowhead_usualCalls.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/bowheadWhale/bowhead_usualCalls.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/bowheadWhale/spectrogramBowheadWhale2.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/bowheadWhale/scaleHZbowheadWhale2.png',
					 ‘Bowhead whale usual calls’,
					 '../spectrogramPlayerComponents/audio/baleenWhales/bowheadWhale/bowhead_usualCalls.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/bowheadWhale/bowhead_usualCalls.mp3');
				}
			);

	STILL need to make spectrogram of Bowhead Whale Song.wav       @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

————————————————————————————————————————————————————————————————————————————————————

HUMPBACK

			//call2
			$("#callLink2").click(
				function() {
					//document.getElementById("spectrogramAudio").src = "../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_bubblenetFeeding.wav";
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_bubblenetFeeding.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_bubblenetFeeding.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/humpbackWhale/spectrogramHumpbackWhale2.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/humpbackWhale/scaleHZhumpbackWhale2.png',
					 'Humpback bubblenet feeding',
					 '../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_bubblenetFeeding.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_bubblenetFeeding.mp3');
				}
			);
			//call3
			$("#callLink3").click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_socialSounds.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_socialSounds.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/humpbackWhale/spectrogramHumpbackWhale3.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/humpbackWhale/scaleHZhumpbackWhale3.png',
					 'Humpback whale social sounds',
					 '../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_socialSounds.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/humpbackWhale/humpback_socialSounds.mp3');
				}
			);

————————————————————————————————————————————————————————————————————————————————————

NORTH ATLANTIC RIGHT WHALE

			//call2
			$("#callLink2").click(
				function() {
					//document.getElementById("spectrogramAudio").src = "../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_gunShots.wav";
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_gunShots.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_gunShots.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/nAtlRightWhale/spectrogramNAtlRightWhale2.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/nAtlRightWhale/scaleHZnAtlRightWhale2.png',
					 'N. Atl. Right Whale gun shots',
					 '../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_gunShots.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_gunShots.mp3');
				}
			);
			//call3
			$("#callLink3").click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_upCalls.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_upCalls.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/baleenWhales/nAtlRightWhale/spectrogramNAtlRightWhale3.png',
					 '../../images/species/spectrogramPlayer/baleenWhales/nAtlRightWhale/scaleHZnAtlRightWhale3.png',
					 'N. Atl. Right Whale up calls',
					 '../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_upCalls.wav',
					 '../spectrogramPlayerComponents/audio/baleenWhales/nAtlRightWhale/nAtlRightWhale_upCalls.mp3');
				}
			);

————————————————————————————————————————————————————————————————————————————————————

BELUGA WHALE

			//call2
			$("#callLink2").click(
				function() {
					//document.getElementById("spectrogramAudio").src = "../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_socialSounds.wav";
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_socialSounds.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_socialSounds.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/belugasNarwhals/belugaWhale/spectrogramBelugaWhale2.png',
					 '../../images/species/spectrogramPlayer/belugasNarwhals/belugaWhale/scaleHZbelugaWhale2.png',
					 'Beluga whale social sounds',
					 '../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_socialSounds.wav',
					 '../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_socialSounds.mp3');
				}
			);
			//call3
			$("#callLink3").click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_clicks.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_clicks.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/belugasNarwhals/belugaWhale/spectrogramBelugaWhale3.png',
					 '../../images/species/spectrogramPlayer/belugasNarwhals/belugaWhale/scaleHZbelugaWhale3.png',
					 'Beluga whale clicks',
					 '../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_clicks.wav',
					 '../spectrogramPlayerComponents/audio/belugasNarwhals/belugaWhale/beluga_clicks.mp3');
				}
			);

————————————————————————————————————————————————————————————————————————————————————

ORCA

			//call2
			$("#callLink2").click(
				function() {
					//document.getElementById("spectrogramAudio").src = "../spectrogramPlayerComponents/audio/dolphins/orca/orca_transientPod.wav";
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/dolphins/orca/orca_transientPod.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/dolphins/orca/orca_transientPod.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/dolphins/orca/spectrogramOrca2.png',
					 '../../images/species/spectrogramPlayer/dolphins/orca/scaleHZorca2.png',
					 'Orca transient pod',
					 '../spectrogramPlayerComponents/audio/dolphins/orca/orca_transientPod.wav',
					 '../spectrogramPlayerComponents/audio/dolphins/orca/orca_transientPod.mp3');
				}
			);
			//call3
			$("#callLink3").click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/dolphins/orca/orca_residentPod.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/dolphins/orca/orca_residentPod.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/dolphins/orca/spectrogramOrca3.png',
					 '../../images/species/spectrogramPlayer/dolphins/orca/scaleHZorca3.png',
					 'Orca resident pod',
					 '../spectrogramPlayerComponents/audio/dolphins/orca/orca_residentPod.wav',
					 '../spectrogramPlayerComponents/audio/dolphins/orca/orca_residentPod.mp3');
				}
			);

————————————————————————————————————————————————————————————————————————————————————

SPERM WHALE

			//call2
			$("#callLink2").click(
				function() {
					//document.getElementById("spectrogramAudio").src = "../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_codas.wav";
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_codas.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_codas.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/spermWhales/spermWhale/spectrogramSpermWhale2.png',
					 '../../images/species/spectrogramPlayer/spermWhales/spermWhale/scaleHZspermWhale2.png',
					 'Sperm whale codas',
					 '../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_codas.wav',
					 '../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_codas.mp3');
				}
			);
			//call3
			$("#callLink3").click(
				function() {
					$("#spectrogramAudio").attr("src", "../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_clangs.wav");
					$("#spectrogramAudio").attr('autoplay', 'autoplay');
					
					if (window.HTMLAudioElement) {				
						var spectrogramAudio = document.getElementById("spectrogramAudio");				
						if (spectrogramAudio.pause)
						{
							spectrogramAudio.play();
							$("#arrowPointer").show();
							arrowMovementTimer = setInterval("moveArrow()",10);
						}
					}else{
						document.getElementById("BGSOUND_ID").src = "../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_clangs.mp3"
					}
					
					setSpectrogram('../../images/species/spectrogramPlayer/spermWhales/spermWhale/spectrogramSpermWhale3.png',
					 '../../images/species/spectrogramPlayer/spermWhales/spermWhale/scaleHZspermWhale3.png',
					 'Sperm whale clangs',
					 '../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_clangs.wav',
					 '../spectrogramPlayerComponents/audio/spermWhales/spermWhale/sperm_clangs.mp3');
				}
			);