You didn't set it up right, you have:
Code:
<script type="text/javascript">
function pollAnchor(anchor){
if(!document.getElementsByName(anchor)0){
setTimeout(function(){pollAnchor(anchor);}, 300);
return;
} else {
location.hash = '#' + anchor;
}
}
</script>
I posted:
Code:
<script type="text/javascript">
function pollAnchor(anchor){
if(!document.getElementsByName(anchor)[0]){
setTimeout(function(){pollAnchor(anchor);}, 300);
return;
} else {
location.hash = '#' + anchor;
}
}
</script>
There still could be other problems. But this much has to be fixed first.
Bookmarks