// utility.js
// JavaScript for various handy utilities
// Created: 2/07/2004
// Last updated: 2/07/2004
// Copyright 2004 netYAK.com, inc.

//
// Norton Personal Firewall and Norton Internet Security set the winow.open function if Ad Blocking is enabled.
// If myAction defined as true, then it will set it back.
// This will alert if myAction is not defined or is false.
//
function checkNPF ( myAction )
{
  if ( typeof SymRealWinOpen != 'undefined' )
  {
    //alert('Norton Security Ad Blocker is enabled.\nThis page may not display correctly.\nmyAction = '+myAction);
    if ( myAction )
    {
      window.open = SymRealWinOpen;
    }
    else
    {
      alert('Norton Security Ad Blocker is enabled.\nThis page may not display correctly.\nmyAction = '+myAction);
    }
  }
}
