var mostCommentedIntenseDebateArticles = [{"url":"http:\/\/www.waltonsun.com\/news\/labor-86731-newsherald-panama-beach.html","title":"Lasagna for those who labor on Labor Day","totalcommentno":1,"commentedinthelastperiod":1,"lastcommentdate":"2010-09-07 01:23:02"},{"url":"http:\/\/www.waltonsun.com\/news\/shot-5365-gun-attack.html","title":"Man survives shark bite, plane crash, heart attack, gun shot","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-09-02 14:45:03"},{"url":"http:\/\/www.waltonsun.com\/articles\/walton-5367-south-office.html","title":"Sheriff's Office encourages 'safety habits' after 'sexual crime' is reported in South Walton","totalcommentno":3,"commentedinthelastperiod":0,"lastcommentdate":"2010-09-02 14:37:17"},{"url":"http:\/\/www.waltonsun.com\/news\/clauson-2921-col-curtis.html","title":"Obituary Curtis S. Clauson, Col., U.S.A.F.","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-31 20:54:16"},{"url":"http:\/\/www.waltonsun.com\/articles\/walton-3970-county-sheriff.html","title":"Wanted Walton County fugitives arrested in Alabama(MUGS)","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-31 13:09:26"},{"url":"http:\/\/www.waltonsun.com\/news\/walton-5358-letter-negating.html","title":"LETTER: Stop negating the north; there is no 'South Walton'","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-30 22:01:21"},{"url":"http:\/\/www.waltonsun.com\/news\/darr-5343-fire-many.html","title":"From the rubble of Katrina a Fire is born: Brenda Darr witnesses the best and worst of humanity whil","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-29 20:42:07"},{"url":"http:\/\/www.waltonsun.com\/news\/stephen-5354-baldwin-devastating.html","title":"Stephen Baldwin to bring Thunder Response Team to Walton County (PHOTOS)","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-29 17:10:03"},{"url":"http:\/\/www.waltonsun.com\/news\/worries-5288-persist-health.html","title":"Worries persist as Health Department sounds all clear","totalcommentno":19,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-26 12:41:16"},{"url":"http:\/\/www.waltonsun.com\/news\/day-5320-decision-election.html","title":"DECISION DAY: Find out who's in and who's out (with ELECTION UPDATES)","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-26 12:06:38"},{"url":"http:\/\/www.waltonsun.com\/news\/ring-86361-newsherald-signs-city.html","title":"Lost in the mail: Wrong woman signs for $5,000 ring","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-25 06:58:41"},{"url":"http:\/\/www.waltonsun.com\/news\/transport-5313-confirmed-update.html","title":"Prisoner transport vehicle crashes, one confirmed dead","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-24 20:56:27"},{"url":"http:\/\/www.waltonsun.com\/news\/deputy-86373-newsherald-people-marijuana.html","title":"Several arrested for aiding fleeing felon, marijuana possession","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-24 02:14:15"},{"url":"http:\/\/www.waltonsun.com\/articles\/time-86312-newsherald-trial-chicago.html","title":"Blago trial put Chicago-style politics on display - RON HART - WaltonSun.com","totalcommentno":2,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-23 13:08:01"},{"url":"http:\/\/www.waltonsun.com\/news\/claims-86331-newsherald-feinberg-process.html","title":"Gaetz: Feinberg promises quick claims process for oil spill","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-21 14:21:15"},{"url":"http:\/\/www.waltonsun.com\/news\/vince-5283-free-walton.html","title":"Beaches of South Walton lands Vince Gill for free concert","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-19 20:30:34"},{"url":"http:\/\/www.waltonsun.com\/news\/race-5286-compete-injured.html","title":"South Walton doctor sacrifices race to aid injured cyclist","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-19 02:03:10"},{"url":"http:\/\/www.waltonsun.com\/news\/lead-86229-newsherald-bank-new.html","title":"Former Peoples CEO to lead new bank","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-18 11:55:13"},{"url":"http:\/\/www.waltonsun.com\/news\/kids-5256-kid-situation.html","title":"COLUMN: All shook up","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-16 12:36:39"},{"url":"http:\/\/www.waltonsun.com\/news\/thanks-5254-made-billman.html","title":"Made in the shade","totalcommentno":1,"commentedinthelastperiod":0,"lastcommentdate":"2010-08-16 01:33:59"}];
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>');
}