var countEvents = 0 ; var aEventData = new Array(); aEventData[countEvents++] = new Array("April 6 - 8, 2018","March Llama Madness 2018","253 W Stardust Rd. Cloverdale Indiana","0"); aEventData[countEvents++] = new Array("April 28 - 29, 2018","Sherwoodstock Llama Show","Lower Sherwood Farm, Charlottesville, Virginia","8:00"); aEventData[countEvents++] = new Array("April 28 - 29, 2018","Heartland Llama Show 2018","3700 4th St., SW Mason City IA","7:30 am"); aEventData[countEvents++] = new Array("June 24, 2018","Mt. Baker Summer Fling 2018","","8:00 am"); 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('') ; } ; }; }