function writeLink()
	{
		document.write("<a href='"+this.url+"' title='"+this.summary+". "+this.region+"-"+this.topic+"-"+this.type+"'>"+this.title+"</a> <small><i>"+this.time+"</i></small>");
	}
	function Story(title,summary,region,topic,type,time,url,imageTags)
	{
		this.title=title;
		this.summary=summary;
		this.region=region;
		this.topic=topic;
		this.type=type;
		this.time=time;
		this.url=url;
		this.writeLink=writeLink;
	}
	stories = new Array(10);
			stories[0] = new Story(	"Struggle against Shell in Ireland continues as public hearing gets underway",
						"The decade long struggle against the construction  ...",
						"",
						"",
						"",
						"A26 2:29pm",
						"http://www.anarkismo.net/article/17418");
				stories[1] = new Story(	"Resistance 124 July/August 2010",
						"Latest issue of the AF\'s regular paper&lt;br /&gt;JULY-AU ...",
						"",
						"",
						"",
						"A18 6:11pm",
						"http://www.anarkismo.net/article/17362");
				stories[2] = new Story(	"Rural community in Ireland stop Shell drilling",
						"Continued resistance in Sruwaddacon Estuary in Err ...",
						"",
						"",
						"",
						"A12 2:31pm",
						"http://www.anarkismo.net/article/17310");
				stories[3] = new Story(	"La realtà dei sindacati irlandesi dopo l’accordo di Croke Park",
						"Dal n&deg;116 di &quot;Workers Solidarity&quot;, luglio/agosto 2 ...",
						"",
						"",
						"",
						"A3 1:09pm",
						"http://www.anarkismo.net/article/17218");
				stories[4] = new Story(	"Workers Solidarity 116 now online",
						"Ireland\'s anarchist paper&lt;br /&gt;The July August edition  ...",
						"",
						"",
						"",
						"J21 2:02pm",
						"http://www.anarkismo.net/article/17133");
				stories[5] = new Story(	"Where Were The Protests Going In Ireland Before They Were Gone?",
						"The weekly protests at the D&aacute;il didn\'t last long - ...",
						"",
						"",
						"",
						"J18 2:17pm",
						"http://www.anarkismo.net/article/16888");
				stories[6] = new Story(	"Irish Anarchist Review Issue 1",
						"Welcome to the first issue of The Irish Anarchist  ...",
						"",
						"",
						"",
						"J16 6:30pm",
						"http://www.anarkismo.net/article/16871");
				stories[7] = new Story(	"Black Flag Issue 231: Out now",
						"This issue is both a celebration of big anniversar ...",
						"",
						"",
						"",
						"M28 9:14pm",
						"http://www.anarkismo.net/article/16730");
				stories[8] = new Story(	"Irlanda: La linea del fronte è tracciata",
						"Il settore pubblico pagher&agrave; i costi dell\'accordo g ...",
						"",
						"",
						"",
						"M25 1:30pm",
						"http://www.anarkismo.net/article/16700");
				stories[9] = new Story(	"Irlanda: Un altro spezzone anticapitalista per la manifestazione al parlamento",
						"Marted&igrave; scorso, la polizia ha tentato di fermare l ...",
						"",
						"",
						"",
						"M21 3:53pm",
						"http://www.anarkismo.net/article/16677");
			function writeStoryMarquee(width, height, direction, style)
	{
		document.write("<marquee onMouseOver='stop()' onMouseOut='start()'");
		if(style!=null) document.write(" style='"+style+"'");
		if(width!=null) document.write(" width='"+width+"'");
		if(height!=null) document.write(" height='"+height+"'");
		if(direction!=null) document.write(" direction='"+direction+"'");
		document.write(">");
		for(i=0;i<stories.length;i++)
		{
			stories[i].writeLink();
			if(direction=="up" || direction=="down") document.write("<br><br>");
			else document.write("&nbsp;&nbsp;&nbsp;");
		}
		document.write("</marquee>");
	}
	function writeStoryTable(width, height, align, style)
	{
        	document.write("<table ");		
        	if(style!=null) document.write(" style='"+style+"'");		
        	if(width!=null) document.write(" width='"+width+"'");		
        	if(height!=null) document.write(" height='"+height+"'");		
        	if(align!=null) document.write(" align='"+align+"'");		
        	document.write(">");		
            	document.write("<tr><th>");			
            	document.write(" /  / ");
	    	document.write("</th></tr>");
        	for(i=0;i<stories.length;i++)		
        	{			
            		document.write("<tr><td>");			
            		stories[i].writeLink();
	    		document.write("</td></tr>");
        	}
		document.write("</table>");
        }