That's a knee-slapper!

Why do people slap their knees when they laugh hard? What evolutionary purpose could this serve?