// JavaScript Document
function reply(idcomment,tipology)
{
parentidObj =  $('CommentParentId') ;
parentidObj.setValue(idcomment);

//javascript:changeTab('tab_nuovo','inline_boxes_header');
$('CommentName').focus();
}

function voting(idcomment,tipo)
  {
  //0 no
  if(tipo==0)
    idhand= "no" +  idcomment;
  else
    idhand= "yes" + idcomment;
    
  new Ajax.Updater(idhand,UrlVoting + idcomment + '/' + tipo , 
{ method: 'post',
  insertion: Insertion.Replace,onComplete: $(idhand).writeAttribute('href','#' + idhand)   });
  
  }
