Fry, John (2012): Exogenous and endogenous crashes as phase transitions in complex financial systems. Unpublished.