^^
1. Boot using XP CD, enter into Recovery Console by pressing
R.
2. Enter Administrator account password and u'll see Command Prompt.
3. Give following command:
fixmbr
fixboot
4. Restart PC and Vista boot loader will be gone.
Now u can boot into XP and can safely format D: drive and can install Vista.