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(	"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[4] = 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[5] = 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[6] = 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[7] = new Story(	"Ireland: Anti Capitalist Bloc 2 for Dail demonstration",
						"Last Tuesday the Garda&iacute; attempted to stop the Anti ...",
						"",
						"",
						"",
						"M21 2:12pm",
						"http://www.anarkismo.net/article/16671");
				stories[8] = new Story(	"Police use violence against bank protests in Ireland",
						"Over the last couple of weeks the Irish police (Ga ...",
						"",
						"",
						"",
						"M20 6:55pm",
						"http://www.anarkismo.net/article/16668");
				stories[9] = new Story(	"Ireland: Anti Capitalist bloc to march on Dail",
						"Over the last week the police in Ireland have twic ...",
						"",
						"",
						"",
						"M17 2:20pm",
						"http://www.anarkismo.net/article/16638");
			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>");
        }