/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var delayb4scroll=500 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''

function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}

if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee


<!--Author: Neil Morrell --><!-- JSA#1 - Scrolling Text -->

<!-- Beginning of JavaScript Applet -------------------

/* 

   Original code (C)1996 Web Integration Systems, Inc. DBA Websys, Inc.
   All Rights Reserved.  This code can be re-used or modified, if credit
   is given in the source code.

   Chris Skinner, January 30, 1996.
   Modified by RD @ CNNfn, Jan. 31, 1996
   Modified by Alex Wright, VNU NewMedia, April 3, 1996
   Modified by Neil Morrell, (c9390115@hud.ac.uk), July 8th 1996

   Disclaimer:  We will not be held responsible for any unwanted effects
   due to the usage of this applet or any derivative.  No warrantees for
   usability for any specific application are given or implied.

*/
function scrollit_r2l(seed)    
{
        	var m1  = "Welcome to Suttonvillagechurch.co.uk                                                                ";
			var m2  = "        Apologies for the lack of update recently.                                                  ";	
			var m3  = " Let Neil know if you see anything that doesn't appear to work................                      ";	       
			var m4  = "                                       ";		
			var m5  = "               Can you let Neil have any items for the website.      ";
			var m6  = " Please supply details of ANY forthcoming events to Neil, however far away!         ";
			var m7  = " Why not leave a message in the GUESTBOOK!!                ";
        	var m8  = "                                        ";

			   
        var msg=m1+m2+m3+m4+m5+m6+m7+m8;
        var out = " ";
        var c   = 1;

        if (seed > 100) {
                seed--;
                var cmd="scrollit_r2l(" + seed + ")";
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 100 && seed > 0) {
                for (c=0 ; c < seed ; c++) {
                        out+=" ";
                }
                out+=msg;
                seed--;
                var cmd="scrollit_r2l(" + seed + ")";
                    window.status=out;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) {
                if (-seed < msg.length) {
                        out+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scrollit_r2l(" + seed + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scrollit_r2l(100)",75);
                }
        }
}
