// JavaScript Document

// To modify the items to be displayed on the sidebar you will need to edit 4 lines:
// Edit #1 will be the link and date for the first news item
// Edit #2 will be the headline for the first news item
// Edit #3 will be the link and date for the second news item
// Edit #4 will be the headline for the second news item

// Do NOT delete single or double quotes and do NOT force a line break even if the text/code looks like it
// is wrapping in a weird way.

function displayNews() {

var latestNewsHtml = '';
	
	
	latestNewsHtml += "<p class='bluetext'><strong>Campaign News</strong></p>" + 
	"<p class='sidebarSmallText'><span class='bluetext'><strong>" +

// Edit #1: the following line is the first date and link. Change the URL (5a-10-05-11.html) and the date (5.11.10)
	"<a href='5a-10-10-19.html'>10.19.10</a> " +

	"</strong></span>" + 

// Edit #2: the following line is the first headline
	"Recent Survey Shows Dan Debicella with a 46% - 42% Lead Over Himes" +

	"</p>" + 
	"<p class='sidebarSmallText'><span class='bluetext'><strong>" +

// Edit #3: the following line is the second date and link. Change the URL (5a-10-05-03.html) and the date (5.03.10)
	"<a href='5a-10-09-30.html'>9.30.10</a> " +

	"</strong></span>" + 

// Edit #4: the following line is the second headline
	"New Survey Shows CT-4 Race a Dead Heat" +

	"</p>";
		
	document.getElementById('sidebarNews').innerHTML = latestNewsHtml;
	
}
