function RadioGroup(me) {
	this.me = me;
	this.getValue = getValue;
	this.isChecked = isChecked;
}

function getValue() {
	with (this) {
		var j = me.length;
		for (var i=0; i<j; i++) {
			if (me[i].checked) {
				return me[i].value;
			}
		}
		return 0;
	}
}

function isChecked() {
	with (this) {
		var j = me.length;
		for (var i=0; i<j; i++) {
			if (me[i].checked) {
				return true;
			}
		}
		return false;
	}
}
