function checkRating(id) {
var theForm = document.getElementById(id);

	if( theForm.nam.value == '' ) {
	alert('Please fill in your name');
	theForm.nam.focus();
	return false;
	}
	else if( theForm.comment.value == '' ) {
	alert('Please fill in your comment');
	theForm.nam.focus();
	return false;	
	}
return true;
}
