public XCheckbox( String id, String value )
{
super();
HTMLInputElement check = (HTMLInputElement)htmlDoc.createElement( "INPUT" );
Node text = htmlDoc.getBody().getFirstChild().cloneNode( true );
check.appendChild( text );
check.getFirstChild().setNodeValue( value );
check.setId( id );
check.setAttribute( "type", "checkbox" );
inputElement = check;
}