private bool getDomCheckboxValue(string id)
{
HtmlElement he = this.getElementById(id);
if (he == null) return false;
switch (he.TagName.ToLower()) {
case "input":
return (bool)he.GetAttribute("checked").ToLower().Equals("true");
break;
default:
Debug.WriteLine("getCheckboxValue called on non checkbox");
break;
}
return false;
}