//<html><head><meta http-equiv=refresh content="0;url=http://www.dokimos.org/home.html"></head><body bgcolor="#000033" text="#000000"></body><!--
var browserName = navigator.appName;
var browserVersion = parseInt(navigator.appVersion);

var presentPage = document.URL;
var previousPage = document.referrer;

//
// Domain filter
//
//var saidDomainSa = "http://shopathomeclub.com";
//var saidDomainSb = "http://www.shopathomeclub.com";
//var saidDomainNa = "http://nostoppingorstanding.com";
//var saidDomainNb = "http://www.nostoppingorstanding.com";
//
//var prevDomainSa = previousPage.slice(0,25);
//var prevDomainSb = previousPage.slice(0,29);
//var prevDomainNa = previousPage.slice(0,31);
//var prevDomainNb = previousPage.slice(0,35);
//

var arrival = true;

//
//if (previousPage) {
//
//	if ( saidDomainSa == prevDomainSa || 
//		saidDomainSb == prevDomainSb || 
//		saidDomainNa == prevDomainNa || 
//		saidDomainNb == prevDomainNb ||
//		window.name == "dokimospopper" ) 
//	{
//		arrival = false;
//	}
//	else 
//	{
//		arrival = true;
//	}
//
//}

function popweasel(){
var dokimospopper="http://armsoflove.org"
winpops=window.open(dokimospopper,"aolpopper","width=950,height=700,toolbar,location,directories,status,scrollbars,menubar,resizable,");
self.focus();
}

function getcookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { 
      offset += search.length
      end = document.cookie.indexOf(";", offset);
      if (end == -1)
         end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}

function popdoub(){
var evmpopper="http://eshcolvalley.com"
winpops=window.open(evmpopper,"evmpopwin","width=950,height=700,toolbar,location,directories,status,scrollbars,menubar,resizable,");
self.focus();
}


function poptrip() {
var otherpopper=""
//winpops=window.open(evmpopper,"evmpopper","width=950,height=700,toolbar,location,directories,status,scrollbars,menubar,resizable,");
//self.focus();
}

function crankbox(){
    if (numPops==''){
    popweasel();
    document.cookie="popped=1";
  } else {
    if (numPops=='1'){ document.cookie="popped=2"; popdoub(); } 
    else { 
      if (numPops=='2'){ document.cookie="popped=3"; poptrip(); } 
//      else {
//        if (numPops=='3'){ document.cookie="popped=4"; popquad(); } 
//	}
    }
  } 
}

if ( arrival == true ) {
  var numPops = getcookie('popped');
  //crankbox();
}

// onClose END
// --></html>