function MM_checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v3.0

  var newURL='', verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);

  if (app.indexOf('Netscape') != -1) {

    if (version >= NSvers) {if (NSpass>0) newURL=(NSpass==1)?URL:altURL;}

    else {if (NSnoPass>0) newURL=(NSnoPass==1)?URL:altURL;}

  } else if (app.indexOf('Microsoft') != -1) {

    if (version >= IEvers || verStr.indexOf(IEvers) != -1)

     {if (IEpass>0) newURL=(IEpass==1)?URL:altURL;}

    else {if (IEnoPass>0) newURL=(IEnoPass==1)?URL:altURL;}

  } else if (OBpass>0) newURL=(OBpass==1)?URL:altURL;

  if (newURL) { window.location=unescape(newURL); document.MM_returnValue=false; }

}

if (document.all) {

yourLogo = "Tavistock Parish Church Tavistock Parish Church";

logoFont = "Tahoma";

logoColor = "0000";

yourLogo = yourLogo.split('');

L = yourLogo.length; 

TrigSplit = 360 / L;

Sz = new Array()

logoWidth = 75;

logoHeight = -20;

ypos = 0;

xpos = 0;

step = 0.03;

currStep = 0;

document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i = 0; i < L; i++) {

document.write('<div id="ie" style="position:absolute;top:0px;left:0px;'

+'width:18px;height:18px;font-family:'+logoFont+';font-size:18px;'

+'color:'+logoColor+';text-align:center">'+yourLogo[i]+'<\/div>');

}

document.write('<\/div><\/div>');

function Mouse() {

ypos = event.y;

xpos = event.x - 5;

}

document.onmousemove=Mouse;

function animateLogo() {

outer.style.pixelTop = document.body.scrollTop; 

for (i = 0; i < L; i++) {

ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180);

ie[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180);

Sz[i] = ie[i].style.pixelTop - ypos;

if (Sz[i] < 5) Sz[i] = 5;

ie[i].style.fontSize = Sz[i] / 1.7;

}

currStep -= step;

setTimeout('animateLogo()', 1);

}

window.onload = animateLogo;

}

function display(str) {

  window.status = str;

  return true;

}