
var tWidth='800px';                  // width (in pixels)
var tHeight='16px';                  // height (in pixels)
var tcolour='#ffffff';               // background colour:
var moStop=false;                     // pause on mouseover (true or false)
var fontfamily = 'arial,sans-serif'; // font for content
var tSpeed=2;                        // scroll speed (1 = slow, 5 = fast)

// enter your ticker content here (use \/ and \' in place of / and ' respectively)


var content = "<a href='Half Price Banners - just £110 + VAT!_news_233.php'>23/01/12 - Half Price Banners - just £110 + VAT!...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='The best things in life are free_news_242.php'>12/01/12 - The best things in life are free...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='Merry Christmas to all our readers, clie_news_237.php'>21/12/11 - Merry Christmas to all our readers, clients and supporters!...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='Hydra Creative relaunch upgraded website_news_211.php'>08/11/11 - Hydra Creative relaunch upgraded website for Nutritional Therapist...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='Beautiful website re-design launched for_news_207.php'>04/11/11 - Beautiful website re-design launched for Whitby holiday apartment...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='New website launched for leading Sheffie_news_194.php'>24/10/11 - New website launched for leading Sheffield-based Solicitors...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='Redesigned website launched for local pr_news_185.php'>19/10/11 - Redesigned website launched for local print company...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='New Hydra Creative Knowledge Base Articl_news_191.php'>18/10/11 - New Hydra Creative Knowledge Base Article Published...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='Hydra Creative launch new website for No_news_180.php'>11/10/11 - Hydra Creative launch new website for North Yorkshire Holiday Cottage...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='Hydra Creative launch new website for Sh_news_159.php'>22/09/11 - Hydra Creative launch new website for Sheffield-based Financial Planner...</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;";


//alert (content);

// 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 cps=tSpeed; var aw, mq; 
var fsz = parseInt(tHeight) - 4; 
function startticker(){if (document.getElementById) {var tick = '<div style="position:relative;width:'+tWidth+';height:'+tHeight+';overflow:hidden;"'; 
if (moStop) tick += ' onmouseover="cps=0" onmouseout="cps=tSpeed"'; 
tick +='><div id="mq" style="position:absolute;left:0px;top:0px;font-family:'+fontfamily+';font-size:'+fsz+'px;white-space:nowrap;"></div></div>';

document.getElementById('ticker').innerHTML = tick; mq = document.getElementById("mq"); 
mq.style.left=(parseInt(tWidth)+10)+"px"; 
mq.innerHTML='<span id="tx">'+content+'</span>'; 
aw = document.getElementById("tx").offsetWidth; 
lefttime=setInterval("scrollticker()",20);}} 

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