<!-- 
function disablehref(){

var input = document.getElementsByTagName("a");

var count = input.length;


for(var i =0; i < count; i++){

// document.getElementsByTagName("a")[i].disabled = true;// Does not disable the link it just gives it a grey color, but works with buttons

document.getElementsByTagName("a")[i].href = 'javascript://;'; //OBS this works but also stops the request and the next page does not get loaded, just hangs in the first page
document.getElementsByTagName("a")[i].target = '';
document.getElementsByTagName("a")[i].style.cursor='default';// just to give the mousepointer the wait symbol instead of the hand

}


return true;


}
-->
