function validateContact(){
	if (document.getElementById('name').value == "") {
			alert("Please provide your name.");
			document.getElementById('name').focus();
			return false;
		}
		if (document.getElementById('email').value == "") {
			alert("If you don't fill in your email address, I can't respond.");
			document.getElementById('email').focus();
			return false;
		}
		if (document.getElementById('email').value.indexOf ('@',0) == -1 || 
			document.getElementById('email').value.indexOf ('.',0) == -1)
		{
			alert("\nThe E-MAIL field requires a \"@\" and a \".\" be used.\n\nPlease re-enter your e-mail address.")
			document.getElementById('email').select();
			document.getElementById('email').focus();
			return false;
		}
			if (document.getElementById('comment').value == "") {
			alert("Help me out, here. Please humor me if you can't think of anything to write.");
			document.getElementById('comment').focus();
			return false;
		}	
			if (document.getElementById('security_code').value == "") {
			alert("Please re-enter the captcha characters as they appear in the box.");
			document.getElementById('security_code').focus();
			return false;
		}	
		return true;
	}
	
function validateSearch(){
	var query = document.getElementById('searchQuery').value;
	
		if (query.length<=2)  {
		alert("Please search for something with a few more characters.");
		document.getElementById('searchQuery').focus();
		return false;
		}

		return true;
		}
		
function validateComments(){
	if (document.getElementById('name').value == "") {
			alert("Please provide your name.");
			document.getElementById('name').focus();
			return false;
		}
	if (document.getElementById('comment').value == "") {
			alert("Please add your $.02");
			document.getElementById('comment').focus();
			return false;
		}	
		return true;
	}
