code: def generateSummaryHTMLTable(self, extraLapse = TYPICAL_LAPSE):
  		'''Generates a summary in HTML of the status of the expected scripts broken based on the log.
  			This summary is returned as a list of strings. 
  		'''
  		scriptsRun = self.scriptsRun
  		html = []
  		html.append("<table style='text-align:center;border:1px solid black;margin-left: auto;margin-right: auto;'>\n")
  		html.append('	<tr><td colspan="4" style="text-align:center"></td></tr>\n')
  		html.append('	<tr style="font-weight:bold;background-color:
  		tablestyle = ['background-color:
  		warningstyle = ['background-color:
  		failstyle = ['background-color:
  		count = 0
  		for name, details in sorted(scriptsRun.iteritems()):
  			status = None
  			rowstyle = tablestyle[count % 2]
  			if details["lastSuccess"] and expectedScripts.get(name):
  				if not expectedScripts.check(name, details["lastSuccess"], extraLapse): 
  					status = "STOPPED"
  			else:
  				rowstyle = failstyle[count % 2]
  				status = "FAIL"
  			laststatusstyle = tablestyle[count % 2]
  			if details["status"] & RETROSPECT_FAIL:
  				laststatusstyle = failstyle[count % 2]
  				status = "FAIL"
  			elif status != "STOPPED" and details["status"] & RETROSPECT_WARNING:
  				laststatusstyle = warningstyle[count % 2]
  				status = "WARNINGS"
  			elif status != "FAIL" and status != "STOPPED":
  				status = "OK"
  			html.append('<tr style="text-align:left;%s">\n' % rowstyle)
  			if status == "STOPPED":
  				html.append('\t<td style="%s">%s</td>\n' % (failstyle[count % 2], name))
  			else:
  				html.append('\t<td style="%s">%s</td>' % (tablestyle[count % 2], name))
  			if details["lastRun"]:
  				if status == "STOPPED":
  					html.append('\t<td style="%s"><a href="
  				else:
  					html.append('\t<td style="%s"><a href="
  			else:
  				html.append('\t<td style="%s">%s</td>\n' % (laststatusstyle, status))
  			if details["lastRun"]:
  				html.append('\t<td style="%s"><a href="
  			else:
  				html.append('\t<td style="%s">none found</td>\n' % laststatusstyle)
  			if details["lastSuccess"]:
  				html.append('\t<td><a href="
  			else:
  				html.append('\t<td>none found</td>\n')
  			html.append('</tr>\n')
  			count += 1
  		html.append("</table>")
  		return html