<!--
var ar = new Array(
"http://hop.clickbank.net/?allanh/cwdedes",
"http://www.hitsafari.com/splash1.php?ref=joallasvcs",
"http://www.adreporting.com/dir.php?p=503&a=674801",
"http://www.wingmails.com/pages/index.php?refid=allanhendon",
"http://hitsafari.com/start.php?username=joallasvcs",
"http://clickcrazey.com/?rid=12099",
"http://www.MakeYourOwnSoftware.com/allanhendon",
"http://www.catalink.net/default.php?affiliate=1432",
"http://www.monopolizer.com/index.php?affiliateID=1610041403",
"http://tendollarsmail.com/pages/index.php?refid=allanhendon",
"http://simple-sponsoring.com/cgi-bin/ref.cgi/6106/",
"http://www.amerimedrx.com/index.asp?aid=2299",
"http://www.adreporting.com/dir.php?p=475&a=674801",
"http://clickcrazey.com/?rid=5211",
"http://www.AffiliateShowcase.com/?42992",
"http://www.cbclicks.com/?pid=allanh",
"http://www.trafficswarm.com/cgi-bin/swarm.cgi?20069",
"http://www.iditplates.net/new/42992index.html",
"http://www.nomorehits.com/cgi-bin/redir.cgi?user=allanhendon",
"http://joalla.yourteambuilder.com/goland2promo1",
"http://www.affiliateshowcase.com/signup.asp?ID=42992",
"http://www.eternalhits.com/dts2.php?username=allanhendon",
"http://joalla.yourteambuilder.com/goland2promo1"
);
function setCookie(name, value, expires, path, domain, secure) {
  var curCookie = name + "=" + escape(value) +
      ((expires) ? "; expires=" + expires.toGMTString() : "") +
      ((path) ? "; path=" + path : "") +
      ((domain) ? "; domain=" + domain : "") +
      ((secure) ? "; secure" : "");
  document.cookie = curCookie;
}
function getCookie(name) {
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else
    begin += 2;
  var end = document.cookie.indexOf(";", begin);
  if (end == -1)
    end = dc.length;
  return unescape(dc.substring(begin + prefix.length, end));
}
var now = new Date();
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
var num = getCookie("item");
num = (num && (parseInt(num) < ar.length - 1)) ? (parseInt(num) + 1) : 0;
setCookie("item", num, now);
var h = screen.height - 195;
var w = screen.width - 10;

// This bit defines the window, and what it contains
function dotimed(){
timedwin = popundersite=window.open(ar[num], 'popunder','left,top=0,height='+ h +',width='+ w +',toolbar,menubar,location,status,scrollbars,resizable');
popundersite.blur();
}

// The next bit defines how long to wait - 1000 = 1 sec
setTimeout('dotimed()', 10000);

