<!--
//if(document.all) {
//var pos = 0;
var TRange=null;
function findString(str) {
  if (navigator.appName.indexOf("Microsoft")!=-1) {    // EXPLORER-SPECIFIC CODE
         if(str==''&& str!=null){alert('Enter a term to search for');return}
         if (TRange!=null) {   //processes remainder of finds after first find (below)
             TRange.collapse(false);
             strFound=TRange.findText(str); 
             if(strFound)TRange.select();
             else {
                alert("Search for '"+str+"' completed.");
                TRange=null;
                f1.t1.value='';
                return;
             }
         }
         if (TRange==null || strFound==0) {   //processes first find
             TRange=document.body.createTextRange();
             strFound=TRange.findText(str);
             if (strFound) TRange.select(); 
         }
         if (!strFound) { 
             alert ('"'+str+'" not found!');
             TRange=null;
             return;
         }
  }
}
/* abandoned - find alerts quirky
function findString () {
    if (document.f1.t1.value == '') {
        alert('Enter a search term.');
        return;
    }
    if (document.all) {
        var found = false;
        var text = document.body.createTextRange();
        for (var i=0; i<=pos && (found=text.findText(document.f1.t1.value)) != false; i++) {
            text.moveStart("character", 1);
            text.moveEnd("textedit");
        }
        if (found) {
            text.moveStart("character", -1);
            text.findText(document.f1.t1.value);
            text.select();
            text.scrollIntoView();
            pos++;
        }
        else {
            if (pos == '0')
                alert('"' + document.f1.t1.value +'" not found.');
            else
                alert('Search for "' + document.f1.t1.value +'" completed.');
            pos=0;
        }
    }
    else if (document.layers) {
        find(document.f1.t1.value,false);
    }
 }
}*/
// Begin Floater code
// Original:  Richard Cleaver (richard@cleaver.org.uk) -->
// Web Site:  http://www.cleaver.org.uk -->

// This script and many more are available free online at -->
// The JavaScript Source!! http://javascript.internet.com -->

function floatButton () {
if (document.all) {
document.all.topButton.style.pixelTop = document.body.scrollTop + 40;
}
else if (document.layers) {
document.topButton.top = window.pageYOffset + 40 + 'px';  // +'px' needed? (not tested)
}
else if (document.getElementById) {
document.getElementById('topButton').style.top = window.pageYOffset + 40 + 'px';
   }
}
if (document.all)
window.onscroll = floatButton;
else
setInterval ('floatButton()', 100);
function initButton () {
if (document.all) {
document.all.topButton.style.pixelLeft = document.body.clientWidth - document.all.topButton.offsetWidth;
document.all.topButton.style.visibility = 'visible';
}
else if (document.layers) {
document.topButton.left = window.innerWidth - document.topButton.clip.width - 15;
document.topButton.visibility = 'show';
}
else if (document.getElementById) {
document.getElementById('topButton').style.left = (window.innerWidth - 250) + 'px';
document.getElementById('topButton').style.visibility = 'visible';
   }
}
//  End of Floater code
//-->