en la llamada pone la referencia al campo, onblur=funcionValidar(this)
con esto despues podes usar this.name o this.id y limpiar el campo, aca te dejo un ejemplo que limpia el text si es igual a 1234
Cita: <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script>
function limpiar(campo){
if(campo.value=="1234"){
document.getElementById(campo.name).value = "";
}
}
</script>
</head>
<body>
<input type="text" id="textoprueba1" name="textoprueba1" onblur="limpiar(this)" />
</body>
</html>