// Java Document// // The tracks array, in each element, holds the album title followed by all the track names.				var tracks = new Array();				tracks[1] = new Array("Henka","henka","trio in five pieces","murder me a bit","perfect love","oblast","never better","laugh at a loop","page turner","animated adventures","silo","marianne","ALL OF HENKA IN ONE CHUNK");				tracks[3] = new Array("This Is Art If You Say So","head messing","beyond the instinct's grasp","who and for","homeward","as close as is","fit of abstract musing","just as smoothly back again","tapped","trouble and desire","ALL OF ART IN ONE CHUNK");				tracks[4] = new Array("Verbigeration","transient plateau","irridescent my world","transterrestrial musings","portavadie","the headless entity","ALL OF VERBIGERATION IN ONE CHUNK");				tracks[5] = new Array("God Does the Difference","healing landscape","wild ideas","just a normal day","tarot series");				tracks[6] = new Array("Faux Bon Omelette","fake it the first time","simile");				tracks[7] = new Array("0700","undulation/precipitation","interpretation/appropriation");				tracks[8] = new Array("Who Are You And What For","welcome to the tele","fearorlaziness","quick bitch","new bean","fade to gray","yao!","end");				tracks[9] = new Array("A Nod From The Lush Worker","come on in","catch hold","mugged & drugged","so little goal","undergrown");				tracks[10] = new Array("Here Be Birdworks","walk towards it","tampering with the basic code & concept of life","immagination without energy remains inert","bounce","lie awake","the programme","intermission","faces","endbits");				tracks[11] = new Array("Get Fact","get fact one","rum & drizzle","get fact two","sloppy speak","carrotcake","get fact three","head full","get fact four","head full (accoustic)","end bits");				tracks[12] = new Array("...And Do Happy Everywhere","dreams of marion","lie","worry those minds","breakdown of three","what will burn","of so-called home","waiting for bats","broken wild","hell bent");				tracks[13] = new Array("The Oddler Bin","the flickr song","flings rocks","bunchofpants radio jingle","git","helium meal","brahead","carenabuse","the famous rio sample","weirdvox","sheepy bits","munkyfeet","luciesong","blocked wild remix");// The links array holds, in each element, the URL of the folder containing the MP3s, the filename of the// page for that album, then the filenames of all the tracks on the album.				var links = new Array();				links[1] = new Array("http://www.birdw0rks.com/henka/","henka.htm","Henka.mp3","TrioInFivePieces.mp3","MurderMeABit.mp3","PerfectLove.mp3","Oblast.mp3","NeverBetter.mp3","LaughAtALoop.mp3","PageTurner.mp3","AnimatedAdventures.mp3","Silo.mp3","Marianne.mp3","Henka.zip");				links[2] = new Array("http://www.birdw0rks.com/muse/","muse.htm","Pingo.mp3","HeatAndSteel.mp3","TheBlueLeopard.mp3","TemporalIntrusion.mp3","FearsAlive.mp3","KneeDeepInTime.mp3","ScatteredThoughtsToBlame.mp3","BittenLips.mp3","OutAndOver.mp3","AMuseMeant.zip");				links[3] = new Array("http://www.birdw0rks.com/art/","art.htm","HeadMessing.mp3","BeyondTheInstinctsGrasp.mp3","WhoAndFor.mp3","Homeward.mp3","AsCloseAsIs.mp3","FitOfAbstractMusing.mp3","JustAsSmoothlyBackAgain.mp3","Tapped.mp3","TroubleAndDesire.mp3","ThisIsArtIfYouSaySo.zip");				links[4] = new Array("http://www.birdw0rks.com/verbigeration/","verbigeration.htm","TransientPlateau.mp3","IrridescentMyWorld.mp3","TransterrestrialMusings.mp3","Portavadie.mp3","TheHeadlessEntity.mp3","Verbigeration.zip");				links[5] = new Array("http://www.birdw0rks.com/god/","god.htm","HealingLandscape.mp3","WildIdeas.mp3","JustANormalDay.mp3","TarotSeries.mp3");				links[6] = new Array("http://www.birdw0rks.com/faux/","faux.htm","FakeItTheFirstTime.mp3","Simile.mp3");				links[7] = new Array("http://www.birdw0rks.com/0700/","0700.htm","Undulation.mp3","Interpretation.mp3");				links[8] = new Array("http://www.birdw0rks.com/whoareyou/","whoareyou.htm","WelcomeToTheTele.mp3","Fearorlaziness.mp3","QuickBitch.mp3","NewBean.mp3","FadeToGray.mp3","Yao.mp3","End.mp3");				links[9] = new Array("http://www.birdw0rks.com/lush/","lush.htm","ComeOnIn.mp3","CatchHold.mp3","MuggedDrugged.mp3","SoLittleGoal.mp3","Undergrown.mp3");				links[10] = new Array("http://www.birdw0rks.com/herebe/","herebe.htm","WalkTowardsIt.mp3","Tampering.mp3","Imagination.mp3","Bounce.mp3","LieAwake.mp3","TheProgramme.mp3","Intermission.mp3","Faces.mp3","Endbits.mp3");				links[11] = new Array("http://www.birdw0rks.com/getfact/","getfact.htm","GetFact1.mp3","RumAndDrizzle.mp3","GetFact2.mp3","SloppySpeak.mp3","Carrotcake.mp3","GetFact3.mp3","Headfull.mp3","GetFact4.mp3","HeadFull2.mp3","Endbits.mp3");				links[12] = new Array("http://www.birdw0rks.com/dohappy/","dohappy.htm","DreamsOfMarion.mp3","Lie.mp3","WorryThoseMinds3","BreakdownOfThree.mp3","WhatWillBurn.mp3","OfSoCalled_Home.mp3","WaitingForBats.mp3","BrokenWild.mp3","HellBent.mp3");				links[13] = new Array("http://www.birdw0rks.com/oddler/","oddler.htm","Flickr.mp3","FlingsRocks.mp3","Bunchofpants.mp3","Git.mp3","Helium.mp3","Brahead.mp3","Carenabuse.mp3","Rio.mp3","Weirdvox.mp3","SheepyBits.mp3","Munkyfeet.mp3","Luciesong.mp3","BlockedWildRemix.mp3");// The checkBrowser function is called from the body of all pages that want to do the dynamic menu bar // creation.// Parameter whichAlbum : 	if zero, then assume all albums are to be displayed and chosen from.//							if a positive integer then all albums will be displayed in the W0rks menu//							bar, but only the album passed will be shown in the side track menu BWSide.//							if negative, then display the albums in the w0rks menu, but don't display//							a side menu of tracks (eg. in the about birdw0rks page).//				function checkBrowser(whichAlbum)				{					var changeBWSide;					if (whichAlbum == 0)						changeBWSide = true;					else						changeBWSide = false;// Set the Html for the main W0rks menu bar.					albbanner.innerHTML=makeAlbumBanner(changeBWSide);// Set the Html for the track menu BWSide for the relevant album					if (whichAlbum > -1)						BWsidepane.innerHTML=makeBWSide(whichAlbum);				};// Function to create the menu bar along the top of the page showing the album titles.// Parameter changeBWSide : a boolean value. True=change the BWSide menu to reflect the tracks available on// 							the album last hovered over, false=no change to BWSide tack menu (the case for //							album specific pages).					function makeAlbumBanner(changeBWSide)				{					var banHtml,album;					banHtml="<table width='100%'><tr>";					for (album in tracks)					{						if (album !=0)						{							banHtml=banHtml+"<th class='ban-items'><a class='newlink'";							if (changeBWSide)							{								banHtml=banHtml+" onmouseover='BWsidepane.innerHTML=makeTrackBanner("+album+");'";							};							banHtml=banHtml+" href='"+links[album][1]+"'> "+tracks[album][0]+" </a>";							banHtml=banHtml+"</th>";						};					};					banHtml=banHtml+"</tr></table>"					return banHtml;										};				// Generate the Html for the BWSide menu listing the tracks.// Parameter album :		If zero then no album chosen yet.//							If positive integer, then list that album's tracks.				function makeBWSide(album)					{					var sideHtml;					if (album==0)					{// No album chosen, so show the birdWorks news. 						sideHtml="</br><div class='albtitle'><b>Birdw0rks News:</b></div><div class='tracktitle'><p>Out now: the new Birdw0rks album 'Henka'. Click on the Henka page to listen. </p><p><b>Birdw0rks wants to infect your pod!</b></p><p<b>Subscribe to the Birdw0rks Podcast:</b>  You can now listen to newly-released birdw0rks sonic missives by subscribing to the Birdw0rks Podcast. You can subscribe via <a class='newlink' href='http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=206177405'>iTunes</a>, or link directly to the RSS feed by clicking on the image below.</p><p><a class='tracktitle' href='birdw0rks.xml' title='Birdw0rks Podcast'><img src='images/podcast2.gif'></a></p><p><b>About the site</b><br>Here you can listen to the old (and crapper) sounds, cast yer lobes over the newer (and hopefully less-ropey) w0rks, enhance your birdw0rks experience with a few relevant w0rdlers, images, & internet stopovers, and find your way to Nether Hayford by bus in the Irrelevant Links section.</p><p> You can navigate the site by clicking on a link at the top of the page. Alternertively, hover over an album name and this box will display the album tracks. You can then click on a track to download the mp3. A huge thanks to Quaz for the html/xml wizardry!</p></div>";					}					else					{// An album was chosen, so show it's tacks in the BWSide menu.						sideHtml=makeTrackBanner(album);					};					return sideHtml;									};// Function to generate the Html for the BWSide menu of tracks.// Parameter album : 	The album to create the tracklist for.				function makeTrackBanner(album)				{					var sideHtml,index;					if (album==0)					{						sideHtml=makeBWSide(0);					}					else					{						sideHtml="<div class='albtitle'>w0rk:<br>"+tracks[album][0]+"</div>";					};					if (album !=0)					{						sideHtml=sideHtml+"<div class='tracktitle'><ul type='square'>";						for (index in tracks[album])						{							if (index >0)								sideHtml=sideHtml+"<li> <a class='tracktitle' href='"+links[album][0]+links[album][parseInt(index)+1]+"' class='newlink' title='"+tracks[album][index]+"'>"+tracks[album][index]+"</a></li>";						};						sideHtml=sideHtml+"</ul></div>";					};					return sideHtml; 				};