People more likely to be generous towards charities if they donate before a windfall

People will donate more to charity if they make a pledge before receiving an unexpected cash windfall, a study has shown.