home *** CD-ROM | disk | FTP | other *** search
/ World of Krondor (Promo) / 980804_1901.BIN / releases / return-to-krondor / javascript / c3-nav-toolbar.js < prev   
Text File  |  1998-04-29  |  2KB  |  50 lines

  1. function change (ObjectName, ChangeTo)
  2. {
  3.     document [ObjectName].src = eval( ObjectName + ChangeTo + ".src" );
  4.     return;
  5. }
  6.  
  7. navhomeoff = new Image();
  8. navhomeoff.src = "nav-images/nav-circle-home.gif";
  9. navhomeon = new Image();
  10. navhomeon.src = "nav-images/nav-circle-home-on.gif";
  11.  
  12. navoverviewoff = new Image();
  13. navoverviewoff.src = "nav-images/nav-overview.gif";
  14. navoverviewon = new Image();
  15. navoverviewon.src = "nav-images/nav-overview-on.gif";
  16. navoverviewclick = new Image();
  17. navoverviewclick.src = "nav-images/nav-overview-click.gif";
  18.  
  19.  
  20. navstillsoff = new Image();
  21. navstillsoff.src = "nav-images/nav-stills.gif";
  22. navstillson = new Image();
  23. navstillson.src = "nav-images/nav-stills-on.gif";
  24. navstillsclick = new Image();
  25. navstillsclick.src = "nav-images/nav-stills-click.gif";
  26.  
  27.  
  28. navmoviesoff = new Image();
  29. navmoviesoff.src = "nav-images/nav-movies.gif";
  30. navmovieson = new Image();
  31. navmovieson.src = "nav-images/nav-movies-on.gif";
  32. navmoviesclick = new Image();
  33. navmoviesclick.src = "nav-images/nav-movies-click.gif";
  34.  
  35.  
  36. navarchivesoff = new Image();
  37. navarchivesoff.src = "nav-images/nav-archives.gif";
  38. navarchiveson = new Image();
  39. navarchiveson.src = "nav-images/nav-archives-on.gif";
  40. navarchivesclick = new Image();
  41. navarchivesclick.src = "nav-images/nav-archives-click.gif";
  42.  
  43.  
  44. navteamoff = new Image();
  45. navteamoff.src = "nav-images/nav-team.gif";
  46. navteamon = new Image();
  47. navteamon.src = "nav-images/nav-team-on.gif";
  48. navteamclick = new Image();
  49. navteamclick.src = "nav-images/nav-team-click.gif";
  50.