function checkStr(ele) 
{	
	var bol = true;
	var s = "~#$%^_<>`{}[]\|"
  //loop through all the chars in the string passed in
  for (var i = 0; i < ele.value.length; i++) 
	{  
		if (s.indexOf(ele.value.charAt(i)) != -1) 
			{bol = false;}	
	}

	return bol;
}