ok I had this working on IPB 3 the problem is just out of the blue it makes my header and some other stuff disappear in topic view

STEP 1
----------------------------------------------------------------------------------
Edit the following template -> All Global HTML -> global_board_header

Find:
-----------------------------
<!-- / End board header -->
-----------------------------

Add above:
-----------------------------
<!-- start of LinkzBot.com Javascript -->
<script type="text/javascript">
function linkbot(url)
{
var width = 650;
var height = 250;
var left = (screen.width - width)/2;
var top = (screen.height - height)/2;
var params = 'width='+width+', height='+height;
params += ', top='+top+', left='+left;
params += ', scrollbars=1';
newwin=window.open(url,'linkbot', params);
if (window.focus) {newwin.focus()}
return false;
}
</script>
<!-- end of LinkzBot.com Javascript -->
-----------------------------


STEP 2
----------------------------------------------------------------------------------
In your ACP edit the following:
Look and Feel -> Edit Template -> Topic View -> topicViewTemplate

Where you want to add it is up to you. I add it just before the signiture.

-----------------------------
<A HREF="javascript:void(0)"
onclick="window.open('http://linkzbot.com/check.php?id=http://$_SERVER[SERVER_NAME]$_SERVER[REQUEST_URI]',
'welcome','width=600,height=250')"><b>Check Download Links</b></div>
where do I add the first code bit so it may resolve it? I only used the second bit and it was fine for a while then out of the blue it messed up.