function filterForm() {
	var theForm = document.forms[0];
	var hasPorn = false;
	var regex = /porn/i;
	
	for (var i=0 ; i < theForm.length ; i++) {
		
		if (theForm[i].value.match(regex)) {
			hasPorn = true;
		}
	}
	
	if (hasPorn) {
		
		for (var i=0 ; i < theForm.length ; i++) {
			theForm[i].disabled = true;
		}
		
		return false;		
	} else {
		return true;	
	}
	
	
}
