/*
Highligher Scroller script- By JavaScript Kit
For this and over 400+ free scripts, visit http://www.javascriptkit.com/
This notice must stay intact
*/

var tickercontents=new Array()

tickercontents[0]='NEW - Hoofprints NOW ACCEPTS LASER ! See "Our Products" above & faster checkout'

tickercontents[1]= 'You can buy all shots online now for use in advertising, donedeal,facebook etc, no copying or scanning, No EXCEPTIONS - We monitor abuse'

tickercontents[2]= 'We love to help people promote their Horse or Pony, We are good value, not free!'

tickercontents[3]= 'Always refresh your webpage by clicking the F5 button on keyboard - If you cannot find a recent gallery'

tickercontents[4]= 'WHEN YOU PURCHASE A PHOTO IT IS NOT to be Reproduced - See copyright conditions in terms and conditions'

tickercontents[5]= 'Click on "OUR PRODUCTS" tab above for a new photo experience - YOURS can look like these!'

tickercontents[6]= 'We generally get everyone - Keep Trying! Just Click On Galleries on Right and Scroll Down'

tickercontents[7]='LOOKING FOR A READY-MADE HUNTER or EVENTER,Showjumper or Dressage horse,Contact 086 2423276 for more details'

tickercontents[8]='www.BoswellEquestrian.ie Supporting Irish Showjumping'






/*tickercontents[4]='<a href="whats_new.htm"><img src="images/xt_mini.gif" border="0" align="absmiddle">range of coolers arriving in November 07</a>'*/

var tickdelay=6000 //delay btw messages
var highlightspeed=4 //10 pixels at a time.

////Do not edit pass this line////////////////

var currentmessage=0
var clipwidth=0

function changetickercontent(){
crosstick.style.clip="rect(0px 0px auto 0px)"
crosstick.innerHTML=tickercontents[currentmessage]
highlightmsg()
}

function highlightmsg(){
var msgwidth=crosstick.offsetWidth
if (clipwidth<msgwidth){
clipwidth+=highlightspeed
crosstick.style.clip="rect(0px "+clipwidth+"px auto 0px)"
beginclip=setTimeout("highlightmsg()",20)
}
else{
clipwidth=0
clearTimeout(beginclip)
if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}
}

function start_ticking(){
crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter
crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement
if (parseInt(crosstick.offsetHeight)>0)
crosstickParent.style.height=crosstick.offsetHeight+'px'
else
setTimeout("crosstickParent.style.height=crosstick.offsetHeight+'px'",100) //delay for Mozilla's sake
changetickercontent()
}

if (document.all || document.getElementById)
window.onload=start_ticking

