<!--
var ar = new Array(
"http://www.brastart.com/?refid=138396",
"http://www.brastart.com/surf.php?userid=138396",
"http://www.createasite4u.com/?r=allanhendon",
"http://dollarz.dragontailsemails.com/promo.php?from=allanhendon",
"http://www.freemailer2000.com/index.cfm?id=allanhendon",
"http://hop.clickbank.net/?allanh/ezarticles",
"http://www.eternalhits.com/dts2.php?username=allanhendon",
"http://www.affiliateshowcase.com/getasite.asp?id=42992"
);
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);

