<!--
function ltrim(strText) { 
	// this will get rid of leading spaces 
	while (strText.charCodeAt(0) == 160 || strText.charCodeAt(0) == 32)
	strText = strText.substring(1, strText.length)
	return strText;
}
//------------------------------------------------------------------------
function rtrim(strText){
	// this will get rid of trailing spaces 
	while (strText.charCodeAt(strText.length-1) == 160 || strText.charCodeAt(strText.length-1) == 32) 
	strText = strText.substring(0, strText.length-1); 
	return strText;
}
//------------------------------------------------------------------------function trim(strText) { 
function trim(strText) {
	// this will get rid of leading/trailing spaces 
	return ltrim(rtrim(strText));
} 

function submitSearch()
{	
	if (trim(document.form1.keywords.value) == "" || document.form1.keywords.value == null)
	{
		alert("Please enter a value for the \"Search\" field.");
		document.form1.keywords.focus();
		return false;
	}
	else
	{
		document.forms["form1"].submit();
	}
}

function PrintThis()
	{
		// Printer-friendly function
		window.print();
	}

// SK 07/29/2005
// Write RSS autodiscovery link to document

	document.write('<link rel=\"alternate\" type=\"application/rss+xml\" title=\"All News\" href=\"/about/lnrssfeed/pr.aspx\" />');

document.write('<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Legal News\" href=\"/about/lnrssfeed/pr_legal.aspx\" />');

document.write('<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Business News\" href=\"/about/lnrssfeed/pr_business.aspx\" />');

document.write('<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Risk News\" href=\"/about/lnrssfeed/pr_risk.aspx\" />');

document.write('<link rel=\"alternate\" type=\"application/rss+xml\" title=\"General News\" href=\"/about/lnrssfeed/pr_general.aspx\" />');

//-->
