home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 April
/
PCWorld_2000-04_cd.bin
/
Software
/
Komercni
/
c_comp
/
ccfree_soubory
/
topnav.js
< prev
next >
Wrap
Text File
|
2000-03-01
|
1KB
|
47 lines
if (document.images) {
tn_products_copy = new Image();
tn_products_copy.src = "/images/topnav/banners/products_white_copy.gif";
tn_support_copy = new Image();
tn_support_copy.src = "/images/topnav/banners/support_white_copy.gif";
tn_downloads_copy = new Image();
tn_downloads_copy.src = "/images/topnav/banners/downloads_white_copy.gif";
tn_programs_copy = new Image();
tn_programs_copy.src = "/images/topnav/banners/programs_white_copy.gif";
tn_worldwide_copy = new Image();
tn_worldwide_copy.src = "/images/topnav/banners/worldwide_white_copy.gif";
tn_newsgroups_copy = new Image();
tn_newsgroups_copy.src = "/images/topnav/banners/newsgroups_white_copy.gif";
tn_community_copy = new Image();
tn_community_copy.src = "/images/topnav/banners/community_white_copy.gif";
null_copy = new Image();
null_copy.src = "/images/layout/spacer_white.gif";
}
function tnImgOn(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "_on.src");
}
}
function tnImgOff(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "_off.src");
}
}
function tnCopyOn(imgName) {
if (document.images) {
document['copy'].src = eval(imgName + "_copy.src");
}
}
function tnCopyOff(imgName) {
if (document.images) {
document['copy'].src = null_copy.src;
}
}