We construct canonical bundles for
Hamiltonian loop group actions with proper moment maps. As an
application, we show that for certain moduli spaces of flat
connections on Riemann surfaces with boundary, the first
Chern class is a multiple of the cohomology class of the
symplectic form.