N11 Hardtop Rear Window Installation

For those of you installing a new rear window, particularly if you are installing a glass rear window, you may have wondered ? do I put the rubber molding on the glass and then fit to the top or put the molding on the top and fit in the glass?