home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2000 December
/
VPR0012A.BIN
/
POWERDVD
/
HTML
/
jpn
/
Html_movie
/
images
/
imagech.js
< prev
next >
Wrap
Text File
|
2000-02-14
|
494b
|
25 lines
if (document.images) {
}
function di20(id, newSrc) {
var theImage = FWFindImage(document, id, 0);
if (theImage)
theImage.src = newSrc;
}
function FWFindImage(doc, name, j) {
var theImage = false;
if (doc.images)
theImage = doc.images[name];
if (theImage)
return theImage;
if (doc.layers) {
for (j = 0; j < doc.layers.length; j++) {
theImage = FWFindImage(doc.layers[j].document, name, 0);
if (theImage)
return theImage;
}
}
return false;
}