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(	"Deaths in Mozambique riots",
						"At least six people are killed as clashes erupt du ...",
						"",
						"",
						"",
						"S2 6:09pm",
						"http://www.anarkismo.net/article/17452");
				stories[1] = new Story(	"Exchange on \"Black Flame\" between Spencer Sunshine and the authors, in recent \"Anarchist Studies\"",
						" Anarchist Studies  , which describes its ...",
						"",
						"",
						"",
						"S2 2:46pm",
						"http://www.anarkismo.net/article/17450");
				stories[2] = new Story(	"Declaration of the Aims & Principles of the FAO",
						"The Forum of Organized Anarchism - a process in th ...",
						"",
						"",
						"",
						"A29 2:11pm",
						"http://www.anarkismo.net/article/17431");
				stories[3] = new Story(	"Construction strike in Quebec?",
						"Outline of the situation in Quebec by an UCL trade ...",
						"",
						"",
						"",
						"A27 2:24pm",
						"http://www.anarkismo.net/article/17423");
				stories[4] = 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[5] = new Story(	"New Book: Anarchism & Socialism: Reformism or Revolution?",
						"Announcing new book&lt;br /&gt;Anarchism &amp; Socialism: Reformi ...",
						"",
						"",
						"",
						"A25 10:23pm",
						"http://www.anarkismo.net/article/17415");
				stories[6] = new Story(	"\'Ground Zero Mosque\' Controversy: America\'s Dreyfus Affair?",
						"Sometimes public policy disputes become transforme ...",
						"",
						"",
						"",
						"A25 9:31pm",
						"http://www.anarkismo.net/article/17414");
				stories[7] = new Story(	"Afghanistan Crisis Deepens",
						"U.S., Canada and NATO Threaten to Extend War&lt;br /&gt;On Ma ...",
						"",
						"",
						"",
						"A25 9:28pm",
						"http://www.anarkismo.net/article/17413");
				stories[8] = new Story(	"Interview with Ilan Shalif (Anarchists Against the Wall)",
						"Interview with Ilan Shalif (Anarchists Against the ...",
						"",
						"",
						"",
						"A25 7:44pm",
						"http://www.anarkismo.net/article/17412");
				stories[9] = new Story(	"Shifu and the possibilities for Chinese Anarchism",
						"In July 1914, the Shanghai Association of Anarchis ...",
						"",
						"",
						"",
						"A25 1:35pm",
						"http://www.anarkismo.net/article/17408");
			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>");
        }