function IsEmpty(str)
{
	for(var i=0;i<str.length;i++)
	{
		if (str.charAt(i)!=" ")
			return false;
	}
	return true;
}
