// JavaScript Document
//activating code for a button of field

			var checkobj
			function agreesubmit(el){
			checkobj=el
			if (document.all||document.getElementById){
			for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
			var tempobj=checkobj.form.elements[i]
			if(tempobj.name.toLowerCase()=="submit")
			tempobj.disabled=!checkobj.checked
			}
			}
			}
			function agreeamount(el){
			checkobj=el
			if (document.all||document.getElementById){
			for (i=0;i<checkobj.form.length;i++){  //hunt down name of the field
			var tempobj=checkobj.form.elements[i]
			if(tempobj.name.toLowerCase()=="amount")
			tempobj.disabled=!checkobj.checked
			}
			}
			}
			function agreematerial(el){
			checkobj=el
			if (document.all||document.getElementById){
			for (i=0;i<checkobj.form.length;i++){  //hunt down name of the field
			var tempobj=checkobj.form.elements[i]
			if(tempobj.name.toLowerCase()=="material")
			tempobj.disabled=!checkobj.checked
			}
			}
			}
			function defaultagree(el){
			if (!document.all&&!document.getElementById){
			if (window.checkobj&&checkobj.checked)
			return true
			else{
			alert("Please read/accept terms to submit form")
			return false
			}
			}
			}