
var scrollerdelay='7000' 
var scrollerwidth='453px'
var scrollerheight='90px'
var scrollerbgcolor=''
//set below to '' if you don't wish to use a background image
var scrollerbackground=''

var messages=new Array()

messages[0]="<font class='text-yellow'><i>We are blown away by what Lunarshine created for our web site and brand identity. They delivered above and beyond and their staff is wonderful. They are, without question, the best!</i><br></font><font class='text-white'><div align='right'>- Mary Weisheit, <i>Portsmouth Spa</i></div></font>"

messages[1]="<font class='text-yellow'><i>Lunarshine has created &quot;one of the best local news sites in the country&quot; for TheAlternativePress.com</i><br></font><font class='text-white'><div align='right'>- Tina Kelley, <i>The New York Times</i></div></font>"

messages[2]="<font class='text-yellow'><i>Lunarshine has an amazingly talented team and I would enthusiastically recommend their services to anyone in the market for a website. We look forward to our ongoing relationship!</i><br></font><font class='text-white'><div align='right'>- Danielle MacInnes, <i>A Stocked Kitchen</i></div></font>"

messages[3]="<font class='text-yellow'><i>Lunarshine offers top notch design and will work hard to achieve the perfect web presence you are looking for. The whole experience of working with Lunarshine exceeded my expectations. Thank you!</i><br></font><font class='text-white'><div align='right'>- Mary Joubert, <i>A Sense of Smile</i></div></font>"

messages[4]="<font class='text-yellow'><i>The Lunarshine team was incredible.  We are very proud to show off our website and know its inevitable success will be a direct result of working with Lunarshine.</i><br></font><font class='text-white'><div align='right'>- Gina Perra, <i>Stock the Pond</i></div></font>"

messages[5]="<font class='text-yellow'><i>The Lunarshine team not only built a fantastic web site, but took the time to help us explore and define our overall branding strategy.  A wonderful team to work with!</i><br></font><font class='text-white'><div align='right'>- Anthony Piccione, <i>The Neighborhood Cellar</i></div></font>"

messages[6]="<font class='text-yellow'><i>The Lunarshine team is extremely creative and always positive throughout the entire process. I highly recommend their services and I have no doubt you'll be glad you made the choice.</i><br></font><font class='text-white'><div align='right'>- Ken Meyers, <i>TMI Global</i></div></font>"

messages[7]="<font class='text-yellow'><i>Lunarshine provided unbelievably responsive and exceptional service to me and my company, I will hire them again for my next project with no hesitation whatsoever.</i><br></font><font class='text-white'><div align='right'>- Douglas MacLean, <i>Armor Compliance</i></div></font>"

messages[8]="<font class='text-yellow'><i>Our deepest thanks to Lunarshine for their guidance throughout our project.  They are experts at web design and development and a true pleasure to work with.</i><br></font><font class='text-white'><div align='right'>- Barry Cusson, <i>SportsMedicine Atlantic Orthopaedics</i></div></font>"

messages[9]="<font class='text-yellow'><i>The staff at Lunarshine are wonderful. They have a depth of integrity, vision and that X-factor that anyone who wants a successful site looks for. They are truly great at what they do.</i><br></font><font class='text-white'><div align='right'>- Jay Maguire, <i>Peabody Crossing</i></div></font>"

messages[10]="<font class='text-yellow'><i>Working with Lunarshine has been a pleasure. You won't find nicer, more enthusiastic people&mdash;not just in the business&mdash;anywhere.</i><br></font><font class='text-white'><div align='right'>- Greg Petropoulos, <i>Mighty Creative</i></div></font>"



var ie=document.all
var dom=document.getElementById

if (messages.length>2)
i=2
else
i=0

function move(whichdiv){
tdiv=eval(whichdiv)
if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){
tdiv.style.top=0+"px"
setTimeout("move(tdiv)",scrollerdelay)
setTimeout("move2(second2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
setTimeout("move(tdiv)",50)
}
else{
tdiv.style.top=parseInt(scrollerheight)+"px"
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function move2(whichdiv){
tdiv2=eval(whichdiv)
if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){
tdiv2.style.top=0+"px"
setTimeout("move2(tdiv2)",scrollerdelay)
setTimeout("move(first2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
setTimeout("move2(second2_obj)",50)
}
else{
tdiv2.style.top=parseInt(scrollerheight)+"px"
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function startscroll(){
first2_obj=ie? first2 : document.getElementById("first2")
second2_obj=ie? second2 : document.getElementById("second2")
move(first2_obj)
second2_obj.style.top=scrollerheight
second2_obj.style.visibility='visible'
}

if (ie||dom){
document.writeln('<div id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0px;top:0px">')
document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:1px;">')
document.write(messages[0])
document.writeln('</div>')
document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:0px;visibility:hidden">')
document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</div>')
}

if (window.addEventListener)
window.addEventListener("load", startscroll, false)
else if (window.attachEvent)
window.attachEvent("onload", startscroll)
else if (ie||dom)
window.onload=startscroll


