// JavaScript Documen
function nextAutors(e)
{
  
  divx =document.getElementById("othersAutors");
  $.ajax({
   type: "POST",
   url: "/paginatorAutors.php",
   data: "_pag_id="+e+"&",
   datatype:"html",
   success: function(html)
   {
		  divx.innerHTML=html;
	}
	});
	return false;
}
function CommentAppers()
{
if ((document.getElementById('addCommnet').style.display)!='none')
	{
		$("#addCommnet").hide();
	}
	else
	{
		$("#addCommnet").show();
	}	
}

function EditAppers(a)
{
if ((document.getElementById('editMain'+a).style.display)!='none')
	{
		$("#editMain"+a).hide();
		$("#editSub"+a).show();
		$("#upd2"+a).show();
		$("#upd"+a).hide();
		document.location='#ancla';
	}
	else
	{
		$("#editMain"+a).show();
		$("#editSub"+a).hide();
		$("#upd2"+a).hide();
		$("#upd"+a).show();
}	
}

function delComment(a)
{
	$.ajax({
	   type: "POST",
	   url: "/delComment.php",
	   data: "com_uid="+a
	});
	$("#com"+a).hide();
}
