arrays and getelementbyid