public static int generateEvenIntegerBetween(int min, int max)
	{
		//if the boundaries are the same, return it
		if(max == min)
			return min;
		
		//calculate the range
		int r = max - min;
		
		//if the range is negative, flip
		if(r < 0)
		{
			int temp = min;
			max = min;
			max = temp;
			//recalculate range
			r = max - min;
		}
		//if the range is one, return the even number
		else if(r == 1)
		{
			if(min % 2 == 0)
				return min;
			else
				return max;
		}
		else
		{}
		//make sure the boundaries are even
		if(min % 2 != 0)
			min++;
		if(max % 2 != 0)
			max--;
		
		//choose an even number less than r
		int v = 2 * (int)Randomizer.generateRandomDoubleBetween(0,r/2,0);
		
		v += min;
		
		return v;
	}