home *** CD-ROM | disk | FTP | other *** search
- 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;}
- }
- }