/*
Script by RoBorg
RoBorg@geniusbug.com
http://javascript.geniusbug.com
Do NOT remove this message!
*/

defaultDelay = 9;
//Define adsB with an src for the picture and an href when clicked
//Add as many as are needed

adsB = new Array()

adsB[0] = new adbanner('../Banners/BBA-Banner.gif', 'http://www.blackbusinessads.com/BBA/index.htm');
adsB[1] = new adbanner('../Banners/TAAHP-Banner.gif', 'http://www.theafricanamericanhomepage.com/TAAHP/index.htm');


//Start with a random banner
bannerNumB = parseInt(Math.random()*adsB.length);
bannerNumBCur = 0;

function changebannerB()
{
document.images['bannerpicB'].src = adsB[bannerNumB].src;
bannerNumBCur = bannerNumB;
setTimeout('changebannerB()', adsB[bannerNumB].delay*1000);
bannerNumB++;
if(bannerNumB == adsB.length) bannerNumB = 0;
}

function goAdB()
{
setTimeout('document.location.href = adsB[bannerNumBCur].href', 50);
}



