/* Routine to check that latest Browsers are being used by the visitor.   If not, then this error page is presented back to the visitor's browser.*/   

var isDHTML = 0;var isID = 0;var isAll = 0;var isLayers = 0;var browserVersion;
var newLocation;
var newLocationJS; 
var int4 = parseInt('4'); 

if (document.getElementById) 
  {isID = 1; isDHTML = 1;}else 
  {if (document.all) 
    {isAll = 1; isDHTML = 1;}
  }  newLocation = window.location.href; 
              
if (newLocation.indexOf("pwsvcsFrame1.htm") != -1)  
    { newLocationJS = newLocation.replace("pwsvcsFrame1.htm", "BrowserErrorMsg.htm"); }         
/* alert('window.location = ' + window.location + '\n' +
      'window.location.href = ' + window.location.href + '\n' + 
      'newLocationJS = ' + newLocationJS);    */

/* Checking whether browser is Netscape & if so, version 4 and lower produces an Error Page. */if (navigator.appName.indexOf('Netscape') != -1)
  {browserVersion = parseInt(navigator.appVersion); /* alert('browserVersion = ' + browserVersion); */
   if (browserVersion <= int4)       {newLocationJS = newLocation.replace("pwsvcsFrame1.htm", "BrowserErrorMsg.htm");      
        window.location.replace(newLocationJS);}            }
         /* Checking that the visitors browser is DHTML capable, if not the Error page is displayed. */if (isDHTML == 0)
    {newLocationJS = newLocation.replace("pwsvcsFrame1.htm", "BrowserErrorMsg.htm");      
     window.location.replace(newLocationJS);}
     
/* If the program logic flows thru to this section, then the browser is IE 4 or greater or */
/* at least recognized as DHTML capable based on Function sensing of the browser capabilities. */
newLocation = null;
newLocationJS = null;
     
