var bName = navigator.appName; var bVer = parseInt(navigator.appVersion); var NS4 = (bName == "Netscape" && bVer >= 4); var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4); var rightClickMsg="WARNING: This feature has been disabled. Contents and graphics are copyrighted materials and are NOT Public Domain and should NOT be taken out or copied from this site!"; function mouseClick(e) { if (document.all) // IE { if (event.button == 2) { alert(rightClickMsg); return false; } } if (document.layers) // Netscape { if (e.which == 3) { alert(rightClickMsg); return false; } } } if (document.layers) document.captureEvents(Event.MOUSEDOWN); document.onmousedown=mouseClick; function replaceClass(object, newClassName) { object.className = newClassName; } function replaceHTML(id, htmlText) { if(NS4 || IE4) { if (NS4) { with (document[id].document) { open(); write(htmlText); close(); } } else { document.all[id].innerHTML = htmlText; } } } function objFormID(id) { if(NS4 || IE4) { if (NS4) { return document[id].document; } else { return document.all[id]; } } } function hideobj(id, b) { obj = objFormID(id); obj.style.visibility = b ? 'hidden' : 'visible'; } var preloadedImages = new Array(); function wndOnLoad() { // preloaded images for (i=0; i < aPreloadedImages.length; i++) { preloadedImages[i] = new Image(); preloadedImages[i].src = aPreloadedImages[i]; } } window.onload = wndOnLoad; function RunSlideShow1() { // nextSamplePhoto = Math.floor(Math.random() * nImagesSlideShow1); nextSamplePhoto = lastSamplePhoto1 + 1; if(nextSamplePhoto > (nImagesSlideShow1-1)) nextSamplePhoto = 0; lastSamplePhoto1 = nextSamplePhoto; document.images.SlideShow1.src = preloadSlideShow1[nextSamplePhoto].src; t = setTimeout('RunSlideShow1()', 7000); } function RunSlideShow() { t = setTimeout('RunSlideShow1()', 5000); } function ReplaceImage(name, state) { for (i = 0; i < imgCounter; i++) { if (document.images[ImageList[i][NameIndex]] != null) { if ((name == ImageList[i][NameIndex]) && (ImageList[i][state] != null)) document.images[name].src = ImageList[i][state].src; } } } function popup(mylink, windowname, cx, cy) { if (!window.focus) return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, windowname, 'width=' + cx + ',height=' + cy + ',scrollbars=no'); return false; }