I have 5 different styles set in an external CSS named bg-01, bg02.. bg-05.

These are all different backgrounds for my main table with an image attached.

How do I randomise the style that is assigned to that table? I can only use Javascript or HTML (no server-side languages).