programming code for parking detect with magnetic sensor DC-SS503

yes i have already made some of the examples given, i have also modified them and run them to check whats going on but still i havent found something similar to what i want.. that is the parking detector..!
the only thing i have is the manual of the magnetic sensor..