// Copyright 1996, Infohiway, Inc. (http://www.infohiway.com)
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
<!--


// add var line above to correct sanntact errors 05/30/2010 duchess-shells


function adArray() {
 for (i=0; i*2<adArray.arguments.length; i++) {
   this[i] = new Object();
   this[i].src = adArray.arguments[i*2];
   this[i].href = adArray.arguments[i*2+1];
 }
 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 = 2;
  return ad_num;
};
var ads = new adArray(
"img/cont/jason-logo.jpg","http://www.adrenalinpaintballsports.co.nz",
"img/cont/jason-logo.jpg","http://www.adrenalinpaintballsports.co.nz");
var ad_num = getAdNum();
document.write('<TABLE WIDTH="300" CELLPADDING=0 CELLSPACING=0 BORDER=0>'
  +'<TR>'
    +'<TD ALIGN=left>'
      +'<FONT SIZE=2 FACE=Arial color="#5CFA38" ><B> NZPPL is Proudly Sponsored by!</FONT>'
    +'</TD>'
  +'</TR>'
  +'<TR>'
    +'<TD width="40%">'
      +'<A HREF="'+ads[ad_num].href+'">'
        +'<IMG SRC="'+ads[ad_num].src+'" HEIGHT="91" BORDER="0" name=js_ad>'
      +'</A>'
    +'</TD>'
  +'</TR>'
+'</TABLE>');
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;
    setTimeout("rotateSponsor()",5000);
  }
};
setTimeout("rotateSponsor()",5000);

// -->

