int getArgbOrPaletteParam(int itoken) throws ScriptException {
		if (itoken < statementLength) {
			switch (statement[itoken].tok) {
			case Token.colorRGB:
				return statement[itoken].intValue;
			case Token.rasmol:
				return Token.rasmol;
			case Token.none:
			case Token.jmol:
				return Token.jmol;
			}
		}
		evalError(GT._("a color or palette name (Jmol, Rasmol) is required"));
		// unattainable
		return 0;
	}