// Enter your ticker content here (use \/ and \' in place of / and ' respectively)
var content1='December 2011:&nbsp;<a href="http:\/\/www.bestleg.com/news.html">Start Date for 2012 Training<\/a>';
var content2='December 2011:&nbsp;<a href="http:\/\/www.bestleg.com/news.html">General Club grading 2011<\/a>';
var content3='October 2011:&nbsp;<a href="http:\/\/www.bestleg.com/news.html">Jacobus strikes gold in Dorset<\/a>';
var content4='October 2011:&nbsp;<a href="http:\/\/www.bestleg.com/news.html">Megan Wins Silver in Dublin<\/a>';
var content5='September 2011:&nbsp;<a href="http:\/\/www.bestleg.com/news.html">Beijing Olympic Medallist visit to the Academy<\/a>';

// Simple Marquee / Ticker Script
// copyright 3rd January 2006, Stephen Chapman
// permission to use this Javascript on your web page is granted
// provided that all of the below code in this script (including this
// comment) is used without any alteration
var tWidth='1016px';                  // width (in pixels)
var tHeight='25px';                  // height (in pixels)
var moStop=true;                     // pause on mouseover (true or false)
var tSpeed=3;                        // scroll speed (1 = slow, 5 = fast)
var separator='&nbsp;&nbsp;&nbsp;&nbsp;&bull;&nbsp;&nbsp;&nbsp;&nbsp;'; 
var cps=tSpeed; 
var aw, newsticker; 

function startticker(){
	if (document.getElementById) {var tick = '<div style="position:absolute; margin-top:35px; width:'+tWidth+';height:'+tHeight+';overflow:hidden;"'; 
	if (moStop) tick += ' onmouseover="cps=0" onmouseout="cps=tSpeed"'; tick +='><div id="newsticker"><\/div><\/div>'; document.getElementById('ticker').innerHTML = tick; newsticker = document.getElementById("newsticker"); newsticker.style.left=(parseInt(tWidth)+10)+"px"; 

// add your content here using by adding +separator+ between each entry for ex. content1+separator+content4+separator+content2
	newsticker.innerHTML='<span id="tx">'+content1+separator+content2+separator+content3+'<\/span>'; aw = document.getElementById("tx").offsetWidth; lefttime=setInterval("scrollticker()",50);}} 

function scrollticker(){newsticker.style.left = (parseInt(newsticker.style.left)>(-10 - aw)) ?parseInt(newsticker.style.left)-cps+"px" : parseInt(tWidth)+10+"px";} window.onload=startticker;
                  
