function detectPopupBlocker() {
		var test = window.open(null,"","width=1,height=1");
                
		try {
				test.close();
				
		} catch (e) {
				alert("Pop-ups blocked. In order to allow this site to work correctly your pop-blocker neds to allow popups from Good2use.com. For instructions, see link in red in bottom left-hand corner of this page. ");
		}
}

// Created by: Simon Willison
// http://simon.incutio.com/archive/2004/05/26/addLoadEvent
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(detectPopupBlocker);
