Not sure if it would work but try putting it in "inc_header.asp" about line 320 between these lines:
" <td align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine
call sForumNavigation()
make it look something like this:
" <td align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewLine
<script>
//images
var aff_img = new Array()
aff_img[0] = 'http://www.dlksfslkgsg.com/gif';
aff_img[1] = 'http://www.sfsfsf.com/banners/kybanner.jpg';
aff_img[2] = 'http://www.sfsfsf.com/banners/snowtop.gif';
aff_img[3] = 'http://www.csdfsfs.com/banners/cabanner.gif';
aff_img[4] = 'http://www.sdfsfsf.com/cpc/tbc2.gif';
aff_img[5] = 'http://www.asdfsfs.com/banners/css.gif';
aff_img[6] = 'http://www.sdfsfsf.com/banners/janet.jpg';
//links to corresponding images
var aff_link = new Array()
aff_link[0] = 'http://www.fsfsfsfsf.com';
aff_link[1] = 'http://www.dsfsfsafsaf.com';
aff_link[2] = 'http://www.sfsfsfsf.com';
aff_link[3] = 'http://www.safdsfs.com/web';
aff_link[4] = 'http://www.safsfsfsf.com';
aff_link[5] = 'http://www.sadfsfsf.com';
aff_link[6] = 'http://www.sfsfsf.com';
function affilianate() {
var rand=Math.floor(Math.random()*aff_img.length)
document.getElementById('affiliants').innerHTML='<a href="'+aff_link[rand]+'" target="_blank"><img src="'+aff_img[rand]+'" border="0"></a>';
setTimeout("affilianate()",7000)
}
affilianate();
</script>
call sForumNavigation()
dunno if it'd work - worth a try tho