/*   Check if pop-up windows are blocked
 *   Copyright © 2005 by CSULB. All Rights Reserved
 *   Author: Anatoly Voevudko
 *   Prime functions: Check if pop-up windows are blocked
 *   Last updated: 7/27/05
 */
function PopupsAreBlocked(site) {
var msg = "Please disable pop-up blocker!"
if (site!=null) {
  msg += "\nAt least for the following Web site:\n" + site;
}

var pupWin = window.open("","pupb","width=1,height=1,top=7000,left=7000");
if (pupWin==null || typeof(pupWin)=="undefined") {
  alert(msg);
  return true;
} else {
  pupWin.close();
  return false;
}
}
