void deleteAllBonds() {
		stateScripts.clear();
		viewer.setShapeProperty(JmolConstants.SHAPE_STICKS, "reset", null);
		for (int i = 0; i < bonds.length; i++) {
			if (bonds[i] != null) {
				bonds[i].deleteAtomReferences();
				bonds[i] = null;
			}
		}
		bondCount = 0;
	}