//
// $Id: Html.js,v 1.2 2010/07/10 16:47:58 steve Exp $
//
var Html = function() {

    // Checkboxes
	//
    this.getCheckBoxValue = function(elem) {
	
	    if ($(elem).attr('checked')) {
            return 1
        } else {
           return 0
        }
    }
	
    this.setCheckBoxValue = function(elem, value) {
	
        if (value == 1) {
            $(elem).attr('checked', 'checked')
        } else {
            $(elem).attr('checked', false)
        }
    }
	
    this.unbindClick = function(elem) {
	
        $(elem).unbind('click')
    }
}

