At the time of posting bail or bond in any case involving a violation of a criminal or traffic law of the state or a violation of a county ordinance, an additional sum equal to ten percent of the original amount of bail or bond shall be posted. In every case in which any court in this county shall order the forfeiture of bail or bond, the additional sum equal to ten percent of the original bail or bond shall be collected.