$(document).ready(function() {   
	  
	  //Plus Button
      $('.plus_vote_btn').click(function(commvote) {  

        var commid =  $(this).attr('rel');
        var vote = $(this).attr('id');
        var rand = new Date().getTime();  
		  

		$.ajax({

      type: "POST",

      url: "includes/comment_vote_process.php?js",

      data: 'id=' + commid + '&vote=' + vote,

      success: function() {

     		$('div#comment_' + commid).load('includes/comment_include.php?id=' + commid + '&vote=' + vote );

      }

     });

	commvote.preventDefault();
	
    return false;

	});
	  
	  
	 //Minus Button 
	 $('.minus_vote_btn').click(function(commvote) {  

       var commid =  $(this).attr('rel');
       var vote = $(this).attr('id');
       var rand = new Date().getTime();  
		  

		$.ajax({

      type: "POST",

      url: "includes/comment_vote_process.php?js",

      data: 'id=' + commid + '&vote=' + vote,

      success: function() {

     		$('div#comment_' + commid).load('includes/comment_include.php?id=' + commid + '&vote=' + vote );

      }

     });

	commvote.preventDefault();
	
    return false;

	});

});