
//http://www.weirdpier.com/anarchy/ - Anarchist Cookbook

function DisplayText(id,text)
{
	if (document.getElementById)
	{	
		x = document.getElementById(id);
		x.innerHTML = text;
	}
	else if (document.all)
	{
		x = document.all[id];
		x.innerHTML = text;
	}
	else if (document.layers)
	{
		x = document.layers[id];
		text2 = '<P CLASS="testclass">' + text + '</P>';
		x.document.open();
		x.document.write(text2);
		x.document.close();
	}
}

function DrawLinks()
{
	linksArray = new Array() ;
	linksArray[0] = new Array() ;
	linksArray[0][0] = new Array ( 		"Colleagues",
						"Colleagues",
						"") ;

	linksArray[0][1] = new Array ( 		"Keyo",
						"http://www.keyo.net/",
						"Graphic and multimedia designer, god of the Irish midlands and developer of 'Bionic Roshambo'." );

	linksArray[0][2] = new Array ( 		"Mark Campbell",
						"http://richie.idc.ul.ie/~mark2/",
						"Multimedia and interaction designer, footballer and digital mystic." );

						
	linksArray[1] = new Array() ;
	linksArray[1][0] = new Array ( 		"Resources",
						"Resources",
						"") ;

	linksArray[1][1] = new Array ( 		"Barebones guide to HTML",
						"http://www.werbach.com/barebones/",
						"Still be best guide for beginners.  The barebones guide is the essential 'cheat-sheet' for the most common HTML tags and attributes." );

	linksArray[1][2] = new Array ( 		"JavaScript Reference",
						"http://myhome.iolfree.ie/~sony-youth/apps/JavaScript_Reference.pdf",
						"Like the 'Barebones Guide …' above this is the wonder-book for essential JavaScript.  While it may take a while to download over a dial-up connection, it's worth it." );

	linksArray[1][3] = new Array ( 		"Gamasutra",
						"http://www.gamasutra.com/",
						"The website of the Game Developers Association.  A great resources for articles and discussion of video-game related issues, especially of the proceedings from the American and European Game Developers Conferences." );

	linksArray[1][4] = new Array ( 		"Game Studies",
						"http://www.gamestudies.org/",				
						"Nascent journal for the study of computer games.  Maybe too early to judge, not a strong a resource as Gamasutra but none the less some good discussion to far." );
										

	linksArray[2] = new Array() ;
	linksArray[2][0] = new Array ( 		"Useful Apps",
						"UsefulApps",
						"") ;

	linksArray[2][1] = new Array ( 		"DVD Codec",
						"http://myhome.iolfree.ie/~sony-youth/apps/DVD_codec.zip",
						"A codec is a set of instructions that describe to a computer how it should interpret and play audio or video data.  Windows does not come with a codec for playing DVD video despite many machines being built with DVD-capable drives." );
	
	linksArray[2][2] = new Array ( 		"HTML Kit",
						"http://myhome.iolfree.ie/~sony-youth/apps/HTML_kit.exe",
						"A text-editing app for writing HTML (and related languages).  As someone who used to swear there was no need for anything more fancy than Notepad to write web-pages, I eat my words.  This is beautiful." );

	linksArray[2][3] = new Array ( 		"DVD to DivX Bundle",
						"http://myhome.iolfree.ie/~sony-youth/apps/DVD_to_DivX_bundle.zip",
						"DivX is an advanced codec that allows full-length movies to be stored on one CD for playback using a PC.  This bundle contains everything necessary to 'rip' video from a DVD and convert it to DivX." );

	linksArray[2][4] = new Array ( 		"TMPGEnc 2.5",
						"http://myhome.iolfree.ie/~sony-youth/apps/TMPGEnc.zip",
						"A great app for converting Windows .avi video files to .mpeg.  Finding a free and reliable MPEG encoding app sounds unlikely but this is great.  Lightening fast and absolutely unrestricted." );

	linksArray[2][5] = new Array ( 		"Resource Hacker",
						"http://myhome.iolfree.ie/~sony-youth/apps/resource_hacker.zip",
						"A lucky strike for backroom Flash developers!  This app allows the default title, menus and Windows icon of Flash projectors (.exe) to be hacked, edited or exchanged for more appreciate ones." );

	var NumberofSections = linksArray.length ;
	var HTMLtext = "" ;
	empty = " " ;

	for ( y=0; y<NumberofSections; y++) {
		HTMLtext += "<TABLE width=600 cellspacing=0 cellpadding=0 align=center><TR><TD width=600 valign=top><DIV class='text'><STRIKE>" + linksArray[y][0][0] + "</STRIKE></DIV></TD></TR></TABLE>" ;
		HTMLtext += "<TABLE width=600 align=center cellspacing=0 cellpadding=0><TR><TD width=385 valign=top><DIV id='"+linksArray[y][0][1]+"' class='linknotes' align=justify></DIV></TD><TD width=15 valign=top></TD><TD width=200 valign=top><DIV class='text'>" ;

		var NumberofLinks = linksArray[y].length ;
		for ( x=1; x<NumberofLinks; x++) {
			HTMLtext += "<A href='" + linksArray[y][x][1] + "' " ;
			HTMLtext += "onMouseOver = ' DisplayText ( linksArray["+y+"][0][1], linksArray["+y+"]["+x+"][2] ) ;' " ;
			HTMLtext += "onMouseOut = ' DisplayText ( linksArray["+y+"][0][1], empty ) ;' " ;
			HTMLtext += ">" + linksArray[y][x][0] + "</A><BR>" ;
		} ;
		HTMLtext += "</DIV></TD></TR></TABLE><P>" ;
	} ;

	document.write ( HTMLtext ) ;
	return ;
}

