

//ensure comment filled in
function checkCommentForm(id){
    if($('comment'+id).value == ""){
        alert('Please enter a comment before clicking the button.');
        return false;
        }
        else{
        return true;
        }
}