
var newsHtml = "<table>";
try {
	var prJSON = YAHOO.lang.JSON.parse(currentNews);
	/* sniff the broswer for IE ineptness, yeah it is not the "proper" way 
		   but this gets results on a page that must display these results regardless of browser quirkyness 
		   the following checks for IE 6+ 
		*/
	var isIE = false;
	if (navigator.userAgent.indexOf('MSIE') > -1) {
		isIE = true;
	}
		
	if (prJSON.ROWCOUNT > 0)
	{
		/* loop over the JSON data from the dynamic server */
		for (var i = 0; prJSON.ROWCOUNT > i; i++)
		{
			newsHtml += '<tr id="currNews'+i+'">';
			newsHtml += '<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
			newsHtml += '<td class="bodyBlueBold" style="width: 60px; text-align:right;">'+prJSON.DATA.DISPDATE[i]+'</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
			newsHtml += '<td><a href="'+appServer+'/content/RTDNewsRelease/'+prJSON.DATA.FILE_NAME[i]+'" style="cursor: pointer;" class="bodyBlueLink" target="_blank">'+prJSON.DATA.PR_TITLE[i]+'</a></td>';
			newsHtml += '</tr>';
		}
		newsHtml += '</table>';
	}
	
	if(isIE) {
		document.getElementById("currNews").innerHTML = newsHtml;
		document.getElementById("currNewsContainer").style.display = "inline";
		document.getElementById("currNews").style.display = "inline";
	} else {
		document.getElementById("currNews").innerHTML = newsHtml;
		document.getElementById("currNewsContainer").style.display = "table-row";
		document.getElementById("currNews").style.display = "table-row";
	}
	
} catch (e) {
	document.getElementById("currNews").style.display = "none";
	document.getElementById("currNewsContainer").style.display = "none";
}







