var marqueewidth="220px"
var marqueeheight="200px"
var marqueespeed=2	//Specify the marquee's marquee speed (larger is faster 1-10)
var pauseit=1	//Pause marquee onMousever (0=no. 1=yes)?

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
var marquee='<span class="smallblack"><img src="images/red-arrow.gif"> <a href="testimonials.htm#melinda-jack-sullivans">We loved the tour you <br> &nbsp; &nbsp;organized for us to Lumut with <br> &nbsp;  &nbsp;the boat trip.<div align="right" class="redmore">Melinda and Jack Sullivans</div></a>';
    marquee=marquee + ' <img src="images/red-arrow.gif"> <a href="testimonials.htm#ajinkya-deepali-malhotra"> Our tour guide, was incredible.<br> &nbsp; &nbsp;From 1 to 10, Apollo Holidays<br> &nbsp; &nbsp;scored a 10.<div align="right" class="redmore">Ajinkya and Deepali &nbsp;&nbsp;</div></a>';
	marquee=marquee + ' <img src="images/red-arrow.gif"> <a href="testimonials.htm#darius-pandit"> All I need to say is WOW, you<br> &nbsp; &nbsp;guys made it unforgettable !!!<div align="right" class="redmore">Darius Pandit &nbsp;&nbsp;</div></a>';
	marquee=marquee + ' <img src="images/red-arrow.gif"> <a href="testimonials.htm#ty-lisa-komosha"> From now on we only will<br> &nbsp; &nbsp;use Apollo Holidays to take<br> &nbsp; &nbsp;care of our holidays in the East!<div align="right" class="redmore">Ty and Lisa Komosha &nbsp;&nbsp;</div></a>';
	marquee=marquee + ' <img src="images/red-arrow.gif"> <a href="testimonials.htm#mark-joe"> Look forward to discover the<br> &nbsp; &nbsp;East Coast next year with<br> &nbsp; &nbsp;Apollo Holidays.<div align="right" class="redmore">Mark and Joe &nbsp;&nbsp;</div></a>';
    marquee=marquee + ' <img src="images/red-arrow.gif"> <a href="testimonials.htm#marco-jennifer"> We would like to use your<br> &nbsp; &nbsp;excellent services to discover<br> &nbsp; &nbsp;Malaysia.<div align="right" class="redmore">Marco and Jennifer &nbsp;&nbsp;</div></a>';	
    marquee=marquee + ' <img src="images/red-arrow.gif"> <a href="testimonials.htm#claudio-philippa"> We enjoyed Malaysia very<br> &nbsp; &nbsp;much and will come back next<br> &nbsp; &nbsp;year.<div align="right" class="redmore">Claudio, Philippa &nbsp;&nbsp;</div></a>';	
    marquee=marquee + ' <img src="images/red-arrow.gif"> <a href="testimonials.htm#estelle-billy-beecon"> our big thanks to Apollo<br> &nbsp; &nbsp;Holidays for the excellent<br> &nbsp; &nbsp;holiday.<div align="right" class="redmore">Estelle and Billy Beecon &nbsp;&nbsp;</div></a> </SPAN>';	

////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marquee
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marquee)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",75)	//Speed of marquee
}
window.onload=populate

function scrollmarquee()
{
if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div id="iemarquee" style="position:absolute;left:10px;top:50px;width:100%;"  onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=10 top=50 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}
