Hola
Probé el código así
if(document.getElementById("hddVerObservaciones").value=="1")
y asi
if(document.getElementById("hddVerObservaciones")=="1")
Y tampoco me funciono si gue saliendo lo mismo Uncaught Typerror: Cannot read property'value' of null.
No se que ponerle ya.