// JavaScript Document
<!--
function popup(page) {
  parms=('height='+ads[ad_num].hei+',width='+ads[ad_num].wid);
  window.open(page,"",parms);
}
function adArray() {
 for (i=0; i*4<adArray.arguments.length; i++) {
  this[i] = new Object();
  this[i].src  = adArray.arguments[i*4];
  this[i].href = adArray.arguments[i*4+1];
  this[i].wid  = adArray.arguments[i*4+2];
  this[i].hei  = adArray.arguments[i*4+3];
  if (this[i].wid) this[i].href = "javascript:popup('"+this[i].href+"')";
 }
 this.length = i;
}
function getAdNum() {
 dat = new Date();
 dat = (dat.getTime()+"").charAt(8);
 if (dat.length == 1)
  ad_num = dat%ads.length;
 else
  ad_num = 0;
 return ad_num;
}
 
// ****** YOU NEED NOT MODIFY ANYTHING THAT IS NOT IN BETWEEN THESE TWO COMMENTS ****
var ads = new adArray(
"../bann/01/glorieuses11.gif",      "http://www.bourgenbressetourisme.fr/","","",
"../bann/01/ciconia.gif",      "http://refletsdeladombes.chez-alice.fr/","","",
"../bann/01/damian-bann.gif",      "http://www.restaurant-des-dombes.fr","","",
//"../../bann/foire-de-lhuis.gif",              "http://www.tourismelhuis.fr","","",
"../bann/01/l-ain-de-ferme.gif","http://www.defermeenferme.com","","",
"../bann/01/salongourmet.gif", "http://www.salondugourmet.fr/","","",
"../bann/tne.gif",              "http://www.tne.fr","","",
// "../../bann/macumba.gif",          "http://www.macumba.fr","","",
//"../../bann/trevoux-crea.gif",     "../../pubz/trevoux-crea.html","","",
//"../../bann/champagne-valromey.gif",       "http://valromeyretord.com","","",
//"../../bann/bellegarde.gif",       "../../pubz/bellegarde.html","","",
"../bann/lesrousses.gif",       "http://www.lesrousses.com","","",
// "../../bann/sgp-noel.gif",         "../../pubz/sgp-noel.html","","",
"../bann/rm.gif",               "http://www.reception-mariage.com","","");
var ad_num = getAdNum(); // don't change this line
document.write('<CENTER><TABLE CELLPADDING=0 CELLSPACING=1 BORDER=0><TR><TD '
+'ALIGN=CENTER><FONT SIZE=1></FONT></TD><TD>'
+'<A HREF="'+ads[ad_num].href+'" id=toto target=_blank>'
+'<IMG SRC="'+ads[ad_num].src+'" '
+'HEIGHT=60 WIDTH=468 BORDER=0 name=js_ad></a></td></TR></TABLE></center>');
// ****** YOU NEED NOT MODIFY ANYTHING THAT IS NOT IN BETWEEN THESE TWO COMMENTS ****
link_num = document.links.length-1;
function rotateSponsor() {
 if (document.images) {
  ad_num = (ad_num+1)%ads.length;
  document.js_ad.src = ads[ad_num].src;
  document.links[link_num].href = ads[ad_num].href;
//  document.all.toto.href=ads[ad_num].href;  
setTimeout("rotateSponsor()",10000);
 }
}
setTimeout("rotateSponsor()",10000);
// -->

