//scroller width
var swidth=295;
//scroller height
var sheight=10;
//background color
var sbcolor='#dddddd';
//scroller's speed
var sspeed=1;
var paramspeed=51;
var msg=''
//Your messages go below:
msg +=
'To organise my parties
Jim
'+
'See what my friends are up to
Sarah C
'+
'Writing stories for our school newspaper
Janet Crawley
'+
'organise my football team
James Jones
'+
'Market Research
Alan Jones
'+
'Planning my wedding
Eve Johnston
'+
'Learning about the Roman ruins in Bath
James Monroe
'+
'';
//End of your messages
// Begin the ticker code
var resumesspeed=sspeed
function tickerstart() {
if (document.all) iemarquee(ticker);
else if (document.getElementById)
ns6marquee(document.getElementById('ticker'));
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
sheight += 0;
iediv.style.pixelTop=sheight
iediv.innerHTML=msg
sizeup=iediv.offsetHeight
ieslide()
}
function ieslide(){
if (iediv.style.pixelTop>=sizeup*(-1)){
iediv.style.pixelTop-=sspeed
setTimeout("ieslide()",paramspeed)
}else{
iediv.style.pixelTop=sheight
ieslide()
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
sheight += 0;
ns6div.style.top=sheight + "px";
ns6div.innerHTML=msg
sizeup=ns6div.offsetHeight
ns6slide()
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
theTop = parseInt(ns6div.style.top)-sspeed
ns6div.style.top = theTop + "px";
setTimeout("ns6slide()",paramspeed)
} else {
ns6div.style.top = sheight + "px";
ns6slide()
}
}
function showPop(ajdi) {
document.getElementById(ajdi).style.display = 'block'
}
function hidePop(ajdi) {
document.getElementById(ajdi).style.display = 'none'
}
function showText(ajdi) {
document.getElementById(ajdi).style.display = 'block'
}
function hideText(ajdi) {
document.getElementById(ajdi).style.display = 'none'
}