I am trying to make my javascript code a bit simpler by using a for loop. At the moment my code is:
var i = 0; var iMax = 17 ?>; for(i = 0; i <= iMax; i