
function newsFeed(stories, format)
{
	var no;
	if (stories == "all") no = newsBullets.length-1;
	if (stories != "all")  no = parseInt(stories-1);
	
	for (n=0; n <= no; n++)
	{
		if (format == "headlines")
		{
			document.writeln("<p class='cite'><b>" + newsBullets[n][1] + "</b><br>");
			document.writeln("" + newsBullets[n][3]);
			if (newsBullets[n][6] != "") document.writeln("<p class='cite'><i><a href='" + newsBullets[n][6] + "'>Read more...</a></i>");
			document.writeln("<hr size='1'>");
		}
		if (format == "index")
		{
			document.writeln("<p><b>" + newsBullets[n][1] + "</b><br><i>" + newsBullets[n][0] + "</i>");
			document.writeln("<p>" + newsBullets[n][3]);
			
			if (newsBullets[n][6] != "") document.writeln("<p><i><a href='" + newsBullets[n][6] + "'>Read more...</a></i>");
			document.writeln("<hr size='1'>");
		}
		
	}
	
	if (format == "headlines") document.writeln("<p class='cite'><i><a href='news/index.html'>More News...</a></i>");

}


newsBullets = new Array();

newsBullets[0] = new Array();
newsBullets[0][0] = "June 21, 2007";		// Date of news release (string)
newsBullets[0][1] = "CRTC Considers Broadcast Application";								// Title
newsBullets[0][2] = "Salt Spring Radio Corporation's application considered on August 27, 2007.";								// Byline
newsBullets[0][3] = "The CRTC, Canada's broadcast regulator, announces that our broadcast license application would be considered at a hearing on August 27, 2007.";								// Paragraph
newsBullets[0][4] = "";								// icon or thumbnail
newsBullets[0][5] = "";								// related link
newsBullets[0][6] = "";								// internal link to story page


newsBullets[1] = new Array();
newsBullets[1][0] = "October 22, 2007";		// Date of news release (string)
newsBullets[1][1] = "CRTC Approves Broadcast Application";								// Title
newsBullets[1][2] = "Salt Spring Radio Corporation's application approved on October 22, 2007.";								// Byline
newsBullets[1][3] = "On October 22, 2007, the CRTC, Canada's broadcast regulator, announces that our broadcast license application is approved.";								// Paragraph
newsBullets[1][4] = "";								// icon or thumbnail
newsBullets[1][5] = "";								// related link
newsBullets[1][6] = "";								// internal link to story page

newsBullets[2] = new Array();
newsBullets[2][0] = "February 5, 2008";		// Date of news release (string)
newsBullets[2][1] = "Islands Trust Approves Transmitter Site";								// Title
newsBullets[2][2] = "Mt. Erskine location approved by local government.";								// Byline
newsBullets[2][3] = "The local Islands Trust Committee approves a site for the radion transmitter on Mt. Erskine.";								// Paragraph
newsBullets[2][4] = "";								// icon or thumbnail
newsBullets[2][5] = "";								// related link
newsBullets[2][6] = "";								// internal link to story page

newsBullets[3] = new Array();
newsBullets[3][0] = "August 10, 2009";		// Date of news release (string)
newsBullets[3][1] = "CFSI Begins Broadcasting on 107.9 FM";								// Title
newsBullets[3][2] = "Salt Spring radio on the air at last.";								// Byline
newsBullets[3][3] = "Salt Spring Island's first radio station begins transmitting on 107.9 FM and online.";								// Paragraph
newsBullets[3][4] = "";								// icon or thumbnail
newsBullets[3][5] = "";								// related link
newsBullets[3][6] = "";								// internal link to story page

newsBullets[4] = new Array();
newsBullets[4][0] = "August 15, 2009";		// Date of news release (string)
newsBullets[4][1] = "CFSI Invites Program Ideas";								// Title
newsBullets[4][2] = "Got an idea for a radio show? CFSI is inviting your participation.";								// Byline
newsBullets[4][3] = "Salt Spring's new radio station, CFSI-FM, is inviting program proposals. Got an idea for a radio show? Music? Talk? Discussion? Information? Sports? News? Chess? Mime? Comedy? Now's the time to turn it into a full-fledged proposal.";								// Paragraph
newsBullets[4][4] = "";								// icon or thumbnail
newsBullets[4][5] = "";								// related link
newsBullets[4][6] = "/news/2009/2009-08-15.html";								// internal link to story page

newsBullets[5] = new Array();
newsBullets[5][0] = "Oct 17, 2009";		// Date of news release (string)
newsBullets[5][1] = "Hi-Fi CFSI!";								// Title
newsBullets[5][2] = "Improved signal processing and more stable internet stream.";								// Byline
newsBullets[5][3] = "Now broadcasting in stereo with improved signal processing and more stable internet stream. Tune us in at 107.9 fm, or <a href='http://87.117.250.5:9148/listen.pls'>listen online</a> right now.";								// Paragraph
newsBullets[5][4] = "";								// icon or thumbnail
newsBullets[5][5] = "";								// related link
newsBullets[5][6] = "";								// internal link to story page

newsBullets[6] = new Array();
newsBullets[6][0] = "Nov 3, 2009";		// Date of news release (string)
newsBullets[6][1] = "CFSI Website Overhauled";								// Title
newsBullets[6][2] = "";								// Byline
newsBullets[6][3] = "The new CFSI website features a dynamic, easy to use program schedule. <a href='/ProgramSchedule.html'>Explore the schedule</a>.";								// Paragraph
newsBullets[6][4] = "";								// icon or thumbnail
newsBullets[6][5] = "";								// related link
newsBullets[6][6] = "";								// internal link to story page

newsBullets [7] = new Array();
newsBullets [7][0] = "Jan 12, 2010";		// Date of news release (string)
newsBullets [7][1] = "Call For Submission: Personal Essays Series";								// Title
newsBullets [7][2] = "";								// Byline
newsBullets [7][3] = "If you  have a true story to tell of personal transformation, now's the time.";								// Paragraph
newsBullets [7][4] = "";								// icon or thumbnail
newsBullets [7][5] = "";								// related link
newsBullets [7][6] = "/news/2010/2010-01-12.html";								// internal link to story page

newsBullets[8] = new Array();
newsBullets[8][0] = "June 8, 2010";		// Date of news release (string)
newsBullets[8][1] = "CFSI Music Department";								// Title
newsBullets[8][2] = "";								// Byline
newsBullets[8][3] = "To stay up to date on all the new music coming to CFSI follow the music department blog <a href='cfsi-fm.blogspot.com'>Column for Sound Ideas</a>";								// Paragraph
newsBullets[8][4] = "";								// icon or thumbnail
newsBullets[8][5] = "";								// related link
newsBullets[8][6] = "/news/2010/2010-06-08.html";								// internal link to story page

/* blank for copying

newsBullets[] = new Array();
newsBullets[][0] = "_insert date_";		// Date of news release (string)
newsBullets[][1] = "";								// Title
newsBullets[][2] = "";								// Byline
newsBullets[][3] = "";								// Paragraph
newsBullets[][4] = "";								// icon or thumbnail
newsBullets[][5] = "";								// related link
newsBullets[][6] = "";								// internal link to story page

*/

//newsBullets.sort();

newsBullets.reverse();

