function FoundWords(content, page) 
{
	var colors = [ "FFFF00", "7CFC00", "C1CDC1", "FA8072", "00F5FF" ];
	var referrer = document.referrer;
	var current_url = document.location.href;
	var words = null;
	
	if (referrer == '' || referrer == null)
	{
		return true;
	}
		
	$('#' + content).each(function() 
	{
		var html = $(this).html();
		//var pattern = new RegExp('/\<form.*id\=\"comment\_form\".*/', "g");
				
		
		if ((current_url.indexOf(page + '.html') != -1)	&& referrer.indexOf(page + '.html') != -1) 
		{
			return true;
		}
		
		if (current_url.indexOf("#s") == -1) 
		{
			return true;
		}
		
		try
		{
			words = referrer.split('?');
			words = words[1].split('&');
			words = words[0].split('=');
			if (words[0] != "search")
			{
				return true;
			}
			words = words[1].split('+');
		}
		catch (test)
		{
			return true;
		}

		for (var i = 0; i < words.length; i++) 
		{			
			$(this).html($.HighlightWord($.UrlDecode(words[i]), $(this).html(), colors[i]));
		}
	});
}
