- /* Center the security code text when the page has loaded;
- in particular, after we set it */
- window.addEventListener("load", center_code);
+ /* Center the security code text when the page has loaded; in
+ * particular, after we set it. And then center it again. And
+ * again and again and again. Why? I'm glad you asked. Because
+ * it doesn't actually get centered the first time; it's off by
+ * a few pixels. But then if we center it _again_, it moves a
+ * little closer to the true center. Do that enough times and
+ * any errors become unnoticeable. */
+ window.addEventListener("load", center_code_repeatedly);