// Michael Peters - Organist

// Begin Menu Floating Script

if (!document.layers)
document.write('<DIV id="Floater" style="position:absolute">')

document.write('<LAYER id="Floater">');
document.write('<TABLE border="0" cellspacing="0" cellpadding="0" width="150"><TR><TD>');

// START LINK 1

document.write('</TD></TR><TR><TD onClick="location.href=\'#top\';" onmouseover="this.className=\'menuon\'" onmouseout="this.className=\'menu\'" class="menu">');
document.write('Top<BR>');

// START LINK 2

document.write('</TD></TR><TR><TD onClick="location.href=\'contact.htm\';" onmouseover="this.className=\'menuon\'" onmouseout="this.className=\'menu\'" class="menu">');
document.write('Contact<BR>');

// START LINK 3

document.write('</TD></TR><TR><TD onClick="location.href=\'index.html\';" onmouseover="this.className=\'menuon\'" onmouseout="this.className=\'menu\'" class="menu">');
document.write('Home<BR>');

document.write('</TD></TR></TABLE>');
document.write('</LAYER>');


// NOTE: When adding links alter the "placeY" 138 number below

if (!document.layers)
document.write('</div>')

function JSFX_FloatTopDiv()
{
        var placeX = 0,
        placeY = 246;
        var ns = (navigator.appName.indexOf("Netscape") != -1);
        var d = document;
        function DeLayer(id)
        {
                var GetElements=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
                if(d.layers)GetElements.style=GetElements;
                GetElements.sP=function(x,y){this.style.left=x;this.style.top=y;};
                GetElements.x = placeX;
                GetElements.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
                GetElements.y -= placeY;
                return GetElements;
        }
        window.stayTopLeft=function()
        {
                var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
                ftlObj.y += (pY - placeY - ftlObj.y)/15;
                ftlObj.sP(ftlObj.x, ftlObj.y);
                setTimeout("stayTopLeft()", 10);
        }
        ftlObj = DeLayer("Floater");
        stayTopLeft();
}
JSFX_FloatTopDiv();

// End Menu Floating Script
