  var links = {
   // top
   1 :
   ["http://www.goodcasinos.net/cgi-bin/axs/ax.cgi?http://www.mummysgold.com/grand-slam-of-slots.asp?s=wgs10170&a=wgsaffad0",
   "http://www.goodcasinos.net/cgi-bin/axs/ax.cgi?http://www.spinpalace.com/grand-slam-of-slots.asp?s=wgs10170&a=wgsaffad0",
   "http://www.goodcasinos.net/cgi-bin/axs/ax.cgi?http://www.spinpalace.com/eu/index.asp?s=wgs10170&a=wgsaffad0",
   "http://www.goodcasinos.net/cgi-bin/axs/ax.cgi?http://www.spinpalace.com/uk/?s=wgs10170&a=wgsaffad0",
   "http://www.goodcasinos.net/cgi-bin/axs/ax.cgi?http://www.jackpotsinaflash.com/index.asp?s=wgs10170&a=wgsaffad0"]

  };

  var imgs = {
   // tophttp://www.brightshare.com/clickscounter.php?compaign=750&groupid=4&bTag=asxe&affid=679
   1 : ["http://www.goodcasinos.net/adds-top-468-60/spin-p-grand-slam.gif",
   "http://www.goodcasinos.net/adds-top-468-60/Spin-grand-slam.gif",
   "http://www.goodcasinos.net/adds-top-468-60/spin-titans.gif",
   "http://www.goodcasinos.net/adds-top-468-60/spa-spin.gif",
   "http://www.goodcasinos.net/adds-top-468-60/spin-no-download.gif"]

  };

  var len = {
   1 : links[1].length
 
  };

  var timeBasis = {
   1 : 14
  
  };
  
  var places = {
   1 : 0
 
  };

  // There is no need to edit the following portion of the script.

  function showAd(which){
    var r = places[which];
    document.write('<a href="'+links[which][r]+'" target="_blank" title="Go to '+links[which][r]+'" id="myAd'+which+'">');
    document.write('<img src="'+imgs[which][r]+'" border="0" alt="Go to '+links[which][r]+'" name="myAdImg'+which+'"></a>');
    setInterval("updateAd("+which+")", timeBasis[which]*1000);
  }

  function updateAd(which){
   places[which] = places[which]+1==len[which]?1:places[which]+1;
   var r = places[which];
   document.getElementById('myAd'+which).href = links[which][r];
   document.images['myAdImg'+which].src = imgs[which][r];
   document.images['myAdImg'+which].alt = "Go to "+links[which][r];
  }
showAd(1);
