function getFirstThree(){ var str1 = new String("16/08/2018,16/08/2018,16/08/2018"); var str2 = new String("Paul Laing Upgrade,Graham Peacock Upgrade,Vincent Wong and Andrew Spencer Upgrade"); var str3 = new String("b45c724c-aaa4-471d-8b39-4d3440376fdb,23ae7aef-0998-4902-8d9c-0dbf5a4f722d,75c51955-2785-41b1-a920-d3f6ef63bd1c"); var styles = new Array("newstabledeco", "newstabledeco", "newstabledecoEnd"); var str = ""; if (str1 != ""){ var dates = (","); var titles = (","); var ids = (","); for (var i=0; i"; str += ""; str += " "; str += "
"; str += "
"; str += ""; str += " "; str += ""; str += ""; } str +="" } return str; } //document.write(getFirstThree());