var countEvents = 0 ; var aEventData = new Array(); aEventData[countEvents++] = new Array("October 26 - 28, 2018","Fiber Show at the GALA Annual Conference","Double Tree Resort, Lancaster, PA","8:00 am - 5:00 pm, Friday, Saturday"); aEventData[countEvents++] = new Array("November 2 - 4, 2018","North American Llama & Alpaca Show 2018"," ","8:00AM"); function getEvents(){ var write_record = false ; var cTitle = '' ; for ( var i=0 ; i < aEventData.length ; ++i ){ write_record = true ; if (write_record == true) { document.write('') ; if (i==0) { document.write('' + aEventData[i][0] + '') ; document.write('   ') ; document.write('' + aEventData[i][1] + '
  Location: ' + aEventData[i][2] + '') ; } else { document.write('' + aEventData[i][0] + '') ; document.write('   ') ; document.write('' + aEventData[i][1] + '
  Location: ' + aEventData[i][2] + '') ; } document.write('') ; } ; }; }