home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 May
/
W2KPRK.iso
/
apps
/
loganalyst
/
data1.cab
/
Help_Files
/
CLA.chm
/
script1.js
< prev
Wrap
Text File
|
1999-09-07
|
2KB
|
55 lines
document.onclick = doDocumentOnClick;
document.onmouseover = doDocumentOnMouseOver;
document.onmouseout = doDocumentOnMouseOut;
coEb='../stylesht/coEb.gif';
coCb='../stylesht/coCb.gif';
coE='../stylesht/coE.gif';
coC='../stylesht/coC.gif';
function collapseBlurbs() {
for(i=0; i<document.all.length; i++) {
if (document.all(i).id.indexOf('idBlurb') != -1)
document.all(i).style.display = 'none';}}
function doDocumentOnClick() {
var eSrc = window.event.srcElement ;
if (eSrc.className == "clsHeader" || eSrc.className == "clsHeaderButton" ){
var sId = "idBlurb" + eSrc.id.substring(eSrc.id.length-1,eSrc.id.length);
if (document.all(sId).style.display == "block"){
document.all(sId).style.display = "none";
sButtonId = "idHeaderButton" + sId.substring(sId.length-1,sId.length);
document.all(sButtonId).src = coEb;
} else {
document.all(sId).style.display = "block";
sButtonId = "idHeaderButton" + sId.substring(sId.length-1,sId.length);
document.all(sButtonId).src = coCb;}
window.event.cancelBubble = true ;}}
function doDocumentOnMouseOver() {
var eSrc = window.event.srcElement;
if (eSrc.className == "clsHeader" || eSrc.className == "clsHeaderButton" ){
var sId = "idBlurb" + eSrc.id.substring(eSrc.id.length-1,eSrc.id.length);
if (document.all(sId).style.display == "block"){
sButtonId = "idHeaderButton" + sId.substring(sId.length-1,sId.length);
document.all(sButtonId).src = coCb;
} else {
sButtonId = "idHeaderButton" + sId.substring(sId.length-1,sId.length);
document.all(sButtonId).src = coEb;}
}
}
function doDocumentOnMouseOut() {
var eSrc = window.event.srcElement;
if (eSrc.className == "clsHeader" || eSrc.className == "clsHeaderButton" ){
var sId = "idBlurb" + eSrc.id.substring(eSrc.id.length-1,eSrc.id.length) ;
if (document.all(sId).style.display == "block"){
sButtonId = "idHeaderButton" + sId.substring(sId.length-1,sId.length);
document.all(sButtonId).src = coC;
} else {
sButtonId = "idHeaderButton" + sId.substring(sId.length-1,sId.length);
document.all(sButtonId).src = coE;}
}
}