home *** CD-ROM | disk | FTP | other *** search
- // <script>
-
-
- document.onclick = showDetails
- document.onmouseover = doDocumentOnMouseOver ;
- document.onmouseout = doDocumentOnMouseOut ;
- var imgload1 = new Image();
- imgload1.src = "/images/blueplus.gif";
- var imgload2 = new Image();
- imgload2.src = "/images/blueminus.gif";
-
- // CHANGE HEADLINE COLOR ONMOUSEOVER
-
- function doDocumentOnMouseOver() {
- var eSrc = window.event.srcElement ;
- if (eSrc.className == "clsHeading")
- { eSrc.style.color= "#6666FF" }
-
- }
-
- // CHANGE HEADLINE COLOR ONMOUSEOUT
- function doDocumentOnMouseOut() {
- var eSrc = window.event.srcElement ;
- if (eSrc.className == "clsHeading")
- { eSrc.style.color= "#000000" }
- }
- var lastId = 0;
- function showDetails() {
-
- if (window.event.srcElement.className == "clsHeading")
- {
- var idString = window.event.srcElement.id
- var idNumber = idString.substr((idString.length-1))
- var eSrc = window.event.srcElement.parentElement
-
- if (lastId == idNumber)
- {
- /* If the current display mode is none then change it to display the
- selected blurb and hisde the explanation
- */
- if (window["idBlurb" + idNumber].style.display == 'none')
- {
- // Change the image to be a minus
- window["img" + idNumber].src ="images/blueminus.gif";
- window["idBlurb" + idNumber].style.display = 'block';
- explanation.style.display = 'none';
- }
- else
- {
- // Change the image to be a minus
- window["img" + idNumber].src ="images/blueplus.gif";
- window["idBlurb" + idNumber].style.display = 'none';
- explanation.style.display = 'block' ;
- }
-
- }
- else
- {
- if (lastId != 0)
- {
- window["img" + lastId].src ="images/blueplus.gif"
- window["idBlurb" + lastId].style.display = 'none';
-
- }
- window["img" + idNumber].src ="images/blueminus.gif";
- explanation.style.display = 'none'
- window["idBlurb" + idNumber].style.display = 'block'
- }
-
- lastId=idNumber
- }
- window.event.cancelBubble=true
- }