// JavaScript Document
var tWidth='890px';                  // width (in pixels)
var tHeight='18px';                  // height (in pixels)
var tcolour='#00267F';               // background colour:
var txtcolour='#FFFFFF';               // background colour:
var moStop=true;                     // pause on mouseover (true or false)
var fontfamily='Arial, Helvetica, sans-serif'; // font for content
var tSpeed=4;                        // scroll speed (1 = slow, 5 = fast)

// enter your ticker content here (use \/ and \' in place of / and ' respectively)
// var content='DO NOT LET BURGLARS INTO YOUR HOME     24 HOUR EMERGENCY SERVICE     PREMIUM SECURITY, BUT NOT PREMIUM PRICES<a href="decorative.asp" title="Decorative & Manifestation">Decorative & Manifestation<\/a>, <a href="automotive.asp" title="Automotive">Automotive<\/a> ';
var content='Through the Keyhole Security &nbsp;&nbsp;&nbsp;&nbsp; 24 hr Call Out &nbsp;&nbsp;&nbsp;&nbsp; 24 hr Locksmith &nbsp;&nbsp;&nbsp;&nbsp; Emergency Service &nbsp;&nbsp;&nbsp;&nbsp; Family Company - Family Values &nbsp;&nbsp;&nbsp;&nbsp; Domestic &nbsp;&nbsp;&nbsp;&nbsp; Corporate and Commercial Security Solutions &nbsp;&nbsp;&nbsp;&nbsp; Safety Matters &nbsp;&nbsp;&nbsp;&nbsp; Locks &nbsp;&nbsp;&nbsp;&nbsp; Lost Keys &nbsp;&nbsp;&nbsp;&nbsp; Alarms &nbsp;&nbsp;&nbsp;&nbsp; Safes &nbsp;&nbsp;&nbsp;&nbsp; Grilles, Bars and Shutters &nbsp;&nbsp;&nbsp;&nbsp; CCTV &nbsp;&nbsp;&nbsp;&nbsp; uPVC Specialists &nbsp;&nbsp;&nbsp;&nbsp; Safety First &nbsp;&nbsp;&nbsp;&nbsp; Local Professionals &nbsp;&nbsp;&nbsp;&nbsp; Physical Security &nbsp;&nbsp;&nbsp;&nbsp; Commercial Security Reviews &nbsp;&nbsp;&nbsp;&nbsp; Domestic Surveying &nbsp;&nbsp;&nbsp;&nbsp; Keep Crime Out &nbsp;&nbsp;&nbsp;&nbsp; Your Premises Secured &nbsp;&nbsp;&nbsp;&nbsp; Perimeter Fencing &nbsp;&nbsp;&nbsp;&nbsp; Safe and Sound &nbsp;&nbsp;&nbsp;&nbsp; Safe Installation &nbsp;&nbsp;&nbsp;&nbsp; Safe Relocation &nbsp;&nbsp;&nbsp;&nbsp; Safe Opening &nbsp;&nbsp;&nbsp;&nbsp; Safe Guarding You &nbsp;&nbsp;&nbsp;&nbsp; Community Care &nbsp;&nbsp;&nbsp;&nbsp; Quality Service &nbsp;&nbsp;&nbsp;&nbsp; Honest and Reliable &nbsp;&nbsp;&nbsp;&nbsp; Police Checked &nbsp;&nbsp;&nbsp;&nbsp; Fully Insured &nbsp;&nbsp;&nbsp;&nbsp; Changing Locks &nbsp;&nbsp;&nbsp;&nbsp; Window Doctor &nbsp;&nbsp;&nbsp;&nbsp; Locksmiths &nbsp;&nbsp;&nbsp;&nbsp; Safe and Secure  ';

// 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;background-color:'+tcolour+'"'; 
			if (moStop) tick += ' onmouseover="cps=0" onmouseout="cps=tSpeed"'; tick +='><div id="mq" style="position:absolute;left:0px;top:0px;color:'+txtcolour+';background-color:'+tcolour+';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()",50);
		}
} 

function scrollticker()
{
	mq.style.left = (parseInt(mq.style.left)>(-10 - aw)) ?parseInt(mq.style.left)-cps+"px" : parseInt(tWidth)+10+"px";
} 








