function validate(form){
  var auth = form.auth.value;
  var comments = form.comments.value;

 if(comments == "www." || comments == "http://" || comments == ".com" || comments == ".net" || comments == ".org" || comments == "url") {
    inlineMsg('comments','You may not enter URLs in this field.');
    return false;
  }
  
 if(auth != "wisdom" || auth == "") {
    inlineMsg('auth','You must enter the correct characters.');
    return false;
  }
  
  function inlineMsg(target,msg) {
  	document.getElementById(target).style.backgroundColor='#f1f0e4';
	document.getElementById(target).focus();
	alert(msg);
  }
  return true;
}