thx jaycob, I'll use your code (modded a bit) to display random linkable banners
Add multiple Images (banners) with links corresponding to Image and display them randomly after first post on every page
Code:
<vb:if condition="is_member_of($bbuserinfo,6,7) AND $post[postcount] % $vboptions[maxposts] == 1" >
<li class="firstpost_advert_container"><div class="firstpost_advert">
<script language="JavaScript">
<!--
//store the quotations in arrays
images = new Array(3);
images[0] = "<a href = 'http://www.link.php'><img src='/images/adred.jpg' alt='adred' ></a>";
images[1] = "<a href = 'http://www.link.php'><img src='/images/adblue.jpg' alt='adblue'></a>";
images[2] = "<a href = 'http://www.link.php'><img src='/images/adgreen.jpg' alt='adgreen'></a>";
index = Math.floor(Math.random() * images.length);
document.write(images[index]);
//done
// -->
</script>
</div>
</li>
</vb:if>
red - usergroups you want to show
green - image/banner link
blue - location of Image
add more arrays for more Images