private static int parseTime(String timeString)
	{
		String[] parts = timeString.split(":");
		if (parts.length != 2)
			return -1;
		
		int time = 0;
		try
		{
			time = Integer.parseInt(parts[0].trim()) * 10000;
			if (time < 0 || time > 24000)
				return -1;
		}
		catch (Exception e)
		{
			return -1;
		}
		
		try
		{
			int seconds = Integer.parseInt(parts[0].trim());
			if (seconds < 0 || seconds > 59)
				return -1;
			time += seconds * 1000 / 60;
		}
		catch (Exception e)
		{
			return -1;
		}
		
		return time;
	}