function trunc(s, l)
{
	if (s.length < l)
	{
		document.write(s);
	}
	else
	{
		document.write(s.substring(0, l-3) + '...');		
	}
}



