// This function first tests to see if this is a sufficiently
// recent browser. It then checks to see if it should 'pop-up'
// a browser window with a list of 'new stuff' on the site. 
// It does this only once, by setting a cookie that counts the
// number of visits, and which only displays the popup once
// every 300 visits.

var myWindow = new Object();
function canDoPopup() { 
   if( is.nav3 || is.nav4up || is.ie4up ) { 
      return true; 
   } 
   else  {
      return false;
   }
}
function dopupup(obj) {
    if( canDoPopup() ) {
         var winname = obj.target;
        if( (myWindow[winname] == null) || (myWindow[winname].closed == true) ) {
            myWindow[winname] =
            newWindow = window.open(obj.href, obj.target, 
	          "scrollbars,resizable,width=350,height=350");
        }
        myWindow[winname].focus();
    }
    else {}
}
