var numAds = 9;

function get_random()
{
    var ranNum= Math.floor(Math.random()*numAds);
    return ranNum;
}

function getanAd()
{
   var whichAd=get_random();

   var imagead=new Array(numAds)
     imagead[0]="<a href=\"http://www.makeonlineresidualearnings.com/BlogSolution\" target=\"_blank\"><img src=\"http://www.titanpay.com/banners/ban120x1.gif\" border=\"0\"></a>";
     imagead[1]="<a href=\"http://www.makeonlineresidualearnings.com/SS\" target=\"_blank\"><img src=\"http://www.titanpay.com/banners/120x600.gif\" border=\"0\"></a>";
     imagead[2]="<a href=\"http://www.makeonlineresidualearnings.com/TCC\" target=\"_blank\"><img src=\"http://www.titanpay.com/banners/cc-banner-4.gif\" border=\"0\"></a>";
     imagead[3]="<a HREF=\"http://www.makeonlineresidualearnings.com/SBE\" target=\"_blank\"><img src=\"http://www.sitebuilderelite.com/affiliates/SBE160x600.gif\"></A><br>";
     imagead[4]="<a href=\"http://www.makeonlineresidualearnings.com/BANS\" target=\"_blank\"><img src=\"http://www.buildanichestore.com/images/affiliate/160x240.png\" width=\"160\" height=\"240\" border=\"0\"></a>";
     imagead[5]="<a target=\"_blank\" href=\"http://www.clixGalore.com/PSale.aspx?BID=86682&AfID=190526&AdID=26\" OnMouseOver=\"javascript:window.status='';return true;\"><img src=\"http://www.is1.clixgalore.com/cgd.aspx?BID=86682&AfID=190526&AdID=26\" border=\"0\" height=\"600\" width=\"120\" alt=\"clixGalore Merchant Referral Program\"></A>";
     imagead[6]="<a href=\"http://www.crazydomainsales.com/recommends/uaw.html\" target=\"_blank\"><img src=\"http://www.uniquearticlewizard.com/images/banner8.jpg\" width=\"120\" height=\"600\" border=\"0\"></a>";
     imagead[7]="<a href=\"http://gnugent.gogvo.com\" target=\"_blank\"><img src=\"http://www.crazydomainsales.com/images/GVO160x600.jpg\" width=\"160\" height=\"600\" border=\"0\"></a>";
     imagead[8]="<a target=\"_blank\" href=\"http://www.makeonlineresidualearnings.com/GS\"><img src=\"http://gsniper.com/images/skyscraper.gif\" border=\"0\"></a>";


   document.write(imagead[whichAd]);
  }

getanAd();
