home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Spanish 3 / ProOne-MultimediaSpanishIII-WinMac.bin / pc / winextra / Netscape / SETUP / WIN32 / NETCAST.Z / ncjs10.jar / security.js < prev    next >
Text File  |  1997-10-20  |  988b  |  38 lines

  1. /*
  2.  * security.js
  3.  * 
  4.  * Copyright (c) 1997 Netscape Communications Corporation, All Rights Reserved
  5.  * 
  6.  * Functions that manage the options->security preferences
  7.  */
  8.  
  9. function onload()
  10. {
  11.     var getCookies = depth.GetNetscapePrefBool("netcaster.castanet.acceptCookies", true, true);
  12.  
  13.     if (getCookies == true) {
  14.         document.security_form.marimbaCookies.checked = true;
  15.     } else {
  16.         document.security_form.marimbaCookies.checked = false;
  17.     }
  18.  
  19.     var doLogging = depth.GetNetscapePrefBool("netcaster.castanet.loggingEnabled", true, true);
  20.  
  21.     if (doLogging == true) {
  22.         document.security_form.marimbaLogging.checked = true;
  23.     } else {
  24.         document.security_form.marimbaLogging.checked = false;
  25.     }
  26.  
  27.     var doProfiling = depth.GetNetscapePrefBool("netcaster.castanet.profileEnabled", true, true);
  28.  
  29.     if (doProfiling == true) {
  30.         document.security_form.marimbaProfiling.checked = true;
  31.     } else {
  32.         document.security_form.marimbaProfiling.checked = false;
  33.     }
  34.  
  35. }
  36.  
  37. void(0);
  38.