Patent ID: 7597374

Claim:
An assembly for opening and closing a passageway into the body of a vehicle comprising: a first post secured to the body at a lateral side of the passageway; an endgate for opening and closing the passageway and able to swing alternately about a lateral axis and an upright axis; a pivot support secured to the first post and aligned with the lateral axis; a pivot secured to the endgate and aligned with the lateral axis, for alternately engaging and disengaging the pivot support, said engagement supporting the endgate for pivoting about the lateral axis, said disengagement permitting the endgate to pivot about the upright axis; and wherein the pivot support further includes a detent plunger, a spring, a first cylinder secured to the first post, aligned with the lateral axis and containing the detent plunger and the spring, the spring urging the plunger toward an end of the cylinder that faces the pivot, and a receptacle secured to the first post for receiving and supporting the pivot therein; and the pivot further includes a second cylinder secured to the endgate and formed with a detent recess, the second cylinder being engageable with the receptacle as the endgate pivots to a closed position about the upright axis, the plunger engaging the recess when the second cylinder is received in the receptacle.