<!-- Begin
function contactValidate(form){
if (form.church_name.value.length == 0) {alert("Please enter the church name.");form.church_name.focus();return false}
if (form.phone.value.length == 0) {alert("Please enter the church phone number.");form.phone.focus();return false}
if (form.your_name.value.length == 0) {alert("Please enter your name.");form.your_name.focus();return false}
if (form.mphone.value.length == 0) {alert("Please enter your phone number.");form.mphone.focus();return false}
if (form.memail.value.length == 0) {alert("Please enter your email address.");form.memail.focus();return false}
// openWin();
return true;
}
function contactValidate2(form){
if (form.your_name.value.length == 0) {alert("Please enter your name.");form.your_name.focus();return false}
if (form.mphone.value.length == 0) {alert("Please enter your phone number.");form.mphone.focus();return false}
if (form.memail.value.length == 0) {alert("Please enter your email address.");form.memail.focus();return false}
// openWin();
return true;
}
function openWin(){
// var newwin = window.open('about:blank', 'newwin', 'height=300,width=300');
// window.location="index.html";
// return true;
window.location.href = "index.html"; 
}
function blockError(){return true;}
window.onerror = blockError;

function HidePart(d) { document.getElementById(d).style.display = "none";  }
function ShowPart(d) { document.getElementById(d).style.display = "block"; }
function CheckboxChecked(b,d) {
	var ft = document.myform.foldertype;
	var choice;
	for (i=0;i<ft.length;i++) {
		if (ft[i].checked == true) {choice = ft[i].value;}
	}
	if (choice=='color') {
		HidePart("checkboxdiv2");
		ShowPart("checkboxdiv");
	} else {
		ShowPart("checkboxdiv2");
		HidePart("checkboxdiv");
	}
}

// -->