function checkForm() {
	if ( document.comments.n.value=="" ) {
		alert( "Ya gotta enter your name, chief." )
		document.mainForm.n.focus()
		return false
	}
	if ( document.comments.c.value=="" ) {
		alert( "Umm... The whole point is to leave a comment." )
		document.mainForm.c.focus()
		return false
	}
	return true
}

function generateCommentReferences( comments, element ) {
	for (var key in comments)
		alert( comments[key] )
	alert( element.innerHTML )
}