function toggleproof(){
	var theinput = document.getElementById('proof-cost');
	var thebox = document.getElementById('checkboxproof');
	
	if (thebox.checked == false){
		theinput.value = "0";
	} else {
		theinput.value = "(+" + proofcost + ")";
	}
}
function checkData() {
	var t = document.getElementById("pit-txt-area");
	t.value = t.value.replace(/\(\-/, "(+");
}
