Remove this from your page:
HTML Code:
<base target="_blank">
That's what's causing it. Or, if you need that for your page. You can edit this line in the script:
Code:
crosslogo.innerHTML='<a href="'+logolink+'">'+displayed+'</a>'
to:
Code:
crosslogo.innerHTML='<a target="_self" href="'+logolink+'">'+displayed+'</a>'
That (untested) should also take care of it. If not, this will:
Code:
crosslogo.innerHTML='<span onclick="window.scrollTo(0,0);" style="color:blue;cursor:pointer;">'+displayed+'</span>'
Bookmarks