function validateComments() {
	if(document.commentForm.commentText.value == "" || document.commentForm.commentText.value.length<0) {
		alert("Please provide your comments.");
		document.commentForm.commentText.focus();
		return false;
	}
	if(document.commentForm.commentName.value == "" || document.commentForm.commentName.value.length<0) {
		alert("Please provide your name.");
		document.commentForm.commentName.focus();
		return false;
	}
	if(document.commentForm.commentEmail.value == "" ||  ValidEmail(document.commentForm.commentEmail.value) == false) {
		alert("Please provide your valid email address.");
		document.commentForm.commentEmail.focus();
		return false;
	}
	if(document.commentForm.commentTownCity.value == "" || document.commentForm.commentTownCity.value.length<0) {
		alert("Please provide your town/city.");
		document.commentForm.commentTownCity.focus();
		return false;
	}
}
function ValidEmail(sEmail)
{
	var bValid;
	var iAt;
	bValid = true;

	iAt = sEmail.indexOf("@");

	if(iAt <= 0) {
		bValid = false;
	}
	else if(sEmail.indexOf(".", iAt + 2) == -1) {
		bValid = false;
	}
	else if(sEmail.length < 6) {
		bValid = false;
	}
	return bValid;
}
function showAll() {
		if(document.getElementById('otherComments').style.display == 'none') {
			document.getElementById('otherComments').style.display = 'block';
			document.getElementById('showAllLink').style.display = 'none';
			document.getElementById('showFewerLink').style.display = 'block';
			
		} else {
			document.getElementById('otherComments').style.display = 'none';
			document.getElementById('showAllLink').style.display = 'block';
			document.getElementById('showFewerLink').style.display = 'none';			
		}
	}