My Tracker is in storage right now, so I'm doing this from memory. I think the '97 Vitara uses the same top. Chime in guys if I forget anything...
To open the sunroof, you just squeeze the red buttons on the front clips at the top of the windshield frame, release the clips and fold the header frame back. The header frame with the sunroof attached to it just rests on the targa bar, and there is a strap to snap the frame to the bar, but I rarely use it.
To put the top all the way down, after you fold the sunroof back, unzip the rear window and unzip and remove the side windows. Unsnap the five snaps across the inside of the header bar frame, fold the header frame forward, clip it into its usual position on top of the windshield frame, and fold the sunroof flap back over the rest of the top. Unfasten the two snaps on the inside of the targa bar, and the two snaps on the straps on either side of the roof opening above the doors. This releases the top frame and allows it to fold down to the rear behind the back seat. Release the back corners of the top from the channels at the corners of the rear of the body. Fold the top and stuff it behind the back seat.
Putting it back up is just the reverse process. Clip in the rear corners, raise the frame, snap the snaps to the targa bar, fasten the straps over the doors, refasten the five snaps to the header, reinstall the side windows and rear window.