Update analytics.aspx.cs

Changes suggested in post here http://www.opensourceautomation.com/phpBB3/viewtopic.php?p=5742#p5742
Merge pull request #98 from Automate1/patch-4

Update analytics.aspx.cs