showing how to repeat code using array join method var foo = ["a","b","c"]; alert(foo.join("--")); var num_of_boxes = 13; alert(new Array(num_of_boxes + 1).join("X")); ← Display Loading Graphic Until Page Fully Loaded HTML Entities →