function addComments( form , index )
{
	$.post("/ajax/global.php", { "name":  form.name.value , "titulo":  form.titulo.value , "eval" : form.eval.value , "email" : form.email.value , "captcha" : form.captcha.value , "comment" : form.comment.value , "op" : "addComment" , "index" : index },
		function(data)
		{
			if ( data.status  )
			{
				/*$("#btn_addformcomment_"+data.index).toggle("slow");	*/
				$("#divformaddcomments_"+data.index).toggle("slow");
				$("#div_response_"+data.index).toggle("slow");	
							
			}
			else
			{
				alert( data.error );
			}			
		}, "json");
}



function focusBuscar(obj)
{
	if(obj.value == "Buscar") {
		obj.value = "";
	}
	return true;
}
function blurBuscar(obj)
{
	if(obj.value == "") {
		obj.value = "Buscar";
	}
	return true;
}

