// Propagates the inversion of the colour range of the current image
//  to all open images of the same type.

    if (nImages<=1) exit;
    depth = bitDepth();
    if (depth==24) exit;
    id = getImageID;
    for (i=1; i<=nImages; i++) {
         selectImage(i);
	 run("Grays invert");
    }
