Word of caution guys, if you have multiple holdings ie bought on separate occasions, any subsequent sales are on the basis of LIFO (last in first out). It is insane but that is what the tax legislation mandates.
I got caught on this one because I knew Cap Gains were taxed on FIFO (or nominated holdings) and naturally assumed the same applies to imputation credits.