//gives id to c_parent_id

if ($(this).is(".commentVote")) {


path = 'insertCommentVote';


}else{


path = 'insertVote';


}


//gives id to c_parent_id
if ($(this).is(".commentVote")) {

path = 'insertCommentVote';

}else{

path = 'insertVote';

}