def indexes(alist, srch):
	"""return a list of all the indexes of srch in alist"""
	res = []
	work = alist
	while srch in work:
		itm = work.index(srch)
		if len(res):
			res.append(itm+res[-1]+1)
		else:
			res.append(itm)
		work=work[itm+1:]
	return res