			var isUp = false;			var currentContent = "";			var currentSync = "vendetta";						var fadeTime = 0.6;					songNames = new Array();			songNames["0"] = "&quot;Mass Romantic&quot;<br />From &quot;Mass Romantic&quot;";			songNames["1"] = "&quot;My Rights Versus Yours&quot;<br />From &quot;Challengers&quot;";			songNames["2"] = "&quot;The Laws Have Changed&quot;<br />From &quot;Electric Version&quot;";			songNames["3"] = "&quot;Myriad Harbour&quot;<br />From &quot;Challengers&quot;";			songNames["4"] = "&quot;The Bleeding Heart Show&quot;<br />From &quot;Twin Cinema&quot;";			songNames["5"] = "&quot;All The Things That Go To Make Heaven And Earth&quot;<br />From &quot;Challengers&quot;";						artwork = new Array();			artwork["0"] = "images/massRomantic.jpg";			artwork["1"] = "images/challengers.jpg";			artwork["2"] = "images/electricVersion.jpg";			artwork["3"] = "images/challengers.jpg";			artwork["4"] = "images/twinCinema.jpg";			artwork["5"] = "images/challengers.jpg";					function showTrackInfo(track) {				if(!isUp) {					showContent("");					document.getElementById('songTitle').innerHTML = songNames[track];					document.getElementById('artwork').src = artwork[track];					new Effect.Appear("trackInfo", {duration: 0.8});					new Effect.BlindDown('trackInfo', {duration: 1});					isUp = true;				}				else {					fadeOut("nowPlaying");					var changeSongTitle = "document.getElementById('songTitle').innerHTML = '" + songNames[track] + "';";					var changeArtwork = "document.getElementById('artwork').src = '" + artwork[track] + "';";					setTimeout(changeSongTitle, fadeTime * 1000);					setTimeout(changeArtwork, fadeTime * 1000);					setTimeout("fadeIn('nowPlaying');", fadeTime * 1000);									}			}						// Fade in new content and fade out current content			// (call with content=empty to fade out current)			function showContent(content)			{				if(currentContent != content && currentContent != "") {					fadeOut(currentContent);					if("syncs" == currentContent) {						showSync("");					}					if("" != content) {						setTimeout("fadeIn('" + content + "');", fadeTime * 1000);					}				}				else if("" != content) {									fadeIn(content);				}				if("syncs" == content && isUp) {					stopPlayer();				}				currentContent = content;			}						// Show a sync video and stop currently playing			// (call with sync=empty to just stop currently playing)			function showSync(sync)			{				if("" != sync) {					if(currentSync != sync) {						document.getElementById(currentSync + "Player").Stop();						document.getElementById(currentSync).style.display = "none";					}					document.getElementById(sync).style.display = "block";					currentSync = sync;				}				else {					document.getElementById(currentSync + "Player").Stop();				}			}									function showVideo(id)			{				stopPlayer();				if(currentContent != id && currentContent != "") {					document.getElementById(currentContent).style.display = "none";				}				if("" != id) {					document.getElementById(id).style.display = "block";				}				currentContent = id;			}							function fadeIn(id) {				new Effect.Appear(id, {duration: 0.6});			}			function fadeOut(id) {				new Effect.Fade(id, {from: 1.0, to: 0.0, duration: fadeTime})			}						function stopPlayer()			{				stop();				new Effect.BlindUp('trackInfo', {duration: 1});				isUp = false;			}			
