			function validate(){
				var lefturl1, lefturl2
				a1 = new Array(10)
				lefturl1 = document.data.URL.value
				if (lefturl1.length > 0){
					if (lefturl1.substring(0,7) == "http://"){
						lefturl1 = lefturl1.substring(7,lefturl1.length-1);
					}
					a1 = lefturl1.split(".");
					lefturl1 = a1[0];
					if (! isNaN(lefturl1)){
						alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
						return false;
					}
				}
				lefturl1 = document.data.AuthorURL.value
				if (lefturl1.length > 0){
					if (lefturl1.substring(0,7) == "http://"){
						lefturl1 = lefturl1.substring(7,lefturl1.length-1);
					}
					a1 = lefturl1.split(".");
					lefturl1 = a1[0];
					if (! isNaN(lefturl1)){
						alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
						return false;
					}
				}
				if (document.data.Category.value == "00"){
					alert("You must enter in the type of information (e.g., article or book) before submitting.");
					document.data.Category.focus();
					return false;
				}
			/* 	alert("title: " + document.data.Title.value) */
/* 				alert("url?: " + URLQ(document.data.Title.value)) */
				if (URLQ(document.data.Title.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.Title.focus();
					return false;
				}
				if (URLQ(document.data.AuthorFN.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.AuthorFN.focus();
					return false;
				}
				if (URLQ(document.data.AuthorLN.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.AuthorLN.focus();
					return false;
				}
				if (URLQ(document.data.SecondAuthors.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.SecondAuthors.focus();
					return false;
				}
				if (URLQ(document.data.EditionInfo.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.EditionInfo.focus();
					return false;
				}
				if (URLQ(document.data.Publisher.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.Publisher.focus();
					return false;
				}
				if (URLQ(document.data.Year.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.Year.focus();
					return false;
				}
				if (URLQ(document.data.ISBN.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.ISBN.focus();
					return false;
				}
				if (URLQ(document.data.Journal.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.Journal.focus();
					return false;
				}
				if (URLQ(document.data.VolumeInfo.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.VolumeInfo.focus();
					return false;
				}
				if (URLQ(document.data.PublishedDate.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.PublishedDate.focus();
					return false;
				}
				if (URLQ(document.data.Contributor.value)){
					alert("This appears to be a bogus submission. If it is actually valid, please resubmit the information using the email address given or fix the selected field. This is an attempt to eradicate the abuse by those hawking their wares in a spam-like fashion with forms like this. Thanks.");
					document.data.Contributor.focus();
					return false;
				}
				return true;
			}
			
			function URLQ(input){
				var front, ln
				a = new Array(10)
				front = input.substring(0,7)
				a = input.split(".")
				ln = a.length
				/* alert ("front: " + front == "http://") */
/* 				alert ("first: " + a[0] == "www") */
/* 				alert ("tail: " + domainEndingQ(a[ln])) */
				if (front == "http://" || a[0] == "www" || domainEndingQ(a[ln])) {
					return true
				}
				return false;
			}
			
			function domainEndingQ(end) {
				if (end == "com" || end == "edu" || end == "net") {
					return true
				}
				return false
			}