function firstthree(name)
{
	var temp="";
	var first3="";
	var split_text=name.split(" ");//removes extra space
	for(i=0; i<split_text.length; i++)
	{
		temp+=split_text[i];
	}
	first3=(temp.substr(0,3));//gets first 3 characters starting at 0 and length of 3
	return first3;
}