var mostCommentedIntenseDebateArticles = [{"url":"http:\/\/www.plumaslakelife.com\/articles\/company-112479-marysville-plan-aggregate.html","title":"$2.2M payout to Valley Aggregate workers in suit","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2012-01-21 03:37:51"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/fries-569-dining-nicolaus.html","title":"They&rsquo;re eating it up at Sammie&rsquo;s in East Nicolaus","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2012-01-14 18:21:10"},{"url":"http:\/\/www.plumaslakelife.com\/news\/police-112676-marysville-marysville-block.html","title":"1 arrested, 1 sought in brazen Marysville killing","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2012-01-03 01:30:16"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/yuba-112344-marysville-city-olivehurst.html","title":"5 arrested in Olivehurst beating, robbery","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-12-21 11:34:36"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/fluoride-566-water-district.html","title":"Some South Yuba residents against OPUD fluoridation of water","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-12-18 04:51:35"},{"url":"http:\/\/www.plumaslakelife.com\/news\/county-111231-marysville-sutter-body.html","title":"Killer in body parts case gets new court date","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-12-15 20:25:46"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/school-6-district-lake.html","title":"Plumas Lake School District welcomes new faces","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2011-12-11 03:44:11"},{"url":"http:\/\/www.plumaslakelife.com\/news\/california-111524-marysville-measure-gather.html","title":"California clears anti-abortion personhood measure","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-11-20 00:28:44"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/marijuana-564-hudson-homes.html","title":"Plumas Lake homes used for indoor marijuana operations","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2011-09-27 04:52:54"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/wheatland-94499-marysville-police-arrested.html","title":"Wheatland police officer arrested","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-08-12 16:01:42"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/beach-93987-newsherald-city-panama.html","title":"Man dies in Panama City Beach shooting","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2011-08-09 05:21:21"},{"url":"http:\/\/www.plumaslakelife.com\/news\/old-108102-marysville-killed-year.html","title":"Deputy shoots and kills 72-year-old","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-07-17 22:28:52"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/memories-96923-marysville-wheatland-long.html","title":"Off Beat: Wheatland fondly (?) remembers Chris Chandler","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2011-07-10 14:56:18"},{"url":"http:\/\/www.plumaslakelife.com\/news\/chico-107945-marysville-tracks-train.html","title":"Wheatland grad killed in Chico after lying on train tracks","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-07-06 21:59:09"},{"url":"http:\/\/www.plumaslakelife.com\/news\/morning-106851-marysville-shooting-department.html","title":"One dead in Linda drive-by shooting","totalcommentno":3,"commentedinthelastperiod":0,"lastcommentdate":"2011-07-06 04:35:27"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/larson-104688-marysville-linda-face.html","title":"Linda teen struck by impaired driver","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-06-17 09:04:28"},{"url":"http:\/\/www.plumaslakelife.com\/news\/lerma-126090-brownsville-city-alligator.html","title":"Procedures reviewed after dead alligator found in resaca","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-06-10 09:20:07"},{"url":"http:\/\/www.plumaslakelife.com\/news\/perry-107180-marysville-logue-texas.html","title":"Loony in Lubbock?","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-06-03 07:17:47"},{"url":"http:\/\/www.plumaslakelife.com\/news\/woman-118143-brownsville-fight-passport.html","title":"Woman wins passport fight","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2011-05-25 23:17:01"},{"url":"http:\/\/www.plumaslakelife.com\/articles\/bishop-102137-marysville-years-voluntary.html","title":"Bishop sentenced to 11 years for role in shooting","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2011-05-16 18:32:30"}];
function putInIntenseDebateMostCommentedArticles(howMany, showNoOfComments)
{					
	document.write('<ul class="idc">');
	for(var i=0; i< mostCommentedIntenseDebateArticles.length && i < howMany; i++)
	{
		var item = '<li><a href="' + mostCommentedIntenseDebateArticles[i].url + '">' + mostCommentedIntenseDebateArticles[i].title + '</a>';		
		if( showNoOfComments == true ) item += ' (comments ' + mostCommentedIntenseDebateArticles[i].totalcommentno + ').</li>';
		else
			item += '</li>';
		document.write( item );
	}
	document.write('</ul>');
}
