var m_count = 0; m_items = new Array( "" ) while (m_count < 100){ // equals the # of m_items document.write(m_items[m_count]); m_count++; }