1999-09-26 06:31:36 +00:00
|
|
|
var lastIn;
|
|
|
|
function I(event) {
|
|
|
|
var it = event.target;
|
|
|
|
if (it) {
|
|
|
|
var s = it.src;
|
1999-09-30 21:22:16 +00:00
|
|
|
s = s.replace("-over", ""); // just in case
|
|
|
|
s = s.replace(".gif", "-over.gif");
|
|
|
|
it.src = s;
|
1999-09-26 06:31:36 +00:00
|
|
|
lastIn = it;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function O(event) {
|
|
|
|
var it = lastIn;
|
|
|
|
if (it) {
|
|
|
|
var s = it.src;
|
1999-09-30 21:22:16 +00:00
|
|
|
s = s.replace("-over", "");
|
|
|
|
it.src = s;
|
1999-09-26 06:31:36 +00:00
|
|
|
lastIn = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function C(event) {
|
|
|
|
var it = event.target;
|
|
|
|
if (!it) return;
|
|
|
|
var kids = it.parentNode.childNodes;
|
|
|
|
if (!kids) return;
|
|
|
|
for (var i = 0; i < kids.length; i++) {
|
|
|
|
var kid = kids[i];
|
|
|
|
if ((kid.nodeType == Node.ELEMENT_NODE) && (kid.tagName == "DIV")) {
|
|
|
|
var d = kid.style.display;
|
|
|
|
if ((d == "") || (d == null) || (d == "none")) {
|
|
|
|
it.src = it.src.replace("close", "open");
|
|
|
|
kid.style.display = "block";
|
|
|
|
} else {
|
|
|
|
kid.style.display = "none";
|
|
|
|
it.src = it.src.replace("open", "close");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|