Worth reading the Fair Trading website for more details http://www.fairtrading.nsw.gov.au/ftw/Tenants_and_home_owners/Buying_property/Contracts_and_deposits.page
The part you're interested in will be:
If you use your cooling-off rights and withdraw from the contract during the five...