Proba:
Código HTML:
<script>
function deshabilitar(valor){
var elemento = document.getElementById('check');
var hipervinculo = document.getElementById('link');
if(elemento.checked){
hipervinculo.href = valor;
}else{
hipervinculo.href = '';
}
}
</script>
<a href="Prueba.hmtl" id="link">Jala</a>
<input type="checkbox" id="check" onclick="deshabilitar('prueba.html');">