var m_count = 0; m_items = new Array( "Gateway Status:", "There are currently no known problems with this service.", "should you experience any problems please email support@oldham.ac.uk") while (m_count < 3){ // equals the # of m_items document.write(m_items[m_count]+"
"); m_count++; }