function addScrollers() {
// code each scroller as follows:
// startScroll('id of scroller div','content of scroller');
startScroll('myscroller','
Latest Candles Lit
Super Gran lit a candle on 08.01.09 - "Another year without you Christopher love you always Supergran XXXXXXXXXXXXXXXXXX"
David lit a candle on 08.01.09 - "Thinking of you Chris this day and every dayXXXXXXXXXXXXXXXXXXXX"
Mam/Dad lit a candle on 08.01.09 - "Our darling son Christopher on this your 27th birthday. o how we miss youlove and missed deeply xxx"
Supergran lit a candle on 15.07.07 - "My darling grandson remembered this day and every day.xx "
Mam and Dad lit a candle on 15.07.07 - "Our Darling son died 7 yrs ago today.Our hearts still ach with sadness for what is was to lose you know one will ever know.xxxxxxxxxxxx"
Christine lit a candle on 30.05.07 - "I am sorry for the loss of your son. I can\'t imagine what you have been through. x Christine x"
Hannah lit a candle on 05.05.07 - "I am so sorry for the loss of your son. He really was such a brave boy."
');
}
var speed=15; // scroll speed (bigger = faster)
var dR=false; // reverse direction
// Vertical Scroller Javascript
// copyright 24th September 2005, by Stephen Chapman
// permission to use this Javascript on your web page is granted
// provided that all of the code below (as well as these
// comments) is used without any alteration
var step = 2; function objWidth(obj) {if(obj.offsetWidth) return obj.offsetWidth; if (obj.clip) return obj.clip.width; return 0;} function objHeight(obj) {if(obj.offsetHeight) return obj.offsetHeight; if (obj.clip) return obj.clip.height; return 0;} function scrF(i,sH,eH){var x=parseInt(i.top)+(dR? step: -step); if(dR && x>sH)x=-eH;else if(x<2-eH)x=sH;i.top = x+'px';} function startScroll(sN,txt){var scr=document.getElementById(sN); var sW = objWidth(scr)-6; var sH = objHeight(scr); scr.innerHTML = ''+txt+'<\/div>'; var sTxt=document.getElementById(sN+'in'); var eH=objHeight(sTxt); sTxt.style.top=(dR? -eH : sH)+'px'; sTxt.style.clip='rect(0,'+sW+'px,'+eH+'px,0)'; setInterval(function() {scrF(sTxt.style,sH,eH);},1000/speed);}
window.onload = addScrollers;