A cargo cover is provided for a cargo compartment of a vehicle. The cargo
cover includes first and second panels configured to cover the cargo
compartment. Each panel has a top surface. First and second rails are
mounted to the top surface of the first panel, and third and fourth rails
are mounted to the top surface of the second panel. The first rail is
pivotally connected to the third rail by a first hinge, and the second
rail is pivotally connected to the third rail by a second hinge. The first
panel is pivotable to a folded position over the second panel. In the
folded position, the first rail rests against the third rail and the
second rail rests against the fourth rail so that the top surfaces do not
touch.