function ShowHeadlines( elmID, headlinesHtml )
{
	var elm = null;
	
	if( document.getElementById )
	{
		elm = document.getElementById( elmID );
		elm.innerHTML = '';
		elm.innerHTML = headlinesHtml;
	}
	else if( document.all )
	{
		elm = document.all[ elmID ];
		elm.innerHTML = headlinesHtml;
	}
	/*
	else if( document.layers )
	{
		elm = document.layers[elmID];
		var text2 = '<P CLASS="testclass">' + headlinesHtml + '</P>';
		elm.document.open();
		elm.document.write(text2);
		elm.document.close();
	}
	*/
/*		
	if( document.getElementById )
	{
		elm = document.getElementById( elmID );
		if( null != elm )
		{
			elm.innerHTML = headlinesHtml;
		}
	}
	else
	{
		document.write( headlinesHtml );
	}
*/
}


function IsHeadlinesHtmlEmpty( headlinesHtml )
{
	if( headlinesHtml.length > 0 )
	{
		var thePattern = '<dl class="bns-list" />';
		
		return ( thePattern == headlinesHtml.toLowerCase() );
	}
	else
	{
		return false;
	}
}