void save() throws ScriptException {
		if (statementLength > 1) {
			String saveName = parameterAsString(2);
			switch (statement[1].tok) {
			case Token.orientation:
				viewer.saveOrientation(saveName);
				return;
			case Token.bonds:
				viewer.saveBonds(saveName);
				return;
			case Token.state:
				viewer.saveState(saveName);
				return;
			case Token.identifier:
				if (((String) statement[1].value).equalsIgnoreCase("selection")) {
					viewer.saveSelection(saveName);
					return;
				}
			}
		}
		evalError(GT._("save what?") + " bonds? orientation? selection? state?");
	}