$(document).ready(function(){

/* Atbildes links */

$(".commBack").click(function(event){

var id = this.id.replace('comm', "");

if ($("#aForm"+id).is(':visible')) {
    $("#aForm"+id).hide('fast');  
} else {
     $("#aForm"+id).show('fast');
}
event.preventDefault();
  });


$(".commBack2").click(function(event){

var id = this.id.replace('comm2', "");

if ($("#aForm"+id).is(':visible')) {
    $("#aForm"+id).hide('fast');  
} else {
     $("#aForm"+id).show('fast');
}
event.preventDefault();
  });


});



