var logos = { timer:3000, cur:0, urls:[ 'http://www.affd.org/2008/images/sapporo_logo.gif', 'http://www.affd.org/2008/images/oca_logo.gif', 'http://www.affd.org/2008/images/crow_logo.gif', 'http://www.affd.org/2008/images/bside_logo.gif'] }
logos.getNext = function() {
 if (this.cur==(this.urls.length-1)) {
 this.cur=0
 } else {
 this.cur++
 }
 return this.urls[this.cur]
}
logos.update = function() {
 this.img.src = logos.getNext();
 window.setTimeout("logos.update()",this.timer)
}

function init() {
 logos.img = document.getElementById('sponsors_logos')
 window.setTimeout("logos.update()",logos.timer)
}
YAHOO.util.Event.onDOMReady(init)