window.onload = function() {
	var elem = document.getElementsByTagName('input')
	for(var i=0;i<elem.length;i++) {
		if(elem[i].type == "checkbox") {
			elem[i].onclick = function() {
				if(this.checked) {
					try {
						eval(this.getAttribute('onCheck'));
					}
					catch(e) {
						alert("An error occurred when attempting\nto utilize the onCheck event ...")
					}
				}
				else if(!this.checked) {
					try {
						eval(this.getAttribute('onUnCheck'));
					}
					catch(e) {
						alert("An error occurred when attempting\nto utilize the onUnCheck event ...")
					}
				}
			}
		}
	}
}
