var NumberOfAds = 8;
var now = new Date()
var sec = now.getSeconds()
var AdNumber = sec % NumberOfAds;
AdNumber +=1;

if (AdNumber==1)
{
  Graphic="images/topphotos/subpageprogress1.jpg";
 width = "543"
 height = "101"
}

if (AdNumber==2)
{
 Graphic="images/topphotos/subpageprogress9.jpg";
 width = "543"
 height = "101"
}

if (AdNumber==3)
{
 Graphic="images/topphotos/subpageprogress3.jpg";
 width = "543"
 height = "101"
}

if (AdNumber==4)
{
  Graphic="images/topphotos/subpageprogress4.jpg";
 width = "543"
 height = "101"
}

if (AdNumber==5)
{
  Graphic="images/topphotos/subpageprogress5.jpg";
 width = "543"
 height = "101"
}
if (AdNumber==6)

{
  Graphic="images/topphotos/subpageprogress10.jpg";
 width = "543"
 height = "101"
}

if (AdNumber==7)
{
  Graphic="images/topphotos/subpageprogress8.jpg";
 width = "543"
 height = "101"
}

if (AdNumber==8)
{
  Graphic="images/topphotos/subpageprogress11.jpg";
 width = "543"
 height = "101"
}


document.write('<img src=\"' + Graphic + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('border=0 alt="Where Progress is Unlimited">');