aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs/style/resources/script.js
blob: ebadeb2b89ca344a7b93fb2df3022ac561196db6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
rolloverImagesOn=new Array();
rolloverImagesOff=new Array();

function rolloverOn(name) {
  if(rolloverImagesOn[name]){
    document.images[name].src=rolloverImagesOn[name].src;
  }
}

function rolloverOff(name) {
  if(rolloverImagesOff[name]){
      document.images[name].src=rolloverImagesOff[name].src;
  }
}

function rolloverLoad(name,on,off) {
  rolloverImagesOn[name]=new Image();
  rolloverImagesOn[name].src=on;
  rolloverImagesOff[name]=new Image();
  rolloverImagesOff[name].src=off;
}