def htmlDataset(dataset = {}, title=""):
    """ Utility function to generate HTML Table from a Dataset"""
    content = "<TABLE cellpadding=5> <caption align=top>" + title + " </caption><TR></TR><TR></TR>"
    for row in dataset['DATA']:
            content += "<TR>"
            for col in dataset['DATA'][row]:
                if row==0:
                    content += "<TH align=left bgcolor=#BBDB88>"
                else:
                    content += "<TD align=left bgcolor=#FFFAB2>"
                content += col
                if row==0:
                    content += "</TH>"
                else:
                    content += "</TD>"
            content += "</TR>"
    content += "</TABLE>"
            
        
    return content