public int getProtons(String str)
	{
		for(int i = 0; i < eSymbol.length; i++)	//look for symbols that match the string
			if(str.equals(eSymbol[i]))
				return i;
		
		str = str.toLowerCase();
		for(int i = 0; i < eName.length; i++)	//look for names that match the string
			if(str.equals(eName[i].toLowerCase()))
				return i;
		
		return 0;
	}