Global JS

draw_text function

  • calculates the width and height and sets the css for the body element
  • loops though the slides and sets the polygon text (XXX rename this function and move this part into it's own function)

redrawtext

  • hides the polygon
  • Shows the content (this seems to be empty?)