   function wu_banner(file, talkback, alt, type, width, height, href) {
   	this.file = file;
   	this.talkback = talkback;
   	this.alt = alt;
   	this.type = type;
   	this.width = width;
   	this.height = height;
   	this.href = href;
   }
   function wu_bannerplace() {
   	this.banners = new Array();
   	this.counter = 0;
   	this.add = function(file, talkback, alt, type, width, height, href) { this.banners.push(new wu_banner(file, talkback, alt, type, width, height, href)); }
   	this.inc = function() { if (this.counter < (this.banners.length - 1)) this.counter++; else this.counter = 0; }
   	this.get = function() { return this.banners[this.counter]; }
   }
   var wu_bh = new function() {
   	var bannerplaces = new Array();
   	this.add = function(bannerid, file, talkback, alt, type, width, height, href) {
   	 if (!bannerplaces[bannerid]) bannerplaces[bannerid] = new wu_bannerplace();
   	 var bannerplace = bannerplaces[bannerid];
   	 bannerplace.add(file, talkback, alt, type, width, height, href);
   	}
   	this.rotate = function() {
   	 var arrlen = bannerplaces.length;
   	 for (var n = 0; n < arrlen; n++) {
   	  var currentplace = bannerplaces[n];
   	  if (!currentplace) continue;
   	  currentplace.inc();
   	  var currentbanner = currentplace.get();
      var divobj = $('wu_banner' + n + '_div').setHTML('');
      var imgparent = divobj;
      if (currentbanner.file != '') {
       switch (currentbanner.type) {
        case 'flash': imgparent.setHTML('<object type="application/x-shockwave-flash" width="' + currentbanner.width + '" height="' + currentbanner.height + '" data="' + currentbanner.file + '"><param name="movie" value="' + currentbanner.file + '" /><' + '/object>');
         break;
        default:	if (currentbanner.href != '') {
       	  imgparent = new Element('a').setProperties({'href': currentbanner.talkback, 'tabindex': '0', 'title': currentbanner.alt});
       	  divobj.adopt(imgparent);
       	 };
       	 imgparent.adopt(new Element('img').setProperties({'alt': currentbanner.alt, 'src': currentbanner.file}));
       };
       new Ajax(currentbanner.talkback + '&view=inc&rnd=' + Math.random(), {method: 'get'}).request();
      }
   	 }
   	}
   	this.startrotate = function(interval) { window.setInterval('wu_bh.rotate();', interval); }
   }