function verifyadd() {
var txt = "";

  if (document.frmadd.title.value=="") {
     txt = txt + "\n * Title";
  }
  if (document.frmadd.description.value=="") {
     txt = txt + "\n * Description";
  }
  if (document.frmadd.name.value=="") {
     txt = txt + "\n * Name";
  }
  if (document.frmadd.email.value=="") {
     txt = txt + "\n * E-mail";
  }
  if (document.frmadd.reclink.value=="") {
     txt = txt + "\n * Reciprocal Link";
  }

	if (txt) {
		alert ("The folowing fields are required:" + txt);
		return false;
	}	
}


function verifyurl() {
var txt = "";

var url = document.frmurl.url.value;
var urlRegxp = /^(http:\/\/www.){1}([\w]+)(.[\w]+){1,2}$/;
	if (urlRegxp.test(url) != true) {
		txt = txt + "\n * URL appears to be incorrect";	
	}
	if (txt) {
		alert ("The folowing fields are required:" + txt);
		return false;
	}
}


function verifycnt() {
var txt = "";

  if (document.frmcnt.fullname.value=="") {
     txt = txt + "\n * Name";
  }
  if (document.frmcnt.email.value=="") {
     txt = txt + "\n * E-mail";
  }
  
  var str=document.frmcnt.email.value
  var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i 
  if (!filter.test(str)) {
     txt = txt + "\n * Please input a valid Email address";
  }
  
  if (document.frmcnt.message.value=="") {
     txt = txt + "\n * Message";
  }

	if (txt) {
		alert ("The folowing fields are required:\n" + txt);
		return false;
	}	
}