home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 December / PCWorld_2006-12_cd.bin / komunikace / netscape / nsb-install-8-1-2.exe / chrome / browser.jar / content / browser / splashscreen.js < prev    next >
Text File  |  2006-01-06  |  477b  |  19 lines

  1. // MERC - JCH: Show the splash screen for three seconds
  2. function Startup()
  3. {
  4.   try {
  5.       // Show splash screen for three seconds
  6.       setTimeout("CloseSplashScreen()", 3000);
  7.  
  8.   } catch(ex) { dump("Exception in splashscreen.js: Startup\n"); }
  9. }
  10.  
  11. function CloseSplashScreen() 
  12. {
  13.   try {
  14.  
  15.       // Handle to xul description element to display controlling site name
  16.       window.close();
  17.  
  18.   } catch(ex) { dump("Exception in splashscreen.js: CloseSplashScreen\n"); } 
  19. }