
var NumberOfAds = 12;
var now = new Date()
var sec = now.getSeconds()
var AdNumber = sec % NumberOfAds;
AdNumber +=1;


if (AdNumber==1)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_01.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==2)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_02.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==3)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_03.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==4)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_04.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==5)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_05.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==6)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_06.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==7)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_07.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==8)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_08.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==9)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_09.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==10)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_10.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==11)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_11.jpg";
 width = "520"
 height = "100"

}

if (AdNumber==12)

{

 Graphic="http://www.aifr.it/_code/gph/headers/h_12.jpg";
 width = "520"
 height = "100"

}



document.write('<img src=\"' + Graphic + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('border=0>');