Haven't got the data sheet anymore, but I've used dozens of these.
Looking at the bottom with the flat facing up.
Left pin is Drain, middle is Gate, right is Source. The drain and source are interchangeable however, so as long as you know the gates in the middle your ok.