I want to have java script clicking a link on the page..I found something on the net that suggests adding a function like this:
function fireEvent(obj,evt){
If you want to simulate clicks only for links, you can use this:
function clickLink(id){ location.href=document.getElementById(id).href; }