function validate() {
	if (document.forms["CT"]) {
		if (document.forms["CT"].certify.checked == true)
			{ return true; }
		else {
			alert("You must certify that the information listed is true and accurate before submitting.");
			return false;
		}
	}

	//Procurement Confirmation Form Page, 24-hour check
	if (document.forms["p_confirm"]) {
		if (document.forms["p_confirm"].p_confirm_check.checked == true) {
			document.forms['p_confirm'].p_confirm_check.checked = false;
			return true; }
		else {
			alert("Please select Yes to continue, or Cancel to cancel this procurement request.");
			return false;
		}
	}
}

function toggleButton(toggle,button) {
	if (toggle.checked==true)	{ button.disabled=false; } 
	else						{ button.disabled=true; }
}

function replDBInsertChars(str) {
	str = str.replace(/’/g,"'");
	str = str.replace(/‘/g,"'");
	str = str.replace(/”/g,"\"");
	str = str.replace(/“/g,"\"");
	str = str.replace(/–/g,"-");
	str = str.replace(/•/g,"--");

	return str;
}
