home *** CD-ROM | disk | FTP | other *** search
/ InterCD 1999 June / june_1999.iso / Multimedia / Players / Carlanthano / carlan2.exe / file0004.bin < prev    next >
Encoding:
Text File  |  1999-05-28  |  622 b   |  27 lines

  1. tri = new cimg("i/b-tri.gif", "i/b-tri2.gif", "Back to the top");
  2. home = new cimg("i/b-arrow_l.gif", "i/b-arrow_l2.gif", "Back to KanastaCorp");
  3.  
  4. counter = new Image();
  5. counter.src = "http://counter.digits.com/wc/-c/1/-f/FF0033/-b/FFFFFF/Kanastacount";
  6.  
  7. function cimg(offsrc, onsrc, alt)
  8. {
  9.     this.off = new Image();
  10.     this.off.src = offsrc;
  11.     this.on = new Image();
  12.     this.on.src = onsrc;
  13.     this.alt = alt;
  14. }
  15.  
  16. function on(img, type)
  17. {
  18.     document[img].src = eval(type).on.src;
  19.     window.status = eval(type).alt;
  20. }
  21.  
  22. function off(img, type)
  23. {
  24.     document[img].src = eval(type).off.src;
  25.     window.status = "";
  26. }
  27.