home *** CD-ROM | disk | FTP | other *** search
/ Online Praxis 1998 March / Image.iso / CD-ROM / NETSCAPE / CCK / ASE.Z / othtab.js < prev    next >
Encoding:
Text File  |  1997-08-21  |  1.1 KB  |  41 lines

  1. <!--  to hide script contents from old browsers
  2. var loaded = false;
  3. //the file that includes this must also include settings.js and nciglob.js
  4.  
  5. function loadData()
  6. {
  7.     if (parent.parent.iasglobals && parent.parent.iasglobals.getText)
  8.     {
  9.         var FormName = "IASOTHER";
  10.     
  11.         parent.parent.iasglobals.setCheckBox(FormName, "SECURITYDEVICE", parent.parent.iasglobals.getGlobal("SecurityDevice"));    
  12.         //parent.parent.iasglobals.setCheckBox(FormName, "REGSCRIPTING", parent.parent.iasglobals.getGlobal("REG_SCRIPTING"));        
  13.         this.focus();
  14.         document.forms[0]["SECURITYDEVICE"].focus();
  15.         loaded = true;
  16.     }
  17.     else
  18.         setTimeout("loadData()",500);
  19.  
  20. }//function loadData()
  21.  
  22.  
  23. function checkData()
  24. {
  25.     return true;
  26. }
  27.  
  28.  
  29. function saveData()
  30. {
  31.     if (loaded && loaded == true)
  32.     {
  33.         var FormName = "IASOTHER";
  34.     
  35.         parent.parent.iasglobals.setGlobal("SecurityDevice", parent.parent.iasglobals.getCheckBox(FormName, "SECURITYDEVICE"));
  36.         //parent.parent.iasglobals.setGlobal("REG_SCRIPTING", parent.parent.iasglobals.getCheckBox(FormName, "REGSCRIPTING"));
  37.     }
  38. }
  39.  
  40. // end hiding contents from old browsers  -->
  41.