At the time of posting bail or bond in any case involving a violation of a criminal or traffic law of this state or a violation of a county ordinance, an additional sum equal to ten percent of the original amount of the bail or bond shall be posted. In every case where the superior court, probate court, magistrate court or juvenile court of the county shall order the forfeiture of bail or bond, the additional sum equal to ten percent of the original bail or bond shall be paid over as provided for in the following sections.