public Vector getObjects(String prefix,int cidmask,boolean suspended_obj,
	JGRectangle bbox) {
		Vector objects_v = new Vector(50,100);
		int nr_obj=0;
		JGRectangle obj_bbox = tmprect1;
		int firstidx=getFirstObjectIndex(prefix);
		int lastidx=getLastObjectIndex(prefix);
		for (int i=firstidx; i<lastidx; i++) {
			JGObject obj  = (JGObject)objects.values[i];
			if (cidmask==0 || (obj.colid&cidmask)!=0) {
				if (suspended_obj || !obj.is_suspended) {
					if (bbox!=null) {
						if (!obj.getBBox(obj_bbox)) continue;
						if (bbox.intersects(obj_bbox)) {
							objects_v.addElement(obj);
						}
					} else {
						objects_v.addElement(obj);
					}
				}
			}
		}
		return objects_v;
	}