function addAction(linksInfo,urlImage,position){
  var newRow = document.getElementById('objectActions').insertRow(position);
  //INSERT IMAGE ---------------------------------------------------------
  var newCell = newRow.insertCell(0);
      newCell.innerHTML = '<img src="'+urlImage+'"/>';
      newCell.className = "image";
  //INSERT LINK ----------------------------------------------------------
  var link = "<a ";
      for ( i in linksInfo) { 
      	if(i=='className'){
      		link += 'class="'+linksInfo[i]+'" ';
      	}else{
      		link += i+'="'+linksInfo[i]+'" ';
      	}	
      }	
      link += ">"+linksInfo.name+"</a>";
      newCell = newRow.insertCell(1);
      newCell.innerHTML = link;
}
