public string Clean(string htmlCode)
{
//Delete header & footer
int startIndex, endIndex;
startIndex = htmlCode.IndexOf("<body");
endIndex = htmlCode.IndexOf(">", startIndex);
htmlCode = htmlCode.Remove(0, endIndex + 1);
startIndex = htmlCode.IndexOf("</body");
if (startIndex >= 0)
htmlCode = htmlCode.Remove(startIndex);
return htmlCode;
}